From 968e6a93f534f767e4e0c6b7250d31cfce7177ac Mon Sep 17 00:00:00 2001 From: Roberto Angulo Date: Fri, 20 Dec 2024 14:50:29 +0200 Subject: [PATCH] fix: remove output files [MDS-1442] --- docs/.gitignore | 1 - docs/.storybook/preview.ts | 1 - .../stories/412.101a744c.iframe.bundle.js | 99054 ---------------- .../412.101a744c.iframe.bundle.js.LICENSE.txt | 34 - .../stories/412.101a744c.iframe.bundle.js.map | 1 - .../stories/420.b22d1390.iframe.bundle.js | 1549 - .../stories/56.bff23aa6.iframe.bundle.js | 1943 - .../stories/689.400ba15c.iframe.bundle.js | 41 - .../stories/701.dcf889b0.iframe.bundle.js | 49903 -------- .../stories/701.dcf889b0.iframe.bundle.js.map | 1 - .../stories/847.b9534917.iframe.bundle.js | 45 - .../stories/960.2ee1c35f.iframe.bundle.js | 17 - .../stories/996.702dc69d.iframe.bundle.js | 85 - .../Avatar-stories.01c339a8.iframe.bundle.js | 323 - .../Button-stories.6886561d.iframe.bundle.js | 831 - .../Chip-stories.51deacac.iframe.bundle.js | 280 - ...Textarea-stories.bf2dde3e.iframe.bundle.js | 201 - docs/public/stories/components/accordion.png | Bin 46572 -> 0 bytes docs/public/stories/components/alert.png | Bin 65234 -> 0 bytes docs/public/stories/components/authcode.png | Bin 51232 -> 0 bytes docs/public/stories/components/avatar.png | Bin 63148 -> 0 bytes .../public/stories/components/bottomsheet.png | Bin 28141 -> 0 bytes docs/public/stories/components/breadcrumb.png | Bin 38528 -> 0 bytes docs/public/stories/components/button.png | Bin 50651 -> 0 bytes docs/public/stories/components/carousel.png | Bin 42018 -> 0 bytes docs/public/stories/components/checkbox.png | Bin 67189 -> 0 bytes docs/public/stories/components/chip.png | Bin 95987 -> 0 bytes .../stories/components/circularprogress.png | Bin 22255 -> 0 bytes docs/public/stories/components/combobox.png | Bin 57745 -> 0 bytes docs/public/stories/components/drawer.png | Bin 83181 -> 0 bytes docs/public/stories/components/dropdown.png | Bin 57745 -> 0 bytes docs/public/stories/components/form.png | Bin 52374 -> 0 bytes docs/public/stories/components/group.png | Bin 28497 -> 0 bytes docs/public/stories/components/iconbutton.png | Bin 29015 -> 0 bytes docs/public/stories/components/icons.png | Bin 60294 -> 0 bytes docs/public/stories/components/input.png | Bin 45785 -> 0 bytes docs/public/stories/components/insetinput.png | Bin 65751 -> 0 bytes .../stories/components/insetnativeselect.png | Bin 66064 -> 0 bytes docs/public/stories/components/loader.png | Bin 78843 -> 0 bytes docs/public/stories/components/menuitem.png | Bin 49318 -> 0 bytes docs/public/stories/components/modal.png | Bin 47929 -> 0 bytes .../stories/components/nativeselect.png | Bin 66064 -> 0 bytes docs/public/stories/components/pagination.png | Bin 19473 -> 0 bytes docs/public/stories/components/popover.png | Bin 71614 -> 0 bytes docs/public/stories/components/progress.png | Bin 47124 -> 0 bytes docs/public/stories/components/radio.png | Bin 60822 -> 0 bytes docs/public/stories/components/search.png | Bin 56706 -> 0 bytes docs/public/stories/components/searchcmdk.png | Bin 56706 -> 0 bytes docs/public/stories/components/snackbar.png | Bin 179109 -> 0 bytes docs/public/stories/components/switch.png | Bin 50875 -> 0 bytes docs/public/stories/components/table.png | Bin 42420 -> 0 bytes docs/public/stories/components/tabs.png | Bin 92254 -> 0 bytes docs/public/stories/components/tag.png | Bin 47031 -> 0 bytes docs/public/stories/components/tagsinput.png | Bin 47031 -> 0 bytes docs/public/stories/components/textarea.png | Bin 59305 -> 0 bytes docs/public/stories/components/tooltip.png | Bin 153557 -> 0 bytes docs/public/stories/favicon.svg | 1 - docs/public/stories/iframe.html | 511 - docs/public/stories/index.html | 181 - docs/public/stories/index.json | 1 - .../stories/main.c7ae7b4c.iframe.bundle.js | 1105 - docs/public/stories/next.svg | 1 - .../stories/nunito-sans-bold-italic.woff2 | Bin 49460 -> 0 bytes docs/public/stories/nunito-sans-bold.woff2 | Bin 47144 -> 0 bytes docs/public/stories/nunito-sans-italic.woff2 | Bin 49620 -> 0 bytes docs/public/stories/nunito-sans-regular.woff2 | Bin 47072 -> 0 bytes docs/public/stories/project.json | 1 - .../runtime~main.1fd404a4.iframe.bundle.js | 297 - .../manager-bundle.js | 28622 ----- .../manager-bundle.js.LEGAL.txt | 40 - .../essentials-actions-3/manager-bundle.js | 2379 - .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js | 1032 - .../manager-bundle.js.LEGAL.txt | 0 .../essentials-controls-2/manager-bundle.js | 23108 ---- .../manager-bundle.js.LEGAL.txt | 0 .../essentials-measure-7/manager-bundle.js | 428 - .../manager-bundle.js.LEGAL.txt | 0 .../essentials-outline-8/manager-bundle.js | 434 - .../manager-bundle.js.LEGAL.txt | 0 .../essentials-toolbars-6/manager-bundle.js | 375 - .../manager-bundle.js.LEGAL.txt | 0 .../essentials-viewport-5/manager-bundle.js | 1119 - .../manager-bundle.js.LEGAL.txt | 0 .../interactions-10/manager-bundle.js | 15950 --- .../manager-bundle.js.LEGAL.txt | 0 .../sb-addons/onboarding-1/manager-bundle.js | 9766 -- .../onboarding-1/manager-bundle.js.LEGAL.txt | 0 .../common-manager-bundle.js | 74 - .../common-manager-bundle.js.LEGAL.txt | 0 .../stories/sb-common-assets/favicon.svg | 1 - .../nunito-sans-bold-italic.woff2 | Bin 49460 -> 0 bytes .../sb-common-assets/nunito-sans-bold.woff2 | Bin 47144 -> 0 bytes .../sb-common-assets/nunito-sans-italic.woff2 | Bin 49620 -> 0 bytes .../nunito-sans-regular.woff2 | Bin 47072 -> 0 bytes .../stories/sb-manager/globals-module-info.js | 1033 - .../stories/sb-manager/globals-runtime.js | 59464 ---------- docs/public/stories/sb-manager/globals.js | 49 - docs/public/stories/sb-manager/runtime.js | 20636 ---- docs/public/stories/sb-preview/globals.js | 34 - docs/public/stories/sb-preview/runtime.js | 11165 -- docs/public/stories/testimonial_1.png | Bin 2207 -> 0 bytes docs/public/stories/testimonial_2.png | Bin 2813 -> 0 bytes docs/public/stories/testimonial_3.png | Bin 2486 -> 0 bytes docs/public/stories/vercel.svg | 1 - .../vision_front_card_header_text_1.png | Bin 6771 -> 0 bytes .../vision_front_card_header_text_2.png | Bin 10150 -> 0 bytes .../vision_front_card_header_text_3.png | Bin 7323 -> 0 bytes 108 files changed, 332118 deletions(-) delete mode 100644 docs/public/stories/412.101a744c.iframe.bundle.js delete mode 100644 docs/public/stories/412.101a744c.iframe.bundle.js.LICENSE.txt delete mode 100644 docs/public/stories/412.101a744c.iframe.bundle.js.map delete mode 100644 docs/public/stories/420.b22d1390.iframe.bundle.js delete mode 100644 docs/public/stories/56.bff23aa6.iframe.bundle.js delete mode 100644 docs/public/stories/689.400ba15c.iframe.bundle.js delete mode 100644 docs/public/stories/701.dcf889b0.iframe.bundle.js delete mode 100644 docs/public/stories/701.dcf889b0.iframe.bundle.js.map delete mode 100644 docs/public/stories/847.b9534917.iframe.bundle.js delete mode 100644 docs/public/stories/960.2ee1c35f.iframe.bundle.js delete mode 100644 docs/public/stories/996.702dc69d.iframe.bundle.js delete mode 100644 docs/public/stories/Avatar-stories.01c339a8.iframe.bundle.js delete mode 100644 docs/public/stories/Button-stories.6886561d.iframe.bundle.js delete mode 100644 docs/public/stories/Chip-stories.51deacac.iframe.bundle.js delete mode 100644 docs/public/stories/Textarea-stories.bf2dde3e.iframe.bundle.js delete mode 100644 docs/public/stories/components/accordion.png delete mode 100644 docs/public/stories/components/alert.png delete mode 100644 docs/public/stories/components/authcode.png delete mode 100644 docs/public/stories/components/avatar.png delete mode 100644 docs/public/stories/components/bottomsheet.png delete mode 100644 docs/public/stories/components/breadcrumb.png delete mode 100644 docs/public/stories/components/button.png delete mode 100644 docs/public/stories/components/carousel.png delete mode 100644 docs/public/stories/components/checkbox.png delete mode 100644 docs/public/stories/components/chip.png delete mode 100644 docs/public/stories/components/circularprogress.png delete mode 100644 docs/public/stories/components/combobox.png delete mode 100644 docs/public/stories/components/drawer.png delete mode 100644 docs/public/stories/components/dropdown.png delete mode 100644 docs/public/stories/components/form.png delete mode 100644 docs/public/stories/components/group.png delete mode 100644 docs/public/stories/components/iconbutton.png delete mode 100644 docs/public/stories/components/icons.png delete mode 100644 docs/public/stories/components/input.png delete mode 100644 docs/public/stories/components/insetinput.png delete mode 100644 docs/public/stories/components/insetnativeselect.png delete mode 100644 docs/public/stories/components/loader.png delete mode 100644 docs/public/stories/components/menuitem.png delete mode 100644 docs/public/stories/components/modal.png delete mode 100644 docs/public/stories/components/nativeselect.png delete mode 100644 docs/public/stories/components/pagination.png delete mode 100644 docs/public/stories/components/popover.png delete mode 100644 docs/public/stories/components/progress.png delete mode 100644 docs/public/stories/components/radio.png delete mode 100644 docs/public/stories/components/search.png delete mode 100644 docs/public/stories/components/searchcmdk.png delete mode 100644 docs/public/stories/components/snackbar.png delete mode 100644 docs/public/stories/components/switch.png delete mode 100644 docs/public/stories/components/table.png delete mode 100644 docs/public/stories/components/tabs.png delete mode 100644 docs/public/stories/components/tag.png delete mode 100644 docs/public/stories/components/tagsinput.png delete mode 100644 docs/public/stories/components/textarea.png delete mode 100644 docs/public/stories/components/tooltip.png delete mode 100644 docs/public/stories/favicon.svg delete mode 100644 docs/public/stories/iframe.html delete mode 100644 docs/public/stories/index.html delete mode 100644 docs/public/stories/index.json delete mode 100644 docs/public/stories/main.c7ae7b4c.iframe.bundle.js delete mode 100644 docs/public/stories/next.svg delete mode 100644 docs/public/stories/nunito-sans-bold-italic.woff2 delete mode 100644 docs/public/stories/nunito-sans-bold.woff2 delete mode 100644 docs/public/stories/nunito-sans-italic.woff2 delete mode 100644 docs/public/stories/nunito-sans-regular.woff2 delete mode 100644 docs/public/stories/project.json delete mode 100644 docs/public/stories/runtime~main.1fd404a4.iframe.bundle.js delete mode 100644 docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/essentials-actions-3/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/essentials-backgrounds-4/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/essentials-controls-2/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/essentials-measure-7/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/essentials-outline-8/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/essentials-toolbars-6/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/essentials-viewport-5/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/interactions-10/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/onboarding-1/manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js delete mode 100644 docs/public/stories/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt delete mode 100644 docs/public/stories/sb-common-assets/favicon.svg delete mode 100644 docs/public/stories/sb-common-assets/nunito-sans-bold-italic.woff2 delete mode 100644 docs/public/stories/sb-common-assets/nunito-sans-bold.woff2 delete mode 100644 docs/public/stories/sb-common-assets/nunito-sans-italic.woff2 delete mode 100644 docs/public/stories/sb-common-assets/nunito-sans-regular.woff2 delete mode 100644 docs/public/stories/sb-manager/globals-module-info.js delete mode 100644 docs/public/stories/sb-manager/globals-runtime.js delete mode 100644 docs/public/stories/sb-manager/globals.js delete mode 100644 docs/public/stories/sb-manager/runtime.js delete mode 100644 docs/public/stories/sb-preview/globals.js delete mode 100644 docs/public/stories/sb-preview/runtime.js delete mode 100644 docs/public/stories/testimonial_1.png delete mode 100644 docs/public/stories/testimonial_2.png delete mode 100644 docs/public/stories/testimonial_3.png delete mode 100644 docs/public/stories/vercel.svg delete mode 100644 docs/public/stories/vision_front_card_header_text_1.png delete mode 100644 docs/public/stories/vision_front_card_header_text_2.png delete mode 100644 docs/public/stories/vision_front_card_header_text_3.png diff --git a/docs/.gitignore b/docs/.gitignore index 9cabce42..74f1241e 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -12,7 +12,6 @@ # next.js /.next/ /out/ -/public/stories/ # production /build diff --git a/docs/.storybook/preview.ts b/docs/.storybook/preview.ts index 52fbcedf..84213bb6 100644 --- a/docs/.storybook/preview.ts +++ b/docs/.storybook/preview.ts @@ -1,5 +1,4 @@ import type { Preview } from "@storybook/react"; -// import "../app/themes.css"; import "../app/globals.css"; const preview: Preview = { diff --git a/docs/public/stories/412.101a744c.iframe.bundle.js b/docs/public/stories/412.101a744c.iframe.bundle.js deleted file mode 100644 index a27de16e..00000000 --- a/docs/public/stories/412.101a744c.iframe.bundle.js +++ /dev/null @@ -1,99054 +0,0 @@ -/*! For license information please see 412.101a744c.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunkdocs = self.webpackChunkdocs || []).push([ - [412], - { - "../node_modules/.pnpm/@storybook+addon-docs@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-docs/dist/chunk-H6MOWX77.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - Object.create, - Object.defineProperty, - Object.getOwnPropertyDescriptor, - Object.getOwnPropertyNames, - Object.getPrototypeOf, - Object.prototype.hasOwnProperty; - }, - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/actions/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - argsEnhancers: () => argsEnhancers, - loaders: () => loaders, - }); - var external_STORYBOOK_MODULE_PREVIEW_API_ = __webpack_require__( - "storybook/internal/preview-api", - ), - external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_ = - __webpack_require__("storybook/internal/preview-errors"), - external_STORYBOOK_MODULE_GLOBAL_ = - __webpack_require__("@storybook/global"); - const esm_browser_native = { - randomUUID: - "undefined" != typeof crypto && - crypto.randomUUID && - crypto.randomUUID.bind(crypto), - }; - let getRandomValues; - const rnds8 = new Uint8Array(16); - function rng() { - if ( - !getRandomValues && - ((getRandomValues = - "undefined" != typeof crypto && - crypto.getRandomValues && - crypto.getRandomValues.bind(crypto)), - !getRandomValues) - ) - throw new Error( - "crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported", - ); - return getRandomValues(rnds8); - } - const byteToHex = []; - for (let i = 0; i < 256; ++i) - byteToHex.push((i + 256).toString(16).slice(1)); - function unsafeStringify(arr, offset = 0) { - return ( - byteToHex[arr[offset + 0]] + - byteToHex[arr[offset + 1]] + - byteToHex[arr[offset + 2]] + - byteToHex[arr[offset + 3]] + - "-" + - byteToHex[arr[offset + 4]] + - byteToHex[arr[offset + 5]] + - "-" + - byteToHex[arr[offset + 6]] + - byteToHex[arr[offset + 7]] + - "-" + - byteToHex[arr[offset + 8]] + - byteToHex[arr[offset + 9]] + - "-" + - byteToHex[arr[offset + 10]] + - byteToHex[arr[offset + 11]] + - byteToHex[arr[offset + 12]] + - byteToHex[arr[offset + 13]] + - byteToHex[arr[offset + 14]] + - byteToHex[arr[offset + 15]] - ); - } - const esm_browser_v4 = function v4(options, buf, offset) { - if (esm_browser_native.randomUUID && !buf && !options) - return esm_browser_native.randomUUID(); - const rnds = - (options = options || {}).random || (options.rng || rng)(); - if ( - ((rnds[6] = (15 & rnds[6]) | 64), - (rnds[8] = (63 & rnds[8]) | 128), - buf) - ) { - offset = offset || 0; - for (let i = 0; i < 16; ++i) buf[offset + i] = rnds[i]; - return buf; - } - return unsafeStringify(rnds); - }; - var console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - config = { depth: 10, clearOnStoryChange: !0, limit: 50 }, - findProto = (obj, callback) => { - let proto = Object.getPrototypeOf(obj); - return !proto || callback(proto) - ? proto - : findProto(proto, callback); - }, - serializeArg = (a) => { - if ( - "object" == typeof (e = a) && - e && - findProto(e, (proto) => - /^Synthetic(?:Base)?Event$/.test(proto.constructor.name), - ) && - "function" == typeof e.persist - ) { - let e = Object.create( - a.constructor.prototype, - Object.getOwnPropertyDescriptors(a), - ); - e.persist(); - let viewDescriptor = Object.getOwnPropertyDescriptor(e, "view"), - view = viewDescriptor?.value; - return ( - "object" == typeof view && - "Window" === view?.constructor.name && - Object.defineProperty(e, "view", { - ...viewDescriptor, - value: Object.create(view.constructor.prototype), - }), - e - ); - } - var e; - return a; - }; - function action(name, options = {}) { - let actionOptions = { ...config, ...options }, - handler = function (...args) { - if (options.implicit) { - let storyRenderer = ( - "__STORYBOOK_PREVIEW__" in - external_STORYBOOK_MODULE_GLOBAL_.global - ? external_STORYBOOK_MODULE_GLOBAL_.global - .__STORYBOOK_PREVIEW__ - : void 0 - )?.storyRenders.find( - (render) => - "playing" === render.phase || "rendering" === render.phase, - ); - if (storyRenderer) { - let deprecated = - !window?.FEATURES?.disallowImplicitActionsInRenderV8, - error = - new external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_.ImplicitActionsDuringRendering( - { phase: storyRenderer.phase, name, deprecated }, - ); - if (!deprecated) throw error; - console.warn(error); - } - } - let channel = - external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(), - id = - "object" == typeof crypto && - "function" == typeof crypto.getRandomValues - ? esm_browser_v4() - : Date.now().toString(36) + - Math.random().toString(36).substring(2), - serializedArgs = args.map(serializeArg), - normalizedArgs = - args.length > 1 ? serializedArgs : serializedArgs[0], - actionDisplayToEmit = { - id, - count: 0, - data: { name, args: normalizedArgs }, - options: { - ...actionOptions, - maxDepth: 5 + (actionOptions.depth || 3), - allowFunction: actionOptions.allowFunction || !1, - }, - }; - channel.emit( - "storybook/actions/action-event", - actionDisplayToEmit, - ); - }; - return ( - (handler.isAction = !0), - (handler.implicit = options.implicit), - handler - ); - } - var isInInitialArgs = (name, initialArgs) => - typeof initialArgs[name] > "u" && !(name in initialArgs), - argsEnhancers = [ - (context) => { - let { - initialArgs, - argTypes, - parameters: { actions }, - } = context; - return actions?.disable || !argTypes - ? {} - : Object.entries(argTypes) - .filter(([name, argType]) => !!argType.action) - .reduce( - (acc, [name, argType]) => ( - isInInitialArgs(name, initialArgs) && - (acc[name] = action( - "string" == typeof argType.action - ? argType.action - : name, - )), - acc - ), - {}, - ); - }, - (context) => { - let { - initialArgs, - argTypes, - id, - parameters: { actions }, - } = context; - if ( - !actions || - actions.disable || - !actions.argTypesRegex || - !argTypes - ) - return {}; - let argTypesRegex = new RegExp(actions.argTypesRegex); - return Object.entries(argTypes) - .filter(([name]) => !!argTypesRegex.test(name)) - .reduce( - (acc, [name, argType]) => ( - isInInitialArgs(name, initialArgs) && - (acc[name] = action(name, { implicit: !0, id })), - acc - ), - {}, - ); - }, - ], - subscribed = !1, - loaders = [ - (context) => { - let { - parameters: { actions }, - } = context; - if ( - !actions?.disable && - !subscribed && - "__STORYBOOK_TEST_ON_MOCK_CALL__" in - external_STORYBOOK_MODULE_GLOBAL_.global && - "function" == - typeof external_STORYBOOK_MODULE_GLOBAL_.global - .__STORYBOOK_TEST_ON_MOCK_CALL__ - ) { - (0, - external_STORYBOOK_MODULE_GLOBAL_.global - .__STORYBOOK_TEST_ON_MOCK_CALL__)((mock, args) => { - let name = mock.getMockName(); - "spy" !== name && - (!/^next\/.*::/.test(name) || - [ - "next/router::useRouter()", - "next/navigation::useRouter()", - "next/navigation::redirect", - "next/cache::", - "next/headers::cookies().set", - "next/headers::cookies().delete", - "next/headers::headers().set", - "next/headers::headers().delete", - ].some((prefix) => name.startsWith(prefix))) && - action(name)(args); - }), - (subscribed = !0); - } - }, - ]; - }, - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/backgrounds/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - decorators: () => decorators, - initialGlobals: () => initialGlobals, - parameters: () => parameters, - }); - var external_STORYBOOK_MODULE_PREVIEW_API_ = __webpack_require__( - "storybook/internal/preview-api", - ), - external_STORYBOOK_MODULE_GLOBAL_ = - __webpack_require__("@storybook/global"), - external_STORYBOOK_MODULE_CLIENT_LOGGER_ = __webpack_require__( - "storybook/internal/client-logger", - ), - esm = __webpack_require__( - "../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js", - ), - PARAM_KEY = "backgrounds", - DEFAULT_BACKGROUNDS = { - light: { name: "light", value: "#F8F8F8" }, - dark: { name: "dark", value: "#333" }, - }, - { document: preview_document, window: preview_window } = - external_STORYBOOK_MODULE_GLOBAL_.global, - isReduceMotionEnabled = () => - !!preview_window?.matchMedia("(prefers-reduced-motion: reduce)") - ?.matches, - clearStyles = (selector) => { - (Array.isArray(selector) ? selector : [selector]).forEach( - clearStyle, - ); - }, - clearStyle = (selector) => { - let element = preview_document.getElementById(selector); - element && element.parentElement?.removeChild(element); - }, - addGridStyle = (selector, css) => { - let existingStyle = preview_document.getElementById(selector); - if (existingStyle) - existingStyle.innerHTML !== css && - (existingStyle.innerHTML = css); - else { - let style = preview_document.createElement("style"); - style.setAttribute("id", selector), - (style.innerHTML = css), - preview_document.head.appendChild(style); - } - }, - addBackgroundStyle = (selector, css, storyId) => { - let existingStyle = preview_document.getElementById(selector); - if (existingStyle) - existingStyle.innerHTML !== css && - (existingStyle.innerHTML = css); - else { - let style = preview_document.createElement("style"); - style.setAttribute("id", selector), (style.innerHTML = css); - let gridStyleSelector = - "addon-backgrounds-grid" + - (storyId ? `-docs-${storyId}` : ""), - existingGridStyle = - preview_document.getElementById(gridStyleSelector); - existingGridStyle - ? existingGridStyle.parentElement?.insertBefore( - style, - existingGridStyle, - ) - : preview_document.head.appendChild(style); - } - }, - defaultGrid = { cellSize: 100, cellAmount: 10, opacity: 0.8 }, - transitionStyle = isReduceMotionEnabled() - ? "" - : "transition: background-color 0.3s;", - decorators = FEATURES?.backgroundsStoryGlobals - ? [ - (StoryFn, context) => { - let { - globals, - parameters: parameters2, - viewMode, - id, - } = context, - { - options = DEFAULT_BACKGROUNDS, - disable, - grid = defaultGrid, - } = parameters2[PARAM_KEY] || {}, - data = globals[PARAM_KEY] || {}, - backgroundName = data.value, - item = backgroundName ? options[backgroundName] : void 0, - value = item?.value || "transparent", - showGrid = data.grid || !1, - shownBackground = !!item && !disable, - backgroundSelector = - "docs" === viewMode - ? `#anchor--${id} .docs-story` - : ".sb-show-main", - gridSelector = - "docs" === viewMode - ? `#anchor--${id} .docs-story` - : ".sb-show-main", - isLayoutPadded = - void 0 === parameters2.layout || - "padded" === parameters2.layout, - defaultOffset = - "docs" === viewMode ? 20 : isLayoutPadded ? 16 : 0, - { - cellAmount, - cellSize, - opacity, - offsetX = defaultOffset, - offsetY = defaultOffset, - } = grid, - backgroundSelectorId = - "docs" === viewMode - ? `addon-backgrounds-docs-${id}` - : "addon-backgrounds-color", - backgroundTarget = "docs" === viewMode ? id : null; - (0, external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)(() => { - shownBackground - ? addBackgroundStyle( - backgroundSelectorId, - `\n ${backgroundSelector} {\n background: ${value} !important;\n ${transitionStyle}\n }`, - backgroundTarget, - ) - : clearStyles(backgroundSelectorId); - }, [ - backgroundSelector, - backgroundSelectorId, - backgroundTarget, - shownBackground, - value, - ]); - let gridSelectorId = - "docs" === viewMode - ? `addon-backgrounds-grid-docs-${id}` - : "addon-backgrounds-grid"; - return ( - (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)(() => { - if (!showGrid) return void clearStyles(gridSelectorId); - let gridSize = [ - `${cellSize * cellAmount}px ${cellSize * cellAmount}px`, - `${cellSize * cellAmount}px ${cellSize * cellAmount}px`, - `${cellSize}px ${cellSize}px`, - `${cellSize}px ${cellSize}px`, - ].join(", "); - addGridStyle( - gridSelectorId, - `\n ${gridSelector} {\n background-size: ${gridSize} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity / 2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity / 2}) 1px, transparent 1px) !important;\n }\n `, - ); - }, [ - cellAmount, - cellSize, - gridSelector, - gridSelectorId, - showGrid, - offsetX, - offsetY, - opacity, - ]), - StoryFn() - ); - }, - ] - : [ - (StoryFn, context) => { - let { globals, parameters: parameters2 } = context, - gridParameters = parameters2[PARAM_KEY].grid, - isActive = - !0 === globals[PARAM_KEY]?.grid && - !0 !== gridParameters.disable, - { cellAmount, cellSize, opacity } = gridParameters, - isInDocs = "docs" === context.viewMode, - defaultOffset = - void 0 === parameters2.layout || - "padded" === parameters2.layout - ? 16 - : 0, - offsetX = - gridParameters.offsetX ?? (isInDocs ? 20 : defaultOffset), - offsetY = - gridParameters.offsetY ?? (isInDocs ? 20 : defaultOffset), - gridStyles = (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)( - () => - `\n ${"docs" === context.viewMode ? `#anchor--${context.id} .docs-story` : ".sb-show-main"} {\n background-size: ${[`${cellSize * cellAmount}px ${cellSize * cellAmount}px`, `${cellSize * cellAmount}px ${cellSize * cellAmount}px`, `${cellSize}px ${cellSize}px`, `${cellSize}px ${cellSize}px`].join(", ")} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity / 2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity / 2}) 1px, transparent 1px) !important;\n }\n `, - [cellSize], - ); - return ( - (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)(() => { - let selectorId = - "docs" === context.viewMode - ? `addon-backgrounds-grid-docs-${context.id}` - : "addon-backgrounds-grid"; - isActive - ? addGridStyle(selectorId, gridStyles) - : clearStyles(selectorId); - }, [isActive, gridStyles, context]), - StoryFn() - ); - }, - (StoryFn, context) => { - let { globals, parameters: parameters2 } = context, - globalsBackgroundColor = globals[PARAM_KEY]?.value, - backgroundsConfig = parameters2[PARAM_KEY], - selectedBackgroundColor = (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)( - () => - backgroundsConfig.disable - ? "transparent" - : (( - currentSelectedValue, - backgrounds = [], - defaultName, - ) => { - if ("transparent" === currentSelectedValue) - return "transparent"; - if ( - backgrounds.find( - (background) => - background.value === currentSelectedValue, - ) || - currentSelectedValue - ) - return currentSelectedValue; - let defaultBackground = backgrounds.find( - (background) => background.name === defaultName, - ); - if (defaultBackground) - return defaultBackground.value; - if (defaultName) { - let availableColors = backgrounds - .map((background) => background.name) - .join(", "); - external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger - .warn(esm.T` - Backgrounds Addon: could not find the default color "${defaultName}". - These are the available colors for your story based on your configuration: - ${availableColors}. - `); - } - return "transparent"; - })( - globalsBackgroundColor, - backgroundsConfig.values, - backgroundsConfig.default, - ), - [backgroundsConfig, globalsBackgroundColor], - ), - isActive = (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)( - () => - selectedBackgroundColor && - "transparent" !== selectedBackgroundColor, - [selectedBackgroundColor], - ), - selector = - "docs" === context.viewMode - ? `#anchor--${context.id} .docs-story` - : ".sb-show-main", - backgroundStyles = (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)( - () => - `\n ${selector} {\n background: ${selectedBackgroundColor} !important;\n ${isReduceMotionEnabled() ? "" : "transition: background-color 0.3s;"}\n }\n `, - [selectedBackgroundColor, selector], - ); - return ( - (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)(() => { - let selectorId = - "docs" === context.viewMode - ? `addon-backgrounds-docs-${context.id}` - : "addon-backgrounds-color"; - isActive - ? addBackgroundStyle( - selectorId, - backgroundStyles, - "docs" === context.viewMode ? context.id : null, - ) - : clearStyles(selectorId); - }, [isActive, backgroundStyles, context]), - StoryFn() - ); - }, - ], - parameters = { - [PARAM_KEY]: { - grid: { cellSize: 20, opacity: 0.5, cellAmount: 5 }, - disable: !1, - ...(!FEATURES?.backgroundsStoryGlobals && { - values: Object.values(DEFAULT_BACKGROUNDS), - }), - }, - }, - modern = { [PARAM_KEY]: { value: void 0, grid: !1 } }, - initialGlobals = FEATURES?.backgroundsStoryGlobals - ? modern - : { [PARAM_KEY]: null }; - }, - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/docs/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - parameters: () => parameters, - }); - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-docs@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-docs/dist/chunk-H6MOWX77.mjs", - ); - var excludeTags = Object.entries(globalThis.TAGS_OPTIONS ?? {}).reduce( - (acc, entry) => { - let [tag, option] = entry; - return option.excludeFromDocsStories && (acc[tag] = !0), acc; - }, - {}, - ), - parameters = { - docs: { - renderer: async () => { - let { DocsRenderer } = await Promise.all([ - __webpack_require__.e(701), - __webpack_require__.e(689), - ]).then( - __webpack_require__.bind( - __webpack_require__, - "../node_modules/.pnpm/@storybook+addon-docs@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-docs/dist/DocsRenderer-CFRXHY34.mjs", - ), - ); - return new DocsRenderer(); - }, - stories: { - filter: (story) => - 0 === - (story.tags || []).filter((tag) => excludeTags[tag]) - .length && !story.parameters.docs?.disable, - }, - }, - }; - }, - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/highlight/preview.mjs": - ( - __unused_webpack_module, - __unused_webpack___webpack_exports__, - __webpack_require__, - ) => { - "use strict"; - var external_STORYBOOK_MODULE_CORE_EVENTS_ = __webpack_require__( - "storybook/internal/core-events", - ), - external_STORYBOOK_MODULE_PREVIEW_API_ = __webpack_require__( - "storybook/internal/preview-api", - ), - external_STORYBOOK_MODULE_GLOBAL_ = - __webpack_require__("@storybook/global"), - { document: preview_document } = - external_STORYBOOK_MODULE_GLOBAL_.global, - channel = external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(), - resetHighlight = () => { - let sheetToBeRemoved = - preview_document.getElementById("storybookHighlight"); - sheetToBeRemoved && - sheetToBeRemoved.parentNode?.removeChild(sheetToBeRemoved); - }; - channel.on( - external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_CHANGED, - resetHighlight, - ), - channel.on("storybook/highlight/reset", resetHighlight), - channel.on("storybook/highlight/add", (infos) => { - resetHighlight(); - let elements = Array.from(new Set(infos.elements)), - sheet = preview_document.createElement("style"); - sheet.setAttribute("id", "storybookHighlight"), - (sheet.innerHTML = elements - .map( - (target) => - `${target}{\n ${((color = "#FF4785", style = "dashed") => `\n outline: 2px ${style} ${color};\n outline-offset: 2px;\n box-shadow: 0 0 0 6px rgba(255,255,255,0.6);\n`)(infos.color, infos.style)}\n }`, - ) - .join(" ")), - preview_document.head.appendChild(sheet); - }); - }, - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/measure/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - decorators: () => decorators, - initialGlobals: () => initialGlobals, - }); - var external_STORYBOOK_MODULE_PREVIEW_API_ = __webpack_require__( - "storybook/internal/preview-api", - ), - external_STORYBOOK_MODULE_GLOBAL_ = - __webpack_require__("@storybook/global"), - prefix = "Invariant failed"; - function invariant(condition, message) { - if (!condition) throw new Error(prefix); - } - var PARAM_KEY = "measureEnabled"; - function getDocumentWidthAndHeight() { - let container = - external_STORYBOOK_MODULE_GLOBAL_.global.document.documentElement, - height = Math.max(container.scrollHeight, container.offsetHeight); - return { - width: Math.max(container.scrollWidth, container.offsetWidth), - height, - }; - } - function setCanvasWidthAndHeight(canvas, context, { width, height }) { - (canvas.style.width = `${width}px`), - (canvas.style.height = `${height}px`); - let scale = - external_STORYBOOK_MODULE_GLOBAL_.global.window.devicePixelRatio; - (canvas.width = Math.floor(width * scale)), - (canvas.height = Math.floor(height * scale)), - context.scale(scale, scale); - } - var state = {}; - function init() { - state.canvas || - (state = (function createCanvas() { - let canvas = - external_STORYBOOK_MODULE_GLOBAL_.global.document.createElement( - "canvas", - ); - canvas.id = "storybook-addon-measure"; - let context = canvas.getContext("2d"); - invariant(null != context); - let { width, height } = getDocumentWidthAndHeight(); - return ( - setCanvasWidthAndHeight(canvas, context, { width, height }), - (canvas.style.position = "absolute"), - (canvas.style.left = "0"), - (canvas.style.top = "0"), - (canvas.style.zIndex = "2147483647"), - (canvas.style.pointerEvents = "none"), - external_STORYBOOK_MODULE_GLOBAL_.global.document.body.appendChild( - canvas, - ), - { canvas, context, width, height } - ); - })()); - } - function clear() { - state.context && - state.context.clearRect(0, 0, state.width ?? 0, state.height ?? 0); - } - var colors = { - margin: "#f6b26b", - border: "#ffe599", - padding: "#93c47d", - content: "#6fa8dc", - text: "#232020", - }; - function roundedRect(context, { x, y, w, h, r }) { - (x -= w / 2), - (y -= h / 2), - w < 2 * r && (r = w / 2), - h < 2 * r && (r = h / 2), - context.beginPath(), - context.moveTo(x + r, y), - context.arcTo(x + w, y, x + w, y + h, r), - context.arcTo(x + w, y + h, x, y + h, r), - context.arcTo(x, y + h, x, y, r), - context.arcTo(x, y, x + w, y, r), - context.closePath(); - } - function textWithRect(context, type, { x, y, w, h }, text) { - return ( - roundedRect(context, { x, y, w, h, r: 3 }), - (context.fillStyle = `${colors[type]}dd`), - context.fill(), - (context.strokeStyle = colors[type]), - context.stroke(), - (context.fillStyle = colors.text), - context.fillText(text, x, y), - roundedRect(context, { x, y, w, h, r: 3 }), - (context.fillStyle = `${colors[type]}dd`), - context.fill(), - (context.strokeStyle = colors[type]), - context.stroke(), - (context.fillStyle = colors.text), - context.fillText(text, x, y), - { x, y, w, h } - ); - } - function configureText(context, text) { - (context.font = "600 12px monospace"), - (context.textBaseline = "middle"), - (context.textAlign = "center"); - let metrics = context.measureText(text), - actualHeight = - metrics.actualBoundingBoxAscent + - metrics.actualBoundingBoxDescent; - return { w: metrics.width + 12, h: actualHeight + 12 }; - } - function drawLabel( - context, - measurements, - { type, position = "center", text }, - prevRect, - external = !1, - ) { - let { x, y } = (function positionCoordinate( - position, - { padding, border, width, height, top, left }, - ) { - let contentWidth = - width - - border.left - - border.right - - padding.left - - padding.right, - contentHeight = - height - - padding.top - - padding.bottom - - border.top - - border.bottom, - x = left + border.left + padding.left, - y = top + border.top + padding.top; - return ( - "top" === position - ? (x += contentWidth / 2) - : "right" === position - ? ((x += contentWidth), (y += contentHeight / 2)) - : "bottom" === position - ? ((x += contentWidth / 2), (y += contentHeight)) - : "left" === position - ? (y += contentHeight / 2) - : "center" === position && - ((x += contentWidth / 2), (y += contentHeight / 2)), - { x, y } - ); - })(position, measurements), - { offsetX, offsetY } = (function offset( - type, - position, - { margin, border, padding }, - labelPaddingSize, - external, - ) { - let shift = (dir) => 0, - offsetX = 0, - offsetY = 0, - locationMultiplier = external ? 1 : 0.5, - labelPaddingShift = external ? 2 * labelPaddingSize : 0; - return ( - "padding" === type - ? (shift = (dir) => - padding[dir] * locationMultiplier + labelPaddingShift) - : "border" === type - ? (shift = (dir) => - padding[dir] + - border[dir] * locationMultiplier + - labelPaddingShift) - : "margin" === type && - (shift = (dir) => - padding[dir] + - border[dir] + - margin[dir] * locationMultiplier + - labelPaddingShift), - "top" === position - ? (offsetY = -shift("top")) - : "right" === position - ? (offsetX = shift("right")) - : "bottom" === position - ? (offsetY = shift("bottom")) - : "left" === position && (offsetX = -shift("left")), - { offsetX, offsetY } - ); - })(type, position, measurements, 7, external); - (x += offsetX), (y += offsetY); - let { w, h } = configureText(context, text); - if ( - prevRect && - (function collide(a, b) { - return ( - Math.abs(a.x - b.x) < Math.abs(a.w + b.w) / 2 && - Math.abs(a.y - b.y) < Math.abs(a.h + b.h) / 2 - ); - })({ x, y, w, h }, prevRect) - ) { - let adjusted = (function overlapAdjustment( - position, - currentRect, - prevRect, - ) { - return ( - "top" === position - ? (currentRect.y = prevRect.y - prevRect.h - 6) - : "right" === position - ? (currentRect.x = - prevRect.x + prevRect.w / 2 + 6 + currentRect.w / 2) - : "bottom" === position - ? (currentRect.y = prevRect.y + prevRect.h + 6) - : "left" === position && - (currentRect.x = - prevRect.x - prevRect.w / 2 - 6 - currentRect.w / 2), - { x: currentRect.x, y: currentRect.y } - ); - })(position, { x, y, w, h }, prevRect); - (x = adjusted.x), (y = adjusted.y); - } - return textWithRect(context, type, { x, y, w, h }, text); - } - function drawStack(context, measurements, stack, external) { - let rects = []; - stack.forEach((l, idx) => { - let rect = - external && "center" === l.position - ? (function drawFloatingLabel( - context, - measurements, - { type, text }, - ) { - let { floatingAlignment: floatingAlignment2, extremities } = - measurements, - x = extremities[floatingAlignment2.x], - y = extremities[floatingAlignment2.y], - { w, h } = configureText(context, text), - { offsetX, offsetY } = (function floatingOffset( - alignment, - { w, h }, - ) { - let deltaW = 0.5 * w + 6, - deltaH = 0.5 * h + 6; - return { - offsetX: ("left" === alignment.x ? -1 : 1) * deltaW, - offsetY: ("top" === alignment.y ? -1 : 1) * deltaH, - }; - })(floatingAlignment2, { w, h }); - return ( - (x += offsetX), - (y += offsetY), - textWithRect(context, type, { x, y, w, h }, text) - ); - })(context, measurements, l) - : drawLabel(context, measurements, l, rects[idx - 1], external); - rects[idx] = rect; - }); - } - var colors2_margin = "#f6b26ba8", - colors2_border = "#ffe599a8", - colors2_padding = "#93c47d8c", - colors2_content = "#6fa8dca8"; - function pxToNumber(px) { - return parseInt(px.replace("px", ""), 10); - } - function round(value) { - return Number.isInteger(value) ? value : value.toFixed(2); - } - function filterZeroValues(labels) { - return labels.filter((l) => 0 !== l.text && "0" !== l.text); - } - function floatingAlignment(extremities) { - let windowExtremities_top = - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY, - windowExtremities_bottom = - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY + - external_STORYBOOK_MODULE_GLOBAL_.global.window.innerHeight, - windowExtremities_left = - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX, - windowExtremities_right = - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX + - external_STORYBOOK_MODULE_GLOBAL_.global.window.innerWidth, - distances_top = Math.abs(windowExtremities_top - extremities.top), - distances_bottom = Math.abs( - windowExtremities_bottom - extremities.bottom, - ); - return { - x: - Math.abs(windowExtremities_left - extremities.left) > - Math.abs(windowExtremities_right - extremities.right) - ? "left" - : "right", - y: distances_top > distances_bottom ? "top" : "bottom", - }; - } - function drawBoxModel(element) { - return (context) => { - if (element && context) { - let measurements = (function measureElement(element) { - let style = - external_STORYBOOK_MODULE_GLOBAL_.global.getComputedStyle( - element, - ), - { top, left, right, bottom, width, height } = - element.getBoundingClientRect(), - { - marginTop, - marginBottom, - marginLeft, - marginRight, - paddingTop, - paddingBottom, - paddingLeft, - paddingRight, - borderBottomWidth, - borderTopWidth, - borderLeftWidth, - borderRightWidth, - } = style; - (top += - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY), - (left += - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX), - (bottom += - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY), - (right += - external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX); - let margin = { - top: pxToNumber(marginTop), - bottom: pxToNumber(marginBottom), - left: pxToNumber(marginLeft), - right: pxToNumber(marginRight), - }, - padding = { - top: pxToNumber(paddingTop), - bottom: pxToNumber(paddingBottom), - left: pxToNumber(paddingLeft), - right: pxToNumber(paddingRight), - }, - border = { - top: pxToNumber(borderTopWidth), - bottom: pxToNumber(borderBottomWidth), - left: pxToNumber(borderLeftWidth), - right: pxToNumber(borderRightWidth), - }, - extremities = { - top: top - margin.top, - bottom: bottom + margin.bottom, - left: left - margin.left, - right: right + margin.right, - }; - return { - margin, - padding, - border, - top, - left, - bottom, - right, - width, - height, - extremities, - floatingAlignment: floatingAlignment(extremities), - }; - })(element), - marginLabels = (function drawMargin( - context, - { margin, width, height, top, left, bottom, right }, - ) { - let marginHeight = height + margin.bottom + margin.top; - return ( - (context.fillStyle = colors2_margin), - context.fillRect(left, top - margin.top, width, margin.top), - context.fillRect( - right, - top - margin.top, - margin.right, - marginHeight, - ), - context.fillRect(left, bottom, width, margin.bottom), - context.fillRect( - left - margin.left, - top - margin.top, - margin.left, - marginHeight, - ), - filterZeroValues([ - { - type: "margin", - text: round(margin.top), - position: "top", - }, - { - type: "margin", - text: round(margin.right), - position: "right", - }, - { - type: "margin", - text: round(margin.bottom), - position: "bottom", - }, - { - type: "margin", - text: round(margin.left), - position: "left", - }, - ]) - ); - })(context, measurements), - paddingLabels = (function drawPadding( - context, - { padding, border, width, height, top, left, bottom, right }, - ) { - let paddingWidth = width - border.left - border.right, - paddingHeight = - height - - padding.top - - padding.bottom - - border.top - - border.bottom; - return ( - (context.fillStyle = colors2_padding), - context.fillRect( - left + border.left, - top + border.top, - paddingWidth, - padding.top, - ), - context.fillRect( - right - padding.right - border.right, - top + padding.top + border.top, - padding.right, - paddingHeight, - ), - context.fillRect( - left + border.left, - bottom - padding.bottom - border.bottom, - paddingWidth, - padding.bottom, - ), - context.fillRect( - left + border.left, - top + padding.top + border.top, - padding.left, - paddingHeight, - ), - filterZeroValues([ - { type: "padding", text: padding.top, position: "top" }, - { - type: "padding", - text: padding.right, - position: "right", - }, - { - type: "padding", - text: padding.bottom, - position: "bottom", - }, - { type: "padding", text: padding.left, position: "left" }, - ]) - ); - })(context, measurements), - borderLabels = (function drawBorder( - context, - { border, width, height, top, left, bottom, right }, - ) { - let borderHeight = height - border.top - border.bottom; - return ( - (context.fillStyle = colors2_border), - context.fillRect(left, top, width, border.top), - context.fillRect( - left, - bottom - border.bottom, - width, - border.bottom, - ), - context.fillRect( - left, - top + border.top, - border.left, - borderHeight, - ), - context.fillRect( - right - border.right, - top + border.top, - border.right, - borderHeight, - ), - filterZeroValues([ - { type: "border", text: border.top, position: "top" }, - { type: "border", text: border.right, position: "right" }, - { - type: "border", - text: border.bottom, - position: "bottom", - }, - { type: "border", text: border.left, position: "left" }, - ]) - ); - })(context, measurements), - contentLabels = (function drawContent( - context, - { padding, border, width, height, top, left }, - ) { - let contentWidth = - width - - border.left - - border.right - - padding.left - - padding.right, - contentHeight = - height - - padding.top - - padding.bottom - - border.top - - border.bottom; - return ( - (context.fillStyle = colors2_content), - context.fillRect( - left + border.left + padding.left, - top + border.top + padding.top, - contentWidth, - contentHeight, - ), - [ - { - type: "content", - position: "center", - text: `${round(contentWidth)} x ${round(contentHeight)}`, - }, - ] - ); - })(context, measurements); - !(function labelStacks( - context, - measurements, - labels, - externalLabels, - ) { - let stacks = labels.reduce( - (acc, l) => ( - Object.prototype.hasOwnProperty.call(acc, l.position) || - (acc[l.position] = []), - acc[l.position]?.push(l), - acc - ), - {}, - ); - stacks.top && - drawStack(context, measurements, stacks.top, externalLabels), - stacks.right && - drawStack( - context, - measurements, - stacks.right, - externalLabels, - ), - stacks.bottom && - drawStack( - context, - measurements, - stacks.bottom, - externalLabels, - ), - stacks.left && - drawStack( - context, - measurements, - stacks.left, - externalLabels, - ), - stacks.center && - drawStack( - context, - measurements, - stacks.center, - externalLabels, - ); - })( - context, - measurements, - [ - ...contentLabels, - ...paddingLabels, - ...borderLabels, - ...marginLabels, - ], - measurements.width <= 90 || measurements.height <= 30, - ); - } - }; - } - function drawSelectedElement(element) { - !(function draw(callback) { - clear(), callback(state.context); - })(drawBoxModel(element)); - } - var nodeAtPointerRef, - pointer = { x: 0, y: 0 }; - function findAndDrawElement(x, y) { - (nodeAtPointerRef = ((x, y) => { - let element = - external_STORYBOOK_MODULE_GLOBAL_.global.document.elementFromPoint( - x, - y, - ), - crawlShadows = (node) => { - if (node && node.shadowRoot) { - let nestedElement = node.shadowRoot.elementFromPoint(x, y); - return node.isEqualNode(nestedElement) - ? node - : nestedElement.shadowRoot - ? crawlShadows(nestedElement) - : nestedElement; - } - return node; - }; - return crawlShadows(element) || element; - })(x, y)), - drawSelectedElement(nodeAtPointerRef); - } - var decorators = [ - (StoryFn, context) => { - let { measureEnabled } = context.globals; - return ( - (0, external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)(() => { - let onPointerMove = (event) => { - window.requestAnimationFrame(() => { - event.stopPropagation(), - (pointer.x = event.clientX), - (pointer.y = event.clientY); - }); - }; - return ( - document.addEventListener("pointermove", onPointerMove), - () => { - document.removeEventListener( - "pointermove", - onPointerMove, - ); - } - ); - }, []), - (0, external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)(() => { - let onResize = () => { - window.requestAnimationFrame(() => { - !(function rescale() { - invariant(state.canvas), - invariant(state.context), - setCanvasWidthAndHeight(state.canvas, state.context, { - width: 0, - height: 0, - }); - let { width, height } = getDocumentWidthAndHeight(); - setCanvasWidthAndHeight(state.canvas, state.context, { - width, - height, - }), - (state.width = width), - (state.height = height); - })(); - }); - }; - return ( - "story" === context.viewMode && - measureEnabled && - (document.addEventListener("pointerover", (event) => { - window.requestAnimationFrame(() => { - event.stopPropagation(), - findAndDrawElement(event.clientX, event.clientY); - }); - }), - init(), - window.addEventListener("resize", onResize), - findAndDrawElement(pointer.x, pointer.y)), - () => { - window.removeEventListener("resize", onResize), - (function destroy() { - state.canvas && - (clear(), - state.canvas.parentNode?.removeChild(state.canvas), - (state = {})); - })(); - } - ); - }, [measureEnabled, context.viewMode]), - StoryFn() - ); - }, - ], - initialGlobals = { [PARAM_KEY]: !1 }; - }, - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/outline/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - decorators: () => decorators, - initialGlobals: () => initialGlobals, - }); - var external_STORYBOOK_MODULE_PREVIEW_API_ = __webpack_require__( - "storybook/internal/preview-api", - ), - external_STORYBOOK_MODULE_GLOBAL_ = - __webpack_require__("@storybook/global"), - esm = __webpack_require__( - "../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js", - ), - PARAM_KEY = "outline", - clearStyles = (selector) => { - (Array.isArray(selector) ? selector : [selector]).forEach( - clearStyle, - ); - }, - clearStyle = (input) => { - let selector = "string" == typeof input ? input : input.join(""), - element = - external_STORYBOOK_MODULE_GLOBAL_.global.document.getElementById( - selector, - ); - element && - element.parentElement && - element.parentElement.removeChild(element); - }; - var decorators = [ - (StoryFn, context) => { - let { globals } = context, - isActive = [!0, "true"].includes(globals.outline), - isInDocs = "docs" === context.viewMode, - outlineStyles = (0, - external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)( - () => - (function outlineCSS(selector) { - return esm.T` - ${selector} body { - outline: 1px solid #2980b9 !important; - } - - ${selector} article { - outline: 1px solid #3498db !important; - } - - ${selector} nav { - outline: 1px solid #0088c3 !important; - } - - ${selector} aside { - outline: 1px solid #33a0ce !important; - } - - ${selector} section { - outline: 1px solid #66b8da !important; - } - - ${selector} header { - outline: 1px solid #99cfe7 !important; - } - - ${selector} footer { - outline: 1px solid #cce7f3 !important; - } - - ${selector} h1 { - outline: 1px solid #162544 !important; - } - - ${selector} h2 { - outline: 1px solid #314e6e !important; - } - - ${selector} h3 { - outline: 1px solid #3e5e85 !important; - } - - ${selector} h4 { - outline: 1px solid #449baf !important; - } - - ${selector} h5 { - outline: 1px solid #c7d1cb !important; - } - - ${selector} h6 { - outline: 1px solid #4371d0 !important; - } - - ${selector} main { - outline: 1px solid #2f4f90 !important; - } - - ${selector} address { - outline: 1px solid #1a2c51 !important; - } - - ${selector} div { - outline: 1px solid #036cdb !important; - } - - ${selector} p { - outline: 1px solid #ac050b !important; - } - - ${selector} hr { - outline: 1px solid #ff063f !important; - } - - ${selector} pre { - outline: 1px solid #850440 !important; - } - - ${selector} blockquote { - outline: 1px solid #f1b8e7 !important; - } - - ${selector} ol { - outline: 1px solid #ff050c !important; - } - - ${selector} ul { - outline: 1px solid #d90416 !important; - } - - ${selector} li { - outline: 1px solid #d90416 !important; - } - - ${selector} dl { - outline: 1px solid #fd3427 !important; - } - - ${selector} dt { - outline: 1px solid #ff0043 !important; - } - - ${selector} dd { - outline: 1px solid #e80174 !important; - } - - ${selector} figure { - outline: 1px solid #ff00bb !important; - } - - ${selector} figcaption { - outline: 1px solid #bf0032 !important; - } - - ${selector} table { - outline: 1px solid #00cc99 !important; - } - - ${selector} caption { - outline: 1px solid #37ffc4 !important; - } - - ${selector} thead { - outline: 1px solid #98daca !important; - } - - ${selector} tbody { - outline: 1px solid #64a7a0 !important; - } - - ${selector} tfoot { - outline: 1px solid #22746b !important; - } - - ${selector} tr { - outline: 1px solid #86c0b2 !important; - } - - ${selector} th { - outline: 1px solid #a1e7d6 !important; - } - - ${selector} td { - outline: 1px solid #3f5a54 !important; - } - - ${selector} col { - outline: 1px solid #6c9a8f !important; - } - - ${selector} colgroup { - outline: 1px solid #6c9a9d !important; - } - - ${selector} button { - outline: 1px solid #da8301 !important; - } - - ${selector} datalist { - outline: 1px solid #c06000 !important; - } - - ${selector} fieldset { - outline: 1px solid #d95100 !important; - } - - ${selector} form { - outline: 1px solid #d23600 !important; - } - - ${selector} input { - outline: 1px solid #fca600 !important; - } - - ${selector} keygen { - outline: 1px solid #b31e00 !important; - } - - ${selector} label { - outline: 1px solid #ee8900 !important; - } - - ${selector} legend { - outline: 1px solid #de6d00 !important; - } - - ${selector} meter { - outline: 1px solid #e8630c !important; - } - - ${selector} optgroup { - outline: 1px solid #b33600 !important; - } - - ${selector} option { - outline: 1px solid #ff8a00 !important; - } - - ${selector} output { - outline: 1px solid #ff9619 !important; - } - - ${selector} progress { - outline: 1px solid #e57c00 !important; - } - - ${selector} select { - outline: 1px solid #e26e0f !important; - } - - ${selector} textarea { - outline: 1px solid #cc5400 !important; - } - - ${selector} details { - outline: 1px solid #33848f !important; - } - - ${selector} summary { - outline: 1px solid #60a1a6 !important; - } - - ${selector} command { - outline: 1px solid #438da1 !important; - } - - ${selector} menu { - outline: 1px solid #449da6 !important; - } - - ${selector} del { - outline: 1px solid #bf0000 !important; - } - - ${selector} ins { - outline: 1px solid #400000 !important; - } - - ${selector} img { - outline: 1px solid #22746b !important; - } - - ${selector} iframe { - outline: 1px solid #64a7a0 !important; - } - - ${selector} embed { - outline: 1px solid #98daca !important; - } - - ${selector} object { - outline: 1px solid #00cc99 !important; - } - - ${selector} param { - outline: 1px solid #37ffc4 !important; - } - - ${selector} video { - outline: 1px solid #6ee866 !important; - } - - ${selector} audio { - outline: 1px solid #027353 !important; - } - - ${selector} source { - outline: 1px solid #012426 !important; - } - - ${selector} canvas { - outline: 1px solid #a2f570 !important; - } - - ${selector} track { - outline: 1px solid #59a600 !important; - } - - ${selector} map { - outline: 1px solid #7be500 !important; - } - - ${selector} area { - outline: 1px solid #305900 !important; - } - - ${selector} a { - outline: 1px solid #ff62ab !important; - } - - ${selector} em { - outline: 1px solid #800b41 !important; - } - - ${selector} strong { - outline: 1px solid #ff1583 !important; - } - - ${selector} i { - outline: 1px solid #803156 !important; - } - - ${selector} b { - outline: 1px solid #cc1169 !important; - } - - ${selector} u { - outline: 1px solid #ff0430 !important; - } - - ${selector} s { - outline: 1px solid #f805e3 !important; - } - - ${selector} small { - outline: 1px solid #d107b2 !important; - } - - ${selector} abbr { - outline: 1px solid #4a0263 !important; - } - - ${selector} q { - outline: 1px solid #240018 !important; - } - - ${selector} cite { - outline: 1px solid #64003c !important; - } - - ${selector} dfn { - outline: 1px solid #b4005a !important; - } - - ${selector} sub { - outline: 1px solid #dba0c8 !important; - } - - ${selector} sup { - outline: 1px solid #cc0256 !important; - } - - ${selector} time { - outline: 1px solid #d6606d !important; - } - - ${selector} code { - outline: 1px solid #e04251 !important; - } - - ${selector} kbd { - outline: 1px solid #5e001f !important; - } - - ${selector} samp { - outline: 1px solid #9c0033 !important; - } - - ${selector} var { - outline: 1px solid #d90047 !important; - } - - ${selector} mark { - outline: 1px solid #ff0053 !important; - } - - ${selector} bdi { - outline: 1px solid #bf3668 !important; - } - - ${selector} bdo { - outline: 1px solid #6f1400 !important; - } - - ${selector} ruby { - outline: 1px solid #ff7b93 !important; - } - - ${selector} rt { - outline: 1px solid #ff2f54 !important; - } - - ${selector} rp { - outline: 1px solid #803e49 !important; - } - - ${selector} span { - outline: 1px solid #cc2643 !important; - } - - ${selector} br { - outline: 1px solid #db687d !important; - } - - ${selector} wbr { - outline: 1px solid #db175b !important; - }`; - })( - isInDocs ? '[data-story-block="true"]' : ".sb-show-main", - ), - [context], - ); - return ( - (0, external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)(() => { - let selectorId = isInDocs - ? `addon-outline-docs-${context.id}` - : "addon-outline"; - return ( - isActive - ? ((selector, css) => { - let existingStyle = - external_STORYBOOK_MODULE_GLOBAL_.global.document.getElementById( - selector, - ); - if (existingStyle) - existingStyle.innerHTML !== css && - (existingStyle.innerHTML = css); - else { - let style = - external_STORYBOOK_MODULE_GLOBAL_.global.document.createElement( - "style", - ); - style.setAttribute("id", selector), - (style.innerHTML = css), - external_STORYBOOK_MODULE_GLOBAL_.global.document.head.appendChild( - style, - ); - } - })(selectorId, outlineStyles) - : clearStyles(selectorId), - () => { - clearStyles(selectorId); - } - ); - }, [isActive, outlineStyles, context]), - StoryFn() - ); - }, - ], - initialGlobals = { [PARAM_KEY]: !1 }; - }, - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/viewport/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - initialGlobals: () => initialGlobals, - }); - var PARAM_KEY = "viewport", - modern = { [PARAM_KEY]: { value: void 0, isRotated: !1 } }, - initialGlobals = FEATURES?.viewportStoryGlobals - ? modern - : { viewport: "reset", viewportRotated: !1 }; - }, - "../node_modules/.pnpm/@storybook+addon-interactions@8.4.7_storybook@8.4.7/node_modules/@storybook/addon-interactions/dist/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - parameters: () => parameters, - runStep: () => runStep, - }); - var _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/@storybook+instrumenter@8.4.7_storybook@8.4.7/node_modules/@storybook/instrumenter/dist/index.mjs", - ), - { step: runStep } = - (__webpack_require__( - "../node_modules/.pnpm/@storybook+test@8.4.7_storybook@8.4.7/node_modules/@storybook/test/dist/index.mjs", - ), - (0, _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.wV)( - { step: (label, play, context) => play(context) }, - { intercept: !0 }, - )), - parameters = { throwPlayFunctionExceptions: !1 }; - }, - "../node_modules/.pnpm/@storybook+core@8.4.7_prettier@3.3.3/node_modules/@storybook/core/dist/docs-tools/index.js": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - C2: () => cn, - Op: () => yn, - Sy: () => oe, - TQ: () => z, - UO: () => Y, - Ux: () => l, - Y1: () => gt, - YF: () => je, - i3: () => B, - p6: () => on, - rl: () => nn, - }); - var _storybook_core_preview_errors__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__("storybook/internal/preview-errors"), - jsdoc_type_pratt_parser__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/jsdoc-type-pratt-parser@4.1.0/node_modules/jsdoc-type-pratt-parser/dist/index.js", - ), - _storybook_core_preview_api__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__("storybook/internal/preview-api"), - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - De = Object.defineProperty, - o = (e, t) => De(e, "name", { value: t, configurable: !0 }), - he = o((e) => "literal" === e.name, "isLiteral"), - be = o((e) => e.value.replace(/['|"]/g, ""), "toEnumOption"), - Pe = o((e) => { - switch (e.type) { - case "function": - return { name: "function" }; - case "object": - let t = {}; - return ( - e.signature.properties.forEach((r) => { - t[r.key] = d(r.value); - }), - { name: "object", value: t } - ); - default: - throw new _storybook_core_preview_errors__WEBPACK_IMPORTED_MODULE_0__.UnknownArgTypesError( - { type: e, language: "Flow" }, - ); - } - }, "convertSig"), - d = o((e) => { - let { name: t, raw: r } = e, - n = {}; - switch ((typeof r < "u" && (n.raw = r), e.name)) { - case "literal": - return { ...n, name: "other", value: e.value }; - case "string": - case "number": - case "symbol": - case "boolean": - return { ...n, name: t }; - case "Array": - return { ...n, name: "array", value: e.elements.map(d) }; - case "signature": - return { ...n, ...Pe(e) }; - case "union": - return e.elements?.every(he) - ? { ...n, name: "enum", value: e.elements?.map(be) } - : { ...n, name: t, value: e.elements?.map(d) }; - case "intersection": - return { ...n, name: t, value: e.elements?.map(d) }; - default: - return { ...n, name: "other", value: t }; - } - }, "convert"); - function j(e, t) { - let r = {}, - n = Object.keys(e); - for (let s = 0; s < n.length; s++) { - let i = n[s], - p = e[i]; - r[i] = t(p, i, e); - } - return r; - } - o(j, "mapValues"); - var W = /^['"]|['"]$/g, - Se = o((e) => e.replace(W, ""), "trimQuotes"), - Oe = o((e) => W.test(e), "includesQuotes"), - h = o((e) => { - let t = Se(e); - return Oe(e) || Number.isNaN(Number(t)) ? t : Number(t); - }, "parseLiteral"), - ve = /^\(.*\) => /, - x = o((e) => { - let { name: t, raw: r, computed: n, value: s } = e, - i = {}; - switch ((typeof r < "u" && (i.raw = r), t)) { - case "enum": { - let a = n ? s : s.map((c) => h(c.value)); - return { ...i, name: t, value: a }; - } - case "string": - case "number": - case "symbol": - case "object": - return { ...i, name: t }; - case "func": - return { ...i, name: "function" }; - case "bool": - case "boolean": - return { ...i, name: "boolean" }; - case "arrayOf": - case "array": - return { ...i, name: "array", value: s && x(s) }; - case "objectOf": - return { ...i, name: t, value: x(s) }; - case "shape": - case "exact": - let p = j(s, (a) => x(a)); - return { ...i, name: "object", value: p }; - case "union": - return { ...i, name: "union", value: s.map((a) => x(a)) }; - default: { - if (t?.indexOf("|") > 0) - try { - let u = t.split("|").map((m) => JSON.parse(m)); - return { ...i, name: "enum", value: u }; - } catch {} - let a = s ? `${t}(${s})` : t, - c = ve.test(t) ? "function" : "other"; - return { ...i, name: c, value: a }; - } - } - }, "convert"), - Ee = o((e) => { - switch (e.type) { - case "function": - return { name: "function" }; - case "object": - let t = {}; - return ( - e.signature.properties.forEach((r) => { - t[r.key] = D(r.value); - }), - { name: "object", value: t } - ); - default: - throw new _storybook_core_preview_errors__WEBPACK_IMPORTED_MODULE_0__.UnknownArgTypesError( - { type: e, language: "Typescript" }, - ); - } - }, "convertSig"), - D = o((e) => { - let { name: t, raw: r } = e, - n = {}; - switch ((typeof r < "u" && (n.raw = r), e.name)) { - case "string": - case "number": - case "symbol": - case "boolean": - return { ...n, name: t }; - case "Array": - return { ...n, name: "array", value: e.elements.map(D) }; - case "signature": - return { ...n, ...Ee(e) }; - case "union": - let s; - return ( - (s = e.elements?.every((i) => "literal" === i.name) - ? { - ...n, - name: "enum", - value: e.elements?.map((i) => h(i.value)), - } - : { ...n, name: t, value: e.elements?.map(D) }), - s - ); - case "intersection": - return { ...n, name: t, value: e.elements?.map(D) }; - default: - return { ...n, name: "other", value: t }; - } - }, "convert"), - b = o((e) => { - let { type: t, tsType: r, flowType: n } = e; - try { - if (null != t) return x(t); - if (null != r) return D(r); - if (null != n) return d(n); - } catch (s) { - console.error(s); - } - return null; - }, "convert"), - je = ((s) => ( - (s.JAVASCRIPT = "JavaScript"), - (s.FLOW = "Flow"), - (s.TYPESCRIPT = "TypeScript"), - (s.UNKNOWN = "Unknown"), - s - ))(je || {}), - ke = ["null", "undefined"]; - function T(e) { - return ke.some((t) => t === e); - } - o(T, "isDefaultValueBlacklisted"); - var f, - e, - M = o((e) => { - if (!e) return ""; - if ("string" == typeof e) return e; - throw new Error( - `Description: expected string, got: ${JSON.stringify(e)}`, - ); - }, "str"); - function z(e) { - return !!e.__docgenInfo; - } - function $(e) { - return null != e && Object.keys(e).length > 0; - } - function Y(e, t) { - return z(e) ? e.__docgenInfo[t] : null; - } - function q(e) { - return z(e) ? M(e.__docgenInfo.description) : ""; - } - function k(e) { - return /^\s+$/.test(e); - } - function G(e) { - let t = e.match(/\r+$/); - return null == t - ? ["", e] - : [e.slice(-t[0].length), e.slice(0, -t[0].length)]; - } - function y(e) { - let t = e.match(/^\s+/); - return null == t - ? ["", e] - : [e.slice(0, t[0].length), e.slice(t[0].length)]; - } - function K(e) { - return e.split(/\n/); - } - function X(e = {}) { - return Object.assign( - { - tag: "", - name: "", - type: "", - optional: !1, - description: "", - problems: [], - source: [], - }, - e, - ); - } - function F(e = {}) { - return Object.assign( - { - start: "", - delimiter: "", - postDelimiter: "", - tag: "", - postTag: "", - name: "", - postName: "", - type: "", - postType: "", - description: "", - end: "", - lineEnd: "", - }, - e, - ); - } - o(z, "hasDocgen"), - o($, "isValidDocgenSection"), - o(Y, "getDocgenSection"), - o(q, "getDocgenDescription"), - ((e = f = f || (f = {})).start = "/**"), - (e.nostart = "/***"), - (e.delim = "*"), - (e.end = "*/"), - o(k, "isSpace"), - o(G, "splitCR"), - o(y, "splitSpace"), - o(K, "splitLines"), - o(X, "seedSpec"), - o(F, "seedTokens"); - var Fe = /^@\S+/; - function J({ fence: e = "```" } = {}) { - let t = Je(e), - r = o((n, s) => (t(n) ? !s : s), "toggleFence"); - return o(function (s) { - let i = [[]], - p = !1; - for (let a of s) - Fe.test(a.tokens.description) && !p - ? i.push([a]) - : i[i.length - 1].push(a), - (p = r(a.tokens.description, p)); - return i; - }, "parseBlock"); - } - function Je(e) { - return "string" == typeof e ? (t) => t.split(e).length % 2 == 0 : e; - } - function N({ startLine: e = 0, markers: t = f } = {}) { - let r = null, - n = e; - return o(function (i) { - let p = i, - a = F(); - if ( - (([a.lineEnd, p] = G(p)), - ([a.start, p] = y(p)), - null === r && - p.startsWith(t.start) && - !p.startsWith(t.nostart) && - ((r = []), - (a.delimiter = p.slice(0, t.start.length)), - (p = p.slice(t.start.length)), - ([a.postDelimiter, p] = y(p))), - null === r) - ) - return n++, null; - let c = p.trimRight().endsWith(t.end); - if ( - ("" === a.delimiter && - p.startsWith(t.delim) && - !p.startsWith(t.end) && - ((a.delimiter = t.delim), - (p = p.slice(t.delim.length)), - ([a.postDelimiter, p] = y(p))), - c) - ) { - let u = p.trimRight(); - (a.end = p.slice(u.length - t.end.length)), - (p = u.slice(0, -t.end.length)); - } - if ( - ((a.description = p), - r.push({ number: n, source: i, tokens: a }), - n++, - c) - ) { - let u = r.slice(); - return (r = null), u; - } - return null; - }, "parseSource"); - } - function R({ tokenizers: e }) { - return o(function (r) { - var n; - let s = X({ source: r }); - for (let i of e) - if ( - ((s = i(s)), - null !== (n = s.problems[s.problems.length - 1]) && - void 0 !== n && - n.critical) - ) - break; - return s; - }, "parseSpec"); - } - function P() { - return (e) => { - let { tokens: t } = e.source[0], - r = t.description.match(/\s*(@(\S+))(\s*)/); - return null === r - ? (e.problems.push({ - code: "spec:tag:prefix", - message: 'tag should start with "@" symbol', - line: e.source[0].number, - critical: !0, - }), - e) - : ((t.tag = r[1]), - (t.postTag = r[3]), - (t.description = t.description.slice(r[0].length)), - (e.tag = r[2]), - e); - }; - } - function S(e = "compact") { - let t = Re(e); - return (r) => { - let n = 0, - s = []; - for (let [a, { tokens: c }] of r.source.entries()) { - let u = ""; - if (0 === a && "{" !== c.description[0]) return r; - for (let m of c.description) - if (("{" === m && n++, "}" === m && n--, (u += m), 0 === n)) - break; - if ((s.push([c, u]), 0 === n)) break; - } - if (0 !== n) - return ( - r.problems.push({ - code: "spec:type:unpaired-curlies", - message: "unpaired curlies", - line: r.source[0].number, - critical: !0, - }), - r - ); - let i = [], - p = s[0][0].postDelimiter.length; - for (let [a, [c, u]] of s.entries()) - (c.type = u), - a > 0 && - ((c.type = c.postDelimiter.slice(p) + u), - (c.postDelimiter = c.postDelimiter.slice(0, p))), - ([c.postType, c.description] = y( - c.description.slice(u.length), - )), - i.push(c.type); - return ( - (i[0] = i[0].slice(1)), - (i[i.length - 1] = i[i.length - 1].slice(0, -1)), - (r.type = t(i)), - r - ); - }; - } - o(J, "getParser"), - o(Je, "getFencer"), - o(N, "getParser"), - o(R, "getParser"), - o(P, "tagTokenizer"), - o(S, "typeTokenizer"); - var Ne = o((e) => e.trim(), "trim"); - function Re(e) { - return "compact" === e - ? (t) => t.map(Ne).join("") - : "preserve" === e - ? (t) => t.join("\n") - : e; - } - o(Re, "getJoiner"); - var Ae = o( - (e) => e && e.startsWith('"') && e.endsWith('"'), - "isQuoted", - ); - function O() { - let e = o( - (t, { tokens: r }, n) => ("" === r.type ? t : n), - "typeEnd", - ); - return (t) => { - let { tokens: r } = t.source[t.source.reduce(e, 0)], - n = r.description.trimLeft(), - s = n.split('"'); - if (s.length > 1 && "" === s[0] && s.length % 2 == 1) - return ( - (t.name = s[1]), - (r.name = `"${s[1]}"`), - ([r.postName, r.description] = y(n.slice(r.name.length))), - t - ); - let c, - i = 0, - p = "", - a = !1; - for (let m of n) { - if (0 === i && k(m)) break; - "[" === m && i++, "]" === m && i--, (p += m); - } - if (0 !== i) - return ( - t.problems.push({ - code: "spec:name:unpaired-brackets", - message: "unpaired brackets", - line: t.source[0].number, - critical: !0, - }), - t - ); - let u = p; - if ("[" === p[0] && "]" === p[p.length - 1]) { - (a = !0), (p = p.slice(1, -1)); - let m = p.split("="); - if ( - ((p = m[0].trim()), - void 0 !== m[1] && (c = m.slice(1).join("=").trim()), - "" === p) - ) - return ( - t.problems.push({ - code: "spec:name:empty-name", - message: "empty name", - line: t.source[0].number, - critical: !0, - }), - t - ); - if ("" === c) - return ( - t.problems.push({ - code: "spec:name:empty-default", - message: "empty default value", - line: t.source[0].number, - critical: !0, - }), - t - ); - if (!Ae(c) && /=(?!>)/.test(c)) - return ( - t.problems.push({ - code: "spec:name:invalid-default", - message: "invalid default value syntax", - line: t.source[0].number, - critical: !0, - }), - t - ); - } - return ( - (t.optional = a), - (t.name = p), - (r.name = u), - void 0 !== c && (t.default = c), - ([r.postName, r.description] = y(n.slice(r.name.length))), - t - ); - }; - } - function v(e = "compact", t = f) { - let r = A(e); - return (n) => ((n.description = r(n.source, t)), n); - } - function A(e) { - return "compact" === e ? Ve : "preserve" === e ? Be : e; - } - function Ve(e, t = f) { - return e - .map(({ tokens: { description: r } }) => r.trim()) - .filter((r) => "" !== r) - .join(" "); - } - o(O, "nameTokenizer"), - o(v, "descriptionTokenizer"), - o(A, "getJoiner"), - o(Ve, "compactJoiner"); - var Ce = o((e, { tokens: t }, r) => ("" === t.type ? e : r), "lineNo"), - _e = o( - ({ tokens: e }) => - ("" === e.delimiter ? e.start : e.postDelimiter.slice(1)) + - e.description, - "getDescription", - ); - function Be(e, t = f) { - if (0 === e.length) return ""; - "" === e[0].tokens.description && - e[0].tokens.delimiter === t.start && - (e = e.slice(1)); - let r = e[e.length - 1]; - return ( - void 0 !== r && - "" === r.tokens.description && - r.tokens.end.endsWith(t.end) && - (e = e.slice(0, -1)), - (e = e.slice(e.reduce(Ce, 0))).map(_e).join("\n") - ); - } - function V({ - startLine: e = 0, - fence: t = "```", - spacing: r = "compact", - markers: n = f, - tokenizers: s = [ - (e) => { - let { tokens: t } = e.source[0], - r = t.description.match(/\s*(@(\S+))(\s*)/); - return null === r - ? (e.problems.push({ - code: "spec:tag:prefix", - message: 'tag should start with "@" symbol', - line: e.source[0].number, - critical: !0, - }), - e) - : ((t.tag = r[1]), - (t.postTag = r[3]), - (t.description = t.description.slice(r[0].length)), - (e.tag = r[2]), - e); - }, - S(r), - O(), - v(r), - ], - } = {}) { - if (e < 0 || e % 1 > 0) throw new Error("Invalid startLine"); - let i = N({ startLine: e, markers: n }), - p = J({ fence: t }), - a = R({ tokenizers: s }), - c = A(r); - return function (u) { - let m = []; - for (let ge of K(u)) { - let E = i(ge); - if (null === E) continue; - let L = p(E), - U = L.slice(1).map(a); - m.push({ - description: c(L[0], n), - tags: U, - source: E, - problems: U.reduce((de, xe) => de.concat(xe.problems), []), - }); - } - return m; - }; - } - function Ie(e) { - return ( - e.start + - e.delimiter + - e.postDelimiter + - e.tag + - e.postTag + - e.type + - e.postType + - e.name + - e.postName + - e.description + - e.end + - e.lineEnd - ); - } - function C() { - return (e) => e.source.map(({ tokens: t }) => Ie(t)).join("\n"); - } - o(Be, "preserveJoiner"), - o(V, "getParser"), - o(Ie, "join"), - o(C, "getStringifier"); - Object.keys({ - line: 0, - start: 0, - delimiter: 0, - postDelimiter: 0, - tag: 0, - postTag: 0, - name: 0, - postName: 0, - type: 0, - postType: 0, - description: 0, - end: 0, - lineEnd: 0, - }); - function H(e, t = {}) { - return V(t)(e); - } - o(H, "parse"); - C(); - function ze(e) { - return null != e && e.includes("@"); - } - function $e(e) { - let s = H( - "/**\n" + - (e ?? "") - .split("\n") - .map((i) => ` * ${i}`) - .join("\n") + - "\n*/", - { spacing: "preserve" }, - ); - if (!s || 0 === s.length) throw new Error("Cannot parse JSDoc tags."); - return s[0]; - } - o(ze, "containsJsDoc"), o($e, "parse"); - var Ye = { - tags: [ - "param", - "arg", - "argument", - "returns", - "ignore", - "deprecated", - ], - }, - Q = o((e, t = Ye) => { - if (!ze(e)) return { includesJsDoc: !1, ignore: !1 }; - let r = $e(e), - n = qe(r, t.tags); - return n.ignore - ? { includesJsDoc: !0, ignore: !0 } - : { - includesJsDoc: !0, - ignore: !1, - description: r.description.trim(), - extractedTags: n, - }; - }, "parseJsDoc"); - function qe(e, t) { - let r = { params: null, deprecated: null, returns: null, ignore: !1 }; - for (let n of e.tags) - if (void 0 === t || t.includes(n.tag)) { - if ("ignore" === n.tag) { - r.ignore = !0; - break; - } - switch (n.tag) { - case "param": - case "arg": - case "argument": { - let s = Ke(n); - null != s && - (null == r.params && (r.params = []), r.params.push(s)); - break; - } - case "deprecated": { - let s = Xe(n); - null != s && (r.deprecated = s); - break; - } - case "returns": { - let s = He(n); - null != s && (r.returns = s); - break; - } - } - } - return r; - } - function Ge(e) { - return e.replace(/[\.-]$/, ""); - } - function Ke(e) { - if (!e.name || "-" === e.name) return null; - let t = te(e.type); - return { - name: e.name, - type: t, - description: ee(e.description), - getPrettyName: o(() => Ge(e.name), "getPrettyName"), - getTypeName: o(() => (t ? re(t) : null), "getTypeName"), - }; - } - function Xe(e) { - return e.name ? Z(e.name, e.description) : null; - } - function Z(e, t) { - return ee("" === e ? t : `${e} ${t}`); - } - function ee(e) { - let t = e.replace(/^- /g, "").trim(); - return "" === t ? null : t; - } - function He(e) { - let t = te(e.type); - return t - ? { - type: t, - description: Z(e.name, e.description), - getTypeName: o(() => re(t), "getTypeName"), - } - : null; - } - o(qe, "extractJsDocTags"), - o(Ge, "normaliseParamName"), - o(Ke, "extractParam"), - o(Xe, "extractDeprecated"), - o(Z, "joinNameAndDescription"), - o(ee, "normaliseDescription"), - o(He, "extractReturns"); - var g = (0, - jsdoc_type_pratt_parser__WEBPACK_IMPORTED_MODULE_1__.stringifyRules)(), - Qe = g.JsdocTypeObject; - function te(e) { - try { - return (0, - jsdoc_type_pratt_parser__WEBPACK_IMPORTED_MODULE_1__.parse)( - e, - "typescript", - ); - } catch { - return null; - } - } - function re(e) { - return (0, - jsdoc_type_pratt_parser__WEBPACK_IMPORTED_MODULE_1__.transform)(g, e); - } - (g.JsdocTypeAny = () => "any"), - (g.JsdocTypeObject = (e, t) => `(${Qe(e, t)})`), - (g.JsdocTypeOptional = (e, t) => t(e.element)), - (g.JsdocTypeNullable = (e, t) => t(e.element)), - (g.JsdocTypeNotNullable = (e, t) => t(e.element)), - (g.JsdocTypeUnion = (e, t) => e.elements.map(t).join("|")), - o(te, "extractType"), - o(re, "extractTypeName"); - function B(e) { - return e.length > 90; - } - function oe(e) { - return e.length > 50; - } - function l(e, t) { - return e === t ? { summary: e } : { summary: e, detail: t }; - } - o(B, "isTooLongForTypeSummary"), - o(oe, "isTooLongForDefaultValueSummary"), - o(l, "createSummaryValue"); - function ne(e, t) { - if (null != e) { - let { value: r } = e; - if (!T(r)) return oe(r) ? l(t?.name, r) : l(r); - } - return null; - } - function se({ name: e, value: t, elements: r, raw: n }) { - return t ?? (null != r ? r.map(se).join(" | ") : (n ?? e)); - } - function Ze({ name: e, raw: t, elements: r }) { - return l( - null != r - ? r.map(se).join(" | ") - : null != t - ? t.replace(/^\|\s*/, "") - : e, - ); - } - function et({ type: e, raw: t }) { - return l(null != t ? t : e); - } - function tt({ type: e, raw: t }) { - return null != t ? (B(t) ? l(e, t) : l(t)) : l(e); - } - function rt(e) { - let { type: t } = e; - return "object" === t ? tt(e) : et(e); - } - function ot({ name: e, raw: t }) { - return null != t ? (B(t) ? l(e, t) : l(t)) : l(e); - } - function ie(e) { - if (null == e) return null; - switch (e.name) { - case "union": - return Ze(e); - case "signature": - return rt(e); - default: - return ot(e); - } - } - o(ne, "createDefaultValue"), - o(se, "generateUnionElement"), - o(Ze, "generateUnion"), - o(et, "generateFuncSignature"), - o(tt, "generateObjectSignature"), - o(rt, "generateSignature"), - o(ot, "generateDefault"), - o(ie, "createType"); - var pe = o((e, t) => { - let { flowType: r, description: n, required: s, defaultValue: i } = t; - return { - name: e, - type: ie(r), - required: s, - description: n, - defaultValue: ne(i ?? null, r ?? null), - }; - }, "createFlowPropDef"); - function ae({ defaultValue: e }) { - if (null != e) { - let { value: t } = e; - if (!T(t)) return l(t); - } - return null; - } - function ce({ tsType: e, required: t }) { - if (null == e) return null; - let r = e.name; - return ( - t || (r = r.replace(" | undefined", "")), - l(["Array", "Record", "signature"].includes(e.name) ? e.raw : r) - ); - } - o(ae, "createDefaultValue"), o(ce, "createType"); - var le = o((e, t) => { - let { description: r, required: n } = t; - return { - name: e, - type: ce(t), - required: n, - description: r, - defaultValue: ae(t), - }; - }, "createTsPropDef"); - function nt(e) { - return null != e ? l(e.name) : null; - } - function st(e) { - let { computed: t, func: r } = e; - return typeof t > "u" && typeof r > "u"; - } - function it(e) { - return ( - !!e && - ("string" === e.name || - ("enum" === e.name && - Array.isArray(e.value) && - e.value.every( - ({ value: t }) => - "string" == typeof t && - '"' === t[0] && - '"' === t[t.length - 1], - ))) - ); - } - function pt(e, t) { - if (null != e) { - let { value: r } = e; - if (!T(r)) return st(e) && it(t) ? l(JSON.stringify(r)) : l(r); - } - return null; - } - function ue(e, t, r) { - let { description: n, required: s, defaultValue: i } = r; - return { - name: e, - type: nt(t), - required: s, - description: n, - defaultValue: pt(i, t), - }; - } - function w(e, t) { - if (t?.includesJsDoc) { - let { description: r, extractedTags: n } = t; - null != r && (e.description = t.description); - let s = { - ...n, - params: n?.params?.map((i) => ({ - name: i.getPrettyName(), - description: i.description, - })), - }; - Object.values(s).filter(Boolean).length > 0 && (e.jsDocTags = s); - } - return e; - } - o(nt, "createType"), - o(st, "isReactDocgenTypescript"), - o(it, "isStringValued"), - o(pt, "createDefaultValue"), - o(ue, "createBasicPropDef"), - o(w, "applyJsDocResult"); - var at = o((e, t, r) => { - let n = ue(e, t.type, t); - return (n.sbType = b(t)), w(n, r); - }, "javaScriptFactory"), - ct = o((e, t, r) => { - let n = le(e, t); - return (n.sbType = b(t)), w(n, r); - }, "tsFactory"), - lt = o((e, t, r) => { - let n = pe(e, t); - return (n.sbType = b(t)), w(n, r); - }, "flowFactory"), - ut = o( - (e, t, r) => w(ue(e, { name: "unknown" }, t), r), - "unknownFactory", - ), - I = o((e) => { - switch (e) { - case "JavaScript": - return at; - case "TypeScript": - return ct; - case "Flow": - return lt; - default: - return ut; - } - }, "getPropDefFactory"), - me = o( - (e) => - null != e.type - ? "JavaScript" - : null != e.flowType - ? "Flow" - : null != e.tsType - ? "TypeScript" - : "Unknown", - "getTypeSystem", - ), - mt = o((e) => { - let t = me(e[0]), - r = I(t); - return e.map((n) => { - let s = n; - return ( - n.type?.elements && - (s = { ...n, type: { ...n.type, value: n.type.elements } }), - fe(s.name, s, t, r) - ); - }); - }, "extractComponentSectionArray"), - ft = o((e) => { - let t = Object.keys(e), - r = me(e[t[0]]), - n = I(r); - return t - .map((s) => { - let i = e[s]; - return null != i ? fe(s, i, r, n) : null; - }) - .filter(Boolean); - }, "extractComponentSectionObject"), - on = o((e, t) => { - let r = Y(e, t); - return $(r) ? (Array.isArray(r) ? mt(r) : ft(r)) : []; - }, "extractComponentProps"); - function fe(e, t, r, n) { - let s = Q(t.description); - return s.includesJsDoc && s.ignore - ? null - : { - propDef: n(e, t, s), - jsDocTags: s.extractedTags, - docgenInfo: t, - typeSystem: r, - }; - } - function nn(e) { - return null != e ? q(e) : ""; - } - o(fe, "extractProp"), o(nn, "extractComponentDescription"); - var cn = o((e) => { - let { - component: t, - argTypes: r, - parameters: { docs: n = {} }, - } = e, - { extractArgTypes: s } = n, - i = s && t ? s(t) : {}; - return i - ? (0, - _storybook_core_preview_api__WEBPACK_IMPORTED_MODULE_2__.combineParameters)( - i, - r, - ) - : r; - }, "enhanceArgTypes"), - ye = "storybook/docs", - yn = `${ye}/snippet-rendered`, - gt = ((n) => ( - (n.AUTO = "auto"), (n.CODE = "code"), (n.DYNAMIC = "dynamic"), n - ))(gt || {}); - }, - "../node_modules/.pnpm/@storybook+instrumenter@8.4.7_storybook@8.4.7/node_modules/@storybook/instrumenter/dist/index.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { wV: () => instrument }); - var storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__("storybook/internal/client-logger"), - storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__("storybook/internal/core-events"), - storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__("storybook/internal/preview-api"), - _storybook_global__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__("@storybook/global"), - process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ), - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - Buffer = __webpack_require__( - "../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js", - ).Buffer, - __require = __webpack_require__( - "../node_modules/.pnpm/@storybook+instrumenter@8.4.7_storybook@8.4.7/node_modules/@storybook/instrumenter/dist sync recursive", - ), - h = Object.entries({ - reset: [0, 0], - bold: [1, 22, ""], - dim: [2, 22, ""], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29], - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - blackBright: [90, 39], - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39], - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49], - }); - function a(n) { - return String(n); - } - (a.open = ""), (a.close = ""); - var f2 = (function p(n = !1) { - let e = (function C(n = !1) { - let e = typeof process < "u" ? process : void 0, - i = e?.env || {}, - g = e?.argv || []; - return ( - (!("NO_COLOR" in i || g.includes("--no-color")) && - ("FORCE_COLOR" in i || - g.includes("--color") || - "win32" === e?.platform || - (n && "dumb" !== i.TERM) || - "CI" in i)) || - (typeof window < "u" && !!window.chrome) - ); - })(n), - g = (r, t, c = r) => { - let o = (l) => { - let s = String(l), - b = s.indexOf(t, r.length); - return ~b - ? r + - ((r, t, c, o) => { - let l = "", - s = 0; - do { - (l += r.substring(s, o) + c), - (s = o + t.length), - (o = r.indexOf(t, s)); - } while (~o); - return l + r.substring(s); - })(s, t, c, b) + - t - : r + s + t; - }; - return (o.open = r), (o.close = t), o; - }, - u = { isColorSupported: e }, - d = (r) => `[${r}m`; - for (let [r, t] of h) u[r] = e ? g(d(t[0]), d(t[1]), t[2]) : a; - return u; - })(!1); - function printIteratorEntries( - iterator, - config, - indentation, - depth, - refs, - printer2, - separator = ": ", - ) { - let result = "", - width = 0, - current = iterator.next(); - if (!current.done) { - result += config.spacingOuter; - let indentationNext = indentation + config.indent; - for (; !current.done; ) { - if (((result += indentationNext), width++ === config.maxWidth)) { - result += "…"; - break; - } - (result += - printer2( - current.value[0], - config, - indentationNext, - depth, - refs, - ) + - separator + - printer2( - current.value[1], - config, - indentationNext, - depth, - refs, - )), - (current = iterator.next()), - current.done - ? config.min || (result += ",") - : (result += `,${config.spacingInner}`); - } - result += config.spacingOuter + indentation; - } - return result; - } - function printIteratorValues( - iterator, - config, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - width = 0, - current = iterator.next(); - if (!current.done) { - result += config.spacingOuter; - let indentationNext = indentation + config.indent; - for (; !current.done; ) { - if (((result += indentationNext), width++ === config.maxWidth)) { - result += "…"; - break; - } - (result += printer2( - current.value, - config, - indentationNext, - depth, - refs, - )), - (current = iterator.next()), - current.done - ? config.min || (result += ",") - : (result += `,${config.spacingInner}`); - } - result += config.spacingOuter + indentation; - } - return result; - } - function printListItems( - list, - config, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - isDataView = (l) => l instanceof DataView, - length = isDataView( - (list = list instanceof ArrayBuffer ? new DataView(list) : list), - ) - ? list.byteLength - : list.length; - if (length > 0) { - result += config.spacingOuter; - let indentationNext = indentation + config.indent; - for (let i = 0; i < length; i++) { - if (((result += indentationNext), i === config.maxWidth)) { - result += "…"; - break; - } - (isDataView(list) || i in list) && - (result += printer2( - isDataView(list) ? list.getInt8(i) : list[i], - config, - indentationNext, - depth, - refs, - )), - i < length - 1 - ? (result += `,${config.spacingInner}`) - : config.min || (result += ","); - } - result += config.spacingOuter + indentation; - } - return result; - } - function printObjectProperties( - val, - config, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - keys = (function getKeysOfEnumerableProperties( - object, - compareKeys, - ) { - let rawKeys = Object.keys(object), - keys = - null === compareKeys ? rawKeys : rawKeys.sort(compareKeys); - if (Object.getOwnPropertySymbols) - for (let symbol of Object.getOwnPropertySymbols(object)) - Object.getOwnPropertyDescriptor(object, symbol).enumerable && - keys.push(symbol); - return keys; - })(val, config.compareKeys); - if (keys.length > 0) { - result += config.spacingOuter; - let indentationNext = indentation + config.indent; - for (let i = 0; i < keys.length; i++) { - let key = keys[i]; - (result += `${indentationNext + printer2(key, config, indentationNext, depth, refs)}: ${printer2(val[key], config, indentationNext, depth, refs)}`), - i < keys.length - 1 - ? (result += `,${config.spacingInner}`) - : config.min || (result += ","); - } - result += config.spacingOuter + indentation; - } - return result; - } - var asymmetricMatcher = - "function" == typeof Symbol && Symbol.for - ? Symbol.for("jest.asymmetricMatcher") - : 1267621, - plugin$5 = { - serialize: (val, config, indentation, depth, refs, printer2) => { - let stringedValue = val.toString(); - if ( - "ArrayContaining" === stringedValue || - "ArrayNotContaining" === stringedValue - ) - return ++depth > config.maxDepth - ? `[${stringedValue}]` - : `${stringedValue + " "}[${printListItems(val.sample, config, indentation, depth, refs, printer2)}]`; - if ( - "ObjectContaining" === stringedValue || - "ObjectNotContaining" === stringedValue - ) - return ++depth > config.maxDepth - ? `[${stringedValue}]` - : `${stringedValue + " "}{${printObjectProperties(val.sample, config, indentation, depth, refs, printer2)}}`; - if ( - "StringMatching" === stringedValue || - "StringNotMatching" === stringedValue || - "StringContaining" === stringedValue || - "StringNotContaining" === stringedValue - ) - return ( - stringedValue + - " " + - printer2(val.sample, config, indentation, depth, refs) - ); - if ("function" != typeof val.toAsymmetricMatcher) - throw new TypeError( - `Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`, - ); - return val.toAsymmetricMatcher(); - }, - test: (val) => val && val.$$typeof === asymmetricMatcher, - }, - OBJECT_NAMES = new Set(["DOMStringMap", "NamedNodeMap"]), - ARRAY_REGEXP = /^(?:HTML\w*Collection|NodeList)$/; - var plugin$4 = { - serialize: ( - collection, - config, - indentation, - depth, - refs, - printer2, - ) => { - let name = collection.constructor.name; - return ++depth > config.maxDepth - ? `[${name}]` - : (config.min ? "" : name + " ") + - (OBJECT_NAMES.has(name) - ? `{${printObjectProperties( - (function isNamedNodeMap(collection) { - return "NamedNodeMap" === collection.constructor.name; - })(collection) - ? [...collection].reduce( - (props, attribute) => ( - (props[attribute.name] = attribute.value), props - ), - {}, - ) - : { ...collection }, - config, - indentation, - depth, - refs, - printer2, - )}}` - : `[${printListItems([...collection], config, indentation, depth, refs, printer2)}]`); - }, - test: (val) => - val && - val.constructor && - !!val.constructor.name && - (function testName(name) { - return OBJECT_NAMES.has(name) || ARRAY_REGEXP.test(name); - })(val.constructor.name), - }; - function escapeHTML(str) { - return str.replaceAll("<", "<").replaceAll(">", ">"); - } - function printProps( - keys, - props, - config, - indentation, - depth, - refs, - printer2, - ) { - let indentationNext = indentation + config.indent, - colors = config.colors; - return keys - .map((key) => { - let value = props[key], - printed = printer2(value, config, indentationNext, depth, refs); - return ( - "string" != typeof value && - (printed.includes("\n") && - (printed = - config.spacingOuter + - indentationNext + - printed + - config.spacingOuter + - indentation), - (printed = `{${printed}}`)), - `${config.spacingInner + indentation + colors.prop.open + key + colors.prop.close}=${colors.value.open}${printed}${colors.value.close}` - ); - }) - .join(""); - } - function printChildren( - children, - config, - indentation, - depth, - refs, - printer2, - ) { - return children - .map( - (child) => - config.spacingOuter + - indentation + - ("string" == typeof child - ? printText(child, config) - : printer2(child, config, indentation, depth, refs)), - ) - .join(""); - } - function printText(text, config) { - let contentColor = config.colors.content; - return contentColor.open + escapeHTML(text) + contentColor.close; - } - function printElement( - type, - printedProps, - printedChildren, - config, - indentation, - ) { - let tagColor = config.colors.tag; - return `${tagColor.open}<${type}${printedProps && tagColor.close + printedProps + config.spacingOuter + indentation + tagColor.open}${printedChildren ? `>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`; - } - function printElementAsLeaf(type, config) { - let tagColor = config.colors.tag; - return `${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`; - } - var ELEMENT_REGEXP = /^(?:(?:HTML|SVG)\w*)?Element$/; - function nodeIsFragment(node) { - return 11 === node.nodeType; - } - var plugin$3 = { - serialize: (node, config, indentation, depth, refs, printer2) => { - if ( - (function nodeIsText(node) { - return 3 === node.nodeType; - })(node) - ) - return printText(node.data, config); - if ( - (function nodeIsComment(node) { - return 8 === node.nodeType; - })(node) - ) - return (function printComment(comment, config) { - let commentColor = config.colors.comment; - return `${commentColor.open}\x3c!--${escapeHTML(comment)}--\x3e${commentColor.close}`; - })(node.data, config); - let type = nodeIsFragment(node) - ? "DocumentFragment" - : node.tagName.toLowerCase(); - return ++depth > config.maxDepth - ? printElementAsLeaf(type, config) - : printElement( - type, - printProps( - nodeIsFragment(node) - ? [] - : Array.from( - node.attributes, - (attr) => attr.name, - ).sort(), - nodeIsFragment(node) - ? {} - : [...node.attributes].reduce( - (props, attribute) => ( - (props[attribute.name] = attribute.value), props - ), - {}, - ), - config, - indentation + config.indent, - depth, - refs, - printer2, - ), - printChildren( - Array.prototype.slice.call( - node.childNodes || node.children, - ), - config, - indentation + config.indent, - depth, - refs, - printer2, - ), - config, - indentation, - ); - }, - test: (val) => { - var _a; - return ( - (null == (_a = val?.constructor) ? void 0 : _a.name) && - (function testNode(val) { - let constructorName = val.constructor.name, - { nodeType, tagName } = val, - isCustomElement = - ("string" == typeof tagName && tagName.includes("-")) || - (function testHasAttribute(val) { - try { - return ( - "function" == typeof val.hasAttribute && - val.hasAttribute("is") - ); - } catch { - return !1; - } - })(val); - return ( - (1 === nodeType && - (ELEMENT_REGEXP.test(constructorName) || - isCustomElement)) || - (3 === nodeType && "Text" === constructorName) || - (8 === nodeType && "Comment" === constructorName) || - (11 === nodeType && "DocumentFragment" === constructorName) - ); - })(val) - ); - }, - }, - getImmutableName = (name) => `Immutable.${name}`, - printAsLeaf = (name) => `[${name}]`; - function printImmutableValues( - val, - config, - indentation, - depth, - refs, - printer2, - type, - ) { - return ++depth > config.maxDepth - ? printAsLeaf(getImmutableName(type)) - : `${getImmutableName(type) + " "}[${printIteratorValues(val.values(), config, indentation, depth, refs, printer2)}]`; - } - var hasRequiredReactIs_development, - hasRequiredReactIs, - plugin$2 = { - serialize: (val, config, indentation, depth, refs, printer2) => - val["@@__IMMUTABLE_MAP__@@"] - ? (function printImmutableEntries( - val, - config, - indentation, - depth, - refs, - printer2, - type, - ) { - return ++depth > config.maxDepth - ? printAsLeaf(getImmutableName(type)) - : `${getImmutableName(type) + " "}{${printIteratorEntries(val.entries(), config, indentation, depth, refs, printer2)}}`; - })( - val, - config, - indentation, - depth, - refs, - printer2, - val["@@__IMMUTABLE_ORDERED__@@"] ? "OrderedMap" : "Map", - ) - : val["@@__IMMUTABLE_LIST__@@"] - ? printImmutableValues( - val, - config, - indentation, - depth, - refs, - printer2, - "List", - ) - : val["@@__IMMUTABLE_SET__@@"] - ? printImmutableValues( - val, - config, - indentation, - depth, - refs, - printer2, - val["@@__IMMUTABLE_ORDERED__@@"] ? "OrderedSet" : "Set", - ) - : val["@@__IMMUTABLE_STACK__@@"] - ? printImmutableValues( - val, - config, - indentation, - depth, - refs, - printer2, - "Stack", - ) - : val["@@__IMMUTABLE_SEQ__@@"] - ? (function printImmutableSeq( - val, - config, - indentation, - depth, - refs, - printer2, - ) { - let name = getImmutableName("Seq"); - return ++depth > config.maxDepth - ? printAsLeaf(name) - : val["@@__IMMUTABLE_KEYED__@@"] - ? `${name + " "}{${val._iter || val._object ? printIteratorEntries(val.entries(), config, indentation, depth, refs, printer2) : "…"}}` - : `${name + " "}[${val._iter || val._array || val._collection || val._iterable ? printIteratorValues(val.values(), config, indentation, depth, refs, printer2) : "…"}]`; - })(val, config, indentation, depth, refs, printer2) - : (function printImmutableRecord( - val, - config, - indentation, - depth, - refs, - printer2, - ) { - let name = getImmutableName(val._name || "Record"); - return ++depth > config.maxDepth - ? printAsLeaf(name) - : `${name + " "}{${printIteratorEntries( - (function getRecordEntries(val) { - let i = 0; - return { - next() { - if (i < val._keys.length) { - let key = val._keys[i++]; - return { - done: !1, - value: [key, val.get(key)], - }; - } - return { done: !0, value: void 0 }; - }, - }; - })(val), - config, - indentation, - depth, - refs, - printer2, - )}}`; - })(val, config, indentation, depth, refs, printer2), - test: (val) => - val && - (!0 === val["@@__IMMUTABLE_ITERABLE__@@"] || - !0 === val["@@__IMMUTABLE_RECORD__@@"]), - }, - reactIs = { exports: {} }, - reactIs_development = {}; - var reactIsExports = (function requireReactIs() { - return ( - hasRequiredReactIs || - ((hasRequiredReactIs = 1), - (reactIs.exports = (function requireReactIs_development() { - return ( - hasRequiredReactIs_development || - ((hasRequiredReactIs_development = 1), - (function () { - var REACT_MODULE_REFERENCE, - REACT_ELEMENT_TYPE = Symbol.for("react.element"), - REACT_PORTAL_TYPE = Symbol.for("react.portal"), - REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), - REACT_STRICT_MODE_TYPE = - Symbol.for("react.strict_mode"), - REACT_PROFILER_TYPE = Symbol.for("react.profiler"), - REACT_PROVIDER_TYPE = Symbol.for("react.provider"), - REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for( - "react.server_context", - ), - REACT_FORWARD_REF_TYPE = - Symbol.for("react.forward_ref"), - REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), - REACT_SUSPENSE_LIST_TYPE = Symbol.for( - "react.suspense_list", - ), - REACT_MEMO_TYPE = Symbol.for("react.memo"), - REACT_LAZY_TYPE = Symbol.for("react.lazy"), - REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); - function typeOf(object) { - if ("object" == typeof object && null !== object) { - var $$typeof = object.$$typeof; - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type = object.type; - switch (type) { - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - case REACT_SUSPENSE_LIST_TYPE: - return type; - default: - var $$typeofType = type && type.$$typeof; - switch ($$typeofType) { - case REACT_SERVER_CONTEXT_TYPE: - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - default: - return $$typeof; - } - } - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - } - REACT_MODULE_REFERENCE = Symbol.for( - "react.module.reference", - ); - var ContextConsumer = REACT_CONTEXT_TYPE, - ContextProvider = REACT_PROVIDER_TYPE, - Element2 = REACT_ELEMENT_TYPE, - ForwardRef = REACT_FORWARD_REF_TYPE, - Fragment = REACT_FRAGMENT_TYPE, - Lazy = REACT_LAZY_TYPE, - Memo = REACT_MEMO_TYPE, - Portal = REACT_PORTAL_TYPE, - Profiler = REACT_PROFILER_TYPE, - StrictMode = REACT_STRICT_MODE_TYPE, - Suspense = REACT_SUSPENSE_TYPE, - SuspenseList = REACT_SUSPENSE_LIST_TYPE, - hasWarnedAboutDeprecatedIsAsyncMode = !1, - hasWarnedAboutDeprecatedIsConcurrentMode = !1; - (reactIs_development.ContextConsumer = ContextConsumer), - (reactIs_development.ContextProvider = ContextProvider), - (reactIs_development.Element = Element2), - (reactIs_development.ForwardRef = ForwardRef), - (reactIs_development.Fragment = Fragment), - (reactIs_development.Lazy = Lazy), - (reactIs_development.Memo = Memo), - (reactIs_development.Portal = Portal), - (reactIs_development.Profiler = Profiler), - (reactIs_development.StrictMode = StrictMode), - (reactIs_development.Suspense = Suspense), - (reactIs_development.SuspenseList = SuspenseList), - (reactIs_development.isAsyncMode = function isAsyncMode( - object, - ) { - return ( - hasWarnedAboutDeprecatedIsAsyncMode || - ((hasWarnedAboutDeprecatedIsAsyncMode = !0), - console.warn( - "The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (reactIs_development.isConcurrentMode = - function isConcurrentMode(object) { - return ( - hasWarnedAboutDeprecatedIsConcurrentMode || - ((hasWarnedAboutDeprecatedIsConcurrentMode = - !0), - console.warn( - "The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (reactIs_development.isContextConsumer = - function isContextConsumer(object) { - return typeOf(object) === REACT_CONTEXT_TYPE; - }), - (reactIs_development.isContextProvider = - function isContextProvider(object) { - return typeOf(object) === REACT_PROVIDER_TYPE; - }), - (reactIs_development.isElement = function isElement( - object, - ) { - return ( - "object" == typeof object && - null !== object && - object.$$typeof === REACT_ELEMENT_TYPE - ); - }), - (reactIs_development.isForwardRef = - function isForwardRef(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; - }), - (reactIs_development.isFragment = function isFragment( - object, - ) { - return typeOf(object) === REACT_FRAGMENT_TYPE; - }), - (reactIs_development.isLazy = function isLazy(object) { - return typeOf(object) === REACT_LAZY_TYPE; - }), - (reactIs_development.isMemo = function isMemo(object) { - return typeOf(object) === REACT_MEMO_TYPE; - }), - (reactIs_development.isPortal = function isPortal( - object, - ) { - return typeOf(object) === REACT_PORTAL_TYPE; - }), - (reactIs_development.isProfiler = function isProfiler( - object, - ) { - return typeOf(object) === REACT_PROFILER_TYPE; - }), - (reactIs_development.isStrictMode = - function isStrictMode(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; - }), - (reactIs_development.isSuspense = function isSuspense( - object, - ) { - return typeOf(object) === REACT_SUSPENSE_TYPE; - }), - (reactIs_development.isSuspenseList = - function isSuspenseList(object) { - return typeOf(object) === REACT_SUSPENSE_LIST_TYPE; - }), - (reactIs_development.isValidElementType = - function isValidElementType(type) { - return !( - "string" != typeof type && - "function" != typeof type && - type !== REACT_FRAGMENT_TYPE && - type !== REACT_PROFILER_TYPE && - type !== REACT_STRICT_MODE_TYPE && - type !== REACT_SUSPENSE_TYPE && - type !== REACT_SUSPENSE_LIST_TYPE && - type !== REACT_OFFSCREEN_TYPE && - ("object" != typeof type || - null === type || - (type.$$typeof !== REACT_LAZY_TYPE && - type.$$typeof !== REACT_MEMO_TYPE && - type.$$typeof !== REACT_PROVIDER_TYPE && - type.$$typeof !== REACT_CONTEXT_TYPE && - type.$$typeof !== REACT_FORWARD_REF_TYPE && - type.$$typeof !== REACT_MODULE_REFERENCE && - void 0 === type.getModuleId)) - ); - }), - (reactIs_development.typeOf = typeOf); - })()), - reactIs_development - ); - })())), - reactIs.exports - ); - })(); - function getChildren(arg, children = []) { - if (Array.isArray(arg)) - for (let item of arg) getChildren(item, children); - else null != arg && !1 !== arg && "" !== arg && children.push(arg); - return children; - } - function getType(element) { - let type = element.type; - if ("string" == typeof type) return type; - if ("function" == typeof type) - return type.displayName || type.name || "Unknown"; - if (reactIsExports.isFragment(element)) return "React.Fragment"; - if (reactIsExports.isSuspense(element)) return "React.Suspense"; - if ("object" == typeof type && null !== type) { - if (reactIsExports.isContextProvider(element)) - return "Context.Provider"; - if (reactIsExports.isContextConsumer(element)) - return "Context.Consumer"; - if (reactIsExports.isForwardRef(element)) { - if (type.displayName) return type.displayName; - let functionName = - type.render.displayName || type.render.name || ""; - return "" === functionName - ? "ForwardRef" - : `ForwardRef(${functionName})`; - } - if (reactIsExports.isMemo(element)) { - let functionName = - type.displayName || - type.type.displayName || - type.type.name || - ""; - return "" === functionName ? "Memo" : `Memo(${functionName})`; - } - } - return "UNDEFINED"; - } - var plugin$1 = { - serialize: (element, config, indentation, depth, refs, printer2) => - ++depth > config.maxDepth - ? printElementAsLeaf(getType(element), config) - : printElement( - getType(element), - printProps( - (function getPropKeys$1(element) { - let { props } = element; - return Object.keys(props) - .filter( - (key) => - "children" !== key && void 0 !== props[key], - ) - .sort(); - })(element), - element.props, - config, - indentation + config.indent, - depth, - refs, - printer2, - ), - printChildren( - getChildren(element.props.children), - config, - indentation + config.indent, - depth, - refs, - printer2, - ), - config, - indentation, - ), - test: (val) => null != val && reactIsExports.isElement(val), - }, - testSymbol = - "function" == typeof Symbol && Symbol.for - ? Symbol.for("react.test.json") - : 245830487; - var plugin = { - serialize: (object, config, indentation, depth, refs, printer2) => - ++depth > config.maxDepth - ? printElementAsLeaf(object.type, config) - : printElement( - object.type, - object.props - ? printProps( - (function getPropKeys(object) { - let { props } = object; - return props - ? Object.keys(props) - .filter((key) => void 0 !== props[key]) - .sort() - : []; - })(object), - object.props, - config, - indentation + config.indent, - depth, - refs, - printer2, - ) - : "", - object.children - ? printChildren( - object.children, - config, - indentation + config.indent, - depth, - refs, - printer2, - ) - : "", - config, - indentation, - ), - test: (val) => val && val.$$typeof === testSymbol, - }, - toString = Object.prototype.toString, - toISOString = Date.prototype.toISOString, - errorToString = Error.prototype.toString, - regExpToString = RegExp.prototype.toString; - function getConstructorName(val) { - return ( - ("function" == typeof val.constructor && val.constructor.name) || - "Object" - ); - } - var SYMBOL_REGEXP = /^Symbol\((.*)\)(.*)$/, - NEWLINE_REGEXP = /\n/g, - PrettyFormatPluginError = class extends Error { - constructor(message, stack) { - super(message), - (this.stack = stack), - (this.name = this.constructor.name); - } - }; - function printFunction(val, printFunctionName) { - return printFunctionName - ? `[Function ${val.name || "anonymous"}]` - : "[Function]"; - } - function printSymbol(val) { - return String(val).replace(SYMBOL_REGEXP, "Symbol($1)"); - } - function printError(val) { - return `[${errorToString.call(val)}]`; - } - function printBasicValue( - val, - printFunctionName, - escapeRegex, - escapeString, - ) { - if (!0 === val || !1 === val) return `${val}`; - if (void 0 === val) return "undefined"; - if (null === val) return "null"; - let typeOf = typeof val; - if ("number" === typeOf) - return (function printNumber(val) { - return Object.is(val, -0) ? "-0" : String(val); - })(val); - if ("bigint" === typeOf) - return (function printBigInt(val) { - return `${val}n`; - })(val); - if ("string" === typeOf) - return escapeString - ? `"${val.replaceAll(/"|\\/g, "\\$&")}"` - : `"${val}"`; - if ("function" === typeOf) - return printFunction(val, printFunctionName); - if ("symbol" === typeOf) return printSymbol(val); - let toStringed = toString.call(val); - return "[object WeakMap]" === toStringed - ? "WeakMap {}" - : "[object WeakSet]" === toStringed - ? "WeakSet {}" - : "[object Function]" === toStringed || - "[object GeneratorFunction]" === toStringed - ? printFunction(val, printFunctionName) - : "[object Symbol]" === toStringed - ? printSymbol(val) - : "[object Date]" === toStringed - ? Number.isNaN(+val) - ? "Date { NaN }" - : toISOString.call(val) - : "[object Error]" === toStringed - ? printError(val) - : "[object RegExp]" === toStringed - ? escapeRegex - ? regExpToString - .call(val) - .replaceAll(/[$()*+.?[\\\]^{|}]/g, "\\$&") - : regExpToString.call(val) - : val instanceof Error - ? printError(val) - : null; - } - function printComplexValue( - val, - config, - indentation, - depth, - refs, - hasCalledToJSON, - ) { - if (refs.includes(val)) return "[Circular]"; - (refs = [...refs]).push(val); - let hitMaxDepth = ++depth > config.maxDepth, - min = config.min; - if ( - config.callToJSON && - !hitMaxDepth && - val.toJSON && - "function" == typeof val.toJSON && - !hasCalledToJSON - ) - return printer(val.toJSON(), config, indentation, depth, refs, !0); - let toStringed = toString.call(val); - return "[object Arguments]" === toStringed - ? hitMaxDepth - ? "[Arguments]" - : `${min ? "" : "Arguments "}[${printListItems(val, config, indentation, depth, refs, printer)}]` - : (function isToStringedArrayType(toStringed) { - return ( - "[object Array]" === toStringed || - "[object ArrayBuffer]" === toStringed || - "[object DataView]" === toStringed || - "[object Float32Array]" === toStringed || - "[object Float64Array]" === toStringed || - "[object Int8Array]" === toStringed || - "[object Int16Array]" === toStringed || - "[object Int32Array]" === toStringed || - "[object Uint8Array]" === toStringed || - "[object Uint8ClampedArray]" === toStringed || - "[object Uint16Array]" === toStringed || - "[object Uint32Array]" === toStringed - ); - })(toStringed) - ? hitMaxDepth - ? `[${val.constructor.name}]` - : `${min || (!config.printBasicPrototype && "Array" === val.constructor.name) ? "" : `${val.constructor.name} `}[${printListItems(val, config, indentation, depth, refs, printer)}]` - : "[object Map]" === toStringed - ? hitMaxDepth - ? "[Map]" - : `Map {${printIteratorEntries(val.entries(), config, indentation, depth, refs, printer, " => ")}}` - : "[object Set]" === toStringed - ? hitMaxDepth - ? "[Set]" - : `Set {${printIteratorValues(val.values(), config, indentation, depth, refs, printer)}}` - : hitMaxDepth || - (function isWindow(val) { - return typeof window < "u" && val === window; - })(val) - ? `[${getConstructorName(val)}]` - : `${min || (!config.printBasicPrototype && "Object" === getConstructorName(val)) ? "" : `${getConstructorName(val)} `}{${printObjectProperties(val, config, indentation, depth, refs, printer)}}`; - } - function printPlugin(plugin2, val, config, indentation, depth, refs) { - let printed; - try { - printed = (function isNewPlugin(plugin2) { - return null != plugin2.serialize; - })(plugin2) - ? plugin2.serialize( - val, - config, - indentation, - depth, - refs, - printer, - ) - : plugin2.print( - val, - (valChild) => - printer(valChild, config, indentation, depth, refs), - (str) => { - let indentationNext = indentation + config.indent; - return ( - indentationNext + - str.replaceAll(NEWLINE_REGEXP, `\n${indentationNext}`) - ); - }, - { - edgeSpacing: config.spacingOuter, - min: config.min, - spacing: config.spacingInner, - }, - config.colors, - ); - } catch (error) { - throw new PrettyFormatPluginError(error.message, error.stack); - } - if ("string" != typeof printed) - throw new TypeError( - `pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`, - ); - return printed; - } - function findPlugin(plugins2, val) { - for (let plugin2 of plugins2) - try { - if (plugin2.test(val)) return plugin2; - } catch (error) { - throw new PrettyFormatPluginError(error.message, error.stack); - } - return null; - } - function printer( - val, - config, - indentation, - depth, - refs, - hasCalledToJSON, - ) { - let plugin2 = findPlugin(config.plugins, val); - if (null !== plugin2) - return printPlugin(plugin2, val, config, indentation, depth, refs); - let basicResult = printBasicValue( - val, - config.printFunctionName, - config.escapeRegex, - config.escapeString, - ); - return null !== basicResult - ? basicResult - : printComplexValue( - val, - config, - indentation, - depth, - refs, - hasCalledToJSON, - ); - } - var DEFAULT_THEME = { - comment: "gray", - content: "reset", - prop: "yellow", - tag: "cyan", - value: "green", - }, - DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME), - DEFAULT_OPTIONS = { - callToJSON: !0, - compareKeys: void 0, - escapeRegex: !1, - escapeString: !0, - highlight: !1, - indent: 2, - maxDepth: Number.POSITIVE_INFINITY, - maxWidth: Number.POSITIVE_INFINITY, - min: !1, - plugins: [], - printBasicPrototype: !0, - printFunctionName: !0, - theme: DEFAULT_THEME, - }; - function getPrintFunctionName(options) { - return ( - options?.printFunctionName ?? DEFAULT_OPTIONS.printFunctionName - ); - } - function getEscapeRegex(options) { - return options?.escapeRegex ?? DEFAULT_OPTIONS.escapeRegex; - } - function getEscapeString(options) { - return options?.escapeString ?? DEFAULT_OPTIONS.escapeString; - } - function getConfig(options) { - return { - callToJSON: options?.callToJSON ?? DEFAULT_OPTIONS.callToJSON, - colors: options?.highlight - ? DEFAULT_THEME_KEYS.reduce((colors, key) => { - let value = DEFAULT_THEME[key], - color = value && f2[value]; - if ( - !color || - "string" != typeof color.close || - "string" != typeof color.open - ) - throw new Error( - `pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`, - ); - return (colors[key] = color), colors; - }, Object.create(null)) - : DEFAULT_THEME_KEYS.reduce( - (colors, key) => ( - (colors[key] = { close: "", open: "" }), colors - ), - Object.create(null), - ), - compareKeys: - "function" == typeof options?.compareKeys || - null === options?.compareKeys - ? options.compareKeys - : DEFAULT_OPTIONS.compareKeys, - escapeRegex: getEscapeRegex(options), - escapeString: getEscapeString(options), - indent: options?.min - ? "" - : ((indent = options?.indent ?? DEFAULT_OPTIONS.indent), - Array.from({ length: indent + 1 }).join(" ")), - maxDepth: options?.maxDepth ?? DEFAULT_OPTIONS.maxDepth, - maxWidth: options?.maxWidth ?? DEFAULT_OPTIONS.maxWidth, - min: options?.min ?? DEFAULT_OPTIONS.min, - plugins: options?.plugins ?? DEFAULT_OPTIONS.plugins, - printBasicPrototype: options?.printBasicPrototype ?? !0, - printFunctionName: getPrintFunctionName(options), - spacingInner: options?.min ? " " : "\n", - spacingOuter: options?.min ? "" : "\n", - }; - var indent; - } - function format(val, options) { - if ( - options && - ((function validateOptions(options) { - for (let key of Object.keys(options)) - if (!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS, key)) - throw new Error(`pretty-format: Unknown option "${key}".`); - if ( - options.min && - void 0 !== options.indent && - 0 !== options.indent - ) - throw new Error( - 'pretty-format: Options "min" and "indent" cannot be used together.', - ); - })(options), - options.plugins) - ) { - let plugin2 = findPlugin(options.plugins, val); - if (null !== plugin2) - return printPlugin(plugin2, val, getConfig(options), "", 0, []); - } - let basicResult = printBasicValue( - val, - getPrintFunctionName(options), - getEscapeRegex(options), - getEscapeString(options), - ); - return null !== basicResult - ? basicResult - : printComplexValue(val, getConfig(options), "", 0, []); - } - var plugins = { - AsymmetricMatcher: plugin$5, - DOMCollection: plugin$4, - DOMElement: plugin$3, - Immutable: plugin$2, - ReactElement: plugin$1, - ReactTestComponent: plugin, - }, - ansiColors = { - bold: ["1", "22"], - dim: ["2", "22"], - italic: ["3", "23"], - underline: ["4", "24"], - inverse: ["7", "27"], - hidden: ["8", "28"], - strike: ["9", "29"], - black: ["30", "39"], - red: ["31", "39"], - green: ["32", "39"], - yellow: ["33", "39"], - blue: ["34", "39"], - magenta: ["35", "39"], - cyan: ["36", "39"], - white: ["37", "39"], - brightblack: ["30;1", "39"], - brightred: ["31;1", "39"], - brightgreen: ["32;1", "39"], - brightyellow: ["33;1", "39"], - brightblue: ["34;1", "39"], - brightmagenta: ["35;1", "39"], - brightcyan: ["36;1", "39"], - brightwhite: ["37;1", "39"], - grey: ["90", "39"], - }, - styles = { - special: "cyan", - number: "yellow", - bigint: "yellow", - boolean: "yellow", - undefined: "grey", - null: "bold", - string: "green", - symbol: "green", - date: "magenta", - regexp: "red", - }; - function colorise(value, styleType) { - let color = - ansiColors[styles[styleType]] || ansiColors[styleType] || ""; - return color - ? `[${color[0]}m${String(value)}[${color[1]}m` - : String(value); - } - function truncate(string, length, tail = "…") { - string = String(string); - let tailLength = tail.length, - stringLength = string.length; - if (tailLength > length && stringLength > tailLength) return tail; - if (stringLength > length && stringLength > tailLength) { - let end = length - tailLength; - return ( - end > 0 && - (function isHighSurrogate(char) { - return char >= "\ud800" && char <= "\udbff"; - })(string[end - 1]) && - (end -= 1), - `${string.slice(0, end)}${tail}` - ); - } - return string; - } - function inspectList(list, options, inspectItem, separator = ", ") { - inspectItem = inspectItem || options.inspect; - let size = list.length; - if (0 === size) return ""; - let originalLength = options.truncate, - output = "", - peek = "", - truncated = ""; - for (let i = 0; i < size; i += 1) { - let last = i + 1 === list.length, - secondToLast = i + 2 === list.length; - truncated = `…(${list.length - i})`; - let value = list[i]; - options.truncate = - originalLength - output.length - (last ? 0 : separator.length); - let string = - peek || inspectItem(value, options) + (last ? "" : separator), - nextLength = output.length + string.length, - truncatedLength = nextLength + truncated.length; - if ( - (last && - nextLength > originalLength && - output.length + truncated.length <= originalLength) || - (!last && !secondToLast && truncatedLength > originalLength) || - ((peek = last - ? "" - : inspectItem(list[i + 1], options) + - (secondToLast ? "" : separator)), - !last && - secondToLast && - truncatedLength > originalLength && - nextLength + peek.length > originalLength) - ) - break; - if ( - ((output += string), - !last && - !secondToLast && - nextLength + peek.length >= originalLength) - ) { - truncated = `…(${list.length - i - 1})`; - break; - } - truncated = ""; - } - return `${output}${truncated}`; - } - function inspectProperty([key, value], options) { - return ( - (options.truncate -= 2), - "string" == typeof key - ? (key = (function quoteComplexKey(key) { - return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) - ? key - : JSON.stringify(key) - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - })(key)) - : "number" != typeof key && - (key = `[${options.inspect(key, options)}]`), - (options.truncate -= key.length), - `${key}: ${(value = options.inspect(value, options))}` - ); - } - function inspectTypedArray(array, options) { - let name = ((array) => - "function" == typeof Buffer && array instanceof Buffer - ? "Buffer" - : array[Symbol.toStringTag] - ? array[Symbol.toStringTag] - : array.constructor.name)(array); - options.truncate -= name.length + 4; - let nonIndexProperties = Object.keys(array).slice(array.length); - if (!array.length && !nonIndexProperties.length) return `${name}[]`; - let output = ""; - for (let i = 0; i < array.length; i++) { - let string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`; - if ( - ((options.truncate -= string.length), - array[i] !== array.length && options.truncate <= 3) - ) { - output += `…(${array.length - array[i] + 1})`; - break; - } - output += string; - } - let propertyContents = ""; - return ( - nonIndexProperties.length && - (propertyContents = inspectList( - nonIndexProperties.map((key) => [key, array[key]]), - options, - inspectProperty, - )), - `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]` - ); - } - function inspectFunction(func, options) { - let functionType = func[Symbol.toStringTag] || "Function", - name = func.name; - return name - ? options.stylize( - `[${functionType} ${truncate(name, options.truncate - 11)}]`, - "special", - ) - : options.stylize(`[${functionType}]`, "special"); - } - function inspectMapEntry([key, value], options) { - return ( - (options.truncate -= 4), - (key = options.inspect(key, options)), - (options.truncate -= key.length), - `${key} => ${(value = options.inspect(value, options))}` - ); - } - var isNaN = Number.isNaN || ((i) => i != i); - function inspectNumber(number, options) { - return isNaN(number) - ? options.stylize("NaN", "number") - : number === 1 / 0 - ? options.stylize("Infinity", "number") - : number === -1 / 0 - ? options.stylize("-Infinity", "number") - : 0 === number - ? options.stylize(1 / number == 1 / 0 ? "+0" : "-0", "number") - : options.stylize( - truncate(String(number), options.truncate), - "number", - ); - } - function inspectBigInt(number, options) { - let nums = truncate(number.toString(), options.truncate - 1); - return "…" !== nums && (nums += "n"), options.stylize(nums, "bigint"); - } - var stringEscapeChars = new RegExp( - "['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", - "g", - ), - escapeCharacters = { - "\b": "\\b", - "\t": "\\t", - "\n": "\\n", - "\f": "\\f", - "\r": "\\r", - "'": "\\'", - "\\": "\\\\", - }; - function escape(char) { - return ( - escapeCharacters[char] || - `\\u${`0000${char.charCodeAt(0).toString(16)}`.slice(-4)}` - ); - } - function inspectString(string, options) { - return ( - stringEscapeChars.test(string) && - (string = string.replace(stringEscapeChars, escape)), - options.stylize( - `'${truncate(string, options.truncate - 2)}'`, - "string", - ) - ); - } - function inspectSymbol(value) { - return "description" in Symbol.prototype - ? value.description - ? `Symbol(${value.description})` - : "Symbol()" - : value.toString(); - } - var getPromiseValue = () => "Promise{…}"; - try { - let { getPromiseDetails, kPending, kRejected } = - process.binding("util"); - Array.isArray(getPromiseDetails(Promise.resolve())) && - (getPromiseValue = (value, options) => { - let [state, innerValue] = getPromiseDetails(value); - return state === kPending - ? "Promise{}" - : `Promise${state === kRejected ? "!" : ""}{${options.inspect(innerValue, options)}}`; - }); - } catch {} - var promise_default = getPromiseValue; - function inspectObject(object, options) { - let properties = Object.getOwnPropertyNames(object), - symbols = Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(object) - : []; - if (0 === properties.length && 0 === symbols.length) return "{}"; - if ( - ((options.truncate -= 4), - (options.seen = options.seen || []), - options.seen.indexOf(object) >= 0) - ) - return "[Circular]"; - options.seen.push(object); - let propertyContents = inspectList( - properties.map((key) => [key, object[key]]), - options, - inspectProperty, - ), - symbolContents = inspectList( - symbols.map((key) => [key, object[key]]), - options, - inspectProperty, - ); - options.seen.pop(); - let sep = ""; - return ( - propertyContents && symbolContents && (sep = ", "), - `{ ${propertyContents}${sep}${symbolContents} }` - ); - } - var toStringTag = - !!(typeof Symbol < "u" && Symbol.toStringTag) && Symbol.toStringTag; - var errorKeys = [ - "stack", - "line", - "column", - "name", - "message", - "fileName", - "lineNumber", - "columnNumber", - "number", - "description", - ]; - function inspectAttribute([key, value], options) { - return ( - (options.truncate -= 3), - value - ? `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}` - : `${options.stylize(String(key), "yellow")}` - ); - } - function inspectHTMLCollection(collection, options) { - return inspectList(collection, options, inspectHTML, "\n"); - } - function inspectHTML(element, options) { - let properties = element.getAttributeNames(), - name = element.tagName.toLowerCase(), - head = options.stylize(`<${name}`, "special"), - headClose = options.stylize(">", "special"), - tail = options.stylize(``, "special"); - options.truncate -= 2 * name.length + 5; - let propertyContents = ""; - properties.length > 0 && - ((propertyContents += " "), - (propertyContents += inspectList( - properties.map((key) => [key, element.getAttribute(key)]), - options, - inspectAttribute, - " ", - ))), - (options.truncate -= propertyContents.length); - let truncate2 = options.truncate, - children = inspectHTMLCollection(element.children, options); - return ( - children && - children.length > truncate2 && - (children = `…(${element.children.length})`), - `${head}${propertyContents}${headClose}${children}${tail}` - ); - } - var chaiInspect = - "function" == typeof Symbol && "function" == typeof Symbol.for - ? Symbol.for("chai/inspect") - : "@@chai/inspect", - nodeInspect = !1; - try { - let nodeUtil = __require("util"); - nodeInspect = !!nodeUtil.inspect && nodeUtil.inspect.custom; - } catch { - nodeInspect = !1; - } - var constructorMap = new WeakMap(), - stringTagMap = {}, - baseTypesMap = { - undefined: (value, options) => - options.stylize("undefined", "undefined"), - null: (value, options) => options.stylize("null", "null"), - boolean: (value, options) => - options.stylize(String(value), "boolean"), - Boolean: (value, options) => - options.stylize(String(value), "boolean"), - number: inspectNumber, - Number: inspectNumber, - bigint: inspectBigInt, - BigInt: inspectBigInt, - string: inspectString, - String: inspectString, - function: inspectFunction, - Function: inspectFunction, - symbol: inspectSymbol, - Symbol: inspectSymbol, - Array: function inspectArray(array, options) { - let nonIndexProperties = Object.keys(array).slice(array.length); - if (!array.length && !nonIndexProperties.length) return "[]"; - options.truncate -= 4; - let listContents = inspectList(array, options); - options.truncate -= listContents.length; - let propertyContents = ""; - return ( - nonIndexProperties.length && - (propertyContents = inspectList( - nonIndexProperties.map((key) => [key, array[key]]), - options, - inspectProperty, - )), - `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]` - ); - }, - Date: function inspectDate(dateObject, options) { - let stringRepresentation = dateObject.toJSON(); - if (null === stringRepresentation) return "Invalid Date"; - let split = stringRepresentation.split("T"), - date = split[0]; - return options.stylize( - `${date}T${truncate(split[1], options.truncate - date.length - 1)}`, - "date", - ); - }, - Map: function inspectMap(map, options) { - return map.size - 1 <= 0 - ? "Map{}" - : ((options.truncate -= 7), - `Map{ ${inspectList( - (function mapToEntries(map) { - let entries = []; - return ( - map.forEach((value, key) => { - entries.push([key, value]); - }), - entries - ); - })(map), - options, - inspectMapEntry, - )} }`); - }, - Set: function inspectSet(set, options) { - return 0 === set.size - ? "Set{}" - : ((options.truncate -= 7), - `Set{ ${inspectList( - (function arrayFromSet(set) { - let values = []; - return ( - set.forEach((value) => { - values.push(value); - }), - values - ); - })(set), - options, - )} }`); - }, - RegExp: function inspectRegExp(value, options) { - let flags = value.toString().split("/")[2], - sourceLength = options.truncate - (2 + flags.length), - source = value.source; - return options.stylize( - `/${truncate(source, sourceLength)}/${flags}`, - "regexp", - ); - }, - Promise: promise_default, - WeakSet: (value, options) => - options.stylize("WeakSet{…}", "special"), - WeakMap: (value, options) => - options.stylize("WeakMap{…}", "special"), - Arguments: function inspectArguments(args, options) { - return 0 === args.length - ? "Arguments[]" - : ((options.truncate -= 13), - `Arguments[ ${inspectList(args, options)} ]`); - }, - Int8Array: inspectTypedArray, - Uint8Array: inspectTypedArray, - Uint8ClampedArray: inspectTypedArray, - Int16Array: inspectTypedArray, - Uint16Array: inspectTypedArray, - Int32Array: inspectTypedArray, - Uint32Array: inspectTypedArray, - Float32Array: inspectTypedArray, - Float64Array: inspectTypedArray, - Generator: () => "", - DataView: () => "", - ArrayBuffer: () => "", - Error: function inspectObject2(error, options) { - let properties = Object.getOwnPropertyNames(error).filter( - (key) => -1 === errorKeys.indexOf(key), - ), - name = error.name; - options.truncate -= name.length; - let message = ""; - "string" == typeof error.message - ? (message = truncate(error.message, options.truncate)) - : properties.unshift("message"), - (message = message ? `: ${message}` : ""), - (options.truncate -= message.length + 5); - let propertyContents = inspectList( - properties.map((key) => [key, error[key]]), - options, - inspectProperty, - ); - return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`; - }, - HTMLCollection: inspectHTMLCollection, - NodeList: inspectHTMLCollection, - }, - toString2 = Object.prototype.toString; - function inspect(value, opts = {}) { - let options = (function normaliseOptions( - { - showHidden = !1, - depth = 2, - colors = !1, - customInspect = !0, - showProxy = !1, - maxArrayLength = 1 / 0, - breakLength = 1 / 0, - seen = [], - truncate: truncate2 = 1 / 0, - stylize = String, - } = {}, - inspect3, - ) { - let options = { - showHidden: !!showHidden, - depth: Number(depth), - colors: !!colors, - customInspect: !!customInspect, - showProxy: !!showProxy, - maxArrayLength: Number(maxArrayLength), - breakLength: Number(breakLength), - truncate: Number(truncate2), - seen, - inspect: inspect3, - stylize, - }; - return options.colors && (options.stylize = colorise), options; - })(opts, inspect), - { customInspect } = options, - type = null === value ? "null" : typeof value; - if ( - ("object" === type && (type = toString2.call(value).slice(8, -1)), - type in baseTypesMap) - ) - return baseTypesMap[type](value, options); - if (customInspect && value) { - let output = ((value, options, type) => - chaiInspect in value && "function" == typeof value[chaiInspect] - ? value[chaiInspect](options) - : nodeInspect && - nodeInspect in value && - "function" == typeof value[nodeInspect] - ? value[nodeInspect](options.depth, options) - : "inspect" in value && "function" == typeof value.inspect - ? value.inspect(options.depth, options) - : "constructor" in value && - constructorMap.has(value.constructor) - ? constructorMap.get(value.constructor)(value, options) - : stringTagMap[type] - ? stringTagMap[type](value, options) - : "")(value, options, type); - if (output) - return "string" == typeof output - ? output - : inspect(output, options); - } - let proto = !!value && Object.getPrototypeOf(value); - return proto === Object.prototype || null === proto - ? inspectObject(value, options) - : value && - "function" == typeof HTMLElement && - value instanceof HTMLElement - ? inspectHTML(value, options) - : "constructor" in value - ? value.constructor !== Object - ? (function inspectClass(value, options) { - let name = ""; - return ( - toStringTag && - toStringTag in value && - (name = value[toStringTag]), - (name = name || value.constructor.name), - (!name || "_class" === name) && - (name = ""), - (options.truncate -= name.length), - `${name}${inspectObject(value, options)}` - ); - })(value, options) - : inspectObject(value, options) - : value === Object(value) - ? inspectObject(value, options) - : options.stylize(String(value), type); - } - var { - AsymmetricMatcher, - DOMCollection, - DOMElement, - Immutable, - ReactElement, - ReactTestComponent, - } = plugins, - PLUGINS = [ - ReactTestComponent, - ReactElement, - DOMElement, - DOMCollection, - Immutable, - AsymmetricMatcher, - ]; - function stringify( - object, - maxDepth = 10, - { maxLength, ...options } = {}, - ) { - let result, - MAX_LENGTH = maxLength ?? 1e4; - try { - result = format(object, { - maxDepth, - escapeString: !1, - plugins: PLUGINS, - ...options, - }); - } catch { - result = format(object, { - callToJSON: !1, - maxDepth, - escapeString: !1, - plugins: PLUGINS, - ...options, - }); - } - return result.length >= MAX_LENGTH && maxDepth > 1 - ? stringify(object, Math.floor(maxDepth / 2)) - : result; - } - var formatRegExp = /%[sdjifoOc%]/g; - function inspect2(obj, options = {}) { - return ( - 0 === options.truncate && - (options.truncate = Number.POSITIVE_INFINITY), - inspect(obj, options) - ); - } - function getType2(value) { - return Object.prototype.toString.apply(value).slice(8, -1); - } - function getOwnProperties(obj) { - let ownProps = new Set(); - return (function isFinalObj(obj) { - return ( - obj === Object.prototype || - obj === Function.prototype || - obj === RegExp.prototype - ); - })(obj) - ? [] - : ((function collectOwnProperties(obj, collector) { - let collect = - "function" == typeof collector - ? collector - : (key) => collector.add(key); - Object.getOwnPropertyNames(obj).forEach(collect), - Object.getOwnPropertySymbols(obj).forEach(collect); - })(obj, ownProps), - Array.from(ownProps)); - } - var defaultCloneOptions = { forceWritable: !1 }; - function deepClone(val, options = defaultCloneOptions) { - return clone(val, new WeakMap(), options); - } - function clone(val, seen, options = defaultCloneOptions) { - let k, out; - if (seen.has(val)) return seen.get(val); - if (Array.isArray(val)) { - for ( - out = Array.from({ length: (k = val.length) }), - seen.set(val, out); - k--; - - ) - out[k] = clone(val[k], seen, options); - return out; - } - if ("[object Object]" === Object.prototype.toString.call(val)) { - (out = Object.create(Object.getPrototypeOf(val))), - seen.set(val, out); - let props = getOwnProperties(val); - for (let k2 of props) { - let descriptor = Object.getOwnPropertyDescriptor(val, k2); - if (!descriptor) continue; - let cloned = clone(val[k2], seen, options); - options.forceWritable - ? Object.defineProperty(out, k2, { - enumerable: descriptor.enumerable, - configurable: !0, - writable: !0, - value: cloned, - }) - : "get" in descriptor - ? Object.defineProperty(out, k2, { - ...descriptor, - get: () => cloned, - }) - : Object.defineProperty(out, k2, { - ...descriptor, - value: cloned, - }); - } - return out; - } - return val; - } - function getType3(value) { - if (void 0 === value) return "undefined"; - if (null === value) return "null"; - if (Array.isArray(value)) return "array"; - if ("boolean" == typeof value) return "boolean"; - if ("function" == typeof value) return "function"; - if ("number" == typeof value) return "number"; - if ("string" == typeof value) return "string"; - if ("bigint" == typeof value) return "bigint"; - if ("object" == typeof value) { - if (null != value) { - if (value.constructor === RegExp) return "regexp"; - if (value.constructor === Map) return "map"; - if (value.constructor === Set) return "set"; - if (value.constructor === Date) return "date"; - } - return "object"; - } - if ("symbol" == typeof value) return "symbol"; - throw new Error(`value of unknown type: ${value}`); - } - var Diff = class { - 0; - 1; - constructor(op, text) { - (this[0] = op), (this[1] = text); - } - }, - diff_commonPrefix = function (text1, text2) { - if (!text1 || !text2 || text1.charAt(0) !== text2.charAt(0)) - return 0; - let pointermin = 0, - pointermax = Math.min(text1.length, text2.length), - pointermid = pointermax, - pointerstart = 0; - for (; pointermin < pointermid; ) - text1.substring(pointerstart, pointermid) === - text2.substring(pointerstart, pointermid) - ? ((pointermin = pointermid), (pointerstart = pointermin)) - : (pointermax = pointermid), - (pointermid = Math.floor( - (pointermax - pointermin) / 2 + pointermin, - )); - return pointermid; - }, - diff_commonSuffix = function (text1, text2) { - if ( - !text1 || - !text2 || - text1.charAt(text1.length - 1) !== text2.charAt(text2.length - 1) - ) - return 0; - let pointermin = 0, - pointermax = Math.min(text1.length, text2.length), - pointermid = pointermax, - pointerend = 0; - for (; pointermin < pointermid; ) - text1.substring( - text1.length - pointermid, - text1.length - pointerend, - ) === - text2.substring( - text2.length - pointermid, - text2.length - pointerend, - ) - ? ((pointermin = pointermid), (pointerend = pointermin)) - : (pointermax = pointermid), - (pointermid = Math.floor( - (pointermax - pointermin) / 2 + pointermin, - )); - return pointermid; - }, - diff_commonOverlap_ = function (text1, text2) { - let text1_length = text1.length, - text2_length = text2.length; - if (0 === text1_length || 0 === text2_length) return 0; - text1_length > text2_length - ? (text1 = text1.substring(text1_length - text2_length)) - : text1_length < text2_length && - (text2 = text2.substring(0, text1_length)); - let text_length = Math.min(text1_length, text2_length); - if (text1 === text2) return text_length; - let best = 0, - length = 1; - for (;;) { - let pattern = text1.substring(text_length - length), - found = text2.indexOf(pattern); - if (-1 === found) return best; - (length += found), - (0 === found || - text1.substring(text_length - length) === - text2.substring(0, length)) && - ((best = length), length++); - } - }, - diff_cleanupSemantic = function (diffs) { - let changes = !1, - equalities = [], - equalitiesLength = 0, - lastEquality = null, - pointer = 0, - length_insertions1 = 0, - length_deletions1 = 0, - length_insertions2 = 0, - length_deletions2 = 0; - for (; pointer < diffs.length; ) - 0 === diffs[pointer][0] - ? ((equalities[equalitiesLength++] = pointer), - (length_insertions1 = length_insertions2), - (length_deletions1 = length_deletions2), - (length_insertions2 = 0), - (length_deletions2 = 0), - (lastEquality = diffs[pointer][1])) - : (1 === diffs[pointer][0] - ? (length_insertions2 += diffs[pointer][1].length) - : (length_deletions2 += diffs[pointer][1].length), - lastEquality && - lastEquality.length <= - Math.max(length_insertions1, length_deletions1) && - lastEquality.length <= - Math.max(length_insertions2, length_deletions2) && - (diffs.splice( - equalities[equalitiesLength - 1], - 0, - new Diff(-1, lastEquality), - ), - (diffs[equalities[equalitiesLength - 1] + 1][0] = 1), - equalitiesLength--, - equalitiesLength--, - (pointer = - equalitiesLength > 0 - ? equalities[equalitiesLength - 1] - : -1), - (length_insertions1 = 0), - (length_deletions1 = 0), - (length_insertions2 = 0), - (length_deletions2 = 0), - (lastEquality = null), - (changes = !0))), - pointer++; - for ( - changes && diff_cleanupMerge(diffs), - (function diff_cleanupSemanticLossless(diffs) { - let pointer = 1; - for (; pointer < diffs.length - 1; ) { - if ( - 0 === diffs[pointer - 1][0] && - 0 === diffs[pointer + 1][0] - ) { - let equality1 = diffs[pointer - 1][1], - edit = diffs[pointer][1], - equality2 = diffs[pointer + 1][1], - commonOffset = diff_commonSuffix(equality1, edit); - if (commonOffset) { - let commonString = edit.substring( - edit.length - commonOffset, - ); - (equality1 = equality1.substring( - 0, - equality1.length - commonOffset, - )), - (edit = - commonString + - edit.substring(0, edit.length - commonOffset)), - (equality2 = commonString + equality2); - } - let bestEquality1 = equality1, - bestEdit = edit, - bestEquality2 = equality2, - bestScore = - diff_cleanupSemanticScore_(equality1, edit) + - diff_cleanupSemanticScore_(edit, equality2); - for (; edit.charAt(0) === equality2.charAt(0); ) { - (equality1 += edit.charAt(0)), - (edit = edit.substring(1) + equality2.charAt(0)), - (equality2 = equality2.substring(1)); - let score = - diff_cleanupSemanticScore_(equality1, edit) + - diff_cleanupSemanticScore_(edit, equality2); - score >= bestScore && - ((bestScore = score), - (bestEquality1 = equality1), - (bestEdit = edit), - (bestEquality2 = equality2)); - } - diffs[pointer - 1][1] !== bestEquality1 && - (bestEquality1 - ? (diffs[pointer - 1][1] = bestEquality1) - : (diffs.splice(pointer - 1, 1), pointer--), - (diffs[pointer][1] = bestEdit), - bestEquality2 - ? (diffs[pointer + 1][1] = bestEquality2) - : (diffs.splice(pointer + 1, 1), pointer--)); - } - pointer++; - } - })(diffs), - pointer = 1; - pointer < diffs.length; - - ) { - if (-1 === diffs[pointer - 1][0] && 1 === diffs[pointer][0]) { - let deletion = diffs[pointer - 1][1], - insertion = diffs[pointer][1], - overlap_length1 = diff_commonOverlap_(deletion, insertion), - overlap_length2 = diff_commonOverlap_(insertion, deletion); - overlap_length1 >= overlap_length2 - ? (overlap_length1 >= deletion.length / 2 || - overlap_length1 >= insertion.length / 2) && - (diffs.splice( - pointer, - 0, - new Diff(0, insertion.substring(0, overlap_length1)), - ), - (diffs[pointer - 1][1] = deletion.substring( - 0, - deletion.length - overlap_length1, - )), - (diffs[pointer + 1][1] = - insertion.substring(overlap_length1)), - pointer++) - : (overlap_length2 >= deletion.length / 2 || - overlap_length2 >= insertion.length / 2) && - (diffs.splice( - pointer, - 0, - new Diff(0, deletion.substring(0, overlap_length2)), - ), - (diffs[pointer - 1][0] = 1), - (diffs[pointer - 1][1] = insertion.substring( - 0, - insertion.length - overlap_length2, - )), - (diffs[pointer + 1][0] = -1), - (diffs[pointer + 1][1] = - deletion.substring(overlap_length2)), - pointer++), - pointer++; - } - pointer++; - } - }, - nonAlphaNumericRegex_ = /[^a-z0-9]/i, - whitespaceRegex_ = /\s/, - linebreakRegex_ = /[\r\n]/, - blanklineEndRegex_ = /\n\r?\n$/, - blanklineStartRegex_ = /^\r?\n\r?\n/; - function diff_cleanupMerge(diffs) { - diffs.push(new Diff(0, "")); - let commonlength, - pointer = 0, - count_delete = 0, - count_insert = 0, - text_delete = "", - text_insert = ""; - for (; pointer < diffs.length; ) - switch (diffs[pointer][0]) { - case 1: - count_insert++, (text_insert += diffs[pointer][1]), pointer++; - break; - case -1: - count_delete++, (text_delete += diffs[pointer][1]), pointer++; - break; - case 0: - count_delete + count_insert > 1 - ? (0 !== count_delete && - 0 !== count_insert && - ((commonlength = diff_commonPrefix( - text_insert, - text_delete, - )), - 0 !== commonlength && - (pointer - count_delete - count_insert > 0 && - 0 === - diffs[pointer - count_delete - count_insert - 1][0] - ? (diffs[ - pointer - count_delete - count_insert - 1 - ][1] += text_insert.substring(0, commonlength)) - : (diffs.splice( - 0, - 0, - new Diff( - 0, - text_insert.substring(0, commonlength), - ), - ), - pointer++), - (text_insert = text_insert.substring(commonlength)), - (text_delete = text_delete.substring(commonlength))), - (commonlength = diff_commonSuffix( - text_insert, - text_delete, - )), - 0 !== commonlength && - ((diffs[pointer][1] = - text_insert.substring( - text_insert.length - commonlength, - ) + diffs[pointer][1]), - (text_insert = text_insert.substring( - 0, - text_insert.length - commonlength, - )), - (text_delete = text_delete.substring( - 0, - text_delete.length - commonlength, - )))), - (pointer -= count_delete + count_insert), - diffs.splice(pointer, count_delete + count_insert), - text_delete.length && - (diffs.splice(pointer, 0, new Diff(-1, text_delete)), - pointer++), - text_insert.length && - (diffs.splice(pointer, 0, new Diff(1, text_insert)), - pointer++), - pointer++) - : 0 !== pointer && 0 === diffs[pointer - 1][0] - ? ((diffs[pointer - 1][1] += diffs[pointer][1]), - diffs.splice(pointer, 1)) - : pointer++, - (count_insert = 0), - (count_delete = 0), - (text_delete = ""), - (text_insert = ""); - } - "" === diffs[diffs.length - 1][1] && diffs.pop(); - let changes = !1; - for (pointer = 1; pointer < diffs.length - 1; ) - 0 === diffs[pointer - 1][0] && - 0 === diffs[pointer + 1][0] && - (diffs[pointer][1].substring( - diffs[pointer][1].length - diffs[pointer - 1][1].length, - ) === diffs[pointer - 1][1] - ? ((diffs[pointer][1] = - diffs[pointer - 1][1] + - diffs[pointer][1].substring( - 0, - diffs[pointer][1].length - diffs[pointer - 1][1].length, - )), - (diffs[pointer + 1][1] = - diffs[pointer - 1][1] + diffs[pointer + 1][1]), - diffs.splice(pointer - 1, 1), - (changes = !0)) - : diffs[pointer][1].substring( - 0, - diffs[pointer + 1][1].length, - ) === diffs[pointer + 1][1] && - ((diffs[pointer - 1][1] += diffs[pointer + 1][1]), - (diffs[pointer][1] = - diffs[pointer][1].substring(diffs[pointer + 1][1].length) + - diffs[pointer + 1][1]), - diffs.splice(pointer + 1, 1), - (changes = !0))), - pointer++; - changes && diff_cleanupMerge(diffs); - } - function diff_cleanupSemanticScore_(one, two) { - if (!one || !two) return 6; - let char1 = one.charAt(one.length - 1), - char2 = two.charAt(0), - nonAlphaNumeric1 = char1.match(nonAlphaNumericRegex_), - nonAlphaNumeric2 = char2.match(nonAlphaNumericRegex_), - whitespace1 = nonAlphaNumeric1 && char1.match(whitespaceRegex_), - whitespace2 = nonAlphaNumeric2 && char2.match(whitespaceRegex_), - lineBreak1 = whitespace1 && char1.match(linebreakRegex_), - lineBreak2 = whitespace2 && char2.match(linebreakRegex_), - blankLine1 = lineBreak1 && one.match(blanklineEndRegex_), - blankLine2 = lineBreak2 && two.match(blanklineStartRegex_); - return blankLine1 || blankLine2 - ? 5 - : lineBreak1 || lineBreak2 - ? 4 - : nonAlphaNumeric1 && !whitespace1 && whitespace2 - ? 3 - : whitespace1 || whitespace2 - ? 2 - : nonAlphaNumeric1 || nonAlphaNumeric2 - ? 1 - : 0; - } - var hasRequiredBuild, - build = {}; - var diffSequences = (function getDefaultExportFromCjs(x) { - return x && - x.__esModule && - Object.prototype.hasOwnProperty.call(x, "default") - ? x.default - : x; - })( - (function requireBuild() { - if (hasRequiredBuild) return build; - (hasRequiredBuild = 1), - Object.defineProperty(build, "__esModule", { value: !0 }), - (build.default = function diffSequence( - aLength, - bLength, - isCommon, - foundSubsequence, - ) { - validateLength("aLength", aLength), - validateLength("bLength", bLength), - validateCallback("isCommon", isCommon), - validateCallback("foundSubsequence", foundSubsequence); - let nCommonF = countCommonItemsF( - 0, - aLength, - 0, - bLength, - isCommon, - ); - if ( - (0 !== nCommonF && foundSubsequence(nCommonF, 0, 0), - aLength !== nCommonF || bLength !== nCommonF) - ) { - let aStart = nCommonF, - bStart = nCommonF, - nCommonR = countCommonItemsR( - aStart, - aLength - 1, - bStart, - bLength - 1, - isCommon, - ), - aEnd = aLength - nCommonR, - bEnd = bLength - nCommonR, - nCommonFR = nCommonF + nCommonR; - aLength !== nCommonFR && - bLength !== nCommonFR && - findSubsequences( - 0, - aStart, - aEnd, - bStart, - bEnd, - !1, - [{ foundSubsequence, isCommon }], - [NOT_YET_SET], - [NOT_YET_SET], - { - aCommonFollowing: NOT_YET_SET, - aCommonPreceding: NOT_YET_SET, - aEndPreceding: NOT_YET_SET, - aStartFollowing: NOT_YET_SET, - bCommonFollowing: NOT_YET_SET, - bCommonPreceding: NOT_YET_SET, - bEndPreceding: NOT_YET_SET, - bStartFollowing: NOT_YET_SET, - nChangeFollowing: NOT_YET_SET, - nChangePreceding: NOT_YET_SET, - nCommonFollowing: NOT_YET_SET, - nCommonPreceding: NOT_YET_SET, - }, - ), - 0 !== nCommonR && foundSubsequence(nCommonR, aEnd, bEnd); - } - }); - let pkg = "diff-sequences", - NOT_YET_SET = 0, - countCommonItemsF = (aIndex, aEnd, bIndex, bEnd, isCommon) => { - let nCommon = 0; - for ( - ; - aIndex < aEnd && bIndex < bEnd && isCommon(aIndex, bIndex); - - ) - (aIndex += 1), (bIndex += 1), (nCommon += 1); - return nCommon; - }, - countCommonItemsR = ( - aStart, - aIndex, - bStart, - bIndex, - isCommon, - ) => { - let nCommon = 0; - for ( - ; - aStart <= aIndex && - bStart <= bIndex && - isCommon(aIndex, bIndex); - - ) - (aIndex -= 1), (bIndex -= 1), (nCommon += 1); - return nCommon; - }, - extendPathsF = ( - d, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF, - ) => { - let iF = 0, - kF = -d, - aFirst = aIndexesF[iF], - aIndexPrev1 = aFirst; - aIndexesF[iF] += countCommonItemsF( - aFirst + 1, - aEnd, - bF + aFirst - kF + 1, - bEnd, - isCommon, - ); - let nF = d < iMaxF ? d : iMaxF; - for (iF += 1, kF += 2; iF <= nF; iF += 1, kF += 2) { - if (iF !== d && aIndexPrev1 < aIndexesF[iF]) - aFirst = aIndexesF[iF]; - else if (((aFirst = aIndexPrev1 + 1), aEnd <= aFirst)) - return iF - 1; - (aIndexPrev1 = aIndexesF[iF]), - (aIndexesF[iF] = - aFirst + - countCommonItemsF( - aFirst + 1, - aEnd, - bF + aFirst - kF + 1, - bEnd, - isCommon, - )); - } - return iMaxF; - }, - extendPathsR = ( - d, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR, - ) => { - let iR = 0, - kR = d, - aFirst = aIndexesR[iR], - aIndexPrev1 = aFirst; - aIndexesR[iR] -= countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bR + aFirst - kR - 1, - isCommon, - ); - let nR = d < iMaxR ? d : iMaxR; - for (iR += 1, kR -= 2; iR <= nR; iR += 1, kR -= 2) { - if (iR !== d && aIndexesR[iR] < aIndexPrev1) - aFirst = aIndexesR[iR]; - else if (((aFirst = aIndexPrev1 - 1), aFirst < aStart)) - return iR - 1; - (aIndexPrev1 = aIndexesR[iR]), - (aIndexesR[iR] = - aFirst - - countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bR + aFirst - kR - 1, - isCommon, - )); - } - return iMaxR; - }, - extendOverlappablePathsF = ( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) => { - let bF = bStart - aStart, - baDeltaLength = bEnd - bStart - (aEnd - aStart), - kMinOverlapF = -baDeltaLength - (d - 1), - kMaxOverlapF = d - 1 - baDeltaLength, - aIndexPrev1 = NOT_YET_SET, - nF = d < iMaxF ? d : iMaxF; - for (let iF = 0, kF = -d; iF <= nF; iF += 1, kF += 2) { - let insert = - 0 === iF || (iF !== d && aIndexPrev1 < aIndexesF[iF]), - aLastPrev = insert ? aIndexesF[iF] : aIndexPrev1, - aFirst = insert ? aLastPrev : aLastPrev + 1, - bFirst = bF + aFirst - kF, - nCommonF = countCommonItemsF( - aFirst + 1, - aEnd, - bFirst + 1, - bEnd, - isCommon, - ), - aLast = aFirst + nCommonF; - if ( - ((aIndexPrev1 = aIndexesF[iF]), - (aIndexesF[iF] = aLast), - kMinOverlapF <= kF && kF <= kMaxOverlapF) - ) { - let iR = (d - 1 - (kF + baDeltaLength)) / 2; - if (iR <= iMaxR && aIndexesR[iR] - 1 <= aLast) { - let bLastPrev = - bF + aLastPrev - (insert ? kF + 1 : kF - 1), - nCommonR = countCommonItemsR( - aStart, - aLastPrev, - bStart, - bLastPrev, - isCommon, - ), - aEndPreceding = aLastPrev - nCommonR + 1, - bEndPreceding = bLastPrev - nCommonR + 1; - (division.nChangePreceding = d - 1), - d - 1 == aEndPreceding + bEndPreceding - aStart - bStart - ? ((division.aEndPreceding = aStart), - (division.bEndPreceding = bStart)) - : ((division.aEndPreceding = aEndPreceding), - (division.bEndPreceding = bEndPreceding)), - (division.nCommonPreceding = nCommonR), - 0 !== nCommonR && - ((division.aCommonPreceding = aEndPreceding), - (division.bCommonPreceding = bEndPreceding)), - (division.nCommonFollowing = nCommonF), - 0 !== nCommonF && - ((division.aCommonFollowing = aFirst + 1), - (division.bCommonFollowing = bFirst + 1)); - let aStartFollowing = aLast + 1, - bStartFollowing = bFirst + nCommonF + 1; - return ( - (division.nChangeFollowing = d - 1), - d - 1 == aEnd + bEnd - aStartFollowing - bStartFollowing - ? ((division.aStartFollowing = aEnd), - (division.bStartFollowing = bEnd)) - : ((division.aStartFollowing = aStartFollowing), - (division.bStartFollowing = bStartFollowing)), - !0 - ); - } - } - } - return !1; - }, - extendOverlappablePathsR = ( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) => { - let bR = bEnd - aEnd, - baDeltaLength = bEnd - bStart - (aEnd - aStart), - kMinOverlapR = baDeltaLength - d, - kMaxOverlapR = baDeltaLength + d, - aIndexPrev1 = NOT_YET_SET, - nR = d < iMaxR ? d : iMaxR; - for (let iR = 0, kR = d; iR <= nR; iR += 1, kR -= 2) { - let insert = - 0 === iR || (iR !== d && aIndexesR[iR] < aIndexPrev1), - aLastPrev = insert ? aIndexesR[iR] : aIndexPrev1, - aFirst = insert ? aLastPrev : aLastPrev - 1, - bFirst = bR + aFirst - kR, - nCommonR = countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bFirst - 1, - isCommon, - ), - aLast = aFirst - nCommonR; - if ( - ((aIndexPrev1 = aIndexesR[iR]), - (aIndexesR[iR] = aLast), - kMinOverlapR <= kR && kR <= kMaxOverlapR) - ) { - let iF = (d + (kR - baDeltaLength)) / 2; - if (iF <= iMaxF && aLast - 1 <= aIndexesF[iF]) { - let bLast = bFirst - nCommonR; - if ( - ((division.nChangePreceding = d), - d === aLast + bLast - aStart - bStart - ? ((division.aEndPreceding = aStart), - (division.bEndPreceding = bStart)) - : ((division.aEndPreceding = aLast), - (division.bEndPreceding = bLast)), - (division.nCommonPreceding = nCommonR), - 0 !== nCommonR && - ((division.aCommonPreceding = aLast), - (division.bCommonPreceding = bLast)), - (division.nChangeFollowing = d - 1), - 1 === d) - ) - (division.nCommonFollowing = 0), - (division.aStartFollowing = aEnd), - (division.bStartFollowing = bEnd); - else { - let bLastPrev = - bR + aLastPrev - (insert ? kR - 1 : kR + 1), - nCommonF = countCommonItemsF( - aLastPrev, - aEnd, - bLastPrev, - bEnd, - isCommon, - ); - (division.nCommonFollowing = nCommonF), - 0 !== nCommonF && - ((division.aCommonFollowing = aLastPrev), - (division.bCommonFollowing = bLastPrev)); - let aStartFollowing = aLastPrev + nCommonF, - bStartFollowing = bLastPrev + nCommonF; - d - 1 == aEnd + bEnd - aStartFollowing - bStartFollowing - ? ((division.aStartFollowing = aEnd), - (division.bStartFollowing = bEnd)) - : ((division.aStartFollowing = aStartFollowing), - (division.bStartFollowing = bStartFollowing)); - } - return !0; - } - } - } - return !1; - }, - findSubsequences = ( - nChange, - aStart, - aEnd, - bStart, - bEnd, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division, - ) => { - if (bEnd - bStart < aEnd - aStart) { - if ((transposed = !transposed) && 1 === callbacks.length) { - let { - foundSubsequence: foundSubsequence2, - isCommon: isCommon2, - } = callbacks[0]; - callbacks[1] = { - foundSubsequence: (nCommon, bCommon, aCommon) => { - foundSubsequence2(nCommon, aCommon, bCommon); - }, - isCommon: (bIndex, aIndex) => isCommon2(aIndex, bIndex), - }; - } - let tStart = aStart, - tEnd = aEnd; - (aStart = bStart), - (aEnd = bEnd), - (bStart = tStart), - (bEnd = tEnd); - } - let { foundSubsequence, isCommon } = - callbacks[transposed ? 1 : 0]; - (( - nChange, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - aIndexesR, - division, - ) => { - let bF = bStart - aStart, - bR = bEnd - aEnd, - aLength = aEnd - aStart, - bLength = bEnd - bStart, - baDeltaLength = bLength - aLength, - iMaxF = aLength, - iMaxR = aLength; - if ( - ((aIndexesF[0] = aStart - 1), - (aIndexesR[0] = aEnd), - baDeltaLength % 2 == 0) - ) { - let dMin = (nChange || baDeltaLength) / 2, - dMax = (aLength + bLength) / 2; - for (let d = 1; d <= dMax; d += 1) - if ( - ((iMaxF = extendPathsF( - d, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF, - )), - d < dMin) - ) - iMaxR = extendPathsR( - d, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR, - ); - else if ( - extendOverlappablePathsR( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) - ) - return; - } else { - let dMin = ((nChange || baDeltaLength) + 1) / 2, - dMax = (aLength + bLength + 1) / 2, - d = 1; - for ( - iMaxF = extendPathsF( - d, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF, - ), - d += 1; - d <= dMax; - d += 1 - ) - if ( - ((iMaxR = extendPathsR( - d - 1, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR, - )), - d < dMin) - ) - iMaxF = extendPathsF( - d, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF, - ); - else if ( - extendOverlappablePathsF( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) - ) - return; - } - throw new Error( - `${pkg}: no overlap aStart=${aStart} aEnd=${aEnd} bStart=${bStart} bEnd=${bEnd}`, - ); - })( - nChange, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - aIndexesR, - division, - ); - let { - nChangePreceding, - aEndPreceding, - bEndPreceding, - nCommonPreceding, - aCommonPreceding, - bCommonPreceding, - nCommonFollowing, - aCommonFollowing, - bCommonFollowing, - nChangeFollowing, - aStartFollowing, - bStartFollowing, - } = division; - aStart < aEndPreceding && - bStart < bEndPreceding && - findSubsequences( - nChangePreceding, - aStart, - aEndPreceding, - bStart, - bEndPreceding, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division, - ), - 0 !== nCommonPreceding && - foundSubsequence( - nCommonPreceding, - aCommonPreceding, - bCommonPreceding, - ), - 0 !== nCommonFollowing && - foundSubsequence( - nCommonFollowing, - aCommonFollowing, - bCommonFollowing, - ), - aStartFollowing < aEnd && - bStartFollowing < bEnd && - findSubsequences( - nChangeFollowing, - aStartFollowing, - aEnd, - bStartFollowing, - bEnd, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division, - ); - }, - validateLength = (name, arg) => { - if ("number" != typeof arg) - throw new TypeError( - `${pkg}: ${name} typeof ${typeof arg} is not a number`, - ); - if (!Number.isSafeInteger(arg)) - throw new RangeError( - `${pkg}: ${name} value ${arg} is not a safe integer`, - ); - if (arg < 0) - throw new RangeError( - `${pkg}: ${name} value ${arg} is a negative integer`, - ); - }, - validateCallback = (name, arg) => { - let type = typeof arg; - if ("function" !== type) - throw new TypeError( - `${pkg}: ${name} typeof ${type} is not a function`, - ); - }; - return build; - })(), - ); - function printDiffLine( - line, - isFirstOrLast, - color, - indicator, - trailingSpaceFormatter, - emptyFirstOrLastLinePlaceholder, - ) { - return 0 !== line.length - ? color( - `${indicator} ${(function formatTrailingSpaces( - line, - trailingSpaceFormatter, - ) { - return line.replace(/\s+$/, (match) => - trailingSpaceFormatter(match), - ); - })(line, trailingSpaceFormatter)}`, - ) - : " " !== indicator - ? color(indicator) - : isFirstOrLast && 0 !== emptyFirstOrLastLinePlaceholder.length - ? color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`) - : ""; - } - function printDeleteLine( - line, - isFirstOrLast, - { - aColor, - aIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - }, - ) { - return printDiffLine( - line, - isFirstOrLast, - aColor, - aIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - ); - } - function printInsertLine( - line, - isFirstOrLast, - { - bColor, - bIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - }, - ) { - return printDiffLine( - line, - isFirstOrLast, - bColor, - bIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - ); - } - function printCommonLine( - line, - isFirstOrLast, - { - commonColor, - commonIndicator, - commonLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - }, - ) { - return printDiffLine( - line, - isFirstOrLast, - commonColor, - commonIndicator, - commonLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - ); - } - function createPatchMark(aStart, aEnd, bStart, bEnd, { patchColor }) { - return patchColor( - `@@ -${aStart + 1},${aEnd - aStart} +${bStart + 1},${bEnd - bStart} @@`, - ); - } - var noColor = (string) => string; - function normalizeDiffOptions(options = {}) { - return { - aAnnotation: "Expected", - aColor: f2.green, - aIndicator: "-", - bAnnotation: "Received", - bColor: f2.red, - bIndicator: "+", - changeColor: f2.inverse, - changeLineTrailingSpaceColor: noColor, - commonColor: f2.dim, - commonIndicator: " ", - commonLineTrailingSpaceColor: noColor, - compareKeys: void 0, - contextLines: 5, - emptyFirstOrLastLinePlaceholder: "", - expand: !0, - includeChangeCounts: !1, - omitAnnotationLines: !1, - patchColor: f2.yellow, - truncateThreshold: 0, - truncateAnnotation: "... Diff result is truncated", - truncateAnnotationColor: noColor, - ...options, - compareKeys: - ((compareKeys = options.compareKeys), - compareKeys && "function" == typeof compareKeys - ? compareKeys - : void 0), - contextLines: - ((contextLines = options.contextLines), - "number" == typeof contextLines && - Number.isSafeInteger(contextLines) && - contextLines >= 0 - ? contextLines - : 5), - }; - var contextLines, compareKeys; - } - function isEmptyString(lines) { - return 1 === lines.length && 0 === lines[0].length; - } - function printDiffLines(diffs, truncated, options) { - return ( - (function printAnnotation( - { - aAnnotation, - aColor, - aIndicator, - bAnnotation, - bColor, - bIndicator, - includeChangeCounts, - omitAnnotationLines, - }, - changeCounts, - ) { - if (omitAnnotationLines) return ""; - let aRest = "", - bRest = ""; - if (includeChangeCounts) { - let aCount = String(changeCounts.a), - bCount = String(changeCounts.b), - baAnnotationLengthDiff = - bAnnotation.length - aAnnotation.length, - aAnnotationPadding = " ".repeat( - Math.max(0, baAnnotationLengthDiff), - ), - bAnnotationPadding = " ".repeat( - Math.max(0, -baAnnotationLengthDiff), - ), - baCountLengthDiff = bCount.length - aCount.length; - (aRest = `${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0, baCountLengthDiff))}${aCount}`), - (bRest = `${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0, -baCountLengthDiff))}${bCount}`); - } - let b = `${bIndicator} ${bAnnotation}${bRest}`; - return `${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b)}\n\n`; - })( - options, - (function countChanges(diffs) { - let a2 = 0, - b = 0; - return ( - diffs.forEach((diff2) => { - switch (diff2[0]) { - case -1: - a2 += 1; - break; - case 1: - b += 1; - } - }), - { a: a2, b } - ); - })(diffs), - ) + - (options.expand - ? (function joinAlignedDiffsExpand(diffs, options) { - return diffs - .map((diff2, i, diffs2) => { - let line = diff2[1], - isFirstOrLast = 0 === i || i === diffs2.length - 1; - switch (diff2[0]) { - case -1: - return printDeleteLine(line, isFirstOrLast, options); - case 1: - return printInsertLine(line, isFirstOrLast, options); - default: - return printCommonLine(line, isFirstOrLast, options); - } - }) - .join("\n"); - })(diffs, options) - : (function joinAlignedDiffsNoExpand(diffs, options) { - let iLength = diffs.length, - nContextLines = options.contextLines, - nContextLines2 = nContextLines + nContextLines, - jLength = iLength, - hasExcessAtStartOrEnd = !1, - nExcessesBetweenChanges = 0, - i = 0; - for (; i !== iLength; ) { - let iStart = i; - for (; i !== iLength && 0 === diffs[i][0]; ) i += 1; - if (iStart !== i) - if (0 === iStart) - i > nContextLines && - ((jLength -= i - nContextLines), - (hasExcessAtStartOrEnd = !0)); - else if (i === iLength) { - let n = i - iStart; - n > nContextLines && - ((jLength -= n - nContextLines), - (hasExcessAtStartOrEnd = !0)); - } else { - let n = i - iStart; - n > nContextLines2 && - ((jLength -= n - nContextLines2), - (nExcessesBetweenChanges += 1)); - } - for (; i !== iLength && 0 !== diffs[i][0]; ) i += 1; - } - let hasPatch = - 0 !== nExcessesBetweenChanges || hasExcessAtStartOrEnd; - 0 !== nExcessesBetweenChanges - ? (jLength += nExcessesBetweenChanges + 1) - : hasExcessAtStartOrEnd && (jLength += 1); - let jLast = jLength - 1, - lines = [], - jPatchMark = 0; - hasPatch && lines.push(""); - let aStart = 0, - bStart = 0, - aEnd = 0, - bEnd = 0, - pushCommonLine = (line) => { - let j = lines.length; - lines.push( - printCommonLine(line, 0 === j || j === jLast, options), - ), - (aEnd += 1), - (bEnd += 1); - }, - pushDeleteLine = (line) => { - let j = lines.length; - lines.push( - printDeleteLine(line, 0 === j || j === jLast, options), - ), - (aEnd += 1); - }, - pushInsertLine = (line) => { - let j = lines.length; - lines.push( - printInsertLine(line, 0 === j || j === jLast, options), - ), - (bEnd += 1); - }; - for (i = 0; i !== iLength; ) { - let iStart = i; - for (; i !== iLength && 0 === diffs[i][0]; ) i += 1; - if (iStart !== i) - if (0 === iStart) { - i > nContextLines && - ((iStart = i - nContextLines), - (aStart = iStart), - (bStart = iStart), - (aEnd = aStart), - (bEnd = bStart)); - for (let iCommon = iStart; iCommon !== i; iCommon += 1) - pushCommonLine(diffs[iCommon][1]); - } else if (i === iLength) { - let iEnd = - i - iStart > nContextLines - ? iStart + nContextLines - : i; - for ( - let iCommon = iStart; - iCommon !== iEnd; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - } else { - let nCommon = i - iStart; - if (nCommon > nContextLines2) { - let iEnd = iStart + nContextLines; - for ( - let iCommon = iStart; - iCommon !== iEnd; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - (lines[jPatchMark] = createPatchMark( - aStart, - aEnd, - bStart, - bEnd, - options, - )), - (jPatchMark = lines.length), - lines.push(""); - let nOmit = nCommon - nContextLines2; - (aStart = aEnd + nOmit), - (bStart = bEnd + nOmit), - (aEnd = aStart), - (bEnd = bStart); - for ( - let iCommon = i - nContextLines; - iCommon !== i; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - } else - for ( - let iCommon = iStart; - iCommon !== i; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - } - for (; i !== iLength && -1 === diffs[i][0]; ) - pushDeleteLine(diffs[i][1]), (i += 1); - for (; i !== iLength && 1 === diffs[i][0]; ) - pushInsertLine(diffs[i][1]), (i += 1); - } - return ( - hasPatch && - (lines[jPatchMark] = createPatchMark( - aStart, - aEnd, - bStart, - bEnd, - options, - )), - lines.join("\n") - ); - })(diffs, options)) + - (truncated - ? options.truncateAnnotationColor( - `\n${options.truncateAnnotation}`, - ) - : "") - ); - } - function diffLinesUnified(aLines, bLines, options) { - let normalizedOptions = normalizeDiffOptions(options), - [diffs, truncated] = diffLinesRaw( - isEmptyString(aLines) ? [] : aLines, - isEmptyString(bLines) ? [] : bLines, - normalizedOptions, - ); - return printDiffLines(diffs, truncated, normalizedOptions); - } - function diffLinesRaw(aLines, bLines, options) { - let truncate2 = options?.truncateThreshold ?? !1, - truncateThreshold = Math.max( - Math.floor(options?.truncateThreshold ?? 0), - 0, - ), - aLength = truncate2 - ? Math.min(aLines.length, truncateThreshold) - : aLines.length, - bLength = truncate2 - ? Math.min(bLines.length, truncateThreshold) - : bLines.length, - truncated = aLength !== aLines.length || bLength !== bLines.length, - diffs = [], - aIndex = 0, - bIndex = 0; - for ( - diffSequences( - aLength, - bLength, - (aIndex2, bIndex2) => aLines[aIndex2] === bLines[bIndex2], - (nCommon, aCommon, bCommon) => { - for (; aIndex !== aCommon; aIndex += 1) - diffs.push(new Diff(-1, aLines[aIndex])); - for (; bIndex !== bCommon; bIndex += 1) - diffs.push(new Diff(1, bLines[bIndex])); - for (; 0 !== nCommon; nCommon -= 1, aIndex += 1, bIndex += 1) - diffs.push(new Diff(0, bLines[bIndex])); - }, - ); - aIndex !== aLength; - aIndex += 1 - ) - diffs.push(new Diff(-1, aLines[aIndex])); - for (; bIndex !== bLength; bIndex += 1) - diffs.push(new Diff(1, bLines[bIndex])); - return [diffs, truncated]; - } - function getNewLineSymbol(string) { - return string.includes("\r\n") ? "\r\n" : "\n"; - } - var ChangeBuffer = class { - op; - line; - lines; - changeColor; - constructor(op, changeColor) { - (this.op = op), - (this.line = []), - (this.lines = []), - (this.changeColor = changeColor); - } - pushSubstring(substring) { - this.pushDiff(new Diff(this.op, substring)); - } - pushLine() { - this.lines.push( - 1 !== this.line.length - ? new Diff( - this.op, - (function concatenateRelevantDiffs( - op, - diffs, - changeColor, - ) { - return diffs.reduce( - (reduced, diff2) => - reduced + - (0 === diff2[0] - ? diff2[1] - : diff2[0] === op && 0 !== diff2[1].length - ? changeColor(diff2[1]) - : ""), - "", - ); - })(this.op, this.line, this.changeColor), - ) - : this.line[0][0] === this.op - ? this.line[0] - : new Diff(this.op, this.line[0][1]), - ), - (this.line.length = 0); - } - isLineEmpty() { - return 0 === this.line.length; - } - pushDiff(diff2) { - this.line.push(diff2); - } - align(diff2) { - let string = diff2[1]; - if (string.includes("\n")) { - let substrings = string.split("\n"), - iLast = substrings.length - 1; - substrings.forEach((substring, i) => { - i < iLast - ? (this.pushSubstring(substring), this.pushLine()) - : 0 !== substring.length && this.pushSubstring(substring); - }); - } else this.pushDiff(diff2); - } - moveLinesTo(lines) { - this.isLineEmpty() || this.pushLine(), - lines.push(...this.lines), - (this.lines.length = 0); - } - }, - CommonBuffer = class { - deleteBuffer; - insertBuffer; - lines; - constructor(deleteBuffer, insertBuffer) { - (this.deleteBuffer = deleteBuffer), - (this.insertBuffer = insertBuffer), - (this.lines = []); - } - pushDiffCommonLine(diff2) { - this.lines.push(diff2); - } - pushDiffChangeLines(diff2) { - let isDiffEmpty = 0 === diff2[1].length; - (!isDiffEmpty || this.deleteBuffer.isLineEmpty()) && - this.deleteBuffer.pushDiff(diff2), - (!isDiffEmpty || this.insertBuffer.isLineEmpty()) && - this.insertBuffer.pushDiff(diff2); - } - flushChangeLines() { - this.deleteBuffer.moveLinesTo(this.lines), - this.insertBuffer.moveLinesTo(this.lines); - } - align(diff2) { - let op = diff2[0], - string = diff2[1]; - if (string.includes("\n")) { - let substrings = string.split("\n"), - iLast = substrings.length - 1; - substrings.forEach((substring, i) => { - if (0 === i) { - let subdiff = new Diff(op, substring); - this.deleteBuffer.isLineEmpty() && - this.insertBuffer.isLineEmpty() - ? (this.flushChangeLines(), - this.pushDiffCommonLine(subdiff)) - : (this.pushDiffChangeLines(subdiff), - this.flushChangeLines()); - } else - i < iLast - ? this.pushDiffCommonLine(new Diff(op, substring)) - : 0 !== substring.length && - this.pushDiffChangeLines(new Diff(op, substring)); - }); - } else this.pushDiffChangeLines(diff2); - } - getLines() { - return this.flushChangeLines(), this.lines; - } - }; - function diffStringsUnified(a2, b, options) { - if (a2 !== b && 0 !== a2.length && 0 !== b.length) { - let isMultiline = a2.includes("\n") || b.includes("\n"), - [diffs, truncated] = diffStringsRaw( - isMultiline ? `${a2}\n` : a2, - isMultiline ? `${b}\n` : b, - !0, - options, - ); - if ( - (function hasCommonDiff(diffs, isMultiline) { - if (isMultiline) { - let iLast = diffs.length - 1; - return diffs.some( - (diff2, i) => - 0 === diff2[0] && (i !== iLast || "\n" !== diff2[1]), - ); - } - return diffs.some((diff2) => 0 === diff2[0]); - })(diffs, isMultiline) - ) { - let optionsNormalized = normalizeDiffOptions(options), - lines = (function getAlignedDiffs(diffs, changeColor) { - let deleteBuffer = new ChangeBuffer(-1, changeColor), - insertBuffer = new ChangeBuffer(1, changeColor), - commonBuffer = new CommonBuffer(deleteBuffer, insertBuffer); - return ( - diffs.forEach((diff2) => { - switch (diff2[0]) { - case -1: - deleteBuffer.align(diff2); - break; - case 1: - insertBuffer.align(diff2); - break; - default: - commonBuffer.align(diff2); - } - }), - commonBuffer.getLines() - ); - })(diffs, optionsNormalized.changeColor); - return printDiffLines(lines, truncated, optionsNormalized); - } - } - return diffLinesUnified(a2.split("\n"), b.split("\n"), options); - } - function diffStringsRaw(a2, b, cleanup, options) { - let [diffs, truncated] = (function diffStrings(a2, b, options) { - let truncate2 = options?.truncateThreshold ?? !1, - truncateThreshold = Math.max( - Math.floor(options?.truncateThreshold ?? 0), - 0, - ), - aLength = a2.length, - bLength = b.length; - if (truncate2) { - let aMultipleLines = a2.includes("\n"), - bMultipleLines = b.includes("\n"), - aNewLineSymbol = getNewLineSymbol(a2), - bNewLineSymbol = getNewLineSymbol(b), - _a = aMultipleLines - ? `${a2.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}\n` - : a2, - _b = bMultipleLines - ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}\n` - : b; - (aLength = _a.length), (bLength = _b.length); - } - let truncated = aLength !== a2.length || bLength !== b.length, - aIndex = 0, - bIndex = 0, - diffs = []; - return ( - diffSequences( - aLength, - bLength, - (aIndex2, bIndex2) => a2[aIndex2] === b[bIndex2], - (nCommon, aCommon, bCommon) => { - aIndex !== aCommon && - diffs.push(new Diff(-1, a2.slice(aIndex, aCommon))), - bIndex !== bCommon && - diffs.push(new Diff(1, b.slice(bIndex, bCommon))), - (aIndex = aCommon + nCommon), - (bIndex = bCommon + nCommon), - diffs.push(new Diff(0, b.slice(bCommon, bIndex))); - }, - ), - aIndex !== aLength && diffs.push(new Diff(-1, a2.slice(aIndex))), - bIndex !== bLength && diffs.push(new Diff(1, b.slice(bIndex))), - [diffs, truncated] - ); - })(a2, b, options); - return cleanup && diff_cleanupSemantic(diffs), [diffs, truncated]; - } - function getCommonMessage(message, options) { - let { commonColor } = normalizeDiffOptions(options); - return commonColor(message); - } - var { - AsymmetricMatcher: AsymmetricMatcher2, - DOMCollection: DOMCollection2, - DOMElement: DOMElement2, - Immutable: Immutable2, - ReactElement: ReactElement2, - ReactTestComponent: ReactTestComponent2, - } = plugins, - PLUGINS2 = [ - ReactTestComponent2, - ReactElement2, - DOMElement2, - DOMCollection2, - Immutable2, - AsymmetricMatcher2, - ], - FORMAT_OPTIONS = { plugins: PLUGINS2 }, - FALLBACK_FORMAT_OPTIONS = { - callToJSON: !1, - maxDepth: 10, - plugins: PLUGINS2, - }; - function diff(a2, b, options) { - if (Object.is(a2, b)) return ""; - let aType = getType3(a2), - expectedType = aType, - omitDifference = !1; - if ("object" === aType && "function" == typeof a2.asymmetricMatch) { - if ( - a2.$$typeof !== Symbol.for("jest.asymmetricMatcher") || - "function" != typeof a2.getExpectedType - ) - return; - (expectedType = a2.getExpectedType()), - (omitDifference = "string" === expectedType); - } - if (expectedType !== getType3(b)) { - let { - aAnnotation, - aColor, - aIndicator, - bAnnotation, - bColor, - bIndicator, - } = normalizeDiffOptions(options), - formatOptions = getFormatOptions( - FALLBACK_FORMAT_OPTIONS, - options, - ), - aDisplay = format(a2, formatOptions), - bDisplay = format(b, formatOptions); - return `${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`; - } - if (!omitDifference) - switch (aType) { - case "string": - return diffLinesUnified(a2.split("\n"), b.split("\n"), options); - case "boolean": - case "number": - return (function comparePrimitive(a2, b, options) { - let aFormat = format(a2, FORMAT_OPTIONS), - bFormat = format(b, FORMAT_OPTIONS); - return aFormat === bFormat - ? "" - : diffLinesUnified( - aFormat.split("\n"), - bFormat.split("\n"), - options, - ); - })(a2, b, options); - case "map": - return compareObjects(sortMap(a2), sortMap(b), options); - case "set": - return compareObjects(sortSet(a2), sortSet(b), options); - default: - return compareObjects(a2, b, options); - } - } - function sortMap(map) { - return new Map(Array.from(map.entries()).sort()); - } - function sortSet(set) { - return new Set(Array.from(set.values()).sort()); - } - function compareObjects(a2, b, options) { - let difference, - hasThrown = !1; - try { - difference = getObjectsDifference( - a2, - b, - getFormatOptions(FORMAT_OPTIONS, options), - options, - ); - } catch { - hasThrown = !0; - } - let noDiffMessage = getCommonMessage( - "Compared values have no visual difference.", - options, - ); - if (void 0 === difference || difference === noDiffMessage) { - (difference = getObjectsDifference( - a2, - b, - getFormatOptions(FALLBACK_FORMAT_OPTIONS, options), - options, - )), - difference !== noDiffMessage && - !hasThrown && - (difference = `${getCommonMessage("Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.", options)}\n\n${difference}`); - } - return difference; - } - function getFormatOptions(formatOptions, options) { - let { compareKeys } = normalizeDiffOptions(options); - return { ...formatOptions, compareKeys }; - } - function getObjectsDifference(a2, b, formatOptions, options) { - let formatOptionsZeroIndent = { ...formatOptions, indent: 0 }, - aCompare = format(a2, formatOptionsZeroIndent), - bCompare = format(b, formatOptionsZeroIndent); - if (aCompare === bCompare) - return getCommonMessage( - "Compared values have no visual difference.", - options, - ); - { - let aDisplay = format(a2, formatOptions), - bDisplay = format(b, formatOptions); - return (function diffLinesUnified2( - aLinesDisplay, - bLinesDisplay, - aLinesCompare, - bLinesCompare, - options, - ) { - if ( - (isEmptyString(aLinesDisplay) && - isEmptyString(aLinesCompare) && - ((aLinesDisplay = []), (aLinesCompare = [])), - isEmptyString(bLinesDisplay) && - isEmptyString(bLinesCompare) && - ((bLinesDisplay = []), (bLinesCompare = [])), - aLinesDisplay.length !== aLinesCompare.length || - bLinesDisplay.length !== bLinesCompare.length) - ) - return diffLinesUnified(aLinesDisplay, bLinesDisplay, options); - let [diffs, truncated] = diffLinesRaw( - aLinesCompare, - bLinesCompare, - options, - ), - aIndex = 0, - bIndex = 0; - return ( - diffs.forEach((diff2) => { - switch (diff2[0]) { - case -1: - (diff2[1] = aLinesDisplay[aIndex]), (aIndex += 1); - break; - case 1: - (diff2[1] = bLinesDisplay[bIndex]), (bIndex += 1); - break; - default: - (diff2[1] = bLinesDisplay[bIndex]), - (aIndex += 1), - (bIndex += 1); - } - }), - printDiffLines(diffs, truncated, normalizeDiffOptions(options)) - ); - })( - aDisplay.split("\n"), - bDisplay.split("\n"), - aCompare.split("\n"), - bCompare.split("\n"), - options, - ); - } - } - function isAsymmetricMatcher(data) { - return ( - "Object" === getType2(data) && - "function" == typeof data.asymmetricMatch - ); - } - function isReplaceable(obj1, obj2) { - let obj1Type = getType2(obj1); - return ( - obj1Type === getType2(obj2) && - ("Object" === obj1Type || "Array" === obj1Type) - ); - } - function printDiffOrStringify(expected, received, options) { - let { aAnnotation, bAnnotation } = normalizeDiffOptions(options); - if ( - "string" == typeof expected && - "string" == typeof received && - expected.length > 0 && - received.length > 0 && - expected.length <= 2e4 && - received.length <= 2e4 && - expected !== received - ) { - if (expected.includes("\n") || received.includes("\n")) - return diffStringsUnified(received, expected, options); - let [diffs] = diffStringsRaw(received, expected, !0), - hasCommonDiff2 = diffs.some((diff2) => 0 === diff2[0]), - printLabel = (function getLabelPrinter(...strings) { - let maxLength = strings.reduce( - (max, string) => (string.length > max ? string.length : max), - 0, - ); - return (string) => - `${string}: ${" ".repeat(maxLength - string.length)}`; - })(aAnnotation, bAnnotation); - return `${ - printLabel(aAnnotation) + - (function printExpected(value) { - return f2.green(replaceTrailingSpaces(stringify(value))); - })(getCommonAndChangedSubstrings(diffs, -1, hasCommonDiff2)) - }\n${ - printLabel(bAnnotation) + - (function printReceived(object) { - return f2.red(replaceTrailingSpaces(stringify(object))); - })(getCommonAndChangedSubstrings(diffs, 1, hasCommonDiff2)) - }`; - } - let clonedExpected = deepClone(expected, { forceWritable: !0 }), - clonedReceived = deepClone(received, { forceWritable: !0 }), - { replacedExpected, replacedActual } = replaceAsymmetricMatcher( - clonedExpected, - clonedReceived, - ); - return diff(replacedExpected, replacedActual, options); - } - function replaceAsymmetricMatcher( - actual, - expected, - actualReplaced = new WeakSet(), - expectedReplaced = new WeakSet(), - ) { - return isReplaceable(actual, expected) - ? (actualReplaced.has(actual) || - expectedReplaced.has(expected) || - (actualReplaced.add(actual), - expectedReplaced.add(expected), - getOwnProperties(expected).forEach((key) => { - let expectedValue = expected[key], - actualValue = actual[key]; - if (isAsymmetricMatcher(expectedValue)) - expectedValue.asymmetricMatch(actualValue) && - (actual[key] = expectedValue); - else if (isAsymmetricMatcher(actualValue)) - actualValue.asymmetricMatch(expectedValue) && - (expected[key] = actualValue); - else if (isReplaceable(actualValue, expectedValue)) { - let replaced = replaceAsymmetricMatcher( - actualValue, - expectedValue, - actualReplaced, - expectedReplaced, - ); - (actual[key] = replaced.replacedActual), - (expected[key] = replaced.replacedExpected); - } - })), - { replacedActual: actual, replacedExpected: expected }) - : { replacedActual: actual, replacedExpected: expected }; - } - var SPACE_SYMBOL = "·"; - function replaceTrailingSpaces(text) { - return text.replace(/\s+$/gm, (spaces) => - SPACE_SYMBOL.repeat(spaces.length), - ); - } - function getCommonAndChangedSubstrings(diffs, op, hasCommonDiff2) { - return diffs.reduce( - (reduced, diff2) => - reduced + - (0 === diff2[0] - ? diff2[1] - : diff2[0] === op - ? hasCommonDiff2 - ? f2.inverse(diff2[1]) - : diff2[1] - : ""), - "", - ); - } - var OBJECT_PROTO = Object.getPrototypeOf({}); - function getUnserializableMessage(err) { - return err instanceof Error - ? `: ${err.message}` - : "string" == typeof err - ? `: ${err}` - : ""; - } - function serializeValue(val, seen = new WeakMap()) { - if (!val || "string" == typeof val) return val; - if ("function" == typeof val) - return `Function<${val.name || "anonymous"}>`; - if ("symbol" == typeof val) return val.toString(); - if ("object" != typeof val) return val; - if ( - (function isImmutable(v) { - return ( - v && - (v["@@__IMMUTABLE_ITERABLE__@@"] || - v["@@__IMMUTABLE_RECORD__@@"]) - ); - })(val) - ) - return serializeValue(val.toJSON(), seen); - if ( - val instanceof Promise || - (val.constructor && "AsyncFunction" === val.constructor.prototype) - ) - return "Promise"; - if (typeof Element < "u" && val instanceof Element) - return val.tagName; - if ("function" == typeof val.asymmetricMatch) - return `${val.toString()} ${(function format2(...args) { - if ("string" != typeof args[0]) { - let objects = []; - for (let i2 = 0; i2 < args.length; i2++) - objects.push(inspect2(args[i2], { depth: 0, colors: !1 })); - return objects.join(" "); - } - let len = args.length, - i = 1, - template = args[0], - str = String(template).replace(formatRegExp, (x) => { - if ("%%" === x) return "%"; - if (i >= len) return x; - switch (x) { - case "%s": { - let value = args[i++]; - return "bigint" == typeof value - ? `${value.toString()}n` - : "number" == typeof value && - 0 === value && - 1 / value < 0 - ? "-0" - : "object" == typeof value && null !== value - ? inspect2(value, { depth: 0, colors: !1 }) - : String(value); - } - case "%d": { - let value = args[i++]; - return "bigint" == typeof value - ? `${value.toString()}n` - : Number(value).toString(); - } - case "%i": { - let value = args[i++]; - return "bigint" == typeof value - ? `${value.toString()}n` - : Number.parseInt(String(value)).toString(); - } - case "%f": - return Number.parseFloat(String(args[i++])).toString(); - case "%o": - return inspect2(args[i++], { - showHidden: !0, - showProxy: !0, - }); - case "%O": - return inspect2(args[i++]); - case "%c": - return i++, ""; - case "%j": - try { - return JSON.stringify(args[i++]); - } catch (err) { - let m2 = err.message; - if ( - m2.includes("circular structure") || - m2.includes("cyclic structures") || - m2.includes("cyclic object") - ) - return "[Circular]"; - throw err; - } - default: - return x; - } - }); - for (let x = args[i]; i < len; x = args[++i]) - str += - null === x || "object" != typeof x - ? ` ${x}` - : ` ${inspect2(x)}`; - return str; - })(val.sample)}`; - if ("function" == typeof val.toJSON) - return serializeValue(val.toJSON(), seen); - if (seen.has(val)) return seen.get(val); - if (Array.isArray(val)) { - let clone2 = new Array(val.length); - return ( - seen.set(val, clone2), - val.forEach((e, i) => { - try { - clone2[i] = serializeValue(e, seen); - } catch (err) { - clone2[i] = getUnserializableMessage(err); - } - }), - clone2 - ); - } - { - let clone2 = Object.create(null); - seen.set(val, clone2); - let obj = val; - for (; obj && obj !== OBJECT_PROTO; ) - Object.getOwnPropertyNames(obj).forEach((key) => { - if (!(key in clone2)) - try { - clone2[key] = serializeValue(val[key], seen); - } catch (err) { - delete clone2[key], - (clone2[key] = getUnserializableMessage(err)); - } - }), - (obj = Object.getPrototypeOf(obj)); - return clone2; - } - } - function processError(_err, diffOptions, seen = new WeakSet()) { - if (!_err || "object" != typeof _err) - return { message: String(_err) }; - let err = _err; - err.stack && (err.stackStr = String(err.stack)), - err.name && (err.nameStr = String(err.name)), - (err.showDiff || - (void 0 === err.showDiff && - void 0 !== err.expected && - void 0 !== err.actual)) && - (err.diff = printDiffOrStringify(err.actual, err.expected, { - ...diffOptions, - ...err.diffOptions, - })), - "string" != typeof err.expected && - (err.expected = stringify(err.expected, 10)), - "string" != typeof err.actual && - (err.actual = stringify(err.actual, 10)); - try { - "string" == typeof err.message && - (err.message = (function normalizeErrorMessage(message) { - return message.replace( - /__(vite_ssr_import|vi_import)_\d+__\./g, - "", - ); - })(err.message)); - } catch {} - try { - !seen.has(err) && - "object" == typeof err.cause && - (seen.add(err), - (err.cause = processError(err.cause, diffOptions, seen))); - } catch {} - try { - return serializeValue(err); - } catch (e) { - return serializeValue( - new Error( - `Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`, - ), - ); - } - } - var CallStates2, - CallStates = - (((CallStates2 = CallStates || {}).DONE = "done"), - (CallStates2.ERROR = "error"), - (CallStates2.ACTIVE = "active"), - (CallStates2.WAITING = "waiting"), - CallStates2), - EVENTS_CALL = "storybook/instrumenter/call", - EVENTS_SYNC = "storybook/instrumenter/sync", - EVENTS_START = "storybook/instrumenter/start", - EVENTS_BACK = "storybook/instrumenter/back", - EVENTS_GOTO = "storybook/instrumenter/goto", - EVENTS_NEXT = "storybook/instrumenter/next", - EVENTS_END = "storybook/instrumenter/end", - controlsDisabled = { - start: !1, - back: !1, - goto: !1, - next: !1, - end: !1, - }, - alreadyCompletedException = new Error( - "This function ran after the play function completed. Did you forget to `await` it?", - ), - isObject = (o) => - "[object Object]" === Object.prototype.toString.call(o), - isInstrumentable = (o) => { - if ( - !isObject(o) && - !((o) => "[object Module]" === Object.prototype.toString.call(o))( - o, - ) - ) - return !1; - if (void 0 === o.constructor) return !0; - let proto = o.constructor.prototype; - return !!isObject(proto); - }, - getInitialState = () => ({ - renderPhase: void 0, - isDebugging: !1, - isPlaying: !1, - isLocked: !1, - cursor: 0, - calls: [], - shadowCalls: [], - callRefsByResult: new Map(), - chainedCallIds: new Set(), - ancestors: [], - playUntil: void 0, - resolvers: {}, - syncTimeout: void 0, - }), - getRetainedState = (state, isDebugging = !1) => { - let calls = (isDebugging ? state.shadowCalls : state.calls).filter( - (call) => call.retain, - ); - if (!calls.length) return; - let callRefsByResult = new Map( - Array.from(state.callRefsByResult.entries()).filter( - ([, ref]) => ref.retain, - ), - ); - return { cursor: calls.length, calls, callRefsByResult }; - }, - Instrumenter = class { - constructor() { - (this.initialized = !1), - (this.channel = - storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_2__.addons.getChannel()), - (this.state = - _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window - ?.parent - .__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ || {}); - let resetState = ({ - storyId, - isPlaying = !0, - isDebugging = !1, - }) => { - let state = this.getState(storyId); - this.setState(storyId, { - ...getInitialState(), - ...getRetainedState(state, isDebugging), - shadowCalls: isDebugging ? state.shadowCalls : [], - chainedCallIds: isDebugging - ? state.chainedCallIds - : new Set(), - playUntil: isDebugging ? state.playUntil : void 0, - isPlaying, - isDebugging, - }), - this.sync(storyId); - }; - this.channel.on( - storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_1__.FORCE_REMOUNT, - resetState, - ), - this.channel.on( - storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_1__.STORY_RENDER_PHASE_CHANGED, - ({ storyId, newPhase }) => { - let { isDebugging } = this.getState(storyId); - this.setState(storyId, { renderPhase: newPhase }), - "preparing" === newPhase && - isDebugging && - resetState({ storyId }), - "playing" === newPhase && - resetState({ storyId, isDebugging }), - "played" === newPhase && - this.setState(storyId, { - isLocked: !1, - isPlaying: !1, - isDebugging: !1, - }), - "errored" === newPhase && - this.setState(storyId, { isLocked: !1, isPlaying: !1 }); - }, - ), - this.channel.on( - storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_1__.SET_CURRENT_STORY, - () => { - this.initialized ? this.cleanup() : (this.initialized = !0); - }, - ); - let start = ({ storyId, playUntil }) => { - this.getState(storyId).isDebugging || - this.setState(storyId, ({ calls }) => ({ - calls: [], - shadowCalls: calls.map((call) => ({ - ...call, - status: "waiting", - })), - isDebugging: !0, - })); - let log = this.getLog(storyId); - this.setState(storyId, ({ shadowCalls }) => { - if (playUntil || !log.length) return { playUntil }; - let firstRowIndex = shadowCalls.findIndex( - (call) => call.id === log[0].callId, - ); - return { - playUntil: shadowCalls - .slice(0, firstRowIndex) - .filter( - (call) => - call.interceptable && !call.ancestors.length, - ) - .slice(-1)[0]?.id, - }; - }), - this.channel.emit( - storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_1__.FORCE_REMOUNT, - { storyId, isDebugging: !0 }, - ); - }, - end = ({ storyId }) => { - this.setState(storyId, { - playUntil: void 0, - isDebugging: !1, - }), - Object.values(this.getState(storyId).resolvers).forEach( - (resolve) => resolve(), - ); - }; - this.channel.on(EVENTS_START, start), - this.channel.on(EVENTS_BACK, ({ storyId }) => { - let log = this.getLog(storyId).filter( - (call) => !call.ancestors.length, - ), - last = log.reduceRight( - (res, item, index) => - res >= 0 || "waiting" === item.status ? res : index, - -1, - ); - start({ storyId, playUntil: log[last - 1]?.callId }); - }), - this.channel.on(EVENTS_GOTO, ({ storyId, callId }) => { - let { calls, shadowCalls, resolvers } = - this.getState(storyId), - call = calls.find(({ id }) => id === callId), - shadowCall = shadowCalls.find(({ id }) => id === callId); - if ( - !call && - shadowCall && - Object.values(resolvers).length > 0 - ) { - let nextId = this.getLog(storyId).find( - (c) => "waiting" === c.status, - )?.callId; - shadowCall.id !== nextId && - this.setState(storyId, { playUntil: shadowCall.id }), - Object.values(resolvers).forEach((resolve) => resolve()); - } else start({ storyId, playUntil: callId }); - }), - this.channel.on(EVENTS_NEXT, ({ storyId }) => { - let { resolvers } = this.getState(storyId); - if (Object.values(resolvers).length > 0) - Object.values(resolvers).forEach((resolve) => resolve()); - else { - let nextId = this.getLog(storyId).find( - (c) => "waiting" === c.status, - )?.callId; - nextId - ? start({ storyId, playUntil: nextId }) - : end({ storyId }); - } - }), - this.channel.on(EVENTS_END, end); - } - getState(storyId) { - return this.state[storyId] || getInitialState(); - } - setState(storyId, update) { - let state = this.getState(storyId), - patch = "function" == typeof update ? update(state) : update; - (this.state = { - ...this.state, - [storyId]: { ...state, ...patch }, - }), - _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window - ?.parent && - (_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ = - this.state); - } - cleanup() { - this.state = Object.entries(this.state).reduce( - (acc, [storyId, state]) => { - let retainedState = getRetainedState(state); - return ( - retainedState && - (acc[storyId] = Object.assign( - getInitialState(), - retainedState, - )), - acc - ); - }, - {}, - ); - let payload = { controlStates: controlsDisabled, logItems: [] }; - this.channel.emit(EVENTS_SYNC, payload), - _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window - ?.parent && - (_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ = - this.state); - } - getLog(storyId) { - let { calls, shadowCalls } = this.getState(storyId), - merged = [...shadowCalls]; - calls.forEach((call, index) => { - merged[index] = call; - }); - let seen = new Set(); - return merged.reduceRight( - (acc, call) => ( - call.args.forEach((arg) => { - arg?.__callId__ && seen.add(arg.__callId__); - }), - call.path.forEach((node) => { - node.__callId__ && seen.add(node.__callId__); - }), - (call.interceptable || call.exception) && - !seen.has(call.id) && - (acc.unshift({ - callId: call.id, - status: call.status, - ancestors: call.ancestors, - }), - seen.add(call.id)), - acc - ), - [], - ); - } - instrument(obj, options, depth = 0) { - if (!isInstrumentable(obj)) return obj; - let { mutate = !1, path = [] } = options, - keys = options.getKeys - ? options.getKeys(obj, depth) - : Object.keys(obj); - return ( - (depth += 1), - keys.reduce( - (acc, key) => { - let descriptor = (function getPropertyDescriptor( - obj, - propName, - ) { - let target = obj; - for (; null != target; ) { - let descriptor = Object.getOwnPropertyDescriptor( - target, - propName, - ); - if (descriptor) return descriptor; - target = Object.getPrototypeOf(target); - } - })(obj, key); - if ("function" == typeof descriptor?.get) { - let getter = () => descriptor?.get?.bind(obj)?.(); - return ( - Object.defineProperty(acc, key, { - get: () => - this.instrument( - getter(), - { ...options, path: path.concat(key) }, - depth, - ), - }), - acc - ); - } - let value = obj[key]; - return "function" != typeof value - ? ((acc[key] = this.instrument( - value, - { ...options, path: path.concat(key) }, - depth, - )), - acc) - : "__originalFn__" in value && - "function" == typeof value.__originalFn__ - ? ((acc[key] = value), acc) - : ((acc[key] = (...args) => - this.track(key, value, obj, args, options)), - (acc[key].__originalFn__ = value), - Object.defineProperty(acc[key], "name", { - value: key, - writable: !1, - }), - Object.keys(value).length > 0 && - Object.assign( - acc[key], - this.instrument( - { ...value }, - { ...options, path: path.concat(key) }, - depth, - ), - ), - acc); - }, - mutate - ? obj - : ((obj) => { - try { - return new obj.constructor(); - } catch { - return {}; - } - })(obj), - ) - ); - } - track(method, fn, object, args, options) { - let storyId = - args?.[0]?.__storyId__ || - _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global - .__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId, - { cursor, ancestors } = this.getState(storyId); - this.setState(storyId, { cursor: cursor + 1 }); - let id = `${ancestors.slice(-1)[0] || storyId} [${cursor}] ${method}`, - { path = [], intercept = !1, retain = !1 } = options, - interceptable = - "function" == typeof intercept - ? intercept(method, path) - : intercept, - call = { - id, - cursor, - storyId, - ancestors, - path, - method, - args, - interceptable, - retain, - }, - result = ( - interceptable && !ancestors.length - ? this.intercept - : this.invoke - ).call(this, fn, object, call, options); - return this.instrument(result, { - ...options, - mutate: !0, - path: [{ __callId__: call.id }], - }); - } - intercept(fn, object, call, options) { - let { chainedCallIds, isDebugging, playUntil } = this.getState( - call.storyId, - ), - isChainedUpon = chainedCallIds.has(call.id); - return !isDebugging || isChainedUpon || playUntil - ? (playUntil === call.id && - this.setState(call.storyId, { playUntil: void 0 }), - this.invoke(fn, object, call, options)) - : new Promise((resolve) => { - this.setState(call.storyId, ({ resolvers }) => ({ - isLocked: !1, - resolvers: { ...resolvers, [call.id]: resolve }, - })); - }).then( - () => ( - this.setState(call.storyId, (state) => { - let { [call.id]: _, ...resolvers } = state.resolvers; - return { isLocked: !0, resolvers }; - }), - this.invoke(fn, object, call, options) - ), - ); - } - invoke(fn, object, call, options) { - let { callRefsByResult, renderPhase } = this.getState( - call.storyId, - ), - serializeValues = (value, depth, seen) => { - if (seen.includes(value)) return "[Circular]"; - if (((seen = [...seen, value]), depth > 25)) return "..."; - if (callRefsByResult.has(value)) - return callRefsByResult.get(value); - if (value instanceof Array) - return value.map((it) => - serializeValues(it, ++depth, seen), - ); - if (value instanceof Date) - return { __date__: { value: value.toISOString() } }; - if (value instanceof Error) { - let { name, message, stack } = value; - return { __error__: { name, message, stack } }; - } - if (value instanceof RegExp) { - let { flags, source } = value; - return { __regexp__: { flags, source } }; - } - if ( - value instanceof - _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window - ?.HTMLElement - ) { - let { prefix, localName, id, classList, innerText } = value; - return { - __element__: { - prefix, - localName, - id, - classNames: Array.from(classList), - innerText, - }, - }; - } - return "function" == typeof value - ? { - __function__: { - name: - "getMockName" in value - ? value.getMockName() - : value.name, - }, - } - : "symbol" == typeof value - ? { __symbol__: { description: value.description } } - : "object" == typeof value && - value?.constructor?.name && - "Object" !== value?.constructor?.name - ? { __class__: { name: value.constructor.name } } - : "[object Object]" === - Object.prototype.toString.call(value) - ? Object.fromEntries( - Object.entries(value).map(([key, val]) => [ - key, - serializeValues(val, ++depth, seen), - ]), - ) - : value; - }, - info = { - ...call, - args: call.args.map((arg) => serializeValues(arg, 0, [])), - }; - call.path.forEach((ref) => { - ref?.__callId__ && - this.setState(call.storyId, ({ chainedCallIds }) => ({ - chainedCallIds: new Set( - Array.from(chainedCallIds).concat(ref.__callId__), - ), - })); - }); - let handleException = (e) => { - if (e instanceof Error) { - let { name, message, stack, callId = call.id } = e, - { - showDiff, - diff: diff2, - actual, - expected, - } = "AssertionError" === e.name ? processError(e) : e, - exception = { - name, - message, - stack, - callId, - showDiff, - diff: diff2, - actual, - expected, - }; - if ( - (this.update({ ...info, status: "error", exception }), - this.setState(call.storyId, (state) => ({ - callRefsByResult: new Map([ - ...Array.from(state.callRefsByResult.entries()), - [e, { __callId__: call.id, retain: call.retain }], - ]), - })), - call.ancestors.length) - ) - throw ( - (Object.prototype.hasOwnProperty.call(e, "callId") || - Object.defineProperty(e, "callId", { value: call.id }), - e) - ); - } - throw e; - }; - try { - if ("played" === renderPhase && !call.retain) - throw alreadyCompletedException; - let finalArgs = ( - options.getArgs - ? options.getArgs(call, this.getState(call.storyId)) - : call.args - ).map((arg) => - "function" != typeof arg || Object.keys(arg).length - ? arg - : (...args) => { - let { cursor, ancestors } = this.getState( - call.storyId, - ); - this.setState(call.storyId, { - cursor: 0, - ancestors: [...ancestors, call.id], - }); - let restore = () => - this.setState(call.storyId, { - cursor, - ancestors, - }), - willRestore = !1; - try { - let res = arg(...args); - return res instanceof Promise - ? ((willRestore = !0), res.finally(restore)) - : res; - } finally { - willRestore || restore(); - } - }, - ), - result = fn.apply(object, finalArgs); - return ( - result && - ["object", "function", "symbol"].includes(typeof result) && - this.setState(call.storyId, (state) => ({ - callRefsByResult: new Map([ - ...Array.from(state.callRefsByResult.entries()), - [result, { __callId__: call.id, retain: call.retain }], - ]), - })), - this.update({ - ...info, - status: result instanceof Promise ? "active" : "done", - }), - result instanceof Promise - ? result.then( - (value) => ( - this.update({ ...info, status: "done" }), value - ), - handleException, - ) - : result - ); - } catch (e) { - return handleException(e); - } - } - update(call) { - this.channel.emit(EVENTS_CALL, call), - this.setState(call.storyId, ({ calls }) => { - let callsById = calls - .concat(call) - .reduce((a2, c) => Object.assign(a2, { [c.id]: c }), {}); - return { - calls: Object.values(callsById).sort((a2, b) => - a2.id.localeCompare(b.id, void 0, { numeric: !0 }), - ), - }; - }), - this.sync(call.storyId); - } - sync(storyId) { - let synchronize = () => { - let { isLocked, isPlaying } = this.getState(storyId), - logItems = this.getLog(storyId), - pausedAt = logItems - .filter(({ ancestors }) => !ancestors.length) - .find((item) => "waiting" === item.status)?.callId, - hasActive = logItems.some((item) => "active" === item.status); - if (isLocked || hasActive || 0 === logItems.length) { - let payload2 = { controlStates: controlsDisabled, logItems }; - return void this.channel.emit(EVENTS_SYNC, payload2); - } - let hasPrevious = logItems.some( - (item) => "done" === item.status || "error" === item.status, - ), - payload = { - controlStates: { - start: hasPrevious, - back: hasPrevious, - goto: !0, - next: isPlaying, - end: isPlaying, - }, - logItems, - pausedAt, - }; - this.channel.emit(EVENTS_SYNC, payload); - }; - this.setState( - storyId, - ({ syncTimeout }) => ( - clearTimeout(syncTimeout), - { syncTimeout: setTimeout(synchronize, 0) } - ), - ); - } - }; - function instrument(obj, options = {}) { - try { - let forceInstrument = !1, - skipInstrument = !1; - return ( - _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.location?.search?.includes( - "instrument=true", - ) - ? (forceInstrument = !0) - : _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.location?.search?.includes( - "instrument=false", - ) && (skipInstrument = !0), - (_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window - ?.parent === - _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window && - !forceInstrument) || - skipInstrument - ? obj - : (_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global - .window && - !_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global - .window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ && - (_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ = - new Instrumenter()), - (_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument( - obj, - options, - )) - ); - } catch (e) { - return ( - storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_0__.once.warn( - e, - ), - obj - ); - } - } - }, - "../node_modules/.pnpm/@storybook+nextjs@8.4.7_esbuild@0.24.0_next@14.0.3_react-dom@18.2.0_react@18.2.0_storybook@8._iv34e6i3dxlwgniwbpmmoi2hye/node_modules/@storybook/nextjs/dist/preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - decorators: () => decorators, - loaders: () => loaders, - parameters: () => parameters, - }); - var RedirectStatusCode2, - navigationAPI, - routerAPI, - react = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - __defProp = Object.defineProperty, - chunk_NQ32RFK2_ImageContext = - (Object.getOwnPropertyNames, - __webpack_require__( - "../node_modules/.pnpm/@storybook+nextjs@8.4.7_esbuild@0.24.0_next@14.0.3_react-dom@18.2.0_react@18.2.0_storybook@8._iv34e6i3dxlwgniwbpmmoi2hye/node_modules/@storybook/nextjs/dist sync recursive", - ), - (0, react.createContext)({})), - external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_ = - __webpack_require__("storybook/internal/preview-errors"), - dist = __webpack_require__( - "../node_modules/.pnpm/@storybook+test@8.4.7_storybook@8.4.7/node_modules/@storybook/test/dist/index.mjs", - ), - navigation = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/navigation.js", - ), - redirect = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/redirect.js", - ), - RedirectStatusCode = - (((RedirectStatusCode2 = RedirectStatusCode || {})[ - (RedirectStatusCode2.SeeOther = 303) - ] = "SeeOther"), - (RedirectStatusCode2[ - (RedirectStatusCode2.TemporaryRedirect = 307) - ] = "TemporaryRedirect"), - (RedirectStatusCode2[ - (RedirectStatusCode2.PermanentRedirect = 308) - ] = "PermanentRedirect"), - RedirectStatusCode2), - getRouter = () => { - if (!navigationAPI) - throw new external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_.NextjsRouterMocksNotAvailable( - { importType: "next/navigation" }, - ); - return navigationAPI; - }, - router = - ((0, dist.fn)((url, type = navigation.RedirectType.push) => { - throw (0, redirect.getRedirectError)( - url, - type, - RedirectStatusCode.SeeOther, - ); - }).mockName("next/navigation::redirect"), - (0, dist.fn)((url, type = navigation.RedirectType.push) => { - throw (0, redirect.getRedirectError)( - url, - type, - RedirectStatusCode.SeeOther, - ); - }).mockName("next/navigation::permanentRedirect"), - (0, dist.fn)(navigation.useSearchParams).mockName( - "next/navigation::useSearchParams", - ), - (0, dist.fn)(navigation.usePathname).mockName( - "next/navigation::usePathname", - ), - (0, dist.fn)(navigation.useSelectedLayoutSegment).mockName( - "next/navigation::useSelectedLayoutSegment", - ), - (0, dist.fn)(navigation.useSelectedLayoutSegments).mockName( - "next/navigation::useSelectedLayoutSegments", - ), - (0, dist.fn)(navigation.useRouter).mockName( - "next/navigation::useRouter", - ), - (0, dist.fn)(navigation.useServerInsertedHTML).mockName( - "next/navigation::useServerInsertedHTML", - ), - (0, dist.fn)(navigation.notFound).mockName( - "next/navigation::notFound", - ), - (0, dist.fn)(navigation.useParams).mockName( - "next/navigation::useParams", - ), - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/router.js", - )), - router_default = __webpack_require__.n(router), - defaultRouterState = { - route: "/", - asPath: "/", - basePath: "/", - pathname: "/", - query: {}, - isFallback: !1, - isLocaleDomain: !1, - isReady: !0, - isPreview: !1, - }, - router_getRouter = () => { - if (!routerAPI) - throw new external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_.NextjsRouterMocksNotAvailable( - { importType: "next/router" }, - ); - return routerAPI; - }, - is_next_router_error = - ((0, dist.fn)(router.useRouter).mockName("next/router::useRouter"), - (0, dist.fn)(router.withRouter).mockName("next/router::withRouter"), - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/is-next-router-error.js", - )), - config = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/config.js", - ), - head_manager = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/head-manager.js", - ), - head_manager_default = __webpack_require__.n(head_manager), - head_manager_context_shared_runtime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js", - ), - redirect_boundary = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/redirect-boundary.js", - ), - app_router_context_shared_runtime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js", - ), - hooks_client_context_shared_runtime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js", - ); - var router_context_shared_runtime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router-context.shared-runtime.js", - ), - styled_jsx = __webpack_require__( - "../node_modules/.pnpm/styled-jsx@5.1.1_@babel+core@7.26.0_react@18.2.0/node_modules/styled-jsx/index.js", - ), - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ); - ((target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: !0 }); - })( - {}, - { - decorators: () => decorators, - loaders: () => loaders, - parameters: () => parameters, - }, - ), - (0, config.setConfig)({ - serverRuntimeConfig: {}, - publicRuntimeConfig: {}, - }); - var head_manager_provider_default = ({ children }) => { - let headManager = (0, react.useMemo)(head_manager_default(), []); - return ( - (headManager.getIsSsr = () => !1), - react.createElement( - head_manager_context_shared_runtime.HeadManagerContext.Provider, - { value: headManager }, - children, - ) - ); - }; - function getSelectedParams(currentTree, params = {}) { - let parallelRoutes = currentTree[1]; - for (let parallelRoute of Object.values(parallelRoutes)) { - let segment = parallelRoute[0], - isDynamicParameter = Array.isArray(segment), - segmentValue = isDynamicParameter ? segment[1] : segment; - segmentValue && - !segmentValue.startsWith("__PAGE__") && - (!isDynamicParameter || - ("c" !== segment[2] && "oc" !== segment[2]) - ? isDynamicParameter && (params[segment[0]] = segment[1]) - : (params[segment[0]] = segment[1].split("/")), - (params = getSelectedParams(parallelRoute, params))); - } - return params; - } - var getParallelRoutes = (segmentsList) => { - let segment = segmentsList.shift(); - return segment - ? [segment, { children: getParallelRoutes(segmentsList) }] - : []; - }, - AppRouterProvider = ({ children, routeParams }) => { - let { pathname, query, segments = [] } = routeParams, - tree = [pathname, { children: getParallelRoutes([...segments]) }], - pathParams = (0, react.useMemo)( - () => getSelectedParams(tree), - [tree], - ); - return react.createElement( - hooks_client_context_shared_runtime.PathParamsContext.Provider, - { value: pathParams }, - react.createElement( - hooks_client_context_shared_runtime.PathnameContext.Provider, - { value: pathname }, - react.createElement( - hooks_client_context_shared_runtime.SearchParamsContext - .Provider, - { value: new URLSearchParams(query) }, - react.createElement( - app_router_context_shared_runtime.GlobalLayoutRouterContext - .Provider, - { - value: { - changeByServerResponse() {}, - buildId: "storybook", - tree, - focusAndScrollRef: { - apply: !1, - hashFragment: null, - segmentPaths: [tree], - onlyHashChange: !1, - }, - nextUrl: pathname, - }, - }, - react.createElement( - app_router_context_shared_runtime.AppRouterContext - .Provider, - { value: getRouter() }, - react.createElement( - app_router_context_shared_runtime.LayoutRouterContext - .Provider, - { - value: { - childNodes: new Map(), - tree, - url: pathname, - loading: null, - }, - }, - children, - ), - ), - ), - ), - ), - ); - }, - PageRouterProvider = ({ children }) => - react.createElement( - router_context_shared_runtime.RouterContext.Provider, - { value: router_getRouter() }, - children, - ), - defaultRouterParams = { pathname: "/", query: {} }; - function isAsyncClientComponentError(error) { - return ( - "string" == typeof error && - (error.includes( - "A component was suspended by an uncached promise.", - ) || - error.includes( - "async/await is not yet supported in Client Components", - )) - ); - } - !(function addNextHeadCount() { - let meta = document.createElement("meta"); - (meta.name = "next-head-count"), - (meta.content = "0"), - document.head.appendChild(meta); - })(); - var origConsoleError = globalThis.console.error; - (globalThis.console.error = (...args) => { - let error = args[0]; - (0, is_next_router_error.isNextRouterError)(error) || - isAsyncClientComponentError(error) || - origConsoleError.apply(globalThis.console, args); - }), - globalThis.addEventListener("error", (ev) => { - ((0, is_next_router_error.isNextRouterError)(ev.error) || - isAsyncClientComponentError(ev.error)) && - ev.preventDefault(); - }); - var decorators = [ - (Story) => - react.createElement( - styled_jsx.StyleRegistry, - null, - react.createElement(Story, null), - ), - (Story, { parameters }) => - parameters.nextjs?.image - ? react.createElement( - chunk_NQ32RFK2_ImageContext.Provider, - { value: parameters.nextjs.image }, - react.createElement(Story, null), - ) - : react.createElement(Story, null), - (Story, { parameters: parameters2 }) => - parameters2.nextjs?.appDirectory - ? AppRouterProvider - ? react.createElement( - AppRouterProvider, - { - routeParams: { - ...defaultRouterParams, - ...parameters2.nextjs?.navigation, - }, - }, - react.createElement( - redirect_boundary.RedirectBoundary, - null, - react.createElement(Story, null), - ), - ) - : null - : react.createElement( - PageRouterProvider, - null, - react.createElement(Story, null), - ), - (Story) => - react.createElement( - head_manager_provider_default, - null, - react.createElement(Story, null), - ), - ], - loaders = async ({ globals, parameters: parameters2 }) => { - let { router, appDirectory } = parameters2.nextjs ?? {}; - appDirectory - ? ((overrides) => { - let navigationActions = { - push: (0, dist.fn)().mockName( - "next/navigation::useRouter().push", - ), - replace: (0, dist.fn)().mockName( - "next/navigation::useRouter().replace", - ), - forward: (0, dist.fn)().mockName( - "next/navigation::useRouter().forward", - ), - back: (0, dist.fn)().mockName( - "next/navigation::useRouter().back", - ), - prefetch: (0, dist.fn)().mockName( - "next/navigation::useRouter().prefetch", - ), - refresh: (0, dist.fn)().mockName( - "next/navigation::useRouter().refresh", - ), - }; - overrides && - Object.keys(navigationActions).forEach((key) => { - key in overrides && - (navigationActions[key] = (0, dist.fn)((...args) => - overrides[key](...args), - ).mockName(`useRouter().${key}`)); - }), - (navigationAPI = navigationActions); - })(router) - : ((overrides) => { - let routerActions = { - push: (0, dist.fn)((..._args) => - Promise.resolve(!0), - ).mockName("next/router::useRouter().push"), - replace: (0, dist.fn)((..._args) => - Promise.resolve(!0), - ).mockName("next/router::useRouter().replace"), - reload: (0, dist.fn)((..._args) => {}).mockName( - "next/router::useRouter().reload", - ), - back: (0, dist.fn)((..._args) => {}).mockName( - "next/router::useRouter().back", - ), - forward: (0, dist.fn)(() => {}).mockName( - "next/router::useRouter().forward", - ), - prefetch: (0, dist.fn)((..._args) => - Promise.resolve(), - ).mockName("next/router::useRouter().prefetch"), - beforePopState: (0, dist.fn)((..._args) => {}).mockName( - "next/router::useRouter().beforePopState", - ), - }, - routerEvents = { - on: (0, dist.fn)((..._args) => {}).mockName( - "next/router::useRouter().events.on", - ), - off: (0, dist.fn)((..._args) => {}).mockName( - "next/router::useRouter().events.off", - ), - emit: (0, dist.fn)((..._args) => {}).mockName( - "next/router::useRouter().events.emit", - ), - }; - overrides && - Object.keys(routerActions).forEach((key) => { - key in overrides && - (routerActions[key] = (0, dist.fn)((...args) => - overrides[key](...args), - ).mockName(`useRouter().${key}`)); - }), - overrides?.events && - Object.keys(routerEvents).forEach((key) => { - key in routerEvents && - (routerEvents[key] = (0, dist.fn)((...args) => - overrides.events[key](...args), - ).mockName(`useRouter().events.${key}`)); - }), - (routerAPI = { - ...defaultRouterState, - ...overrides, - ...routerActions, - events: routerEvents, - }), - (router_default().router = routerAPI), - router_default().readyCallbacks.forEach((cb) => cb()), - (router_default().readyCallbacks = []); - })({ locale: globals.locale, ...router }); - }, - parameters = { - docs: { source: { excludeDecorators: !0 } }, - react: { - rootOptions: { - onCaughtError(error) { - (0, is_next_router_error.isNextRouterError)(error) || - console.error(error); - }, - }, - }, - }; - }, - "../node_modules/.pnpm/@storybook+react@8.4.7_@storybook+test@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7_typescript@5.3.2/node_modules/@storybook/react/dist/chunk-XP5HYGXS.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - E: () => __esm, - P$: () => __commonJS, - VA: () => __export, - Yp: () => __toCommonJS, - f1: () => __toESM, - }); - var __create = Object.create, - __defProp = Object.defineProperty, - __getOwnPropDesc = Object.getOwnPropertyDescriptor, - __getOwnPropNames = Object.getOwnPropertyNames, - __getProtoOf = Object.getPrototypeOf, - __hasOwnProp = Object.prototype.hasOwnProperty, - __esm = (fn, res) => - function () { - return ( - fn && (res = (0, fn[__getOwnPropNames(fn)[0]])((fn = 0))), res - ); - }, - __commonJS = (cb, mod) => - function () { - return ( - mod || - (0, cb[__getOwnPropNames(cb)[0]])( - (mod = { exports: {} }).exports, - mod, - ), - mod.exports - ); - }, - __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: !0 }); - }, - __copyProps = (to, from, except, desc) => { - if ((from && "object" == typeof from) || "function" == typeof from) - for (let key of __getOwnPropNames(from)) - !__hasOwnProp.call(to, key) && - key !== except && - __defProp(to, key, { - get: () => from[key], - enumerable: - !(desc = __getOwnPropDesc(from, key)) || desc.enumerable, - }); - return to; - }, - __toESM = (mod, isNodeMode, target) => ( - (target = null != mod ? __create(__getProtoOf(mod)) : {}), - __copyProps( - !isNodeMode && mod && mod.__esModule - ? target - : __defProp(target, "default", { value: mod, enumerable: !0 }), - mod, - ) - ), - __toCommonJS = (mod) => - __copyProps(__defProp({}, "__esModule", { value: !0 }), mod); - }, - "../node_modules/.pnpm/@storybook+react@8.4.7_@storybook+test@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7_typescript@5.3.2/node_modules/@storybook/react/dist/entry-preview-docs.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - applyDecorators: () => applyDecorators, - argTypesEnhancers: () => argTypesEnhancers, - decorators: () => decorators, - parameters: () => parameters, - }); - var _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/@storybook+react@8.4.7_@storybook+test@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7_typescript@5.3.2/node_modules/@storybook/react/dist/chunk-XP5HYGXS.mjs", - ), - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - "../node_modules/.pnpm/@storybook+core@8.4.7_prettier@3.3.3/node_modules/@storybook/core/dist/docs-tools/index.js", - ), - react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__("storybook/internal/client-logger"), - storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__("storybook/internal/preview-api"), - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - require_react_is_development = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/react-is/cjs/react-is.development.js"(exports) { - !(function () { - var hasSymbol = "function" == typeof Symbol && Symbol.for, - REACT_ELEMENT_TYPE = hasSymbol - ? Symbol.for("react.element") - : 60103, - REACT_PORTAL_TYPE = hasSymbol - ? Symbol.for("react.portal") - : 60106, - REACT_FRAGMENT_TYPE = hasSymbol - ? Symbol.for("react.fragment") - : 60107, - REACT_STRICT_MODE_TYPE = hasSymbol - ? Symbol.for("react.strict_mode") - : 60108, - REACT_PROFILER_TYPE = hasSymbol - ? Symbol.for("react.profiler") - : 60114, - REACT_PROVIDER_TYPE = hasSymbol - ? Symbol.for("react.provider") - : 60109, - REACT_CONTEXT_TYPE = hasSymbol - ? Symbol.for("react.context") - : 60110, - REACT_ASYNC_MODE_TYPE = hasSymbol - ? Symbol.for("react.async_mode") - : 60111, - REACT_CONCURRENT_MODE_TYPE = hasSymbol - ? Symbol.for("react.concurrent_mode") - : 60111, - REACT_FORWARD_REF_TYPE = hasSymbol - ? Symbol.for("react.forward_ref") - : 60112, - REACT_SUSPENSE_TYPE = hasSymbol - ? Symbol.for("react.suspense") - : 60113, - REACT_SUSPENSE_LIST_TYPE = hasSymbol - ? Symbol.for("react.suspense_list") - : 60120, - REACT_MEMO_TYPE = hasSymbol - ? Symbol.for("react.memo") - : 60115, - REACT_LAZY_TYPE = hasSymbol - ? Symbol.for("react.lazy") - : 60116, - REACT_BLOCK_TYPE = hasSymbol - ? Symbol.for("react.block") - : 60121, - REACT_FUNDAMENTAL_TYPE = hasSymbol - ? Symbol.for("react.fundamental") - : 60117, - REACT_RESPONDER_TYPE = hasSymbol - ? Symbol.for("react.responder") - : 60118, - REACT_SCOPE_TYPE = hasSymbol - ? Symbol.for("react.scope") - : 60119; - function typeOf(object) { - if ("object" == typeof object && null !== object) { - var $$typeof = object.$$typeof; - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type = object.type; - switch (type) { - case REACT_ASYNC_MODE_TYPE: - case REACT_CONCURRENT_MODE_TYPE: - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - return type; - default: - var $$typeofType = type && type.$$typeof; - switch ($$typeofType) { - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - default: - return $$typeof; - } - } - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - } - var AsyncMode = REACT_ASYNC_MODE_TYPE, - ConcurrentMode = REACT_CONCURRENT_MODE_TYPE, - ContextConsumer = REACT_CONTEXT_TYPE, - ContextProvider = REACT_PROVIDER_TYPE, - Element = REACT_ELEMENT_TYPE, - ForwardRef2 = REACT_FORWARD_REF_TYPE, - Fragment2 = REACT_FRAGMENT_TYPE, - Lazy = REACT_LAZY_TYPE, - Memo2 = REACT_MEMO_TYPE, - Portal = REACT_PORTAL_TYPE, - Profiler = REACT_PROFILER_TYPE, - StrictMode = REACT_STRICT_MODE_TYPE, - Suspense = REACT_SUSPENSE_TYPE, - hasWarnedAboutDeprecatedIsAsyncMode = !1; - function isConcurrentMode(object) { - return typeOf(object) === REACT_CONCURRENT_MODE_TYPE; - } - (exports.AsyncMode = AsyncMode), - (exports.ConcurrentMode = ConcurrentMode), - (exports.ContextConsumer = ContextConsumer), - (exports.ContextProvider = ContextProvider), - (exports.Element = Element), - (exports.ForwardRef = ForwardRef2), - (exports.Fragment = Fragment2), - (exports.Lazy = Lazy), - (exports.Memo = Memo2), - (exports.Portal = Portal), - (exports.Profiler = Profiler), - (exports.StrictMode = StrictMode), - (exports.Suspense = Suspense), - (exports.isAsyncMode = function isAsyncMode(object) { - return ( - hasWarnedAboutDeprecatedIsAsyncMode || - ((hasWarnedAboutDeprecatedIsAsyncMode = !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.", - )), - isConcurrentMode(object) || - typeOf(object) === REACT_ASYNC_MODE_TYPE - ); - }), - (exports.isConcurrentMode = isConcurrentMode), - (exports.isContextConsumer = function isContextConsumer2( - object, - ) { - return typeOf(object) === REACT_CONTEXT_TYPE; - }), - (exports.isContextProvider = function isContextProvider2( - object, - ) { - return typeOf(object) === REACT_PROVIDER_TYPE; - }), - (exports.isElement = function isElement(object) { - return ( - "object" == typeof object && - null !== object && - object.$$typeof === REACT_ELEMENT_TYPE - ); - }), - (exports.isForwardRef = function isForwardRef3(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; - }), - (exports.isFragment = function isFragment(object) { - return typeOf(object) === REACT_FRAGMENT_TYPE; - }), - (exports.isLazy = function isLazy2(object) { - return typeOf(object) === REACT_LAZY_TYPE; - }), - (exports.isMemo = function isMemo3(object) { - return typeOf(object) === REACT_MEMO_TYPE; - }), - (exports.isPortal = function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; - }), - (exports.isProfiler = function isProfiler2(object) { - return typeOf(object) === REACT_PROFILER_TYPE; - }), - (exports.isStrictMode = function isStrictMode2(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; - }), - (exports.isSuspense = function isSuspense2(object) { - return typeOf(object) === REACT_SUSPENSE_TYPE; - }), - (exports.isValidElementType = function isValidElementType( - type, - ) { - return ( - "string" == typeof type || - "function" == typeof type || - type === REACT_FRAGMENT_TYPE || - type === REACT_CONCURRENT_MODE_TYPE || - type === REACT_PROFILER_TYPE || - type === REACT_STRICT_MODE_TYPE || - type === REACT_SUSPENSE_TYPE || - type === REACT_SUSPENSE_LIST_TYPE || - ("object" == typeof type && - null !== type && - (type.$$typeof === REACT_LAZY_TYPE || - type.$$typeof === REACT_MEMO_TYPE || - type.$$typeof === REACT_PROVIDER_TYPE || - type.$$typeof === REACT_CONTEXT_TYPE || - type.$$typeof === REACT_FORWARD_REF_TYPE || - type.$$typeof === REACT_FUNDAMENTAL_TYPE || - type.$$typeof === REACT_RESPONDER_TYPE || - type.$$typeof === REACT_SCOPE_TYPE || - type.$$typeof === REACT_BLOCK_TYPE)) - ); - }), - (exports.typeOf = typeOf); - })(); - }, - }), - require_react_is = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/react-is/index.js"(exports, module) { - module.exports = require_react_is_development(); - }, - }), - require_object_assign = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/object-assign/index.js"(exports, module) { - var getOwnPropertySymbols = Object.getOwnPropertySymbols, - hasOwnProperty2 = Object.prototype.hasOwnProperty, - propIsEnumerable = Object.prototype.propertyIsEnumerable; - module.exports = (function shouldUseNative() { - try { - if (!Object.assign) return !1; - var test1 = new String("abc"); - if ( - ((test1[5] = "de"), - "5" === Object.getOwnPropertyNames(test1)[0]) - ) - return !1; - for (var test2 = {}, i = 0; i < 10; i++) - test2["_" + String.fromCharCode(i)] = i; - if ( - "0123456789" !== - Object.getOwnPropertyNames(test2) - .map(function (n) { - return test2[n]; - }) - .join("") - ) - return !1; - var test3 = {}; - return ( - "abcdefghijklmnopqrst".split("").forEach(function (letter) { - test3[letter] = letter; - }), - "abcdefghijklmnopqrst" === - Object.keys(Object.assign({}, test3)).join("") - ); - } catch { - return !1; - } - })() - ? Object.assign - : function (target, source) { - for ( - var from, - symbols, - to = (function toObject(val) { - if (null == val) - throw new TypeError( - "Object.assign cannot be called with null or undefined", - ); - return Object(val); - })(target), - s = 1; - s < arguments.length; - s++ - ) { - for (var key in (from = Object(arguments[s]))) - hasOwnProperty2.call(from, key) && - (to[key] = from[key]); - if (getOwnPropertySymbols) { - symbols = getOwnPropertySymbols(from); - for (var i = 0; i < symbols.length; i++) - propIsEnumerable.call(from, symbols[i]) && - (to[symbols[i]] = from[symbols[i]]); - } - } - return to; - }; - }, - }), - require_ReactPropTypesSecret = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/prop-types/lib/ReactPropTypesSecret.js"( - exports, - module, - ) { - module.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - }, - }), - require_has = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/prop-types/lib/has.js"(exports, module) { - module.exports = Function.call.bind( - Object.prototype.hasOwnProperty, - ); - }, - }), - require_checkPropTypes = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/prop-types/checkPropTypes.js"(exports, module) { - var printWarning, ReactPropTypesSecret, loggedTypeFailures, has2; - function checkPropTypes( - typeSpecs, - values, - location, - componentName, - getStack, - ) { - for (var typeSpecName in typeSpecs) - if (has2(typeSpecs, typeSpecName)) { - var error; - try { - if ("function" != typeof typeSpecs[typeSpecName]) { - var err = Error( - (componentName || "React class") + - ": " + - location + - " type `" + - typeSpecName + - "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + - typeof typeSpecs[typeSpecName] + - "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", - ); - throw ((err.name = "Invariant Violation"), err); - } - error = typeSpecs[typeSpecName]( - values, - typeSpecName, - componentName, - location, - null, - ReactPropTypesSecret, - ); - } catch (ex) { - error = ex; - } - if ( - (error && - !(error instanceof Error) && - printWarning( - (componentName || "React class") + - ": type specification of " + - location + - " `" + - typeSpecName + - "` is invalid; the type checker function must return `null` or an `Error` but returned a " + - typeof error + - ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", - ), - error instanceof Error && - !(error.message in loggedTypeFailures)) - ) { - loggedTypeFailures[error.message] = !0; - var stack = getStack ? getStack() : ""; - printWarning( - "Failed " + - location + - " type: " + - error.message + - (stack ?? ""), - ); - } - } - } - (ReactPropTypesSecret = require_ReactPropTypesSecret()), - (loggedTypeFailures = {}), - (has2 = require_has()), - (printWarning = function (text) { - var message = "Warning: " + text; - typeof console < "u" && console.error(message); - try { - throw new Error(message); - } catch {} - }), - (checkPropTypes.resetWarningCache = function () { - loggedTypeFailures = {}; - }), - (module.exports = checkPropTypes); - }, - }), - require_factoryWithTypeCheckers = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/prop-types/factoryWithTypeCheckers.js"( - exports, - module, - ) { - var printWarning, - ReactIs = require_react_is(), - assign = require_object_assign(), - ReactPropTypesSecret = require_ReactPropTypesSecret(), - has2 = require_has(), - checkPropTypes = require_checkPropTypes(); - function emptyFunctionThatReturnsNull() { - return null; - } - (printWarning = function (text) { - var message = "Warning: " + text; - typeof console < "u" && console.error(message); - try { - throw new Error(message); - } catch {} - }), - (module.exports = function ( - isValidElement4, - throwOnDirectAccess, - ) { - var ITERATOR_SYMBOL = - "function" == typeof Symbol && Symbol.iterator; - var ReactPropTypes = { - array: createPrimitiveTypeChecker("array"), - bigint: createPrimitiveTypeChecker("bigint"), - bool: createPrimitiveTypeChecker("boolean"), - func: createPrimitiveTypeChecker("function"), - number: createPrimitiveTypeChecker("number"), - object: createPrimitiveTypeChecker("object"), - string: createPrimitiveTypeChecker("string"), - symbol: createPrimitiveTypeChecker("symbol"), - any: (function createAnyTypeChecker() { - return createChainableTypeChecker( - emptyFunctionThatReturnsNull, - ); - })(), - arrayOf: function createArrayOfTypeChecker(typeChecker) { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - if ("function" != typeof typeChecker) - return new PropTypeError( - "Property `" + - propFullName + - "` of component `" + - componentName + - "` has invalid PropType notation inside arrayOf.", - ); - var propValue = props[propName]; - if (!Array.isArray(propValue)) - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - getPropType(propValue) + - "` supplied to `" + - componentName + - "`, expected an array.", - ); - for (var i = 0; i < propValue.length; i++) { - var error = typeChecker( - propValue, - i, - componentName, - location, - propFullName + "[" + i + "]", - ReactPropTypesSecret, - ); - if (error instanceof Error) return error; - } - return null; - }, - ); - }, - element: (function createElementTypeChecker() { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - var propValue = props[propName]; - return isValidElement4(propValue) - ? null - : new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - getPropType(propValue) + - "` supplied to `" + - componentName + - "`, expected a single ReactElement.", - ); - }, - ); - })(), - elementType: (function createElementTypeTypeChecker() { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - var propValue = props[propName]; - return ReactIs.isValidElementType(propValue) - ? null - : new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - getPropType(propValue) + - "` supplied to `" + - componentName + - "`, expected a single ReactElement type.", - ); - }, - ); - })(), - instanceOf: function createInstanceTypeChecker( - expectedClass, - ) { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - if (!(props[propName] instanceof expectedClass)) { - var expectedClassName = - expectedClass.name || "<>"; - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - (function getClassName(propValue) { - return propValue.constructor && - propValue.constructor.name - ? propValue.constructor.name - : "<>"; - })(props[propName]) + - "` supplied to `" + - componentName + - "`, expected instance of `" + - expectedClassName + - "`.", - ); - } - return null; - }, - ); - }, - node: (function createNodeChecker() { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - return isNode(props[propName]) - ? null - : new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` supplied to `" + - componentName + - "`, expected a ReactNode.", - ); - }, - ); - })(), - objectOf: function createObjectOfTypeChecker(typeChecker) { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - if ("function" != typeof typeChecker) - return new PropTypeError( - "Property `" + - propFullName + - "` of component `" + - componentName + - "` has invalid PropType notation inside objectOf.", - ); - var propValue = props[propName], - propType = getPropType(propValue); - if ("object" !== propType) - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - propType + - "` supplied to `" + - componentName + - "`, expected an object.", - ); - for (var key in propValue) - if (has2(propValue, key)) { - var error = typeChecker( - propValue, - key, - componentName, - location, - propFullName + "." + key, - ReactPropTypesSecret, - ); - if (error instanceof Error) return error; - } - return null; - }, - ); - }, - oneOf: function createEnumTypeChecker(expectedValues) { - if (!Array.isArray(expectedValues)) - return ( - printWarning( - arguments.length > 1 - ? "Invalid arguments supplied to oneOf, expected an array, got " + - arguments.length + - " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." - : "Invalid argument supplied to oneOf, expected an array.", - ), - emptyFunctionThatReturnsNull - ); - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - for ( - var propValue = props[propName], i = 0; - i < expectedValues.length; - i++ - ) - if ( - ((x = propValue), - (y = expectedValues[i]), - x === y - ? 0 !== x || 1 / x == 1 / y - : x != x && y != y) - ) - return null; - var x, - y, - valuesString = JSON.stringify( - expectedValues, - function (key, value) { - return "symbol" === getPreciseType(value) - ? String(value) - : value; - }, - ); - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of value `" + - String(propValue) + - "` supplied to `" + - componentName + - "`, expected one of " + - valuesString + - ".", - ); - }, - ); - }, - oneOfType: function createUnionTypeChecker( - arrayOfTypeCheckers, - ) { - if (!Array.isArray(arrayOfTypeCheckers)) - return ( - printWarning( - "Invalid argument supplied to oneOfType, expected an instance of array.", - ), - emptyFunctionThatReturnsNull - ); - for (var i = 0; i < arrayOfTypeCheckers.length; i++) { - var checker = arrayOfTypeCheckers[i]; - if ("function" != typeof checker) - return ( - printWarning( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + - getPostfixForTypeWarning(checker) + - " at index " + - i + - ".", - ), - emptyFunctionThatReturnsNull - ); - } - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - for ( - var expectedTypes = [], i2 = 0; - i2 < arrayOfTypeCheckers.length; - i2++ - ) { - var checkerResult = (0, arrayOfTypeCheckers[i2])( - props, - propName, - componentName, - location, - propFullName, - ReactPropTypesSecret, - ); - if (null == checkerResult) return null; - checkerResult.data && - has2(checkerResult.data, "expectedType") && - expectedTypes.push( - checkerResult.data.expectedType, - ); - } - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` supplied to `" + - componentName + - "`" + - (expectedTypes.length > 0 - ? ", expected one of type [" + - expectedTypes.join(", ") + - "]" - : "") + - ".", - ); - }, - ); - }, - shape: function createShapeTypeChecker(shapeTypes) { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - var propValue = props[propName], - propType = getPropType(propValue); - if ("object" !== propType) - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - propType + - "` supplied to `" + - componentName + - "`, expected `object`.", - ); - for (var key in shapeTypes) { - var checker = shapeTypes[key]; - if ("function" != typeof checker) - return invalidValidatorError( - componentName, - location, - propFullName, - key, - getPreciseType(checker), - ); - var error = checker( - propValue, - key, - componentName, - location, - propFullName + "." + key, - ReactPropTypesSecret, - ); - if (error) return error; - } - return null; - }, - ); - }, - exact: function createStrictShapeTypeChecker(shapeTypes) { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - ) { - var propValue = props[propName], - propType = getPropType(propValue); - if ("object" !== propType) - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - propType + - "` supplied to `" + - componentName + - "`, expected `object`.", - ); - var allKeys = assign({}, props[propName], shapeTypes); - for (var key in allKeys) { - var checker = shapeTypes[key]; - if ( - has2(shapeTypes, key) && - "function" != typeof checker - ) - return invalidValidatorError( - componentName, - location, - propFullName, - key, - getPreciseType(checker), - ); - if (!checker) - return new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` key `" + - key + - "` supplied to `" + - componentName + - "`.\nBad object: " + - JSON.stringify(props[propName], null, " ") + - "\nValid keys: " + - JSON.stringify( - Object.keys(shapeTypes), - null, - " ", - ), - ); - var error = checker( - propValue, - key, - componentName, - location, - propFullName + "." + key, - ReactPropTypesSecret, - ); - if (error) return error; - } - return null; - }, - ); - }, - }; - function PropTypeError(message, data2) { - (this.message = message), - (this.data = - data2 && "object" == typeof data2 ? data2 : {}), - (this.stack = ""); - } - function createChainableTypeChecker(validate) { - var manualPropTypeCallCache = {}, - manualPropTypeWarningCount = 0; - function checkType( - isRequired, - props, - propName, - componentName, - location, - propFullName, - secret, - ) { - if ( - ((componentName = componentName || "<>"), - (propFullName = propFullName || propName), - secret !== ReactPropTypesSecret) - ) { - if (throwOnDirectAccess) { - var err = new Error( - "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types", - ); - throw ((err.name = "Invariant Violation"), err); - } - if (typeof console < "u") { - var cacheKey = componentName + ":" + propName; - !manualPropTypeCallCache[cacheKey] && - manualPropTypeWarningCount < 3 && - (printWarning( - "You are manually calling a React.PropTypes validation function for the `" + - propFullName + - "` prop on `" + - componentName + - "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.", - ), - (manualPropTypeCallCache[cacheKey] = !0), - manualPropTypeWarningCount++); - } - } - return null == props[propName] - ? isRequired - ? null === props[propName] - ? new PropTypeError( - "The " + - location + - " `" + - propFullName + - "` is marked as required in `" + - componentName + - "`, but its value is `null`.", - ) - : new PropTypeError( - "The " + - location + - " `" + - propFullName + - "` is marked as required in `" + - componentName + - "`, but its value is `undefined`.", - ) - : null - : validate( - props, - propName, - componentName, - location, - propFullName, - ); - } - var chainedCheckType = checkType.bind(null, !1); - return ( - (chainedCheckType.isRequired = checkType.bind(null, !0)), - chainedCheckType - ); - } - function createPrimitiveTypeChecker(expectedType) { - return createChainableTypeChecker( - function validate( - props, - propName, - componentName, - location, - propFullName, - secret, - ) { - var propValue = props[propName]; - return getPropType(propValue) !== expectedType - ? new PropTypeError( - "Invalid " + - location + - " `" + - propFullName + - "` of type `" + - getPreciseType(propValue) + - "` supplied to `" + - componentName + - "`, expected `" + - expectedType + - "`.", - { expectedType }, - ) - : null; - }, - ); - } - function invalidValidatorError( - componentName, - location, - propFullName, - key, - type, - ) { - return new PropTypeError( - (componentName || "React class") + - ": " + - location + - " type `" + - propFullName + - "." + - key + - "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + - type + - "`.", - ); - } - function isNode(propValue) { - switch (typeof propValue) { - case "number": - case "string": - case "undefined": - return !0; - case "boolean": - return !propValue; - case "object": - if (Array.isArray(propValue)) - return propValue.every(isNode); - if (null === propValue || isValidElement4(propValue)) - return !0; - var iteratorFn = (function getIteratorFn( - maybeIterable, - ) { - var iteratorFn = - maybeIterable && - ((ITERATOR_SYMBOL && - maybeIterable[ITERATOR_SYMBOL]) || - maybeIterable["@@iterator"]); - if ("function" == typeof iteratorFn) - return iteratorFn; - })(propValue); - if (!iteratorFn) return !1; - var step, - iterator = iteratorFn.call(propValue); - if (iteratorFn !== propValue.entries) { - for (; !(step = iterator.next()).done; ) - if (!isNode(step.value)) return !1; - } else - for (; !(step = iterator.next()).done; ) { - var entry = step.value; - if (entry && !isNode(entry[1])) return !1; - } - return !0; - default: - return !1; - } - } - function getPropType(propValue) { - var propType = typeof propValue; - return Array.isArray(propValue) - ? "array" - : propValue instanceof RegExp - ? "object" - : (function isSymbol(propType, propValue) { - return ( - "symbol" === propType || - (!!propValue && - ("Symbol" === propValue["@@toStringTag"] || - ("function" == typeof Symbol && - propValue instanceof Symbol))) - ); - })(propType, propValue) - ? "symbol" - : propType; - } - function getPreciseType(propValue) { - if (typeof propValue > "u" || null === propValue) - return "" + propValue; - var propType = getPropType(propValue); - if ("object" === propType) { - if (propValue instanceof Date) return "date"; - if (propValue instanceof RegExp) return "regexp"; - } - return propType; - } - function getPostfixForTypeWarning(value) { - var type = getPreciseType(value); - switch (type) { - case "array": - case "object": - return "an " + type; - case "boolean": - case "date": - case "regexp": - return "a " + type; - default: - return type; - } - } - return ( - (PropTypeError.prototype = Error.prototype), - (ReactPropTypes.checkPropTypes = checkPropTypes), - (ReactPropTypes.resetWarningCache = - checkPropTypes.resetWarningCache), - (ReactPropTypes.PropTypes = ReactPropTypes), - ReactPropTypes - ); - }); - }, - }), - require_prop_types = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/prop-types/index.js"(exports, module) { - var ReactIs; - (ReactIs = require_react_is()), - (module.exports = require_factoryWithTypeCheckers()( - ReactIs.isElement, - true, - )); - }, - }), - require_html_tags = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/html-tags/html-tags.json"(exports, module) { - module.exports = [ - "a", - "abbr", - "address", - "area", - "article", - "aside", - "audio", - "b", - "base", - "bdi", - "bdo", - "blockquote", - "body", - "br", - "button", - "canvas", - "caption", - "cite", - "code", - "col", - "colgroup", - "data", - "datalist", - "dd", - "del", - "details", - "dfn", - "dialog", - "div", - "dl", - "dt", - "em", - "embed", - "fieldset", - "figcaption", - "figure", - "footer", - "form", - "h1", - "h2", - "h3", - "h4", - "h5", - "h6", - "head", - "header", - "hgroup", - "hr", - "html", - "i", - "iframe", - "img", - "input", - "ins", - "kbd", - "label", - "legend", - "li", - "link", - "main", - "map", - "mark", - "math", - "menu", - "menuitem", - "meta", - "meter", - "nav", - "noscript", - "object", - "ol", - "optgroup", - "option", - "output", - "p", - "param", - "picture", - "pre", - "progress", - "q", - "rb", - "rp", - "rt", - "rtc", - "ruby", - "s", - "samp", - "script", - "search", - "section", - "select", - "slot", - "small", - "source", - "span", - "strong", - "style", - "sub", - "summary", - "sup", - "svg", - "table", - "tbody", - "td", - "template", - "textarea", - "tfoot", - "th", - "thead", - "time", - "title", - "tr", - "track", - "u", - "ul", - "var", - "video", - "wbr", - ]; - }, - }), - require_html_tags2 = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/html-tags/index.js"(exports, module) { - module.exports = require_html_tags(); - }, - }), - require_estraverse = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/estraverse/estraverse.js"(exports) { - !(function clone(exports2) { - var Syntax, VisitorOption, VisitorKeys, BREAK, SKIP, REMOVE; - function deepCopy(obj) { - var key, - val, - ret = {}; - for (key in obj) - obj.hasOwnProperty(key) && - ((val = obj[key]), - (ret[key] = - "object" == typeof val && null !== val - ? deepCopy(val) - : val)); - return ret; - } - function Reference(parent, key) { - (this.parent = parent), (this.key = key); - } - function Element(node, path, wrap, ref2) { - (this.node = node), - (this.path = path), - (this.wrap = wrap), - (this.ref = ref2); - } - function Controller() {} - function isNode(node) { - return ( - null != node && - "object" == typeof node && - "string" == typeof node.type - ); - } - function isProperty(nodeType, key) { - return ( - (nodeType === Syntax.ObjectExpression || - nodeType === Syntax.ObjectPattern) && - "properties" === key - ); - } - function candidateExistsInLeaveList(leavelist, candidate) { - for (var i = leavelist.length - 1; i >= 0; --i) - if (leavelist[i].node === candidate) return !0; - return !1; - } - function traverse(root, visitor) { - return new Controller().traverse(root, visitor); - } - function extendCommentRange(comment, tokens) { - var target; - return ( - (target = (function upperBound(array, func) { - var diff, len, i, current2; - for (len = array.length, i = 0; len; ) - func(array[(current2 = i + (diff = len >>> 1))]) - ? (len = diff) - : ((i = current2 + 1), (len -= diff + 1)); - return i; - })(tokens, function (token) { - return token.range[0] > comment.range[0]; - })), - (comment.extendedRange = [ - comment.range[0], - comment.range[1], - ]), - target !== tokens.length && - (comment.extendedRange[1] = tokens[target].range[0]), - (target -= 1) >= 0 && - (comment.extendedRange[0] = tokens[target].range[1]), - comment - ); - } - return ( - (Syntax = { - AssignmentExpression: "AssignmentExpression", - AssignmentPattern: "AssignmentPattern", - ArrayExpression: "ArrayExpression", - ArrayPattern: "ArrayPattern", - ArrowFunctionExpression: "ArrowFunctionExpression", - AwaitExpression: "AwaitExpression", - BlockStatement: "BlockStatement", - BinaryExpression: "BinaryExpression", - BreakStatement: "BreakStatement", - CallExpression: "CallExpression", - CatchClause: "CatchClause", - ChainExpression: "ChainExpression", - ClassBody: "ClassBody", - ClassDeclaration: "ClassDeclaration", - ClassExpression: "ClassExpression", - ComprehensionBlock: "ComprehensionBlock", - ComprehensionExpression: "ComprehensionExpression", - ConditionalExpression: "ConditionalExpression", - ContinueStatement: "ContinueStatement", - DebuggerStatement: "DebuggerStatement", - DirectiveStatement: "DirectiveStatement", - DoWhileStatement: "DoWhileStatement", - EmptyStatement: "EmptyStatement", - ExportAllDeclaration: "ExportAllDeclaration", - ExportDefaultDeclaration: "ExportDefaultDeclaration", - ExportNamedDeclaration: "ExportNamedDeclaration", - ExportSpecifier: "ExportSpecifier", - ExpressionStatement: "ExpressionStatement", - ForStatement: "ForStatement", - ForInStatement: "ForInStatement", - ForOfStatement: "ForOfStatement", - FunctionDeclaration: "FunctionDeclaration", - FunctionExpression: "FunctionExpression", - GeneratorExpression: "GeneratorExpression", - Identifier: "Identifier", - IfStatement: "IfStatement", - ImportExpression: "ImportExpression", - ImportDeclaration: "ImportDeclaration", - ImportDefaultSpecifier: "ImportDefaultSpecifier", - ImportNamespaceSpecifier: "ImportNamespaceSpecifier", - ImportSpecifier: "ImportSpecifier", - Literal: "Literal", - LabeledStatement: "LabeledStatement", - LogicalExpression: "LogicalExpression", - MemberExpression: "MemberExpression", - MetaProperty: "MetaProperty", - MethodDefinition: "MethodDefinition", - ModuleSpecifier: "ModuleSpecifier", - NewExpression: "NewExpression", - ObjectExpression: "ObjectExpression", - ObjectPattern: "ObjectPattern", - PrivateIdentifier: "PrivateIdentifier", - Program: "Program", - Property: "Property", - PropertyDefinition: "PropertyDefinition", - RestElement: "RestElement", - ReturnStatement: "ReturnStatement", - SequenceExpression: "SequenceExpression", - SpreadElement: "SpreadElement", - Super: "Super", - SwitchStatement: "SwitchStatement", - SwitchCase: "SwitchCase", - TaggedTemplateExpression: "TaggedTemplateExpression", - TemplateElement: "TemplateElement", - TemplateLiteral: "TemplateLiteral", - ThisExpression: "ThisExpression", - ThrowStatement: "ThrowStatement", - TryStatement: "TryStatement", - UnaryExpression: "UnaryExpression", - UpdateExpression: "UpdateExpression", - VariableDeclaration: "VariableDeclaration", - VariableDeclarator: "VariableDeclarator", - WhileStatement: "WhileStatement", - WithStatement: "WithStatement", - YieldExpression: "YieldExpression", - }), - (VisitorKeys = { - AssignmentExpression: ["left", "right"], - AssignmentPattern: ["left", "right"], - ArrayExpression: ["elements"], - ArrayPattern: ["elements"], - ArrowFunctionExpression: ["params", "body"], - AwaitExpression: ["argument"], - BlockStatement: ["body"], - BinaryExpression: ["left", "right"], - BreakStatement: ["label"], - CallExpression: ["callee", "arguments"], - CatchClause: ["param", "body"], - ChainExpression: ["expression"], - ClassBody: ["body"], - ClassDeclaration: ["id", "superClass", "body"], - ClassExpression: ["id", "superClass", "body"], - ComprehensionBlock: ["left", "right"], - ComprehensionExpression: ["blocks", "filter", "body"], - ConditionalExpression: ["test", "consequent", "alternate"], - ContinueStatement: ["label"], - DebuggerStatement: [], - DirectiveStatement: [], - DoWhileStatement: ["body", "test"], - EmptyStatement: [], - ExportAllDeclaration: ["source"], - ExportDefaultDeclaration: ["declaration"], - ExportNamedDeclaration: [ - "declaration", - "specifiers", - "source", - ], - ExportSpecifier: ["exported", "local"], - ExpressionStatement: ["expression"], - ForStatement: ["init", "test", "update", "body"], - ForInStatement: ["left", "right", "body"], - ForOfStatement: ["left", "right", "body"], - FunctionDeclaration: ["id", "params", "body"], - FunctionExpression: ["id", "params", "body"], - GeneratorExpression: ["blocks", "filter", "body"], - Identifier: [], - IfStatement: ["test", "consequent", "alternate"], - ImportExpression: ["source"], - ImportDeclaration: ["specifiers", "source"], - ImportDefaultSpecifier: ["local"], - ImportNamespaceSpecifier: ["local"], - ImportSpecifier: ["imported", "local"], - Literal: [], - LabeledStatement: ["label", "body"], - LogicalExpression: ["left", "right"], - MemberExpression: ["object", "property"], - MetaProperty: ["meta", "property"], - MethodDefinition: ["key", "value"], - ModuleSpecifier: [], - NewExpression: ["callee", "arguments"], - ObjectExpression: ["properties"], - ObjectPattern: ["properties"], - PrivateIdentifier: [], - Program: ["body"], - Property: ["key", "value"], - PropertyDefinition: ["key", "value"], - RestElement: ["argument"], - ReturnStatement: ["argument"], - SequenceExpression: ["expressions"], - SpreadElement: ["argument"], - Super: [], - SwitchStatement: ["discriminant", "cases"], - SwitchCase: ["test", "consequent"], - TaggedTemplateExpression: ["tag", "quasi"], - TemplateElement: [], - TemplateLiteral: ["quasis", "expressions"], - ThisExpression: [], - ThrowStatement: ["argument"], - TryStatement: ["block", "handler", "finalizer"], - UnaryExpression: ["argument"], - UpdateExpression: ["argument"], - VariableDeclaration: ["declarations"], - VariableDeclarator: ["id", "init"], - WhileStatement: ["test", "body"], - WithStatement: ["object", "body"], - YieldExpression: ["argument"], - }), - (VisitorOption = { - Break: (BREAK = {}), - Skip: (SKIP = {}), - Remove: (REMOVE = {}), - }), - (Reference.prototype.replace = function (node) { - this.parent[this.key] = node; - }), - (Reference.prototype.remove = function () { - return Array.isArray(this.parent) - ? (this.parent.splice(this.key, 1), !0) - : (this.replace(null), !1); - }), - (Controller.prototype.path = function () { - var i, iz, j, jz, result; - function addToPath(result2, path2) { - if (Array.isArray(path2)) - for (j = 0, jz = path2.length; j < jz; ++j) - result2.push(path2[j]); - else result2.push(path2); - } - if (!this.__current.path) return null; - for ( - result = [], i = 2, iz = this.__leavelist.length; - i < iz; - ++i - ) - addToPath(result, this.__leavelist[i].path); - return addToPath(result, this.__current.path), result; - }), - (Controller.prototype.type = function () { - return this.current().type || this.__current.wrap; - }), - (Controller.prototype.parents = function () { - var i, iz, result; - for ( - result = [], i = 1, iz = this.__leavelist.length; - i < iz; - ++i - ) - result.push(this.__leavelist[i].node); - return result; - }), - (Controller.prototype.current = function () { - return this.__current.node; - }), - (Controller.prototype.__execute = function ( - callback, - element, - ) { - var previous, result; - return ( - (result = void 0), - (previous = this.__current), - (this.__current = element), - (this.__state = null), - callback && - (result = callback.call( - this, - element.node, - this.__leavelist[this.__leavelist.length - 1].node, - )), - (this.__current = previous), - result - ); - }), - (Controller.prototype.notify = function (flag) { - this.__state = flag; - }), - (Controller.prototype.skip = function () { - this.notify(SKIP); - }), - (Controller.prototype.break = function () { - this.notify(BREAK); - }), - (Controller.prototype.remove = function () { - this.notify(REMOVE); - }), - (Controller.prototype.__initialize = function ( - root, - visitor, - ) { - (this.visitor = visitor), - (this.root = root), - (this.__worklist = []), - (this.__leavelist = []), - (this.__current = null), - (this.__state = null), - (this.__fallback = null), - "iteration" === visitor.fallback - ? (this.__fallback = Object.keys) - : "function" == typeof visitor.fallback && - (this.__fallback = visitor.fallback), - (this.__keys = VisitorKeys), - visitor.keys && - (this.__keys = Object.assign( - Object.create(this.__keys), - visitor.keys, - )); - }), - (Controller.prototype.traverse = function (root, visitor) { - var worklist, - leavelist, - element, - node, - nodeType, - ret, - key, - current2, - current22, - candidates, - candidate, - sentinel; - for ( - this.__initialize(root, visitor), - sentinel = {}, - worklist = this.__worklist, - leavelist = this.__leavelist, - worklist.push(new Element(root, null, null, null)), - leavelist.push(new Element(null, null, null, null)); - worklist.length; - - ) - if ((element = worklist.pop()) !== sentinel) { - if (element.node) { - if ( - ((ret = this.__execute(visitor.enter, element)), - this.__state === BREAK || ret === BREAK) - ) - return; - if ( - (worklist.push(sentinel), - leavelist.push(element), - this.__state === SKIP || ret === SKIP) - ) - continue; - if ( - ((nodeType = - (node = element.node).type || element.wrap), - !(candidates = this.__keys[nodeType])) - ) { - if (!this.__fallback) - throw new Error( - "Unknown node type " + nodeType + ".", - ); - candidates = this.__fallback(node); - } - for ( - current2 = candidates.length; - (current2 -= 1) >= 0; - - ) - if ( - (candidate = node[(key = candidates[current2])]) - ) - if (Array.isArray(candidate)) { - for ( - current22 = candidate.length; - (current22 -= 1) >= 0; - - ) - if ( - candidate[current22] && - !candidateExistsInLeaveList( - leavelist, - candidate[current22], - ) - ) { - if ( - isProperty(nodeType, candidates[current2]) - ) - element = new Element( - candidate[current22], - [key, current22], - "Property", - null, - ); - else { - if (!isNode(candidate[current22])) - continue; - element = new Element( - candidate[current22], - [key, current22], - null, - null, - ); - } - worklist.push(element); - } - } else if (isNode(candidate)) { - if ( - candidateExistsInLeaveList( - leavelist, - candidate, - ) - ) - continue; - worklist.push( - new Element(candidate, key, null, null), - ); - } - } - } else if ( - ((element = leavelist.pop()), - (ret = this.__execute(visitor.leave, element)), - this.__state === BREAK || ret === BREAK) - ) - return; - }), - (Controller.prototype.replace = function (root, visitor) { - var worklist, - leavelist, - node, - nodeType, - target, - element, - current2, - current22, - candidates, - candidate, - sentinel, - outer, - key; - function removeElem(element2) { - var i, key2, nextElem, parent; - if (element2.ref.remove()) - for ( - key2 = element2.ref.key, - parent = element2.ref.parent, - i = worklist.length; - i--; - - ) - if ( - (nextElem = worklist[i]).ref && - nextElem.ref.parent === parent - ) { - if (nextElem.ref.key < key2) break; - --nextElem.ref.key; - } - } - for ( - this.__initialize(root, visitor), - sentinel = {}, - worklist = this.__worklist, - leavelist = this.__leavelist, - element = new Element( - root, - null, - null, - new Reference((outer = { root }), "root"), - ), - worklist.push(element), - leavelist.push(element); - worklist.length; - - ) - if ((element = worklist.pop()) !== sentinel) { - if ( - (void 0 !== - (target = this.__execute(visitor.enter, element)) && - target !== BREAK && - target !== SKIP && - target !== REMOVE && - (element.ref.replace(target), - (element.node = target)), - (this.__state === REMOVE || target === REMOVE) && - (removeElem(element), (element.node = null)), - this.__state === BREAK || target === BREAK) - ) - return outer.root; - if ( - (node = element.node) && - (worklist.push(sentinel), - leavelist.push(element), - this.__state !== SKIP && target !== SKIP) - ) { - if ( - ((nodeType = node.type || element.wrap), - !(candidates = this.__keys[nodeType])) - ) { - if (!this.__fallback) - throw new Error( - "Unknown node type " + nodeType + ".", - ); - candidates = this.__fallback(node); - } - for ( - current2 = candidates.length; - (current2 -= 1) >= 0; - - ) - if ( - (candidate = node[(key = candidates[current2])]) - ) - if (Array.isArray(candidate)) { - for ( - current22 = candidate.length; - (current22 -= 1) >= 0; - - ) - if (candidate[current22]) { - if ( - isProperty(nodeType, candidates[current2]) - ) - element = new Element( - candidate[current22], - [key, current22], - "Property", - new Reference(candidate, current22), - ); - else { - if (!isNode(candidate[current22])) - continue; - element = new Element( - candidate[current22], - [key, current22], - null, - new Reference(candidate, current22), - ); - } - worklist.push(element); - } - } else - isNode(candidate) && - worklist.push( - new Element( - candidate, - key, - null, - new Reference(node, key), - ), - ); - } - } else if ( - ((element = leavelist.pop()), - void 0 !== - (target = this.__execute(visitor.leave, element)) && - target !== BREAK && - target !== SKIP && - target !== REMOVE && - element.ref.replace(target), - (this.__state === REMOVE || target === REMOVE) && - removeElem(element), - this.__state === BREAK || target === BREAK) - ) - return outer.root; - return outer.root; - }), - (exports2.Syntax = Syntax), - (exports2.traverse = traverse), - (exports2.replace = function replace(root, visitor) { - return new Controller().replace(root, visitor); - }), - (exports2.attachComments = function attachComments( - tree, - providedComments, - tokens, - ) { - var comment, - len, - i, - cursor, - comments = []; - if (!tree.range) - throw new Error("attachComments needs range information"); - if (!tokens.length) { - if (providedComments.length) { - for ( - i = 0, len = providedComments.length; - i < len; - i += 1 - ) - ((comment = deepCopy( - providedComments[i], - )).extendedRange = [0, tree.range[0]]), - comments.push(comment); - tree.leadingComments = comments; - } - return tree; - } - for (i = 0, len = providedComments.length; i < len; i += 1) - comments.push( - extendCommentRange( - deepCopy(providedComments[i]), - tokens, - ), - ); - return ( - (cursor = 0), - traverse(tree, { - enter: function (node) { - for ( - var comment2; - cursor < comments.length && - !( - (comment2 = comments[cursor]).extendedRange[1] > - node.range[0] - ); - - ) - comment2.extendedRange[1] === node.range[0] - ? (node.leadingComments || - (node.leadingComments = []), - node.leadingComments.push(comment2), - comments.splice(cursor, 1)) - : (cursor += 1); - return cursor === comments.length - ? VisitorOption.Break - : comments[cursor].extendedRange[0] > node.range[1] - ? VisitorOption.Skip - : void 0; - }, - }), - (cursor = 0), - traverse(tree, { - leave: function (node) { - for ( - var comment2; - cursor < comments.length && - ((comment2 = comments[cursor]), - !(node.range[1] < comment2.extendedRange[0])); - - ) - node.range[1] === comment2.extendedRange[0] - ? (node.trailingComments || - (node.trailingComments = []), - node.trailingComments.push(comment2), - comments.splice(cursor, 1)) - : (cursor += 1); - return cursor === comments.length - ? VisitorOption.Break - : comments[cursor].extendedRange[0] > node.range[1] - ? VisitorOption.Skip - : void 0; - }, - }), - tree - ); - }), - (exports2.VisitorKeys = VisitorKeys), - (exports2.VisitorOption = VisitorOption), - (exports2.Controller = Controller), - (exports2.cloneEnvironment = function () { - return clone({}); - }), - exports2 - ); - })(exports); - }, - }), - require_ast = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/esutils/lib/ast.js"(exports, module) { - !(function () { - function isStatement(node) { - if (null == node) return !1; - switch (node.type) { - case "BlockStatement": - case "BreakStatement": - case "ContinueStatement": - case "DebuggerStatement": - case "DoWhileStatement": - case "EmptyStatement": - case "ExpressionStatement": - case "ForInStatement": - case "ForStatement": - case "IfStatement": - case "LabeledStatement": - case "ReturnStatement": - case "SwitchStatement": - case "ThrowStatement": - case "TryStatement": - case "VariableDeclaration": - case "WhileStatement": - case "WithStatement": - return !0; - } - return !1; - } - function trailingStatement(node) { - switch (node.type) { - case "IfStatement": - return null != node.alternate - ? node.alternate - : node.consequent; - case "LabeledStatement": - case "ForStatement": - case "ForInStatement": - case "WhileStatement": - case "WithStatement": - return node.body; - } - return null; - } - module.exports = { - isExpression: function isExpression(node) { - if (null == node) return !1; - switch (node.type) { - case "ArrayExpression": - case "AssignmentExpression": - case "BinaryExpression": - case "CallExpression": - case "ConditionalExpression": - case "FunctionExpression": - case "Identifier": - case "Literal": - case "LogicalExpression": - case "MemberExpression": - case "NewExpression": - case "ObjectExpression": - case "SequenceExpression": - case "ThisExpression": - case "UnaryExpression": - case "UpdateExpression": - return !0; - } - return !1; - }, - isStatement, - isIterationStatement: function isIterationStatement(node) { - if (null == node) return !1; - switch (node.type) { - case "DoWhileStatement": - case "ForInStatement": - case "ForStatement": - case "WhileStatement": - return !0; - } - return !1; - }, - isSourceElement: function isSourceElement(node) { - return ( - isStatement(node) || - (null != node && "FunctionDeclaration" === node.type) - ); - }, - isProblematicIfStatement: function isProblematicIfStatement( - node, - ) { - var current2; - if ("IfStatement" !== node.type || null == node.alternate) - return !1; - current2 = node.consequent; - do { - if ( - "IfStatement" === current2.type && - null == current2.alternate - ) - return !0; - current2 = trailingStatement(current2); - } while (current2); - return !1; - }, - trailingStatement, - }; - })(); - }, - }), - require_code = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/esutils/lib/code.js"(exports, module) { - !(function () { - var ES6Regex, - ES5Regex, - NON_ASCII_WHITESPACES, - IDENTIFIER_START, - IDENTIFIER_PART, - ch; - function fromCodePoint(cp) { - return cp <= 65535 - ? String.fromCharCode(cp) - : String.fromCharCode( - Math.floor((cp - 65536) / 1024) + 55296, - ) + String.fromCharCode(((cp - 65536) % 1024) + 56320); - } - for ( - ES5Regex = { - NonAsciiIdentifierStart: - /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/, - NonAsciiIdentifierPart: - /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/, - }, - ES6Regex = { - NonAsciiIdentifierStart: - /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8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DC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/, - NonAsciiIdentifierPart: - /[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0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BC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB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DCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDE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DED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/, - }, - NON_ASCII_WHITESPACES = [ - 5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, - 8200, 8201, 8202, 8239, 8287, 12288, 65279, - ], - IDENTIFIER_START = new Array(128), - ch = 0; - ch < 128; - ++ch - ) - IDENTIFIER_START[ch] = - (ch >= 97 && ch <= 122) || - (ch >= 65 && ch <= 90) || - 36 === ch || - 95 === ch; - for (IDENTIFIER_PART = new Array(128), ch = 0; ch < 128; ++ch) - IDENTIFIER_PART[ch] = - (ch >= 97 && ch <= 122) || - (ch >= 65 && ch <= 90) || - (ch >= 48 && ch <= 57) || - 36 === ch || - 95 === ch; - module.exports = { - isDecimalDigit: function isDecimalDigit2(ch2) { - return 48 <= ch2 && ch2 <= 57; - }, - isHexDigit: function isHexDigit2(ch2) { - return ( - (48 <= ch2 && ch2 <= 57) || - (97 <= ch2 && ch2 <= 102) || - (65 <= ch2 && ch2 <= 70) - ); - }, - isOctalDigit: function isOctalDigit2(ch2) { - return ch2 >= 48 && ch2 <= 55; - }, - isWhiteSpace: function isWhiteSpace(ch2) { - return ( - 32 === ch2 || - 9 === ch2 || - 11 === ch2 || - 12 === ch2 || - 160 === ch2 || - (ch2 >= 5760 && NON_ASCII_WHITESPACES.indexOf(ch2) >= 0) - ); - }, - isLineTerminator: function isLineTerminator(ch2) { - return ( - 10 === ch2 || 13 === ch2 || 8232 === ch2 || 8233 === ch2 - ); - }, - isIdentifierStartES5: function isIdentifierStartES5(ch2) { - return ch2 < 128 - ? IDENTIFIER_START[ch2] - : ES5Regex.NonAsciiIdentifierStart.test( - fromCodePoint(ch2), - ); - }, - isIdentifierPartES5: function isIdentifierPartES5(ch2) { - return ch2 < 128 - ? IDENTIFIER_PART[ch2] - : ES5Regex.NonAsciiIdentifierPart.test( - fromCodePoint(ch2), - ); - }, - isIdentifierStartES6: function isIdentifierStartES6(ch2) { - return ch2 < 128 - ? IDENTIFIER_START[ch2] - : ES6Regex.NonAsciiIdentifierStart.test( - fromCodePoint(ch2), - ); - }, - isIdentifierPartES6: function isIdentifierPartES6(ch2) { - return ch2 < 128 - ? IDENTIFIER_PART[ch2] - : ES6Regex.NonAsciiIdentifierPart.test( - fromCodePoint(ch2), - ); - }, - }; - })(); - }, - }), - require_keyword = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/esutils/lib/keyword.js"(exports, module) { - !(function () { - var code = require_code(); - function isKeywordES5(id, strict) { - return ( - !(!strict && "yield" === id) && isKeywordES6(id, strict) - ); - } - function isKeywordES6(id, strict) { - if ( - strict && - (function isStrictModeReservedWordES6(id) { - switch (id) { - case "implements": - case "interface": - case "package": - case "private": - case "protected": - case "public": - case "static": - case "let": - return !0; - default: - return !1; - } - })(id) - ) - return !0; - switch (id.length) { - case 2: - return "if" === id || "in" === id || "do" === id; - case 3: - return ( - "var" === id || - "for" === id || - "new" === id || - "try" === id - ); - case 4: - return ( - "this" === id || - "else" === id || - "case" === id || - "void" === id || - "with" === id || - "enum" === id - ); - case 5: - return ( - "while" === id || - "break" === id || - "catch" === id || - "throw" === id || - "const" === id || - "yield" === id || - "class" === id || - "super" === id - ); - case 6: - return ( - "return" === id || - "typeof" === id || - "delete" === id || - "switch" === id || - "export" === id || - "import" === id - ); - case 7: - return ( - "default" === id || "finally" === id || "extends" === id - ); - case 8: - return ( - "function" === id || - "continue" === id || - "debugger" === id - ); - case 10: - return "instanceof" === id; - default: - return !1; - } - } - function isReservedWordES5(id, strict) { - return ( - "null" === id || - "true" === id || - "false" === id || - isKeywordES5(id, strict) - ); - } - function isReservedWordES6(id, strict) { - return ( - "null" === id || - "true" === id || - "false" === id || - isKeywordES6(id, strict) - ); - } - function isIdentifierNameES5(id) { - var i, iz, ch; - if ( - 0 === id.length || - ((ch = id.charCodeAt(0)), !code.isIdentifierStartES5(ch)) - ) - return !1; - for (i = 1, iz = id.length; i < iz; ++i) - if ( - ((ch = id.charCodeAt(i)), !code.isIdentifierPartES5(ch)) - ) - return !1; - return !0; - } - function isIdentifierNameES6(id) { - var i, iz, ch, lowCh, check; - if (0 === id.length) return !1; - for ( - check = code.isIdentifierStartES6, i = 0, iz = id.length; - i < iz; - ++i - ) { - if (55296 <= (ch = id.charCodeAt(i)) && ch <= 56319) { - if ( - ++i >= iz || - !(56320 <= (lowCh = id.charCodeAt(i)) && lowCh <= 57343) - ) - return !1; - ch = 1024 * (ch - 55296) + (lowCh - 56320) + 65536; - } - if (!check(ch)) return !1; - check = code.isIdentifierPartES6; - } - return !0; - } - module.exports = { - isKeywordES5, - isKeywordES6, - isReservedWordES5, - isReservedWordES6, - isRestrictedWord: function isRestrictedWord(id) { - return "eval" === id || "arguments" === id; - }, - isIdentifierNameES5, - isIdentifierNameES6, - isIdentifierES5: function isIdentifierES5(id, strict) { - return ( - isIdentifierNameES5(id) && !isReservedWordES5(id, strict) - ); - }, - isIdentifierES6: function isIdentifierES6(id, strict) { - return ( - isIdentifierNameES6(id) && !isReservedWordES6(id, strict) - ); - }, - }; - })(); - }, - }), - require_utils = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/esutils/lib/utils.js"(exports) { - (exports.ast = require_ast()), - (exports.code = require_code()), - (exports.keyword = require_keyword()); - }, - }), - require_base64 = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/base64.js"( - exports, - ) { - var intToCharMap = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split( - "", - ); - (exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) - return intToCharMap[number]; - throw new TypeError("Must be between 0 and 63: " + number); - }), - (exports.decode = function (charCode) { - return 65 <= charCode && charCode <= 90 - ? charCode - 65 - : 97 <= charCode && charCode <= 122 - ? charCode - 97 + 26 - : 48 <= charCode && charCode <= 57 - ? charCode - 48 + 52 - : 43 == charCode - ? 62 - : 47 == charCode - ? 63 - : -1; - }); - }, - }), - require_base64_vlq = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"( - exports, - ) { - var base64 = require_base64(); - (exports.encode = function (aValue) { - var digit, - encoded = "", - vlq = (function toVLQSigned(aValue) { - return aValue < 0 ? 1 + (-aValue << 1) : 0 + (aValue << 1); - })(aValue); - do { - (digit = 31 & vlq), - (vlq >>>= 5) > 0 && (digit |= 32), - (encoded += base64.encode(digit)); - } while (vlq > 0); - return encoded; - }), - (exports.decode = function (aStr, aIndex, aOutParam) { - var continuation, - digit, - strLen = aStr.length, - result = 0, - shift = 0; - do { - if (aIndex >= strLen) - throw new Error( - "Expected more digits in base 64 VLQ value.", - ); - if ( - -1 === (digit = base64.decode(aStr.charCodeAt(aIndex++))) - ) - throw new Error( - "Invalid base64 digit: " + aStr.charAt(aIndex - 1), - ); - (continuation = !!(32 & digit)), - (result += (digit &= 31) << shift), - (shift += 5); - } while (continuation); - (aOutParam.value = (function fromVLQSigned(aValue) { - var shifted = aValue >> 1; - return 1 & ~aValue ? shifted : -shifted; - })(result)), - (aOutParam.rest = aIndex); - }); - }, - }), - require_util = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/util.js"( - exports, - ) { - exports.getArg = function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) return aArgs[aName]; - if (3 === arguments.length) return aDefaultValue; - throw new Error('"' + aName + '" is a required argument.'); - }; - var urlRegexp = - /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/, - dataUrlRegexp = /^data:.+\,.+$/; - function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - return match - ? { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5], - } - : null; - } - function urlGenerate(aParsedUrl) { - var url = ""; - return ( - aParsedUrl.scheme && (url += aParsedUrl.scheme + ":"), - (url += "//"), - aParsedUrl.auth && (url += aParsedUrl.auth + "@"), - aParsedUrl.host && (url += aParsedUrl.host), - aParsedUrl.port && (url += ":" + aParsedUrl.port), - aParsedUrl.path && (url += aParsedUrl.path), - url - ); - } - function normalize(aPath) { - var path = aPath, - url = urlParse(aPath); - if (url) { - if (!url.path) return aPath; - path = url.path; - } - for ( - var part, - isAbsolute = exports.isAbsolute(path), - parts = path.split(/\/+/), - up = 0, - i = parts.length - 1; - i >= 0; - i-- - ) - "." === (part = parts[i]) - ? parts.splice(i, 1) - : ".." === part - ? up++ - : up > 0 && - ("" === part - ? (parts.splice(i + 1, up), (up = 0)) - : (parts.splice(i, 2), up--)); - return ( - "" === (path = parts.join("/")) && - (path = isAbsolute ? "/" : "."), - url ? ((url.path = path), urlGenerate(url)) : path - ); - } - function join(aRoot, aPath) { - "" === aRoot && (aRoot = "."), "" === aPath && (aPath = "."); - var aPathUrl = urlParse(aPath), - aRootUrl = urlParse(aRoot); - if ( - (aRootUrl && (aRoot = aRootUrl.path || "/"), - aPathUrl && !aPathUrl.scheme) - ) - return ( - aRootUrl && (aPathUrl.scheme = aRootUrl.scheme), - urlGenerate(aPathUrl) - ); - if (aPathUrl || aPath.match(dataUrlRegexp)) return aPath; - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) - return (aRootUrl.host = aPath), urlGenerate(aRootUrl); - var joined = - "/" === aPath.charAt(0) - ? aPath - : normalize(aRoot.replace(/\/+$/, "") + "/" + aPath); - return aRootUrl - ? ((aRootUrl.path = joined), urlGenerate(aRootUrl)) - : joined; - } - (exports.urlParse = urlParse), - (exports.urlGenerate = urlGenerate), - (exports.normalize = normalize), - (exports.join = join), - (exports.isAbsolute = function (aPath) { - return "/" === aPath.charAt(0) || urlRegexp.test(aPath); - }), - (exports.relative = function relative(aRoot, aPath) { - "" === aRoot && (aRoot = "."), - (aRoot = aRoot.replace(/\/$/, "")); - for (var level = 0; 0 !== aPath.indexOf(aRoot + "/"); ) { - var index = aRoot.lastIndexOf("/"); - if ( - index < 0 || - (aRoot = aRoot.slice(0, index)).match(/^([^\/]+:\/)?\/*$/) - ) - return aPath; - ++level; - } - return ( - Array(level + 1).join("../") + - aPath.substr(aRoot.length + 1) - ); - }); - var supportsNullProto = !("__proto__" in Object.create(null)); - function identity(s) { - return s; - } - function isProtoString(s) { - if (!s) return !1; - var length = s.length; - if ( - length < 9 || - 95 !== s.charCodeAt(length - 1) || - 95 !== s.charCodeAt(length - 2) || - 111 !== s.charCodeAt(length - 3) || - 116 !== s.charCodeAt(length - 4) || - 111 !== s.charCodeAt(length - 5) || - 114 !== s.charCodeAt(length - 6) || - 112 !== s.charCodeAt(length - 7) || - 95 !== s.charCodeAt(length - 8) || - 95 !== s.charCodeAt(length - 9) - ) - return !1; - for (var i = length - 10; i >= 0; i--) - if (36 !== s.charCodeAt(i)) return !1; - return !0; - } - function strcmp(aStr1, aStr2) { - return aStr1 === aStr2 - ? 0 - : null === aStr1 - ? 1 - : null === aStr2 - ? -1 - : aStr1 > aStr2 - ? 1 - : -1; - } - (exports.toSetString = supportsNullProto - ? identity - : function toSetString(aStr) { - return isProtoString(aStr) ? "$" + aStr : aStr; - }), - (exports.fromSetString = supportsNullProto - ? identity - : function fromSetString(aStr) { - return isProtoString(aStr) ? aStr.slice(1) : aStr; - }), - (exports.compareByOriginalPositions = - function compareByOriginalPositions( - mappingA, - mappingB, - onlyCompareOriginal, - ) { - var cmp = strcmp(mappingA.source, mappingB.source); - return 0 !== cmp || - 0 !== - (cmp = mappingA.originalLine - mappingB.originalLine) || - 0 !== - (cmp = - mappingA.originalColumn - mappingB.originalColumn) || - onlyCompareOriginal || - 0 !== - (cmp = - mappingA.generatedColumn - - mappingB.generatedColumn) || - 0 !== - (cmp = mappingA.generatedLine - mappingB.generatedLine) - ? cmp - : strcmp(mappingA.name, mappingB.name); - }), - (exports.compareByGeneratedPositionsDeflated = - function compareByGeneratedPositionsDeflated( - mappingA, - mappingB, - onlyCompareGenerated, - ) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - return 0 !== cmp || - 0 !== - (cmp = - mappingA.generatedColumn - - mappingB.generatedColumn) || - onlyCompareGenerated || - 0 !== (cmp = strcmp(mappingA.source, mappingB.source)) || - 0 !== - (cmp = mappingA.originalLine - mappingB.originalLine) || - 0 !== - (cmp = - mappingA.originalColumn - mappingB.originalColumn) - ? cmp - : strcmp(mappingA.name, mappingB.name); - }), - (exports.compareByGeneratedPositionsInflated = - function compareByGeneratedPositionsInflated( - mappingA, - mappingB, - ) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - return 0 !== cmp || - 0 !== - (cmp = - mappingA.generatedColumn - - mappingB.generatedColumn) || - 0 !== (cmp = strcmp(mappingA.source, mappingB.source)) || - 0 !== - (cmp = mappingA.originalLine - mappingB.originalLine) || - 0 !== - (cmp = - mappingA.originalColumn - mappingB.originalColumn) - ? cmp - : strcmp(mappingA.name, mappingB.name); - }), - (exports.parseSourceMapInput = function parseSourceMapInput( - str, - ) { - return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, "")); - }), - (exports.computeSourceURL = function computeSourceURL( - sourceRoot, - sourceURL, - sourceMapURL, - ) { - if ( - ((sourceURL = sourceURL || ""), - sourceRoot && - ("/" !== sourceRoot[sourceRoot.length - 1] && - "/" !== sourceURL[0] && - (sourceRoot += "/"), - (sourceURL = sourceRoot + sourceURL)), - sourceMapURL) - ) { - var parsed = urlParse(sourceMapURL); - if (!parsed) - throw new Error("sourceMapURL could not be parsed"); - if (parsed.path) { - var index = parsed.path.lastIndexOf("/"); - index >= 0 && - (parsed.path = parsed.path.substring(0, index + 1)); - } - sourceURL = join(urlGenerate(parsed), sourceURL); - } - return normalize(sourceURL); - }); - }, - }), - require_array_set = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"( - exports, - ) { - var util = require_util(), - has2 = Object.prototype.hasOwnProperty, - hasNativeMap = typeof Map < "u"; - function ArraySet() { - (this._array = []), - (this._set = hasNativeMap ? new Map() : Object.create(null)); - } - (ArraySet.fromArray = function (aArray, aAllowDuplicates) { - for ( - var set = new ArraySet(), i = 0, len = aArray.length; - i < len; - i++ - ) - set.add(aArray[i], aAllowDuplicates); - return set; - }), - (ArraySet.prototype.size = function () { - return hasNativeMap - ? this._set.size - : Object.getOwnPropertyNames(this._set).length; - }), - (ArraySet.prototype.add = function (aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr), - isDuplicate = hasNativeMap - ? this.has(aStr) - : has2.call(this._set, sStr), - idx = this._array.length; - (!isDuplicate || aAllowDuplicates) && this._array.push(aStr), - isDuplicate || - (hasNativeMap - ? this._set.set(aStr, idx) - : (this._set[sStr] = idx)); - }), - (ArraySet.prototype.has = function (aStr) { - if (hasNativeMap) return this._set.has(aStr); - var sStr = util.toSetString(aStr); - return has2.call(this._set, sStr); - }), - (ArraySet.prototype.indexOf = function (aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) return idx; - } else { - var sStr = util.toSetString(aStr); - if (has2.call(this._set, sStr)) return this._set[sStr]; - } - throw new Error('"' + aStr + '" is not in the set.'); - }), - (ArraySet.prototype.at = function (aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) - return this._array[aIdx]; - throw new Error("No element indexed by " + aIdx); - }), - (ArraySet.prototype.toArray = function () { - return this._array.slice(); - }), - (exports.ArraySet = ArraySet); - }, - }), - require_mapping_list = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"( - exports, - ) { - var util = require_util(); - function MappingList() { - (this._array = []), - (this._sorted = !0), - (this._last = { generatedLine: -1, generatedColumn: 0 }); - } - (MappingList.prototype.unsortedForEach = function ( - aCallback, - aThisArg, - ) { - this._array.forEach(aCallback, aThisArg); - }), - (MappingList.prototype.add = function (aMapping) { - !(function generatedPositionAfter(mappingA, mappingB) { - var lineA = mappingA.generatedLine, - lineB = mappingB.generatedLine, - columnA = mappingA.generatedColumn, - columnB = mappingB.generatedColumn; - return ( - lineB > lineA || - (lineB == lineA && columnB >= columnA) || - util.compareByGeneratedPositionsInflated( - mappingA, - mappingB, - ) <= 0 - ); - })(this._last, aMapping) - ? ((this._sorted = !1), this._array.push(aMapping)) - : ((this._last = aMapping), this._array.push(aMapping)); - }), - (MappingList.prototype.toArray = function () { - return ( - this._sorted || - (this._array.sort( - util.compareByGeneratedPositionsInflated, - ), - (this._sorted = !0)), - this._array - ); - }), - (exports.MappingList = MappingList); - }, - }), - require_source_map_generator = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"( - exports, - ) { - var base64VLQ = require_base64_vlq(), - util = require_util(), - ArraySet = require_array_set().ArraySet, - MappingList = require_mapping_list().MappingList; - function SourceMapGenerator(aArgs) { - aArgs || (aArgs = {}), - (this._file = util.getArg(aArgs, "file", null)), - (this._sourceRoot = util.getArg(aArgs, "sourceRoot", null)), - (this._skipValidation = util.getArg( - aArgs, - "skipValidation", - !1, - )), - (this._sources = new ArraySet()), - (this._names = new ArraySet()), - (this._mappings = new MappingList()), - (this._sourcesContents = null); - } - (SourceMapGenerator.prototype._version = 3), - (SourceMapGenerator.fromSourceMap = function ( - aSourceMapConsumer, - ) { - var sourceRoot = aSourceMapConsumer.sourceRoot, - generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot, - }); - return ( - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn, - }, - }; - null != mapping.source && - ((newMapping.source = mapping.source), - null != sourceRoot && - (newMapping.source = util.relative( - sourceRoot, - newMapping.source, - )), - (newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn, - }), - null != mapping.name && - (newMapping.name = mapping.name)), - generator.addMapping(newMapping); - }), - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var sourceRelative = sourceFile; - null !== sourceRoot && - (sourceRelative = util.relative( - sourceRoot, - sourceFile, - )), - generator._sources.has(sourceRelative) || - generator._sources.add(sourceRelative); - var content = - aSourceMapConsumer.sourceContentFor(sourceFile); - null != content && - generator.setSourceContent(sourceFile, content); - }), - generator - ); - }), - (SourceMapGenerator.prototype.addMapping = function (aArgs) { - var generated = util.getArg(aArgs, "generated"), - original = util.getArg(aArgs, "original", null), - source = util.getArg(aArgs, "source", null), - name = util.getArg(aArgs, "name", null); - this._skipValidation || - this._validateMapping(generated, original, source, name), - null != source && - ((source = String(source)), - this._sources.has(source) || this._sources.add(source)), - null != name && - ((name = String(name)), - this._names.has(name) || this._names.add(name)), - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: null != original && original.line, - originalColumn: null != original && original.column, - source, - name, - }); - }), - (SourceMapGenerator.prototype.setSourceContent = function ( - aSourceFile, - aSourceContent, - ) { - var source = aSourceFile; - null != this._sourceRoot && - (source = util.relative(this._sourceRoot, source)), - null != aSourceContent - ? (this._sourcesContents || - (this._sourcesContents = Object.create(null)), - (this._sourcesContents[util.toSetString(source)] = - aSourceContent)) - : this._sourcesContents && - (delete this._sourcesContents[util.toSetString(source)], - 0 === Object.keys(this._sourcesContents).length && - (this._sourcesContents = null)); - }), - (SourceMapGenerator.prototype.applySourceMap = function ( - aSourceMapConsumer, - aSourceFile, - aSourceMapPath, - ) { - var sourceFile = aSourceFile; - if (null == aSourceFile) { - if (null == aSourceMapConsumer.file) - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.', - ); - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - null != sourceRoot && - (sourceFile = util.relative(sourceRoot, sourceFile)); - var newSources = new ArraySet(), - newNames = new ArraySet(); - this._mappings.unsortedForEach(function (mapping) { - if ( - mapping.source === sourceFile && - null != mapping.originalLine - ) { - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn, - }); - null != original.source && - ((mapping.source = original.source), - null != aSourceMapPath && - (mapping.source = util.join( - aSourceMapPath, - mapping.source, - )), - null != sourceRoot && - (mapping.source = util.relative( - sourceRoot, - mapping.source, - )), - (mapping.originalLine = original.line), - (mapping.originalColumn = original.column), - null != original.name && - (mapping.name = original.name)); - } - var source = mapping.source; - null != source && - !newSources.has(source) && - newSources.add(source); - var name = mapping.name; - null != name && !newNames.has(name) && newNames.add(name); - }, this), - (this._sources = newSources), - (this._names = newNames), - aSourceMapConsumer.sources.forEach(function (sourceFile2) { - var content = - aSourceMapConsumer.sourceContentFor(sourceFile2); - null != content && - (null != aSourceMapPath && - (sourceFile2 = util.join( - aSourceMapPath, - sourceFile2, - )), - null != sourceRoot && - (sourceFile2 = util.relative( - sourceRoot, - sourceFile2, - )), - this.setSourceContent(sourceFile2, content)); - }, this); - }), - (SourceMapGenerator.prototype._validateMapping = function ( - aGenerated, - aOriginal, - aSource, - aName, - ) { - if ( - aOriginal && - "number" != typeof aOriginal.line && - "number" != typeof aOriginal.column - ) - throw new Error( - "original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.", - ); - if ( - !( - aGenerated && - "line" in aGenerated && - "column" in aGenerated && - aGenerated.line > 0 && - aGenerated.column >= 0 - ) || - aOriginal || - aSource || - aName - ) { - if ( - aGenerated && - "line" in aGenerated && - "column" in aGenerated && - aOriginal && - "line" in aOriginal && - "column" in aOriginal && - aGenerated.line > 0 && - aGenerated.column >= 0 && - aOriginal.line > 0 && - aOriginal.column >= 0 && - aSource - ) - return; - throw new Error( - "Invalid mapping: " + - JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName, - }), - ); - } - }), - (SourceMapGenerator.prototype._serializeMappings = function () { - for ( - var next, - mapping, - nameIdx, - sourceIdx, - previousGeneratedColumn = 0, - previousGeneratedLine = 1, - previousOriginalColumn = 0, - previousOriginalLine = 0, - previousName = 0, - previousSource = 0, - result = "", - mappings = this._mappings.toArray(), - i = 0, - len = mappings.length; - i < len; - i++ - ) { - if ( - ((next = ""), - (mapping = mappings[i]).generatedLine !== - previousGeneratedLine) - ) - for ( - previousGeneratedColumn = 0; - mapping.generatedLine !== previousGeneratedLine; - - ) - (next += ";"), previousGeneratedLine++; - else if (i > 0) { - if ( - !util.compareByGeneratedPositionsInflated( - mapping, - mappings[i - 1], - ) - ) - continue; - next += ","; - } - (next += base64VLQ.encode( - mapping.generatedColumn - previousGeneratedColumn, - )), - (previousGeneratedColumn = mapping.generatedColumn), - null != mapping.source && - ((sourceIdx = this._sources.indexOf(mapping.source)), - (next += base64VLQ.encode(sourceIdx - previousSource)), - (previousSource = sourceIdx), - (next += base64VLQ.encode( - mapping.originalLine - 1 - previousOriginalLine, - )), - (previousOriginalLine = mapping.originalLine - 1), - (next += base64VLQ.encode( - mapping.originalColumn - previousOriginalColumn, - )), - (previousOriginalColumn = mapping.originalColumn), - null != mapping.name && - ((nameIdx = this._names.indexOf(mapping.name)), - (next += base64VLQ.encode(nameIdx - previousName)), - (previousName = nameIdx))), - (result += next); - } - return result; - }), - (SourceMapGenerator.prototype._generateSourcesContent = - function (aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) return null; - null != aSourceRoot && - (source = util.relative(aSourceRoot, source)); - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call( - this._sourcesContents, - key, - ) - ? this._sourcesContents[key] - : null; - }, this); - }), - (SourceMapGenerator.prototype.toJSON = function () { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings(), - }; - return ( - null != this._file && (map.file = this._file), - null != this._sourceRoot && - (map.sourceRoot = this._sourceRoot), - this._sourcesContents && - (map.sourcesContent = this._generateSourcesContent( - map.sources, - map.sourceRoot, - )), - map - ); - }), - (SourceMapGenerator.prototype.toString = function () { - return JSON.stringify(this.toJSON()); - }), - (exports.SourceMapGenerator = SourceMapGenerator); - }, - }), - require_binary_search = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"( - exports, - ) { - function recursiveSearch( - aLow, - aHigh, - aNeedle, - aHaystack, - aCompare, - aBias, - ) { - var mid = Math.floor((aHigh - aLow) / 2) + aLow, - cmp = aCompare(aNeedle, aHaystack[mid], !0); - return 0 === cmp - ? mid - : cmp > 0 - ? aHigh - mid > 1 - ? recursiveSearch( - mid, - aHigh, - aNeedle, - aHaystack, - aCompare, - aBias, - ) - : aBias == exports.LEAST_UPPER_BOUND - ? aHigh < aHaystack.length - ? aHigh - : -1 - : mid - : mid - aLow > 1 - ? recursiveSearch( - aLow, - mid, - aNeedle, - aHaystack, - aCompare, - aBias, - ) - : aBias == exports.LEAST_UPPER_BOUND - ? mid - : aLow < 0 - ? -1 - : aLow; - } - (exports.GREATEST_LOWER_BOUND = 1), - (exports.LEAST_UPPER_BOUND = 2), - (exports.search = function ( - aNeedle, - aHaystack, - aCompare, - aBias, - ) { - if (0 === aHaystack.length) return -1; - var index = recursiveSearch( - -1, - aHaystack.length, - aNeedle, - aHaystack, - aCompare, - aBias || exports.GREATEST_LOWER_BOUND, - ); - if (index < 0) return -1; - for ( - ; - index - 1 >= 0 && - 0 === aCompare(aHaystack[index], aHaystack[index - 1], !0); - - ) - --index; - return index; - }); - }, - }), - require_quick_sort = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"( - exports, - ) { - function swap(ary, x, y) { - var temp = ary[x]; - (ary[x] = ary[y]), (ary[y] = temp); - } - function doQuickSort(ary, comparator, p, r) { - if (p < r) { - var i = p - 1; - swap( - ary, - (function randomIntInRange(low, high) { - return Math.round(low + Math.random() * (high - low)); - })(p, r), - r, - ); - for (var pivot = ary[r], j = p; j < r; j++) - comparator(ary[j], pivot) <= 0 && swap(ary, (i += 1), j); - swap(ary, i + 1, j); - var q = i + 1; - doQuickSort(ary, comparator, p, q - 1), - doQuickSort(ary, comparator, q + 1, r); - } - } - exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); - }; - }, - }), - require_source_map_consumer = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"( - exports, - ) { - var util = require_util(), - binarySearch = require_binary_search(), - ArraySet = require_array_set().ArraySet, - base64VLQ = require_base64_vlq(), - quickSort = require_quick_sort().quickSort; - function SourceMapConsumer(aSourceMap, aSourceMapURL) { - var sourceMap = aSourceMap; - return ( - "string" == typeof aSourceMap && - (sourceMap = util.parseSourceMapInput(aSourceMap)), - null != sourceMap.sections - ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL) - : new BasicSourceMapConsumer(sourceMap, aSourceMapURL) - ); - } - function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) { - var sourceMap = aSourceMap; - "string" == typeof aSourceMap && - (sourceMap = util.parseSourceMapInput(aSourceMap)); - var version2 = util.getArg(sourceMap, "version"), - sources = util.getArg(sourceMap, "sources"), - names = util.getArg(sourceMap, "names", []), - sourceRoot = util.getArg(sourceMap, "sourceRoot", null), - sourcesContent = util.getArg( - sourceMap, - "sourcesContent", - null, - ), - mappings = util.getArg(sourceMap, "mappings"), - file = util.getArg(sourceMap, "file", null); - if (version2 != this._version) - throw new Error("Unsupported version: " + version2); - sourceRoot && (sourceRoot = util.normalize(sourceRoot)), - (sources = sources - .map(String) - .map(util.normalize) - .map(function (source) { - return sourceRoot && - util.isAbsolute(sourceRoot) && - util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - })), - (this._names = ArraySet.fromArray(names.map(String), !0)), - (this._sources = ArraySet.fromArray(sources, !0)), - (this._absoluteSources = this._sources - .toArray() - .map(function (s) { - return util.computeSourceURL( - sourceRoot, - s, - aSourceMapURL, - ); - })), - (this.sourceRoot = sourceRoot), - (this.sourcesContent = sourcesContent), - (this._mappings = mappings), - (this._sourceMapURL = aSourceMapURL), - (this.file = file); - } - function Mapping() { - (this.generatedLine = 0), - (this.generatedColumn = 0), - (this.source = null), - (this.originalLine = null), - (this.originalColumn = null), - (this.name = null); - } - function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) { - var sourceMap = aSourceMap; - "string" == typeof aSourceMap && - (sourceMap = util.parseSourceMapInput(aSourceMap)); - var version2 = util.getArg(sourceMap, "version"), - sections = util.getArg(sourceMap, "sections"); - if (version2 != this._version) - throw new Error("Unsupported version: " + version2); - (this._sources = new ArraySet()), - (this._names = new ArraySet()); - var lastOffset = { line: -1, column: 0 }; - this._sections = sections.map(function (s) { - if (s.url) - throw new Error( - "Support for url field in sections not implemented.", - ); - var offset2 = util.getArg(s, "offset"), - offsetLine = util.getArg(offset2, "line"), - offsetColumn = util.getArg(offset2, "column"); - if ( - offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && - offsetColumn < lastOffset.column) - ) - throw new Error( - "Section offsets must be ordered and non-overlapping.", - ); - return ( - (lastOffset = offset2), - { - generatedOffset: { - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1, - }, - consumer: new SourceMapConsumer( - util.getArg(s, "map"), - aSourceMapURL, - ), - } - ); - }); - } - (SourceMapConsumer.fromSourceMap = function ( - aSourceMap, - aSourceMapURL, - ) { - return BasicSourceMapConsumer.fromSourceMap( - aSourceMap, - aSourceMapURL, - ); - }), - (SourceMapConsumer.prototype._version = 3), - (SourceMapConsumer.prototype.__generatedMappings = null), - Object.defineProperty( - SourceMapConsumer.prototype, - "_generatedMappings", - { - configurable: !0, - enumerable: !0, - get: function () { - return ( - this.__generatedMappings || - this._parseMappings(this._mappings, this.sourceRoot), - this.__generatedMappings - ); - }, - }, - ), - (SourceMapConsumer.prototype.__originalMappings = null), - Object.defineProperty( - SourceMapConsumer.prototype, - "_originalMappings", - { - configurable: !0, - enumerable: !0, - get: function () { - return ( - this.__originalMappings || - this._parseMappings(this._mappings, this.sourceRoot), - this.__originalMappings - ); - }, - }, - ), - (SourceMapConsumer.prototype._charIsMappingSeparator = - function (aStr, index) { - var c = aStr.charAt(index); - return ";" === c || "," === c; - }), - (SourceMapConsumer.prototype._parseMappings = function ( - aStr, - aSourceRoot, - ) { - throw new Error("Subclasses must implement _parseMappings"); - }), - (SourceMapConsumer.GENERATED_ORDER = 1), - (SourceMapConsumer.ORIGINAL_ORDER = 2), - (SourceMapConsumer.GREATEST_LOWER_BOUND = 1), - (SourceMapConsumer.LEAST_UPPER_BOUND = 2), - (SourceMapConsumer.prototype.eachMapping = function ( - aCallback, - aContext, - aOrder, - ) { - var mappings, - context = aContext || null; - switch (aOrder || SourceMapConsumer.GENERATED_ORDER) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - var sourceRoot = this.sourceRoot; - mappings - .map(function (mapping) { - var source = - null === mapping.source - ? null - : this._sources.at(mapping.source); - return { - source: (source = util.computeSourceURL( - sourceRoot, - source, - this._sourceMapURL, - )), - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: - null === mapping.name - ? null - : this._names.at(mapping.name), - }; - }, this) - .forEach(aCallback, context); - }), - (SourceMapConsumer.prototype.allGeneratedPositionsFor = - function (aArgs) { - var line = util.getArg(aArgs, "line"), - needle = { - source: util.getArg(aArgs, "source"), - originalLine: line, - originalColumn: util.getArg(aArgs, "column", 0), - }; - if ( - ((needle.source = this._findSourceIndex(needle.source)), - needle.source < 0) - ) - return []; - var mappings = [], - index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND, - ); - if (index >= 0) { - var mapping = this._originalMappings[index]; - if (void 0 === aArgs.column) - for ( - var originalLine = mapping.originalLine; - mapping && mapping.originalLine === originalLine; - - ) - mappings.push({ - line: util.getArg(mapping, "generatedLine", null), - column: util.getArg( - mapping, - "generatedColumn", - null, - ), - lastColumn: util.getArg( - mapping, - "lastGeneratedColumn", - null, - ), - }), - (mapping = this._originalMappings[++index]); - else - for ( - var originalColumn = mapping.originalColumn; - mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn; - - ) - mappings.push({ - line: util.getArg(mapping, "generatedLine", null), - column: util.getArg( - mapping, - "generatedColumn", - null, - ), - lastColumn: util.getArg( - mapping, - "lastGeneratedColumn", - null, - ), - }), - (mapping = this._originalMappings[++index]); - } - return mappings; - }), - (exports.SourceMapConsumer = SourceMapConsumer), - (BasicSourceMapConsumer.prototype = Object.create( - SourceMapConsumer.prototype, - )), - (BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer), - (BasicSourceMapConsumer.prototype._findSourceIndex = function ( - aSource, - ) { - var i, - relativeSource = aSource; - if ( - (null != this.sourceRoot && - (relativeSource = util.relative( - this.sourceRoot, - relativeSource, - )), - this._sources.has(relativeSource)) - ) - return this._sources.indexOf(relativeSource); - for (i = 0; i < this._absoluteSources.length; ++i) - if (this._absoluteSources[i] == aSource) return i; - return -1; - }), - (BasicSourceMapConsumer.fromSourceMap = function ( - aSourceMap, - aSourceMapURL, - ) { - var smc = Object.create(BasicSourceMapConsumer.prototype), - names = (smc._names = ArraySet.fromArray( - aSourceMap._names.toArray(), - !0, - )), - sources = (smc._sources = ArraySet.fromArray( - aSourceMap._sources.toArray(), - !0, - )); - (smc.sourceRoot = aSourceMap._sourceRoot), - (smc.sourcesContent = aSourceMap._generateSourcesContent( - smc._sources.toArray(), - smc.sourceRoot, - )), - (smc.file = aSourceMap._file), - (smc._sourceMapURL = aSourceMapURL), - (smc._absoluteSources = smc._sources - .toArray() - .map(function (s) { - return util.computeSourceURL( - smc.sourceRoot, - s, - aSourceMapURL, - ); - })); - for ( - var generatedMappings = aSourceMap._mappings - .toArray() - .slice(), - destGeneratedMappings = (smc.__generatedMappings = []), - destOriginalMappings = (smc.__originalMappings = []), - i = 0, - length = generatedMappings.length; - i < length; - i++ - ) { - var srcMapping = generatedMappings[i], - destMapping = new Mapping(); - (destMapping.generatedLine = srcMapping.generatedLine), - (destMapping.generatedColumn = - srcMapping.generatedColumn), - srcMapping.source && - ((destMapping.source = sources.indexOf( - srcMapping.source, - )), - (destMapping.originalLine = srcMapping.originalLine), - (destMapping.originalColumn = - srcMapping.originalColumn), - srcMapping.name && - (destMapping.name = names.indexOf(srcMapping.name)), - destOriginalMappings.push(destMapping)), - destGeneratedMappings.push(destMapping); - } - return ( - quickSort( - smc.__originalMappings, - util.compareByOriginalPositions, - ), - smc - ); - }), - (BasicSourceMapConsumer.prototype._version = 3), - Object.defineProperty( - BasicSourceMapConsumer.prototype, - "sources", - { - get: function () { - return this._absoluteSources.slice(); - }, - }, - ), - (BasicSourceMapConsumer.prototype._parseMappings = function ( - aStr, - aSourceRoot, - ) { - for ( - var mapping, - str, - segment, - end, - value, - generatedLine = 1, - previousGeneratedColumn = 0, - previousOriginalLine = 0, - previousOriginalColumn = 0, - previousSource = 0, - previousName = 0, - length = aStr.length, - index = 0, - cachedSegments = {}, - temp = {}, - originalMappings = [], - generatedMappings = []; - index < length; - - ) - if (";" === aStr.charAt(index)) - generatedLine++, index++, (previousGeneratedColumn = 0); - else if ("," === aStr.charAt(index)) index++; - else { - for ( - (mapping = new Mapping()).generatedLine = generatedLine, - end = index; - end < length && - !this._charIsMappingSeparator(aStr, end); - end++ - ); - if ( - (segment = - cachedSegments[(str = aStr.slice(index, end))]) - ) - index += str.length; - else { - for (segment = []; index < end; ) - base64VLQ.decode(aStr, index, temp), - (value = temp.value), - (index = temp.rest), - segment.push(value); - if (2 === segment.length) - throw new Error( - "Found a source, but no line and column", - ); - if (3 === segment.length) - throw new Error( - "Found a source and line, but no column", - ); - cachedSegments[str] = segment; - } - (mapping.generatedColumn = - previousGeneratedColumn + segment[0]), - (previousGeneratedColumn = mapping.generatedColumn), - segment.length > 1 && - ((mapping.source = previousSource + segment[1]), - (previousSource += segment[1]), - (mapping.originalLine = - previousOriginalLine + segment[2]), - (previousOriginalLine = mapping.originalLine), - (mapping.originalLine += 1), - (mapping.originalColumn = - previousOriginalColumn + segment[3]), - (previousOriginalColumn = mapping.originalColumn), - segment.length > 4 && - ((mapping.name = previousName + segment[4]), - (previousName += segment[4]))), - generatedMappings.push(mapping), - "number" == typeof mapping.originalLine && - originalMappings.push(mapping); - } - quickSort( - generatedMappings, - util.compareByGeneratedPositionsDeflated, - ), - (this.__generatedMappings = generatedMappings), - quickSort( - originalMappings, - util.compareByOriginalPositions, - ), - (this.__originalMappings = originalMappings); - }), - (BasicSourceMapConsumer.prototype._findMapping = function ( - aNeedle, - aMappings, - aLineName, - aColumnName, - aComparator, - aBias, - ) { - if (aNeedle[aLineName] <= 0) - throw new TypeError( - "Line must be greater than or equal to 1, got " + - aNeedle[aLineName], - ); - if (aNeedle[aColumnName] < 0) - throw new TypeError( - "Column must be greater than or equal to 0, got " + - aNeedle[aColumnName], - ); - return binarySearch.search( - aNeedle, - aMappings, - aComparator, - aBias, - ); - }), - (BasicSourceMapConsumer.prototype.computeColumnSpans = - function () { - for ( - var index = 0; - index < this._generatedMappings.length; - ++index - ) { - var mapping = this._generatedMappings[index]; - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - if ( - mapping.generatedLine === nextMapping.generatedLine - ) { - mapping.lastGeneratedColumn = - nextMapping.generatedColumn - 1; - continue; - } - } - mapping.lastGeneratedColumn = 1 / 0; - } - }), - (BasicSourceMapConsumer.prototype.originalPositionFor = - function (aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, "line"), - generatedColumn: util.getArg(aArgs, "column"), - }, - index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg( - aArgs, - "bias", - SourceMapConsumer.GREATEST_LOWER_BOUND, - ), - ); - if (index >= 0) { - var mapping = this._generatedMappings[index]; - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, "source", null); - null !== source && - ((source = this._sources.at(source)), - (source = util.computeSourceURL( - this.sourceRoot, - source, - this._sourceMapURL, - ))); - var name = util.getArg(mapping, "name", null); - return ( - null !== name && (name = this._names.at(name)), - { - source, - line: util.getArg(mapping, "originalLine", null), - column: util.getArg( - mapping, - "originalColumn", - null, - ), - name, - } - ); - } - } - return { - source: null, - line: null, - column: null, - name: null, - }; - }), - (BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function () { - return ( - !!this.sourcesContent && - this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { - return null == sc; - }) - ); - }), - (BasicSourceMapConsumer.prototype.sourceContentFor = function ( - aSource, - nullOnMissing, - ) { - if (!this.sourcesContent) return null; - var index = this._findSourceIndex(aSource); - if (index >= 0) return this.sourcesContent[index]; - var url, - relativeSource = aSource; - if ( - (null != this.sourceRoot && - (relativeSource = util.relative( - this.sourceRoot, - relativeSource, - )), - null != this.sourceRoot && - (url = util.urlParse(this.sourceRoot))) - ) { - var fileUriAbsPath = relativeSource.replace( - /^file:\/\//, - "", - ); - if ( - "file" == url.scheme && - this._sources.has(fileUriAbsPath) - ) - return this.sourcesContent[ - this._sources.indexOf(fileUriAbsPath) - ]; - if ( - (!url.path || "/" == url.path) && - this._sources.has("/" + relativeSource) - ) - return this.sourcesContent[ - this._sources.indexOf("/" + relativeSource) - ]; - } - if (nullOnMissing) return null; - throw new Error( - '"' + relativeSource + '" is not in the SourceMap.', - ); - }), - (BasicSourceMapConsumer.prototype.generatedPositionFor = - function (aArgs) { - var source = util.getArg(aArgs, "source"); - if ((source = this._findSourceIndex(source)) < 0) - return { line: null, column: null, lastColumn: null }; - var needle = { - source, - originalLine: util.getArg(aArgs, "line"), - originalColumn: util.getArg(aArgs, "column"), - }, - index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg( - aArgs, - "bias", - SourceMapConsumer.GREATEST_LOWER_BOUND, - ), - ); - if (index >= 0) { - var mapping = this._originalMappings[index]; - if (mapping.source === needle.source) - return { - line: util.getArg(mapping, "generatedLine", null), - column: util.getArg(mapping, "generatedColumn", null), - lastColumn: util.getArg( - mapping, - "lastGeneratedColumn", - null, - ), - }; - } - return { line: null, column: null, lastColumn: null }; - }), - (exports.BasicSourceMapConsumer = BasicSourceMapConsumer), - (IndexedSourceMapConsumer.prototype = Object.create( - SourceMapConsumer.prototype, - )), - (IndexedSourceMapConsumer.prototype.constructor = - SourceMapConsumer), - (IndexedSourceMapConsumer.prototype._version = 3), - Object.defineProperty( - IndexedSourceMapConsumer.prototype, - "sources", - { - get: function () { - for ( - var sources = [], i = 0; - i < this._sections.length; - i++ - ) - for ( - var j = 0; - j < this._sections[i].consumer.sources.length; - j++ - ) - sources.push(this._sections[i].consumer.sources[j]); - return sources; - }, - }, - ), - (IndexedSourceMapConsumer.prototype.originalPositionFor = - function (aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, "line"), - generatedColumn: util.getArg(aArgs, "column"), - }, - sectionIndex = binarySearch.search( - needle, - this._sections, - function (needle2, section2) { - return ( - needle2.generatedLine - - section2.generatedOffset.generatedLine || - needle2.generatedColumn - - section2.generatedOffset.generatedColumn - ); - }, - ), - section = this._sections[sectionIndex]; - return section - ? section.consumer.originalPositionFor({ - line: - needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: - needle.generatedColumn - - (section.generatedOffset.generatedLine === - needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias, - }) - : { source: null, line: null, column: null, name: null }; - }), - (IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function () { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }), - (IndexedSourceMapConsumer.prototype.sourceContentFor = - function (aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var content = this._sections[i].consumer.sourceContentFor( - aSource, - !0, - ); - if (content) return content; - } - if (nullOnMissing) return null; - throw new Error( - '"' + aSource + '" is not in the SourceMap.', - ); - }), - (IndexedSourceMapConsumer.prototype.generatedPositionFor = - function (aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - if ( - -1 !== - section.consumer._findSourceIndex( - util.getArg(aArgs, "source"), - ) - ) { - var generatedPosition = - section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) - return { - line: - generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: - generatedPosition.column + - (section.generatedOffset.generatedLine === - generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0), - }; - } - } - return { line: null, column: null }; - }), - (IndexedSourceMapConsumer.prototype._parseMappings = function ( - aStr, - aSourceRoot, - ) { - (this.__generatedMappings = []), - (this.__originalMappings = []); - for (var i = 0; i < this._sections.length; i++) - for ( - var section = this._sections[i], - sectionMappings = section.consumer._generatedMappings, - j = 0; - j < sectionMappings.length; - j++ - ) { - var mapping = sectionMappings[j], - source = section.consumer._sources.at(mapping.source); - (source = util.computeSourceURL( - section.consumer.sourceRoot, - source, - this._sourceMapURL, - )), - this._sources.add(source), - (source = this._sources.indexOf(source)); - var name = null; - mapping.name && - ((name = section.consumer._names.at(mapping.name)), - this._names.add(name), - (name = this._names.indexOf(name))); - var adjustedMapping = { - source, - generatedLine: - mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: - mapping.generatedColumn + - (section.generatedOffset.generatedLine === - mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name, - }; - this.__generatedMappings.push(adjustedMapping), - "number" == typeof adjustedMapping.originalLine && - this.__originalMappings.push(adjustedMapping); - } - quickSort( - this.__generatedMappings, - util.compareByGeneratedPositionsDeflated, - ), - quickSort( - this.__originalMappings, - util.compareByOriginalPositions, - ); - }), - (exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer); - }, - }), - require_source_node = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"( - exports, - ) { - var SourceMapGenerator = - require_source_map_generator().SourceMapGenerator, - util = require_util(), - REGEX_NEWLINE = /(\r?\n)/, - isSourceNode = "$$$isSourceNode$$$"; - function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - (this.children = []), - (this.sourceContents = {}), - (this.line = aLine ?? null), - (this.column = aColumn ?? null), - (this.source = aSource ?? null), - (this.name = aName ?? null), - (this[isSourceNode] = !0), - null != aChunks && this.add(aChunks); - } - (SourceNode.fromStringWithSourceMap = function ( - aGeneratedCode, - aSourceMapConsumer, - aRelativePath, - ) { - var node = new SourceNode(), - remainingLines = aGeneratedCode.split(REGEX_NEWLINE), - remainingLinesIndex = 0, - shiftNextLine = function () { - return getNextLine() + (getNextLine() || ""); - function getNextLine() { - return remainingLinesIndex < remainingLines.length - ? remainingLines[remainingLinesIndex++] - : void 0; - } - }, - lastGeneratedLine = 1, - lastGeneratedColumn = 0, - lastMapping = null; - return ( - aSourceMapConsumer.eachMapping(function (mapping) { - if (null !== lastMapping) { - if (!(lastGeneratedLine < mapping.generatedLine)) { - var code = (nextLine = - remainingLines[remainingLinesIndex] || "").substr( - 0, - mapping.generatedColumn - lastGeneratedColumn, - ); - return ( - (remainingLines[remainingLinesIndex] = - nextLine.substr( - mapping.generatedColumn - lastGeneratedColumn, - )), - (lastGeneratedColumn = mapping.generatedColumn), - addMappingWithCode(lastMapping, code), - void (lastMapping = mapping) - ); - } - addMappingWithCode(lastMapping, shiftNextLine()), - lastGeneratedLine++, - (lastGeneratedColumn = 0); - } - for (; lastGeneratedLine < mapping.generatedLine; ) - node.add(shiftNextLine()), lastGeneratedLine++; - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex] || ""; - node.add(nextLine.substr(0, mapping.generatedColumn)), - (remainingLines[remainingLinesIndex] = nextLine.substr( - mapping.generatedColumn, - )), - (lastGeneratedColumn = mapping.generatedColumn); - } - lastMapping = mapping; - }, this), - remainingLinesIndex < remainingLines.length && - (lastMapping && - addMappingWithCode(lastMapping, shiftNextLine()), - node.add( - remainingLines.splice(remainingLinesIndex).join(""), - )), - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = - aSourceMapConsumer.sourceContentFor(sourceFile); - null != content && - (null != aRelativePath && - (sourceFile = util.join(aRelativePath, sourceFile)), - node.setSourceContent(sourceFile, content)); - }), - node - ); - function addMappingWithCode(mapping, code) { - if (null === mapping || void 0 === mapping.source) - node.add(code); - else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add( - new SourceNode( - mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name, - ), - ); - } - } - }), - (SourceNode.prototype.add = function (aChunk) { - if (Array.isArray(aChunk)) - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - else { - if (!aChunk[isSourceNode] && "string" != typeof aChunk) - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + - aChunk, - ); - aChunk && this.children.push(aChunk); - } - return this; - }), - (SourceNode.prototype.prepend = function (aChunk) { - if (Array.isArray(aChunk)) - for (var i = aChunk.length - 1; i >= 0; i--) - this.prepend(aChunk[i]); - else { - if (!aChunk[isSourceNode] && "string" != typeof aChunk) - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + - aChunk, - ); - this.children.unshift(aChunk); - } - return this; - }), - (SourceNode.prototype.walk = function (aFn) { - for ( - var chunk, i = 0, len = this.children.length; - i < len; - i++ - ) - (chunk = this.children[i])[isSourceNode] - ? chunk.walk(aFn) - : "" !== chunk && - aFn(chunk, { - source: this.source, - line: this.line, - column: this.column, - name: this.name, - }); - }), - (SourceNode.prototype.join = function (aSep) { - var newChildren, - i, - len = this.children.length; - if (len > 0) { - for (newChildren = [], i = 0; i < len - 1; i++) - newChildren.push(this.children[i]), - newChildren.push(aSep); - newChildren.push(this.children[i]), - (this.children = newChildren); - } - return this; - }), - (SourceNode.prototype.replaceRight = function ( - aPattern, - aReplacement, - ) { - var lastChild = this.children[this.children.length - 1]; - return ( - lastChild[isSourceNode] - ? lastChild.replaceRight(aPattern, aReplacement) - : "string" == typeof lastChild - ? (this.children[this.children.length - 1] = - lastChild.replace(aPattern, aReplacement)) - : this.children.push( - "".replace(aPattern, aReplacement), - ), - this - ); - }), - (SourceNode.prototype.setSourceContent = function ( - aSourceFile, - aSourceContent, - ) { - this.sourceContents[util.toSetString(aSourceFile)] = - aSourceContent; - }), - (SourceNode.prototype.walkSourceContents = function (aFn) { - for (var i = 0, len = this.children.length; i < len; i++) - this.children[i][isSourceNode] && - this.children[i].walkSourceContents(aFn); - var sources = Object.keys(this.sourceContents); - for (i = 0, len = sources.length; i < len; i++) - aFn( - util.fromSetString(sources[i]), - this.sourceContents[sources[i]], - ); - }), - (SourceNode.prototype.toString = function () { - var str = ""; - return ( - this.walk(function (chunk) { - str += chunk; - }), - str - ); - }), - (SourceNode.prototype.toStringWithSourceMap = function (aArgs) { - var generated = { code: "", line: 1, column: 0 }, - map = new SourceMapGenerator(aArgs), - sourceMappingActive = !1, - lastOriginalSource = null, - lastOriginalLine = null, - lastOriginalColumn = null, - lastOriginalName = null; - return ( - this.walk(function (chunk, original) { - (generated.code += chunk), - null !== original.source && - null !== original.line && - null !== original.column - ? ((lastOriginalSource !== original.source || - lastOriginalLine !== original.line || - lastOriginalColumn !== original.column || - lastOriginalName !== original.name) && - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column, - }, - generated: { - line: generated.line, - column: generated.column, - }, - name: original.name, - }), - (lastOriginalSource = original.source), - (lastOriginalLine = original.line), - (lastOriginalColumn = original.column), - (lastOriginalName = original.name), - (sourceMappingActive = !0)) - : sourceMappingActive && - (map.addMapping({ - generated: { - line: generated.line, - column: generated.column, - }, - }), - (lastOriginalSource = null), - (sourceMappingActive = !1)); - for ( - var idx = 0, length = chunk.length; - idx < length; - idx++ - ) - 10 === chunk.charCodeAt(idx) - ? (generated.line++, - (generated.column = 0), - idx + 1 === length - ? ((lastOriginalSource = null), - (sourceMappingActive = !1)) - : sourceMappingActive && - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column, - }, - generated: { - line: generated.line, - column: generated.column, - }, - name: original.name, - })) - : generated.column++; - }), - this.walkSourceContents( - function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }, - ), - { code: generated.code, map } - ); - }), - (exports.SourceNode = SourceNode); - }, - }), - require_source_map = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/node_modules/source-map/source-map.js"( - exports, - ) { - (exports.SourceMapGenerator = - require_source_map_generator().SourceMapGenerator), - (exports.SourceMapConsumer = - require_source_map_consumer().SourceMapConsumer), - (exports.SourceNode = require_source_node().SourceNode); - }, - }), - require_package = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/package.json"(exports, module) { - module.exports = { - name: "escodegen", - description: "ECMAScript code generator", - homepage: "http://github.com/estools/escodegen", - main: "escodegen.js", - bin: { - esgenerate: "./bin/esgenerate.js", - escodegen: "./bin/escodegen.js", - }, - files: [ - "LICENSE.BSD", - "README.md", - "bin", - "escodegen.js", - "package.json", - ], - version: "2.1.0", - engines: { node: ">=6.0" }, - maintainers: [ - { - name: "Yusuke Suzuki", - email: "utatane.tea@gmail.com", - web: "http://github.com/Constellation", - }, - ], - repository: { - type: "git", - url: "http://github.com/estools/escodegen.git", - }, - dependencies: { - estraverse: "^5.2.0", - esutils: "^2.0.2", - esprima: "^4.0.1", - }, - optionalDependencies: { "source-map": "~0.6.1" }, - devDependencies: { - acorn: "^8.0.4", - bluebird: "^3.4.7", - "bower-registry-client": "^1.0.0", - chai: "^4.2.0", - "chai-exclude": "^2.0.2", - "commonjs-everywhere": "^0.9.7", - gulp: "^4.0.2", - "gulp-eslint": "^6.0.0", - "gulp-mocha": "^7.0.2", - minimist: "^1.2.5", - optionator: "^0.9.1", - semver: "^7.3.4", - }, - license: "BSD-2-Clause", - scripts: { - test: "gulp travis", - "unit-test": "gulp test", - lint: "gulp lint", - release: "node tools/release.js", - "build-min": - "./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js", - build: - "./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js", - }, - }; - }, - }), - require_escodegen = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/escodegen/escodegen.js"(exports) { - !(function () { - var Syntax, - Precedence, - BinaryPrecedence, - SourceNode, - estraverse, - esutils, - base2, - indent, - json, - renumber, - hexadecimal, - quotes, - escapeless, - newline, - space, - parentheses, - semicolons, - safeConcatenation, - directive, - extra, - parse5, - sourceMap, - sourceCode, - preserveBlankLines, - FORMAT_MINIFY, - FORMAT_DEFAULTS; - function isStatement(node) { - return CodeGenerator.Statement.hasOwnProperty(node.type); - } - (estraverse = require_estraverse()), - (esutils = require_utils()), - (Syntax = estraverse.Syntax), - (BinaryPrecedence = { - "??": (Precedence = { - Sequence: 0, - Yield: 1, - Assignment: 1, - Conditional: 2, - ArrowFunction: 2, - Coalesce: 3, - LogicalOR: 4, - LogicalAND: 5, - BitwiseOR: 6, - BitwiseXOR: 7, - BitwiseAND: 8, - Equality: 9, - Relational: 10, - BitwiseSHIFT: 11, - Additive: 12, - Multiplicative: 13, - Exponentiation: 14, - Await: 15, - Unary: 15, - Postfix: 16, - OptionalChaining: 17, - Call: 18, - New: 19, - TaggedTemplate: 20, - Member: 21, - Primary: 22, - }).Coalesce, - "||": Precedence.LogicalOR, - "&&": Precedence.LogicalAND, - "|": Precedence.BitwiseOR, - "^": Precedence.BitwiseXOR, - "&": Precedence.BitwiseAND, - "==": Precedence.Equality, - "!=": Precedence.Equality, - "===": Precedence.Equality, - "!==": Precedence.Equality, - is: Precedence.Equality, - isnt: Precedence.Equality, - "<": Precedence.Relational, - ">": Precedence.Relational, - "<=": Precedence.Relational, - ">=": Precedence.Relational, - in: Precedence.Relational, - instanceof: Precedence.Relational, - "<<": Precedence.BitwiseSHIFT, - ">>": Precedence.BitwiseSHIFT, - ">>>": Precedence.BitwiseSHIFT, - "+": Precedence.Additive, - "-": Precedence.Additive, - "*": Precedence.Multiplicative, - "%": Precedence.Multiplicative, - "/": Precedence.Multiplicative, - "**": Precedence.Exponentiation, - }); - function stringRepeat(str, num) { - var result = ""; - for (num |= 0; num > 0; num >>>= 1, str += str) - 1 & num && (result += str); - return result; - } - function endsWithLineTerminator(str) { - var len = str.length; - return ( - len && - esutils.code.isLineTerminator(str.charCodeAt(len - 1)) - ); - } - function merge(target, override) { - var key; - for (key in override) - override.hasOwnProperty(key) && - (target[key] = override[key]); - return target; - } - function updateDeeply(target, override) { - var key, val; - function isHashObject(target2) { - return ( - "object" == typeof target2 && - target2 instanceof Object && - !(target2 instanceof RegExp) - ); - } - for (key in override) - override.hasOwnProperty(key) && - (isHashObject((val = override[key])) - ? isHashObject(target[key]) - ? updateDeeply(target[key], val) - : (target[key] = updateDeeply({}, val)) - : (target[key] = val)); - return target; - } - function escapeRegExpCharacter(ch, previousIsBackslash) { - return 8232 == (-2 & ch) - ? (previousIsBackslash ? "u" : "\\u") + - (8232 === ch ? "2028" : "2029") - : 10 === ch || 13 === ch - ? (previousIsBackslash ? "" : "\\") + - (10 === ch ? "n" : "r") - : String.fromCharCode(ch); - } - function escapeAllowedCharacter(code, next) { - var hex; - return 8 === code - ? "\\b" - : 12 === code - ? "\\f" - : 9 === code - ? "\\t" - : ((hex = code.toString(16).toUpperCase()), - json || code > 255 - ? "\\u" + "0000".slice(hex.length) + hex - : 0 !== code || esutils.code.isDecimalDigit(next) - ? 11 === code - ? "\\x0B" - : "\\x" + "00".slice(hex.length) + hex - : "\\0"); - } - function escapeDisallowedCharacter(code) { - if (92 === code) return "\\\\"; - if (10 === code) return "\\n"; - if (13 === code) return "\\r"; - if (8232 === code) return "\\u2028"; - if (8233 === code) return "\\u2029"; - throw new Error("Incorrectly classified character"); - } - function flattenToString(arr) { - var i, - iz, - elem, - result = ""; - for (i = 0, iz = arr.length; i < iz; ++i) - (elem = arr[i]), - (result += Array.isArray(elem) - ? flattenToString(elem) - : elem); - return result; - } - function toSourceNodeWhenNeeded(generated, node) { - if (!sourceMap) - return Array.isArray(generated) - ? flattenToString(generated) - : generated; - if (null == node) { - if (generated instanceof SourceNode) return generated; - node = {}; - } - return null == node.loc - ? new SourceNode( - null, - null, - sourceMap, - generated, - node.name || null, - ) - : new SourceNode( - node.loc.start.line, - node.loc.start.column, - !0 === sourceMap ? node.loc.source || null : sourceMap, - generated, - node.name || null, - ); - } - function noEmptySpace() { - return space || " "; - } - function join(left, right) { - var leftSource, rightSource, leftCharCode, rightCharCode; - return 0 === - (leftSource = toSourceNodeWhenNeeded(left).toString()) - .length - ? [right] - : 0 === - (rightSource = toSourceNodeWhenNeeded(right).toString()) - .length - ? [left] - : ((leftCharCode = leftSource.charCodeAt( - leftSource.length - 1, - )), - (rightCharCode = rightSource.charCodeAt(0)), - ((43 === leftCharCode || 45 === leftCharCode) && - leftCharCode === rightCharCode) || - (esutils.code.isIdentifierPartES5(leftCharCode) && - esutils.code.isIdentifierPartES5(rightCharCode)) || - (47 === leftCharCode && 105 === rightCharCode) - ? [left, noEmptySpace(), right] - : esutils.code.isWhiteSpace(leftCharCode) || - esutils.code.isLineTerminator(leftCharCode) || - esutils.code.isWhiteSpace(rightCharCode) || - esutils.code.isLineTerminator(rightCharCode) - ? [left, right] - : [left, space, right]); - } - function addIndent(stmt) { - return [base2, stmt]; - } - function withIndent(fn) { - var previousBase; - (previousBase = base2), - fn((base2 += indent)), - (base2 = previousBase); - } - function generateComment(comment, specialBase) { - if ("Line" === comment.type) { - if (endsWithLineTerminator(comment.value)) - return "//" + comment.value; - var result = "//" + comment.value; - return preserveBlankLines || (result += "\n"), result; - } - return extra.format.indent.adjustMultilineComment && - /[\n\r]/.test(comment.value) - ? (function adjustMultilineComment(value, specialBase) { - var array, i, len, line, j, spaces, previousBase, sn; - for ( - array = value.split(/\r\n|[\r\n]/), - spaces = Number.MAX_VALUE, - i = 1, - len = array.length; - i < len; - ++i - ) { - for ( - line = array[i], j = 0; - j < line.length && - esutils.code.isWhiteSpace(line.charCodeAt(j)); - - ) - ++j; - spaces > j && (spaces = j); - } - for ( - typeof specialBase < "u" - ? ((previousBase = base2), - "*" === array[1][spaces] && (specialBase += " "), - (base2 = specialBase)) - : (1 & spaces && --spaces, (previousBase = base2)), - i = 1, - len = array.length; - i < len; - ++i - ) - (sn = toSourceNodeWhenNeeded( - addIndent(array[i].slice(spaces)), - )), - (array[i] = sourceMap ? sn.join("") : sn); - return (base2 = previousBase), array.join("\n"); - })("/*" + comment.value + "*/", specialBase) - : "/*" + comment.value + "*/"; - } - function addComments(stmt, result) { - var i, - len, - comment, - save, - tailingToStatement, - specialBase, - fragment, - extRange, - range, - prevRange, - prefix, - count; - if (stmt.leadingComments && stmt.leadingComments.length > 0) { - if (((save = result), preserveBlankLines)) { - for ( - result = [], - extRange = (comment = stmt.leadingComments[0]) - .extendedRange, - range = comment.range, - (count = ( - (prefix = sourceCode.substring( - extRange[0], - range[0], - )).match(/\n/g) || [] - ).length) > 0 - ? (result.push(stringRepeat("\n", count)), - result.push(addIndent(generateComment(comment)))) - : (result.push(prefix), - result.push(generateComment(comment))), - prevRange = range, - i = 1, - len = stmt.leadingComments.length; - i < len; - i++ - ) - (range = (comment = stmt.leadingComments[i]).range), - (count = ( - sourceCode - .substring(prevRange[1], range[0]) - .match(/\n/g) || [] - ).length), - result.push(stringRepeat("\n", count)), - result.push(addIndent(generateComment(comment))), - (prevRange = range); - (count = ( - sourceCode - .substring(range[1], extRange[1]) - .match(/\n/g) || [] - ).length), - result.push(stringRepeat("\n", count)); - } else - for ( - comment = stmt.leadingComments[0], - result = [], - safeConcatenation && - stmt.type === Syntax.Program && - 0 === stmt.body.length && - result.push("\n"), - result.push(generateComment(comment)), - endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) || result.push("\n"), - i = 1, - len = stmt.leadingComments.length; - i < len; - ++i - ) - endsWithLineTerminator( - toSourceNodeWhenNeeded( - (fragment = [ - generateComment( - (comment = stmt.leadingComments[i]), - ), - ]), - ).toString(), - ) || fragment.push("\n"), - result.push(addIndent(fragment)); - result.push(addIndent(save)); - } - if (stmt.trailingComments) - if (preserveBlankLines) - (extRange = (comment = stmt.trailingComments[0]) - .extendedRange), - (range = comment.range), - (count = ( - (prefix = sourceCode.substring( - extRange[0], - range[0], - )).match(/\n/g) || [] - ).length) > 0 - ? (result.push(stringRepeat("\n", count)), - result.push(addIndent(generateComment(comment)))) - : (result.push(prefix), - result.push(generateComment(comment))); - else - for ( - tailingToStatement = !endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ), - specialBase = stringRepeat( - " ", - (function calculateSpaces(str) { - var i; - for ( - i = str.length - 1; - i >= 0 && - !esutils.code.isLineTerminator( - str.charCodeAt(i), - ); - --i - ); - return str.length - 1 - i; - })( - toSourceNodeWhenNeeded([ - base2, - result, - indent, - ]).toString(), - ), - ), - i = 0, - len = stmt.trailingComments.length; - i < len; - ++i - ) - (comment = stmt.trailingComments[i]), - tailingToStatement - ? (result = - 0 === i - ? [result, indent] - : [result, specialBase]).push( - generateComment(comment, specialBase), - ) - : (result = [ - result, - addIndent(generateComment(comment)), - ]), - i !== len - 1 && - !endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) && - (result = [result, "\n"]); - return result; - } - function generateBlankLines(start, end, result) { - var j, - newlineCount = 0; - for (j = start; j < end; j++) - "\n" === sourceCode[j] && newlineCount++; - for (j = 1; j < newlineCount; j++) result.push(newline); - } - function parenthesize(text, current2, should) { - return current2 < should ? ["(", text, ")"] : text; - } - function generateVerbatimString(string) { - var i, iz, result; - for ( - i = 1, iz = (result = string.split(/\r\n|\n/)).length; - i < iz; - i++ - ) - result[i] = newline + base2 + result[i]; - return result; - } - function CodeGenerator() {} - function generateIdentifier(node) { - return toSourceNodeWhenNeeded(node.name, node); - } - function generateAsyncPrefix(node, spaceRequired) { - return node.async - ? "async" + (spaceRequired ? noEmptySpace() : space) - : ""; - } - function generateStarSuffix(node) { - return node.generator && !extra.moz.starlessGenerator - ? "*" + space - : ""; - } - function generateMethodPrefix(prop) { - var func = prop.value, - prefix = ""; - return ( - func.async && - (prefix += generateAsyncPrefix(func, !prop.computed)), - func.generator && - (prefix += generateStarSuffix(func) ? "*" : ""), - prefix - ); - } - function generateInternal(node) { - var codegen; - if (((codegen = new CodeGenerator()), isStatement(node))) - return codegen.generateStatement(node, 1); - if ( - (function isExpression(node) { - return CodeGenerator.Expression.hasOwnProperty(node.type); - })(node) - ) - return codegen.generateExpression( - node, - Precedence.Sequence, - 7, - ); - throw new Error("Unknown node type: " + node.type); - } - (CodeGenerator.prototype.maybeBlock = function (stmt, flags) { - var result, - noLeadingComment, - that = this; - return ( - (noLeadingComment = - !extra.comment || !stmt.leadingComments), - stmt.type === Syntax.BlockStatement && noLeadingComment - ? [space, this.generateStatement(stmt, flags)] - : stmt.type === Syntax.EmptyStatement && noLeadingComment - ? ";" - : (withIndent(function () { - result = [ - newline, - addIndent(that.generateStatement(stmt, flags)), - ]; - }), - result) - ); - }), - (CodeGenerator.prototype.maybeBlockSuffix = function ( - stmt, - result, - ) { - var ends = endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ); - return stmt.type !== Syntax.BlockStatement || - (extra.comment && stmt.leadingComments) || - ends - ? ends - ? [result, base2] - : [result, newline, base2] - : [result, space]; - }), - (CodeGenerator.prototype.generatePattern = function ( - node, - precedence, - flags, - ) { - return node.type === Syntax.Identifier - ? generateIdentifier(node) - : this.generateExpression(node, precedence, flags); - }), - (CodeGenerator.prototype.generateFunctionParams = function ( - node, - ) { - var i, iz, result, hasDefault; - if ( - ((hasDefault = !1), - node.type !== Syntax.ArrowFunctionExpression || - node.rest || - (node.defaults && 0 !== node.defaults.length) || - 1 !== node.params.length || - node.params[0].type !== Syntax.Identifier) - ) { - for ( - (result = - node.type === Syntax.ArrowFunctionExpression - ? [generateAsyncPrefix(node, !1)] - : []).push("("), - node.defaults && (hasDefault = !0), - i = 0, - iz = node.params.length; - i < iz; - ++i - ) - hasDefault && node.defaults[i] - ? result.push( - this.generateAssignment( - node.params[i], - node.defaults[i], - "=", - Precedence.Assignment, - 7, - ), - ) - : result.push( - this.generatePattern( - node.params[i], - Precedence.Assignment, - 7, - ), - ), - i + 1 < iz && result.push("," + space); - node.rest && - (node.params.length && result.push("," + space), - result.push("..."), - result.push(generateIdentifier(node.rest))), - result.push(")"); - } else - result = [ - generateAsyncPrefix(node, !0), - generateIdentifier(node.params[0]), - ]; - return result; - }), - (CodeGenerator.prototype.generateFunctionBody = function ( - node, - ) { - var result, expr; - return ( - (result = this.generateFunctionParams(node)), - node.type === Syntax.ArrowFunctionExpression && - (result.push(space), result.push("=>")), - node.expression - ? (result.push(space), - "{" === - (expr = this.generateExpression( - node.body, - Precedence.Assignment, - 7, - )) - .toString() - .charAt(0) && (expr = ["(", expr, ")"]), - result.push(expr)) - : result.push(this.maybeBlock(node.body, 9)), - result - ); - }), - (CodeGenerator.prototype.generateIterationForStatement = - function (operator, stmt, flags) { - var result = [ - "for" + - (stmt.await ? noEmptySpace() + "await" : "") + - space + - "(", - ], - that = this; - return ( - withIndent(function () { - stmt.left.type === Syntax.VariableDeclaration - ? withIndent(function () { - result.push(stmt.left.kind + noEmptySpace()), - result.push( - that.generateStatement( - stmt.left.declarations[0], - 0, - ), - ); - }) - : result.push( - that.generateExpression( - stmt.left, - Precedence.Call, - 7, - ), - ), - (result = join(result, operator)), - (result = [ - join( - result, - that.generateExpression( - stmt.right, - Precedence.Assignment, - 7, - ), - ), - ")", - ]); - }), - result.push(this.maybeBlock(stmt.body, flags)), - result - ); - }), - (CodeGenerator.prototype.generatePropertyKey = function ( - expr, - computed, - ) { - var result = []; - return ( - computed && result.push("["), - result.push( - this.generateExpression(expr, Precedence.Assignment, 7), - ), - computed && result.push("]"), - result - ); - }), - (CodeGenerator.prototype.generateAssignment = function ( - left, - right, - operator, - precedence, - flags, - ) { - return ( - Precedence.Assignment < precedence && (flags |= 1), - parenthesize( - [ - this.generateExpression(left, Precedence.Call, flags), - space + operator + space, - this.generateExpression( - right, - Precedence.Assignment, - flags, - ), - ], - Precedence.Assignment, - precedence, - ) - ); - }), - (CodeGenerator.prototype.semicolon = function (flags) { - return !semicolons && 32 & flags ? "" : ";"; - }), - (CodeGenerator.Statement = { - BlockStatement: function (stmt, flags) { - var range, - content, - result = ["{", newline], - that = this; - return ( - withIndent(function () { - var i, iz, fragment, bodyFlags; - for ( - 0 === stmt.body.length && - preserveBlankLines && - (range = stmt.range)[1] - range[0] > 2 && - ("\n" === - (content = sourceCode.substring( - range[0] + 1, - range[1] - 1, - ))[0] && (result = ["{"]), - result.push(content)), - bodyFlags = 1, - 8 & flags && (bodyFlags |= 16), - i = 0, - iz = stmt.body.length; - i < iz; - ++i - ) - preserveBlankLines && - (0 === i && - (stmt.body[0].leadingComments && - ((range = - stmt.body[0].leadingComments[0] - .extendedRange), - "\n" === - (content = sourceCode.substring( - range[0], - range[1], - ))[0] && (result = ["{"])), - stmt.body[0].leadingComments || - generateBlankLines( - stmt.range[0], - stmt.body[0].range[0], - result, - )), - i > 0 && - !stmt.body[i - 1].trailingComments && - !stmt.body[i].leadingComments && - generateBlankLines( - stmt.body[i - 1].range[1], - stmt.body[i].range[0], - result, - )), - i === iz - 1 && (bodyFlags |= 32), - (fragment = - stmt.body[i].leadingComments && - preserveBlankLines - ? that.generateStatement( - stmt.body[i], - bodyFlags, - ) - : addIndent( - that.generateStatement( - stmt.body[i], - bodyFlags, - ), - )), - result.push(fragment), - endsWithLineTerminator( - toSourceNodeWhenNeeded(fragment).toString(), - ) || - (preserveBlankLines && - i < iz - 1 && - stmt.body[i + 1].leadingComments) || - result.push(newline), - preserveBlankLines && - i === iz - 1 && - (stmt.body[i].trailingComments || - generateBlankLines( - stmt.body[i].range[1], - stmt.range[1], - result, - )); - }), - result.push(addIndent("}")), - result - ); - }, - BreakStatement: function (stmt, flags) { - return stmt.label - ? "break " + stmt.label.name + this.semicolon(flags) - : "break" + this.semicolon(flags); - }, - ContinueStatement: function (stmt, flags) { - return stmt.label - ? "continue " + stmt.label.name + this.semicolon(flags) - : "continue" + this.semicolon(flags); - }, - ClassBody: function (stmt, flags) { - var result = ["{", newline], - that = this; - return ( - withIndent(function (indent2) { - var i, iz; - for (i = 0, iz = stmt.body.length; i < iz; ++i) - result.push(indent2), - result.push( - that.generateExpression( - stmt.body[i], - Precedence.Sequence, - 7, - ), - ), - i + 1 < iz && result.push(newline); - }), - endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) || result.push(newline), - result.push(base2), - result.push("}"), - result - ); - }, - ClassDeclaration: function (stmt, flags) { - var result, fragment; - return ( - (result = ["class"]), - stmt.id && - (result = join( - result, - this.generateExpression( - stmt.id, - Precedence.Sequence, - 7, - ), - )), - stmt.superClass && - ((fragment = join( - "extends", - this.generateExpression( - stmt.superClass, - Precedence.Unary, - 7, - ), - )), - (result = join(result, fragment))), - result.push(space), - result.push(this.generateStatement(stmt.body, 33)), - result - ); - }, - DirectiveStatement: function (stmt, flags) { - return extra.raw && stmt.raw - ? stmt.raw + this.semicolon(flags) - : (function escapeDirective(str) { - var i, iz, code, quote; - for ( - quote = "double" === quotes ? '"' : "'", - i = 0, - iz = str.length; - i < iz; - ++i - ) { - if (39 === (code = str.charCodeAt(i))) { - quote = '"'; - break; - } - if (34 === code) { - quote = "'"; - break; - } - 92 === code && ++i; - } - return quote + str + quote; - })(stmt.directive) + this.semicolon(flags); - }, - DoWhileStatement: function (stmt, flags) { - var result = join("do", this.maybeBlock(stmt.body, 1)); - return join( - (result = this.maybeBlockSuffix(stmt.body, result)), - [ - "while" + space + "(", - this.generateExpression( - stmt.test, - Precedence.Sequence, - 7, - ), - ")" + this.semicolon(flags), - ], - ); - }, - CatchClause: function (stmt, flags) { - var result, - that = this; - return ( - withIndent(function () { - var guard; - stmt.param - ? ((result = [ - "catch" + space + "(", - that.generateExpression( - stmt.param, - Precedence.Sequence, - 7, - ), - ")", - ]), - stmt.guard && - ((guard = that.generateExpression( - stmt.guard, - Precedence.Sequence, - 7, - )), - result.splice(2, 0, " if ", guard))) - : (result = ["catch"]); - }), - result.push(this.maybeBlock(stmt.body, 1)), - result - ); - }, - DebuggerStatement: function (stmt, flags) { - return "debugger" + this.semicolon(flags); - }, - EmptyStatement: function (stmt, flags) { - return ";"; - }, - ExportDefaultDeclaration: function (stmt, flags) { - var bodyFlags, - result = ["export"]; - return ( - (bodyFlags = 32 & flags ? 33 : 1), - (result = join(result, "default")), - (result = isStatement(stmt.declaration) - ? join( - result, - this.generateStatement( - stmt.declaration, - bodyFlags, - ), - ) - : join( - result, - this.generateExpression( - stmt.declaration, - Precedence.Assignment, - 7, - ) + this.semicolon(flags), - )) - ); - }, - ExportNamedDeclaration: function (stmt, flags) { - var bodyFlags, - result = ["export"], - that = this; - return ( - (bodyFlags = 32 & flags ? 33 : 1), - stmt.declaration - ? join( - result, - this.generateStatement( - stmt.declaration, - bodyFlags, - ), - ) - : (stmt.specifiers && - (0 === stmt.specifiers.length - ? (result = join(result, "{" + space + "}")) - : stmt.specifiers[0].type === - Syntax.ExportBatchSpecifier - ? (result = join( - result, - this.generateExpression( - stmt.specifiers[0], - Precedence.Sequence, - 7, - ), - )) - : ((result = join(result, "{")), - withIndent(function (indent2) { - var i, iz; - for ( - result.push(newline), - i = 0, - iz = stmt.specifiers.length; - i < iz; - ++i - ) - result.push(indent2), - result.push( - that.generateExpression( - stmt.specifiers[i], - Precedence.Sequence, - 7, - ), - ), - i + 1 < iz && - result.push("," + newline); - }), - endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) || result.push(newline), - result.push(base2 + "}")), - stmt.source - ? (result = join(result, [ - "from" + space, - this.generateExpression( - stmt.source, - Precedence.Sequence, - 7, - ), - this.semicolon(flags), - ])) - : result.push(this.semicolon(flags))), - result) - ); - }, - ExportAllDeclaration: function (stmt, flags) { - return [ - "export" + space, - "*" + space, - "from" + space, - this.generateExpression( - stmt.source, - Precedence.Sequence, - 7, - ), - this.semicolon(flags), - ]; - }, - ExpressionStatement: function (stmt, flags) { - var result, fragment; - return ( - 123 === - (fragment = toSourceNodeWhenNeeded( - (result = [ - this.generateExpression( - stmt.expression, - Precedence.Sequence, - 7, - ), - ]), - ).toString()).charCodeAt(0) || - (function isClassPrefixed(fragment2) { - var code; - return ( - "class" === fragment2.slice(0, 5) && - (123 === (code = fragment2.charCodeAt(5)) || - esutils.code.isWhiteSpace(code) || - esutils.code.isLineTerminator(code)) - ); - })(fragment) || - (function isFunctionPrefixed(fragment2) { - var code; - return ( - "function" === fragment2.slice(0, 8) && - (40 === (code = fragment2.charCodeAt(8)) || - esutils.code.isWhiteSpace(code) || - 42 === code || - esutils.code.isLineTerminator(code)) - ); - })(fragment) || - (function isAsyncPrefixed(fragment2) { - var code, i, iz; - if ( - "async" !== fragment2.slice(0, 5) || - !esutils.code.isWhiteSpace(fragment2.charCodeAt(5)) - ) - return !1; - for ( - i = 6, iz = fragment2.length; - i < iz && - esutils.code.isWhiteSpace(fragment2.charCodeAt(i)); - ++i - ); - return ( - i !== iz && - "function" === fragment2.slice(i, i + 8) && - (40 === (code = fragment2.charCodeAt(i + 8)) || - esutils.code.isWhiteSpace(code) || - 42 === code || - esutils.code.isLineTerminator(code)) - ); - })(fragment) || - (directive && - 16 & flags && - stmt.expression.type === Syntax.Literal && - "string" == typeof stmt.expression.value) - ? (result = [ - "(", - result, - ")" + this.semicolon(flags), - ]) - : result.push(this.semicolon(flags)), - result - ); - }, - ImportDeclaration: function (stmt, flags) { - var result, - cursor, - that = this; - return 0 === stmt.specifiers.length - ? [ - "import", - space, - this.generateExpression( - stmt.source, - Precedence.Sequence, - 7, - ), - this.semicolon(flags), - ] - : ((result = ["import"]), - (cursor = 0), - stmt.specifiers[cursor].type === - Syntax.ImportDefaultSpecifier && - ((result = join(result, [ - this.generateExpression( - stmt.specifiers[cursor], - Precedence.Sequence, - 7, - ), - ])), - ++cursor), - stmt.specifiers[cursor] && - (0 !== cursor && result.push(","), - stmt.specifiers[cursor].type === - Syntax.ImportNamespaceSpecifier - ? (result = join(result, [ - space, - this.generateExpression( - stmt.specifiers[cursor], - Precedence.Sequence, - 7, - ), - ])) - : (result.push(space + "{"), - stmt.specifiers.length - cursor == 1 - ? (result.push(space), - result.push( - this.generateExpression( - stmt.specifiers[cursor], - Precedence.Sequence, - 7, - ), - ), - result.push(space + "}" + space)) - : (withIndent(function (indent2) { - var i, iz; - for ( - result.push(newline), - i = cursor, - iz = stmt.specifiers.length; - i < iz; - ++i - ) - result.push(indent2), - result.push( - that.generateExpression( - stmt.specifiers[i], - Precedence.Sequence, - 7, - ), - ), - i + 1 < iz && - result.push("," + newline); - }), - endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) || result.push(newline), - result.push(base2 + "}" + space)))), - (result = join(result, [ - "from" + space, - this.generateExpression( - stmt.source, - Precedence.Sequence, - 7, - ), - this.semicolon(flags), - ]))); - }, - VariableDeclarator: function (stmt, flags) { - var itemFlags = 1 & flags ? 7 : 6; - return stmt.init - ? [ - this.generateExpression( - stmt.id, - Precedence.Assignment, - itemFlags, - ), - space, - "=", - space, - this.generateExpression( - stmt.init, - Precedence.Assignment, - itemFlags, - ), - ] - : this.generatePattern( - stmt.id, - Precedence.Assignment, - itemFlags, - ); - }, - VariableDeclaration: function (stmt, flags) { - var result, - i, - iz, - node, - bodyFlags, - that = this; - function block() { - for ( - node = stmt.declarations[0], - extra.comment && node.leadingComments - ? (result.push("\n"), - result.push( - addIndent( - that.generateStatement(node, bodyFlags), - ), - )) - : (result.push(noEmptySpace()), - result.push( - that.generateStatement(node, bodyFlags), - )), - i = 1, - iz = stmt.declarations.length; - i < iz; - ++i - ) - (node = stmt.declarations[i]), - extra.comment && node.leadingComments - ? (result.push("," + newline), - result.push( - addIndent( - that.generateStatement(node, bodyFlags), - ), - )) - : (result.push("," + space), - result.push( - that.generateStatement(node, bodyFlags), - )); - } - return ( - (result = [stmt.kind]), - (bodyFlags = 1 & flags ? 1 : 0), - stmt.declarations.length > 1 - ? withIndent(block) - : block(), - result.push(this.semicolon(flags)), - result - ); - }, - ThrowStatement: function (stmt, flags) { - return [ - join( - "throw", - this.generateExpression( - stmt.argument, - Precedence.Sequence, - 7, - ), - ), - this.semicolon(flags), - ]; - }, - TryStatement: function (stmt, flags) { - var result, i, iz, guardedHandlers; - if ( - ((result = ["try", this.maybeBlock(stmt.block, 1)]), - (result = this.maybeBlockSuffix(stmt.block, result)), - stmt.handlers) - ) - for (i = 0, iz = stmt.handlers.length; i < iz; ++i) - (result = join( - result, - this.generateStatement(stmt.handlers[i], 1), - )), - (stmt.finalizer || i + 1 !== iz) && - (result = this.maybeBlockSuffix( - stmt.handlers[i].body, - result, - )); - else { - for ( - i = 0, - iz = (guardedHandlers = stmt.guardedHandlers || []) - .length; - i < iz; - ++i - ) - (result = join( - result, - this.generateStatement(guardedHandlers[i], 1), - )), - (stmt.finalizer || i + 1 !== iz) && - (result = this.maybeBlockSuffix( - guardedHandlers[i].body, - result, - )); - if (stmt.handler) - if (Array.isArray(stmt.handler)) - for (i = 0, iz = stmt.handler.length; i < iz; ++i) - (result = join( - result, - this.generateStatement(stmt.handler[i], 1), - )), - (stmt.finalizer || i + 1 !== iz) && - (result = this.maybeBlockSuffix( - stmt.handler[i].body, - result, - )); - else - (result = join( - result, - this.generateStatement(stmt.handler, 1), - )), - stmt.finalizer && - (result = this.maybeBlockSuffix( - stmt.handler.body, - result, - )); - } - return ( - stmt.finalizer && - (result = join(result, [ - "finally", - this.maybeBlock(stmt.finalizer, 1), - ])), - result - ); - }, - SwitchStatement: function (stmt, flags) { - var result, - fragment, - i, - iz, - bodyFlags, - that = this; - if ( - (withIndent(function () { - result = [ - "switch" + space + "(", - that.generateExpression( - stmt.discriminant, - Precedence.Sequence, - 7, - ), - ")" + space + "{" + newline, - ]; - }), - stmt.cases) - ) - for ( - bodyFlags = 1, i = 0, iz = stmt.cases.length; - i < iz; - ++i - ) - i === iz - 1 && (bodyFlags |= 32), - (fragment = addIndent( - this.generateStatement(stmt.cases[i], bodyFlags), - )), - result.push(fragment), - endsWithLineTerminator( - toSourceNodeWhenNeeded(fragment).toString(), - ) || result.push(newline); - return result.push(addIndent("}")), result; - }, - SwitchCase: function (stmt, flags) { - var result, - fragment, - i, - iz, - bodyFlags, - that = this; - return ( - withIndent(function () { - for ( - result = stmt.test - ? [ - join( - "case", - that.generateExpression( - stmt.test, - Precedence.Sequence, - 7, - ), - ), - ":", - ] - : ["default:"], - i = 0, - (iz = stmt.consequent.length) && - stmt.consequent[0].type === - Syntax.BlockStatement && - ((fragment = that.maybeBlock( - stmt.consequent[0], - 1, - )), - result.push(fragment), - (i = 1)), - i !== iz && - !endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) && - result.push(newline), - bodyFlags = 1; - i < iz; - ++i - ) - i === iz - 1 && 32 & flags && (bodyFlags |= 32), - (fragment = addIndent( - that.generateStatement( - stmt.consequent[i], - bodyFlags, - ), - )), - result.push(fragment), - i + 1 !== iz && - !endsWithLineTerminator( - toSourceNodeWhenNeeded(fragment).toString(), - ) && - result.push(newline); - }), - result - ); - }, - IfStatement: function (stmt, flags) { - var result, - bodyFlags, - that = this; - return ( - withIndent(function () { - result = [ - "if" + space + "(", - that.generateExpression( - stmt.test, - Precedence.Sequence, - 7, - ), - ")", - ]; - }), - (bodyFlags = 1), - 32 & flags && (bodyFlags |= 32), - stmt.alternate - ? (result.push(this.maybeBlock(stmt.consequent, 1)), - (result = this.maybeBlockSuffix( - stmt.consequent, - result, - )), - (result = - stmt.alternate.type === Syntax.IfStatement - ? join(result, [ - "else ", - this.generateStatement( - stmt.alternate, - bodyFlags, - ), - ]) - : join( - result, - join( - "else", - this.maybeBlock( - stmt.alternate, - bodyFlags, - ), - ), - ))) - : result.push( - this.maybeBlock(stmt.consequent, bodyFlags), - ), - result - ); - }, - ForStatement: function (stmt, flags) { - var result, - that = this; - return ( - withIndent(function () { - (result = ["for" + space + "("]), - stmt.init - ? stmt.init.type === Syntax.VariableDeclaration - ? result.push( - that.generateStatement(stmt.init, 0), - ) - : (result.push( - that.generateExpression( - stmt.init, - Precedence.Sequence, - 6, - ), - ), - result.push(";")) - : result.push(";"), - stmt.test && - (result.push(space), - result.push( - that.generateExpression( - stmt.test, - Precedence.Sequence, - 7, - ), - )), - result.push(";"), - stmt.update && - (result.push(space), - result.push( - that.generateExpression( - stmt.update, - Precedence.Sequence, - 7, - ), - )), - result.push(")"); - }), - result.push( - this.maybeBlock(stmt.body, 32 & flags ? 33 : 1), - ), - result - ); - }, - ForInStatement: function (stmt, flags) { - return this.generateIterationForStatement( - "in", - stmt, - 32 & flags ? 33 : 1, - ); - }, - ForOfStatement: function (stmt, flags) { - return this.generateIterationForStatement( - "of", - stmt, - 32 & flags ? 33 : 1, - ); - }, - LabeledStatement: function (stmt, flags) { - return [ - stmt.label.name + ":", - this.maybeBlock(stmt.body, 32 & flags ? 33 : 1), - ]; - }, - Program: function (stmt, flags) { - var result, fragment, i, iz, bodyFlags; - for ( - iz = stmt.body.length, - result = [safeConcatenation && iz > 0 ? "\n" : ""], - bodyFlags = 17, - i = 0; - i < iz; - ++i - ) - !safeConcatenation && i === iz - 1 && (bodyFlags |= 32), - preserveBlankLines && - (0 === i && - (stmt.body[0].leadingComments || - generateBlankLines( - stmt.range[0], - stmt.body[i].range[0], - result, - )), - i > 0 && - !stmt.body[i - 1].trailingComments && - !stmt.body[i].leadingComments && - generateBlankLines( - stmt.body[i - 1].range[1], - stmt.body[i].range[0], - result, - )), - (fragment = addIndent( - this.generateStatement(stmt.body[i], bodyFlags), - )), - result.push(fragment), - i + 1 < iz && - !endsWithLineTerminator( - toSourceNodeWhenNeeded(fragment).toString(), - ) && - ((preserveBlankLines && - stmt.body[i + 1].leadingComments) || - result.push(newline)), - preserveBlankLines && - i === iz - 1 && - (stmt.body[i].trailingComments || - generateBlankLines( - stmt.body[i].range[1], - stmt.range[1], - result, - )); - return result; - }, - FunctionDeclaration: function (stmt, flags) { - return [ - generateAsyncPrefix(stmt, !0), - "function", - generateStarSuffix(stmt) || noEmptySpace(), - stmt.id ? generateIdentifier(stmt.id) : "", - this.generateFunctionBody(stmt), - ]; - }, - ReturnStatement: function (stmt, flags) { - return stmt.argument - ? [ - join( - "return", - this.generateExpression( - stmt.argument, - Precedence.Sequence, - 7, - ), - ), - this.semicolon(flags), - ] - : ["return" + this.semicolon(flags)]; - }, - WhileStatement: function (stmt, flags) { - var result, - that = this; - return ( - withIndent(function () { - result = [ - "while" + space + "(", - that.generateExpression( - stmt.test, - Precedence.Sequence, - 7, - ), - ")", - ]; - }), - result.push( - this.maybeBlock(stmt.body, 32 & flags ? 33 : 1), - ), - result - ); - }, - WithStatement: function (stmt, flags) { - var result, - that = this; - return ( - withIndent(function () { - result = [ - "with" + space + "(", - that.generateExpression( - stmt.object, - Precedence.Sequence, - 7, - ), - ")", - ]; - }), - result.push( - this.maybeBlock(stmt.body, 32 & flags ? 33 : 1), - ), - result - ); - }, - }), - merge(CodeGenerator.prototype, CodeGenerator.Statement), - (CodeGenerator.Expression = { - SequenceExpression: function (expr, precedence, flags) { - var result, i, iz; - for ( - Precedence.Sequence < precedence && (flags |= 1), - result = [], - i = 0, - iz = expr.expressions.length; - i < iz; - ++i - ) - result.push( - this.generateExpression( - expr.expressions[i], - Precedence.Assignment, - flags, - ), - ), - i + 1 < iz && result.push("," + space); - return parenthesize( - result, - Precedence.Sequence, - precedence, - ); - }, - AssignmentExpression: function (expr, precedence, flags) { - return this.generateAssignment( - expr.left, - expr.right, - expr.operator, - precedence, - flags, - ); - }, - ArrowFunctionExpression: function ( - expr, - precedence, - flags, - ) { - return parenthesize( - this.generateFunctionBody(expr), - Precedence.ArrowFunction, - precedence, - ); - }, - ConditionalExpression: function (expr, precedence, flags) { - return ( - Precedence.Conditional < precedence && (flags |= 1), - parenthesize( - [ - this.generateExpression( - expr.test, - Precedence.Coalesce, - flags, - ), - space + "?" + space, - this.generateExpression( - expr.consequent, - Precedence.Assignment, - flags, - ), - space + ":" + space, - this.generateExpression( - expr.alternate, - Precedence.Assignment, - flags, - ), - ], - Precedence.Conditional, - precedence, - ) - ); - }, - LogicalExpression: function (expr, precedence, flags) { - return ( - "??" === expr.operator && (flags |= 64), - this.BinaryExpression(expr, precedence, flags) - ); - }, - BinaryExpression: function (expr, precedence, flags) { - var result, - leftPrecedence, - rightPrecedence, - currentPrecedence, - fragment, - leftSource; - return ( - (currentPrecedence = BinaryPrecedence[expr.operator]), - (leftPrecedence = - "**" === expr.operator - ? Precedence.Postfix - : currentPrecedence), - (rightPrecedence = - "**" === expr.operator - ? currentPrecedence - : currentPrecedence + 1), - currentPrecedence < precedence && (flags |= 1), - (result = - 47 === - (leftSource = (fragment = this.generateExpression( - expr.left, - leftPrecedence, - flags, - )).toString()).charCodeAt(leftSource.length - 1) && - esutils.code.isIdentifierPartES5( - expr.operator.charCodeAt(0), - ) - ? [fragment, noEmptySpace(), expr.operator] - : join(fragment, expr.operator)), - (fragment = this.generateExpression( - expr.right, - rightPrecedence, - flags, - )), - ("/" === expr.operator && - "/" === fragment.toString().charAt(0)) || - ("<" === expr.operator.slice(-1) && - "!--" === fragment.toString().slice(0, 3)) - ? (result.push(noEmptySpace()), result.push(fragment)) - : (result = join(result, fragment)), - "in" !== expr.operator || 1 & flags - ? ("||" === expr.operator || - "&&" === expr.operator) && - 64 & flags - ? ["(", result, ")"] - : parenthesize( - result, - currentPrecedence, - precedence, - ) - : ["(", result, ")"] - ); - }, - CallExpression: function (expr, precedence, flags) { - var result, i, iz; - for ( - result = [ - this.generateExpression( - expr.callee, - Precedence.Call, - 3, - ), - ], - expr.optional && result.push("?."), - result.push("("), - i = 0, - iz = expr.arguments.length; - i < iz; - ++i - ) - result.push( - this.generateExpression( - expr.arguments[i], - Precedence.Assignment, - 7, - ), - ), - i + 1 < iz && result.push("," + space); - return ( - result.push(")"), - 2 & flags - ? parenthesize(result, Precedence.Call, precedence) - : ["(", result, ")"] - ); - }, - ChainExpression: function (expr, precedence, flags) { - return ( - Precedence.OptionalChaining < precedence && - (flags |= 2), - parenthesize( - this.generateExpression( - expr.expression, - Precedence.OptionalChaining, - flags, - ), - Precedence.OptionalChaining, - precedence, - ) - ); - }, - NewExpression: function (expr, precedence, flags) { - var result, length, i, iz, itemFlags; - if ( - ((length = expr.arguments.length), - (itemFlags = - 4 & flags && !parentheses && 0 === length ? 5 : 1), - (result = join( - "new", - this.generateExpression( - expr.callee, - Precedence.New, - itemFlags, - ), - )), - !(4 & flags) || parentheses || length > 0) - ) { - for (result.push("("), i = 0, iz = length; i < iz; ++i) - result.push( - this.generateExpression( - expr.arguments[i], - Precedence.Assignment, - 7, - ), - ), - i + 1 < iz && result.push("," + space); - result.push(")"); - } - return parenthesize(result, Precedence.New, precedence); - }, - MemberExpression: function (expr, precedence, flags) { - var result, fragment; - return ( - (result = [ - this.generateExpression( - expr.object, - Precedence.Call, - 2 & flags ? 3 : 1, - ), - ]), - expr.computed - ? (expr.optional && result.push("?."), - result.push("["), - result.push( - this.generateExpression( - expr.property, - Precedence.Sequence, - 2 & flags ? 7 : 5, - ), - ), - result.push("]")) - : (!expr.optional && - expr.object.type === Syntax.Literal && - "number" == typeof expr.object.value && - (fragment = - toSourceNodeWhenNeeded( - result, - ).toString()).indexOf(".") < 0 && - !/[eExX]/.test(fragment) && - esutils.code.isDecimalDigit( - fragment.charCodeAt(fragment.length - 1), - ) && - !( - fragment.length >= 2 && - 48 === fragment.charCodeAt(0) - ) && - result.push(" "), - result.push(expr.optional ? "?." : "."), - result.push(generateIdentifier(expr.property))), - parenthesize(result, Precedence.Member, precedence) - ); - }, - MetaProperty: function (expr, precedence, flags) { - var result; - return ( - (result = []).push( - "string" == typeof expr.meta - ? expr.meta - : generateIdentifier(expr.meta), - ), - result.push("."), - result.push( - "string" == typeof expr.property - ? expr.property - : generateIdentifier(expr.property), - ), - parenthesize(result, Precedence.Member, precedence) - ); - }, - UnaryExpression: function (expr, precedence, flags) { - var result, - fragment, - rightCharCode, - leftSource, - leftCharCode; - return ( - (fragment = this.generateExpression( - expr.argument, - Precedence.Unary, - 7, - )), - "" === space - ? (result = join(expr.operator, fragment)) - : ((result = [expr.operator]), - expr.operator.length > 2 - ? (result = join(result, fragment)) - : ((leftCharCode = (leftSource = - toSourceNodeWhenNeeded( - result, - ).toString()).charCodeAt( - leftSource.length - 1, - )), - (rightCharCode = fragment - .toString() - .charCodeAt(0)), - (((43 === leftCharCode || - 45 === leftCharCode) && - leftCharCode === rightCharCode) || - (esutils.code.isIdentifierPartES5( - leftCharCode, - ) && - esutils.code.isIdentifierPartES5( - rightCharCode, - ))) && - result.push(noEmptySpace()), - result.push(fragment))), - parenthesize(result, Precedence.Unary, precedence) - ); - }, - YieldExpression: function (expr, precedence, flags) { - var result; - return ( - (result = expr.delegate ? "yield*" : "yield"), - expr.argument && - (result = join( - result, - this.generateExpression( - expr.argument, - Precedence.Yield, - 7, - ), - )), - parenthesize(result, Precedence.Yield, precedence) - ); - }, - AwaitExpression: function (expr, precedence, flags) { - return parenthesize( - join( - expr.all ? "await*" : "await", - this.generateExpression( - expr.argument, - Precedence.Await, - 7, - ), - ), - Precedence.Await, - precedence, - ); - }, - UpdateExpression: function (expr, precedence, flags) { - return expr.prefix - ? parenthesize( - [ - expr.operator, - this.generateExpression( - expr.argument, - Precedence.Unary, - 7, - ), - ], - Precedence.Unary, - precedence, - ) - : parenthesize( - [ - this.generateExpression( - expr.argument, - Precedence.Postfix, - 7, - ), - expr.operator, - ], - Precedence.Postfix, - precedence, - ); - }, - FunctionExpression: function (expr, precedence, flags) { - var result = [generateAsyncPrefix(expr, !0), "function"]; - return ( - expr.id - ? (result.push( - generateStarSuffix(expr) || noEmptySpace(), - ), - result.push(generateIdentifier(expr.id))) - : result.push(generateStarSuffix(expr) || space), - result.push(this.generateFunctionBody(expr)), - result - ); - }, - ArrayPattern: function (expr, precedence, flags) { - return this.ArrayExpression(expr, precedence, flags, !0); - }, - ArrayExpression: function ( - expr, - precedence, - flags, - isPattern, - ) { - var result, - multiline, - that = this; - return expr.elements.length - ? ((multiline = !isPattern && expr.elements.length > 1), - (result = ["[", multiline ? newline : ""]), - withIndent(function (indent2) { - var i, iz; - for (i = 0, iz = expr.elements.length; i < iz; ++i) - expr.elements[i] - ? (result.push(multiline ? indent2 : ""), - result.push( - that.generateExpression( - expr.elements[i], - Precedence.Assignment, - 7, - ), - )) - : (multiline && result.push(indent2), - i + 1 === iz && result.push(",")), - i + 1 < iz && - result.push( - "," + (multiline ? newline : space), - ); - }), - multiline && - !endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) && - result.push(newline), - result.push(multiline ? base2 : ""), - result.push("]"), - result) - : "[]"; - }, - RestElement: function (expr, precedence, flags) { - return "..." + this.generatePattern(expr.argument); - }, - ClassExpression: function (expr, precedence, flags) { - var result, fragment; - return ( - (result = ["class"]), - expr.id && - (result = join( - result, - this.generateExpression( - expr.id, - Precedence.Sequence, - 7, - ), - )), - expr.superClass && - ((fragment = join( - "extends", - this.generateExpression( - expr.superClass, - Precedence.Unary, - 7, - ), - )), - (result = join(result, fragment))), - result.push(space), - result.push(this.generateStatement(expr.body, 33)), - result - ); - }, - MethodDefinition: function (expr, precedence, flags) { - var result, fragment; - return ( - (result = expr.static ? ["static" + space] : []), - (fragment = - "get" === expr.kind || "set" === expr.kind - ? [ - join( - expr.kind, - this.generatePropertyKey( - expr.key, - expr.computed, - ), - ), - this.generateFunctionBody(expr.value), - ] - : [ - generateMethodPrefix(expr), - this.generatePropertyKey( - expr.key, - expr.computed, - ), - this.generateFunctionBody(expr.value), - ]), - join(result, fragment) - ); - }, - Property: function (expr, precedence, flags) { - return "get" === expr.kind || "set" === expr.kind - ? [ - expr.kind, - noEmptySpace(), - this.generatePropertyKey(expr.key, expr.computed), - this.generateFunctionBody(expr.value), - ] - : expr.shorthand - ? "AssignmentPattern" === expr.value.type - ? this.AssignmentPattern( - expr.value, - Precedence.Sequence, - 7, - ) - : this.generatePropertyKey(expr.key, expr.computed) - : expr.method - ? [ - generateMethodPrefix(expr), - this.generatePropertyKey( - expr.key, - expr.computed, - ), - this.generateFunctionBody(expr.value), - ] - : [ - this.generatePropertyKey( - expr.key, - expr.computed, - ), - ":" + space, - this.generateExpression( - expr.value, - Precedence.Assignment, - 7, - ), - ]; - }, - ObjectExpression: function (expr, precedence, flags) { - var multiline, - result, - fragment, - that = this; - return expr.properties.length - ? ((multiline = expr.properties.length > 1), - withIndent(function () { - fragment = that.generateExpression( - expr.properties[0], - Precedence.Sequence, - 7, - ); - }), - multiline || - (function hasLineTerminator(str) { - return /[\r\n]/g.test(str); - })(toSourceNodeWhenNeeded(fragment).toString()) - ? (withIndent(function (indent2) { - var i, iz; - if ( - ((result = ["{", newline, indent2, fragment]), - multiline) - ) - for ( - result.push("," + newline), - i = 1, - iz = expr.properties.length; - i < iz; - ++i - ) - result.push(indent2), - result.push( - that.generateExpression( - expr.properties[i], - Precedence.Sequence, - 7, - ), - ), - i + 1 < iz && result.push("," + newline); - }), - endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) || result.push(newline), - result.push(base2), - result.push("}"), - result) - : ["{", space, fragment, space, "}"]) - : "{}"; - }, - AssignmentPattern: function (expr, precedence, flags) { - return this.generateAssignment( - expr.left, - expr.right, - "=", - precedence, - flags, - ); - }, - ObjectPattern: function (expr, precedence, flags) { - var result, - i, - iz, - multiline, - property, - that = this; - if (!expr.properties.length) return "{}"; - if (((multiline = !1), 1 === expr.properties.length)) - (property = expr.properties[0]).type === - Syntax.Property && - property.value.type !== Syntax.Identifier && - (multiline = !0); - else - for (i = 0, iz = expr.properties.length; i < iz; ++i) - if ( - (property = expr.properties[i]).type === - Syntax.Property && - !property.shorthand - ) { - multiline = !0; - break; - } - return ( - (result = ["{", multiline ? newline : ""]), - withIndent(function (indent2) { - var i2, iz2; - for ( - i2 = 0, iz2 = expr.properties.length; - i2 < iz2; - ++i2 - ) - result.push(multiline ? indent2 : ""), - result.push( - that.generateExpression( - expr.properties[i2], - Precedence.Sequence, - 7, - ), - ), - i2 + 1 < iz2 && - result.push( - "," + (multiline ? newline : space), - ); - }), - multiline && - !endsWithLineTerminator( - toSourceNodeWhenNeeded(result).toString(), - ) && - result.push(newline), - result.push(multiline ? base2 : ""), - result.push("}"), - result - ); - }, - ThisExpression: function (expr, precedence, flags) { - return "this"; - }, - Super: function (expr, precedence, flags) { - return "super"; - }, - Identifier: function (expr, precedence, flags) { - return generateIdentifier(expr); - }, - ImportDefaultSpecifier: function (expr, precedence, flags) { - return generateIdentifier(expr.id || expr.local); - }, - ImportNamespaceSpecifier: function ( - expr, - precedence, - flags, - ) { - var result = ["*"], - id = expr.id || expr.local; - return ( - id && - result.push( - space + - "as" + - noEmptySpace() + - generateIdentifier(id), - ), - result - ); - }, - ImportSpecifier: function (expr, precedence, flags) { - var imported = expr.imported, - result = [imported.name], - local = expr.local; - return ( - local && - local.name !== imported.name && - result.push( - noEmptySpace() + - "as" + - noEmptySpace() + - generateIdentifier(local), - ), - result - ); - }, - ExportSpecifier: function (expr, precedence, flags) { - var local = expr.local, - result = [local.name], - exported = expr.exported; - return ( - exported && - exported.name !== local.name && - result.push( - noEmptySpace() + - "as" + - noEmptySpace() + - generateIdentifier(exported), - ), - result - ); - }, - Literal: function (expr, precedence, flags) { - var raw; - if (expr.hasOwnProperty("raw") && parse5 && extra.raw) - try { - if ( - (raw = parse5(expr.raw).body[0].expression).type === - Syntax.Literal && - raw.value === expr.value - ) - return expr.raw; - } catch {} - return expr.regex - ? "/" + expr.regex.pattern + "/" + expr.regex.flags - : "bigint" == typeof expr.value - ? expr.value.toString() + "n" - : expr.bigint - ? expr.bigint + "n" - : null === expr.value - ? "null" - : "string" == typeof expr.value - ? (function escapeString(str) { - var i, - len, - code, - single, - quote, - result = "", - singleQuotes = 0, - doubleQuotes = 0; - for ( - i = 0, len = str.length; - i < len; - ++i - ) { - if (39 === (code = str.charCodeAt(i))) - ++singleQuotes; - else if (34 === code) ++doubleQuotes; - else if (47 === code && json) - result += "\\"; - else { - if ( - esutils.code.isLineTerminator(code) || - 92 === code - ) { - result += - escapeDisallowedCharacter(code); - continue; - } - if ( - !esutils.code.isIdentifierPartES5( - code, - ) && - ((json && code < 32) || - (!json && - !escapeless && - (code < 32 || code > 126))) - ) { - result += escapeAllowedCharacter( - code, - str.charCodeAt(i + 1), - ); - continue; - } - } - result += String.fromCharCode(code); - } - if ( - ((quote = (single = !( - "double" === quotes || - ("auto" === quotes && - doubleQuotes < singleQuotes) - )) - ? "'" - : '"'), - !(single ? singleQuotes : doubleQuotes)) - ) - return quote + result + quote; - for ( - str = result, - result = quote, - i = 0, - len = str.length; - i < len; - ++i - ) - ((39 === (code = str.charCodeAt(i)) && - single) || - (34 === code && !single)) && - (result += "\\"), - (result += String.fromCharCode(code)); - return result + quote; - })(expr.value) - : "number" == typeof expr.value - ? (function generateNumber(value) { - var result, point, temp, exponent, pos; - if (value != value) - throw new Error( - "Numeric literal whose value is NaN", - ); - if ( - value < 0 || - (0 === value && 1 / value < 0) - ) - throw new Error( - "Numeric literal whose value is negative", - ); - if (value === 1 / 0) - return json - ? "null" - : renumber - ? "1e400" - : "1e+400"; - if ( - ((result = "" + value), - !renumber || result.length < 3) - ) - return result; - for ( - point = result.indexOf("."), - !json && - 48 === result.charCodeAt(0) && - 1 === point && - ((point = 0), - (result = result.slice(1))), - temp = result, - result = result.replace("e+", "e"), - exponent = 0, - (pos = temp.indexOf("e")) > 0 && - ((exponent = +temp.slice(pos + 1)), - (temp = temp.slice(0, pos))), - point >= 0 && - ((exponent -= - temp.length - point - 1), - (temp = - +( - temp.slice(0, point) + - temp.slice(point + 1) - ) + "")), - pos = 0; - 48 === - temp.charCodeAt(temp.length + pos - 1); - - ) - --pos; - return ( - 0 !== pos && - ((exponent -= pos), - (temp = temp.slice(0, pos))), - 0 !== exponent && - (temp += "e" + exponent), - (temp.length < result.length || - (hexadecimal && - value > 1e12 && - Math.floor(value) === value && - (temp = "0x" + value.toString(16)) - .length < result.length)) && - +temp === value && - (result = temp), - result - ); - })(expr.value) - : "boolean" == typeof expr.value - ? expr.value - ? "true" - : "false" - : (function generateRegExp(reg) { - var match, - result, - flags, - i, - iz, - ch, - characterInBrack, - previousIsBackslash; - if ( - ((result = reg.toString()), - reg.source) - ) { - if ( - !(match = - result.match(/\/([^/]*)$/)) - ) - return result; - for ( - flags = match[1], - result = "", - characterInBrack = !1, - previousIsBackslash = !1, - i = 0, - iz = reg.source.length; - i < iz; - ++i - ) - (ch = reg.source.charCodeAt(i)), - previousIsBackslash - ? ((result += - escapeRegExpCharacter( - ch, - previousIsBackslash, - )), - (previousIsBackslash = !1)) - : (characterInBrack - ? 93 === ch && - (characterInBrack = !1) - : 47 === ch - ? (result += "\\") - : 91 === ch && - (characterInBrack = !0), - (result += - escapeRegExpCharacter( - ch, - previousIsBackslash, - )), - (previousIsBackslash = - 92 === ch)); - return "/" + result + "/" + flags; - } - return result; - })(expr.value); - }, - GeneratorExpression: function (expr, precedence, flags) { - return this.ComprehensionExpression( - expr, - precedence, - flags, - ); - }, - ComprehensionExpression: function ( - expr, - precedence, - flags, - ) { - var result, - i, - iz, - fragment, - that = this; - return ( - (result = - expr.type === Syntax.GeneratorExpression - ? ["("] - : ["["]), - extra.moz.comprehensionExpressionStartsWithAssignment && - ((fragment = this.generateExpression( - expr.body, - Precedence.Assignment, - 7, - )), - result.push(fragment)), - expr.blocks && - withIndent(function () { - for (i = 0, iz = expr.blocks.length; i < iz; ++i) - (fragment = that.generateExpression( - expr.blocks[i], - Precedence.Sequence, - 7, - )), - i > 0 || - extra.moz - .comprehensionExpressionStartsWithAssignment - ? (result = join(result, fragment)) - : result.push(fragment); - }), - expr.filter && - ((result = join(result, "if" + space)), - (fragment = this.generateExpression( - expr.filter, - Precedence.Sequence, - 7, - )), - (result = join(result, ["(", fragment, ")"]))), - extra.moz.comprehensionExpressionStartsWithAssignment || - ((fragment = this.generateExpression( - expr.body, - Precedence.Assignment, - 7, - )), - (result = join(result, fragment))), - result.push( - expr.type === Syntax.GeneratorExpression ? ")" : "]", - ), - result - ); - }, - ComprehensionBlock: function (expr, precedence, flags) { - var fragment; - return ( - (fragment = join( - (fragment = - expr.left.type === Syntax.VariableDeclaration - ? [ - expr.left.kind, - noEmptySpace(), - this.generateStatement( - expr.left.declarations[0], - 0, - ), - ] - : this.generateExpression( - expr.left, - Precedence.Call, - 7, - )), - expr.of ? "of" : "in", - )), - (fragment = join( - fragment, - this.generateExpression( - expr.right, - Precedence.Sequence, - 7, - ), - )), - ["for" + space + "(", fragment, ")"] - ); - }, - SpreadElement: function (expr, precedence, flags) { - return [ - "...", - this.generateExpression( - expr.argument, - Precedence.Assignment, - 7, - ), - ]; - }, - TaggedTemplateExpression: function ( - expr, - precedence, - flags, - ) { - var itemFlags = 3; - return ( - 2 & flags || (itemFlags = 1), - parenthesize( - [ - this.generateExpression( - expr.tag, - Precedence.Call, - itemFlags, - ), - this.generateExpression( - expr.quasi, - Precedence.Primary, - 4, - ), - ], - Precedence.TaggedTemplate, - precedence, - ) - ); - }, - TemplateElement: function (expr, precedence, flags) { - return expr.value.raw; - }, - TemplateLiteral: function (expr, precedence, flags) { - var result, i, iz; - for ( - result = ["`"], i = 0, iz = expr.quasis.length; - i < iz; - ++i - ) - result.push( - this.generateExpression( - expr.quasis[i], - Precedence.Primary, - 7, - ), - ), - i + 1 < iz && - (result.push("${" + space), - result.push( - this.generateExpression( - expr.expressions[i], - Precedence.Sequence, - 7, - ), - ), - result.push(space + "}")); - return result.push("`"), result; - }, - ModuleSpecifier: function (expr, precedence, flags) { - return this.Literal(expr, precedence, flags); - }, - ImportExpression: function (expr, precedence, flag) { - return parenthesize( - [ - "import(", - this.generateExpression( - expr.source, - Precedence.Assignment, - 7, - ), - ")", - ], - Precedence.Call, - precedence, - ); - }, - }), - merge(CodeGenerator.prototype, CodeGenerator.Expression), - (CodeGenerator.prototype.generateExpression = function ( - expr, - precedence, - flags, - ) { - var result, type; - return ( - (type = expr.type || Syntax.Property), - extra.verbatim && expr.hasOwnProperty(extra.verbatim) - ? (function generateVerbatim(expr, precedence) { - var verbatim, result; - return ( - (result = - "string" == - typeof (verbatim = expr[extra.verbatim]) - ? parenthesize( - generateVerbatimString(verbatim), - Precedence.Sequence, - precedence, - ) - : parenthesize( - (result = generateVerbatimString( - verbatim.content, - )), - null != verbatim.precedence - ? verbatim.precedence - : Precedence.Sequence, - precedence, - )), - toSourceNodeWhenNeeded(result, expr) - ); - })(expr, precedence) - : ((result = this[type](expr, precedence, flags)), - extra.comment && (result = addComments(expr, result)), - toSourceNodeWhenNeeded(result, expr)) - ); - }), - (CodeGenerator.prototype.generateStatement = function ( - stmt, - flags, - ) { - var result, fragment; - return ( - (result = this[stmt.type](stmt, flags)), - extra.comment && (result = addComments(stmt, result)), - (fragment = toSourceNodeWhenNeeded(result).toString()), - stmt.type === Syntax.Program && - !safeConcatenation && - "" === newline && - "\n" === fragment.charAt(fragment.length - 1) && - (result = sourceMap - ? toSourceNodeWhenNeeded(result).replaceRight( - /\s+$/, - "", - ) - : fragment.replace(/\s+$/, "")), - toSourceNodeWhenNeeded(result, stmt) - ); - }), - (FORMAT_MINIFY = { - indent: { style: "", base: 0 }, - renumber: !0, - hexadecimal: !0, - quotes: "auto", - escapeless: !0, - compact: !0, - parentheses: !1, - semicolons: !1, - }), - (FORMAT_DEFAULTS = { - indent: { - style: " ", - base: 0, - adjustMultilineComment: !1, - }, - newline: "\n", - space: " ", - json: !1, - renumber: !1, - hexadecimal: !1, - quotes: "single", - escapeless: !1, - compact: !1, - parentheses: !0, - semicolons: !0, - safeConcatenation: !1, - preserveBlankLines: !1, - }), - (exports.version = require_package().version), - (exports.generate = function generate2(node, options) { - var result, - pair, - defaultOptions2 = { - indent: null, - base: null, - parse: null, - comment: !1, - format: { - indent: { - style: " ", - base: 0, - adjustMultilineComment: !1, - }, - newline: "\n", - space: " ", - json: !1, - renumber: !1, - hexadecimal: !1, - quotes: "single", - escapeless: !1, - compact: !1, - parentheses: !0, - semicolons: !0, - safeConcatenation: !1, - preserveBlankLines: !1, - }, - moz: { - comprehensionExpressionStartsWithAssignment: !1, - starlessGenerator: !1, - }, - sourceMap: null, - sourceMapRoot: null, - sourceMapWithCode: !1, - directive: !1, - raw: !0, - verbatim: null, - sourceCode: null, - }; - return ( - null != options - ? ("string" == typeof options.indent && - (defaultOptions2.format.indent.style = - options.indent), - "number" == typeof options.base && - (defaultOptions2.format.indent.base = options.base), - (options = updateDeeply(defaultOptions2, options)), - (indent = options.format.indent.style), - (base2 = - "string" == typeof options.base - ? options.base - : stringRepeat( - indent, - options.format.indent.base, - ))) - : ((indent = (options = defaultOptions2).format.indent - .style), - (base2 = stringRepeat( - indent, - options.format.indent.base, - ))), - (json = options.format.json), - (renumber = options.format.renumber), - (hexadecimal = !json && options.format.hexadecimal), - (quotes = json ? "double" : options.format.quotes), - (escapeless = options.format.escapeless), - (newline = options.format.newline), - (space = options.format.space), - options.format.compact && - (newline = space = indent = base2 = ""), - (parentheses = options.format.parentheses), - (semicolons = options.format.semicolons), - (safeConcatenation = options.format.safeConcatenation), - (directive = options.directive), - (parse5 = json ? null : options.parse), - (sourceMap = options.sourceMap), - (sourceCode = options.sourceCode), - (preserveBlankLines = - options.format.preserveBlankLines && - null !== sourceCode), - (extra = options), - sourceMap && - (SourceNode = exports.browser - ? __webpack_require__.g.sourceMap.SourceNode - : require_source_map().SourceNode), - (result = generateInternal(node)), - sourceMap - ? ((pair = result.toStringWithSourceMap({ - file: options.file, - sourceRoot: options.sourceMapRoot, - })), - options.sourceContent && - pair.map.setSourceContent( - options.sourceMap, - options.sourceContent, - ), - options.sourceMapWithCode - ? pair - : pair.map.toString()) - : ((pair = { code: result.toString(), map: null }), - options.sourceMapWithCode ? pair : pair.code) - ); - }), - (exports.attachComments = estraverse.attachComments), - (exports.Precedence = updateDeeply({}, Precedence)), - (exports.browser = !1), - (exports.FORMAT_MINIFY = FORMAT_MINIFY), - (exports.FORMAT_DEFAULTS = FORMAT_DEFAULTS); - })(); - }, - }), - acorn_exports = {}; - function isInAstralSet(code, set) { - for (var pos = 65536, i = 0; i < set.length; i += 2) { - if ((pos += set[i]) > code) return !1; - if ((pos += set[i + 1]) >= code) return !0; - } - } - function isIdentifierStart(code, astral) { - return code < 65 - ? 36 === code - : code < 91 || - (code < 97 - ? 95 === code - : code < 123 || - (code <= 65535 - ? code >= 170 && - nonASCIIidentifierStart.test(String.fromCharCode(code)) - : !1 !== astral && - isInAstralSet(code, astralIdentifierStartCodes))); - } - function isIdentifierChar(code, astral) { - return code < 48 - ? 36 === code - : code < 58 || - (!(code < 65) && - (code < 91 || - (code < 97 - ? 95 === code - : code < 123 || - (code <= 65535 - ? code >= 170 && - nonASCIIidentifier.test(String.fromCharCode(code)) - : !1 !== astral && - (isInAstralSet(code, astralIdentifierStartCodes) || - isInAstralSet(code, astralIdentifierCodes)))))); - } - function binop(name, prec) { - return new TokenType(name, { beforeExpr: !0, binop: prec }); - } - function kw(name, options) { - return ( - void 0 === options && (options = {}), - (options.keyword = name), - (keywords$1[name] = new TokenType(name, options)) - ); - } - function isNewLine(code, ecma2019String) { - return ( - 10 === code || - 13 === code || - (!ecma2019String && (8232 === code || 8233 === code)) - ); - } - function has(obj, propName) { - return hasOwnProperty.call(obj, propName); - } - function wordsRegexp(words) { - return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$"); - } - function getLineInfo(input, offset2) { - for (var line = 1, cur = 0; ; ) { - lineBreakG.lastIndex = cur; - var match = lineBreakG.exec(input); - if (!(match && match.index < offset2)) - return new Position(line, offset2 - cur); - ++line, (cur = match.index + match[0].length); - } - } - function getOptions(opts) { - var options = {}; - for (var opt in defaultOptions) - options[opt] = - opts && has(opts, opt) ? opts[opt] : defaultOptions[opt]; - if ( - (options.ecmaVersion >= 2015 && (options.ecmaVersion -= 2009), - null == options.allowReserved && - (options.allowReserved = options.ecmaVersion < 5), - isArray(options.onToken)) - ) { - var tokens = options.onToken; - options.onToken = function (token) { - return tokens.push(token); - }; - } - return ( - isArray(options.onComment) && - (options.onComment = (function pushComment(options, array) { - return function (block, text, start, end, startLoc, endLoc) { - var comment = { - type: block ? "Block" : "Line", - value: text, - start, - end, - }; - options.locations && - (comment.loc = new SourceLocation(this, startLoc, endLoc)), - options.ranges && (comment.range = [start, end]), - array.push(comment); - }; - })(options, options.onComment)), - options - ); - } - function functionFlags(async, generator) { - return ( - SCOPE_FUNCTION | - (async ? SCOPE_ASYNC : 0) | - (generator ? SCOPE_GENERATOR : 0) - ); - } - function DestructuringErrors() { - this.shorthandAssign = - this.trailingComma = - this.parenthesizedAssign = - this.parenthesizedBind = - this.doubleProto = - -1; - } - function finishNodeAt(node, type, pos, loc) { - return ( - (node.type = type), - (node.end = pos), - this.options.locations && (node.loc.end = loc), - this.options.ranges && (node.range[1] = pos), - node - ); - } - function buildUnicodeData(ecmaVersion) { - var d = (data[ecmaVersion] = { - binary: wordsRegexp( - unicodeBinaryProperties[ecmaVersion] + - " " + - unicodeGeneralCategoryValues, - ), - nonBinary: { - General_Category: wordsRegexp(unicodeGeneralCategoryValues), - Script: wordsRegexp(unicodeScriptValues[ecmaVersion]), - }, - }); - (d.nonBinary.Script_Extensions = d.nonBinary.Script), - (d.nonBinary.gc = d.nonBinary.General_Category), - (d.nonBinary.sc = d.nonBinary.Script), - (d.nonBinary.scx = d.nonBinary.Script_Extensions); - } - function codePointToString(ch) { - return ch <= 65535 - ? String.fromCharCode(ch) - : ((ch -= 65536), - String.fromCharCode(55296 + (ch >> 10), 56320 + (1023 & ch))); - } - function isSyntaxCharacter(ch) { - return ( - 36 === ch || - (ch >= 40 && ch <= 43) || - 46 === ch || - 63 === ch || - (ch >= 91 && ch <= 94) || - (ch >= 123 && ch <= 125) - ); - } - function isControlLetter(ch) { - return (ch >= 65 && ch <= 90) || (ch >= 97 && ch <= 122); - } - function isUnicodePropertyNameCharacter(ch) { - return isControlLetter(ch) || 95 === ch; - } - function isUnicodePropertyValueCharacter(ch) { - return isUnicodePropertyNameCharacter(ch) || isDecimalDigit(ch); - } - function isDecimalDigit(ch) { - return ch >= 48 && ch <= 57; - } - function isHexDigit(ch) { - return ( - (ch >= 48 && ch <= 57) || - (ch >= 65 && ch <= 70) || - (ch >= 97 && ch <= 102) - ); - } - function hexToInt(ch) { - return ch >= 65 && ch <= 70 - ? ch - 65 + 10 - : ch >= 97 && ch <= 102 - ? ch - 97 + 10 - : ch - 48; - } - function isOctalDigit(ch) { - return ch >= 48 && ch <= 55; - } - function stringToBigInt(str) { - return "function" != typeof BigInt - ? null - : BigInt(str.replace(/_/g, "")); - } - function codePointToString$1(code) { - return code <= 65535 - ? String.fromCharCode(code) - : ((code -= 65536), - String.fromCharCode(55296 + (code >> 10), 56320 + (1023 & code))); - } - function parse3(input, options) { - return Parser.parse(input, options); - } - function parseExpressionAt2(input, pos, options) { - return Parser.parseExpressionAt(input, pos, options); - } - function tokenizer2(input, options) { - return Parser.tokenizer(input, options); - } - (0, _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.VA)( - acorn_exports, - { - Node: () => Node, - Parser: () => Parser, - Position: () => Position, - SourceLocation: () => SourceLocation, - TokContext: () => TokContext, - Token: () => Token, - TokenType: () => TokenType, - defaultOptions: () => defaultOptions, - getLineInfo: () => getLineInfo, - isIdentifierChar: () => isIdentifierChar, - isIdentifierStart: () => isIdentifierStart, - isNewLine: () => isNewLine, - keywordTypes: () => keywords$1, - lineBreak: () => lineBreak, - lineBreakG: () => lineBreakG, - nonASCIIwhitespace: () => nonASCIIwhitespace, - parse: () => parse3, - parseExpressionAt: () => parseExpressionAt2, - tokContexts: () => types$1, - tokTypes: () => types, - tokenizer: () => tokenizer2, - version: () => version, - }, - ); - var reservedWords, - ecma5AndLessKeywords, - keywords, - keywordRelationalOperator, - nonASCIIidentifierStartChars, - nonASCIIidentifierChars, - nonASCIIidentifierStart, - nonASCIIidentifier, - astralIdentifierStartCodes, - astralIdentifierCodes, - TokenType, - beforeExpr, - startsExpr, - keywords$1, - types, - lineBreak, - lineBreakG, - nonASCIIwhitespace, - skipWhiteSpace, - ref, - hasOwnProperty, - toString, - isArray, - Position, - SourceLocation, - defaultOptions, - SCOPE_FUNCTION, - SCOPE_VAR, - SCOPE_ASYNC, - SCOPE_GENERATOR, - Parser, - prototypeAccessors, - pp, - literal, - pp$1, - loopLabel, - switchLabel, - empty, - FUNC_STATEMENT, - FUNC_HANGING_STATEMENT, - pp$2, - pp$3, - empty$1, - pp$4, - pp$5, - Scope, - Node, - pp$6, - TokContext, - types$1, - pp$7, - ecma9BinaryProperties, - ecma10BinaryProperties, - unicodeBinaryProperties, - unicodeGeneralCategoryValues, - ecma9ScriptValues, - ecma10ScriptValues, - unicodeScriptValues, - data, - pp$8, - RegExpValidationState, - Token, - pp$9, - INVALID_TEMPLATE_ESCAPE_ERROR, - version, - init_acorn = (0, _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.E)({ - "../../node_modules/acorn/dist/acorn.mjs"() { - (reservedWords = { - 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", - 5: "class enum extends super const export import", - 6: "enum", - strict: - "implements interface let package private protected public static yield", - strictBind: "eval arguments", - }), - (keywords = { - 5: (ecma5AndLessKeywords = - "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), - "5module": ecma5AndLessKeywords + " export import", - 6: - ecma5AndLessKeywords + - " const class extends export import super", - }), - (keywordRelationalOperator = /^in(stanceof)?$/), - (nonASCIIidentifierStartChars = - "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"), - (nonASCIIidentifierChars = - "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_"), - (nonASCIIidentifierStart = new RegExp( - "[" + nonASCIIidentifierStartChars + "]", - )), - (nonASCIIidentifier = new RegExp( - "[" + - nonASCIIidentifierStartChars + - nonASCIIidentifierChars + - "]", - )), - (nonASCIIidentifierStartChars = nonASCIIidentifierChars = null), - (astralIdentifierStartCodes = [ - 0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, - 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, - 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, - 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, - 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, - 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, - 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, - 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, - 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, - 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, - 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, - 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, - 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, - 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, - 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, - 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, - 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, - 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, - 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, - 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, - 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, - 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, - 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, - 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, - 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, - 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, - 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, - 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, - 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, - ]), - (astralIdentifierCodes = [ - 509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, - 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, - 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, - 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, - 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, - 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, - 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, - 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, - 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, - 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, - 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, - 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, - 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, - 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, - 6, 6, 9, 4759, 9, 787719, 239, - ]), - (beforeExpr = { beforeExpr: !0 }), - (keywords$1 = {}), - (types = { - num: new (TokenType = function (label, conf) { - void 0 === conf && (conf = {}), - (this.label = label), - (this.keyword = conf.keyword), - (this.beforeExpr = !!conf.beforeExpr), - (this.startsExpr = !!conf.startsExpr), - (this.isLoop = !!conf.isLoop), - (this.isAssign = !!conf.isAssign), - (this.prefix = !!conf.prefix), - (this.postfix = !!conf.postfix), - (this.binop = conf.binop || null), - (this.updateContext = null); - })("num", (startsExpr = { startsExpr: !0 })), - regexp: new TokenType("regexp", startsExpr), - string: new TokenType("string", startsExpr), - name: new TokenType("name", startsExpr), - eof: new TokenType("eof"), - bracketL: new TokenType("[", { - beforeExpr: !0, - startsExpr: !0, - }), - bracketR: new TokenType("]"), - braceL: new TokenType("{", { - beforeExpr: !0, - startsExpr: !0, - }), - braceR: new TokenType("}"), - parenL: new TokenType("(", { - beforeExpr: !0, - startsExpr: !0, - }), - parenR: new TokenType(")"), - comma: new TokenType(",", beforeExpr), - semi: new TokenType(";", beforeExpr), - colon: new TokenType(":", beforeExpr), - dot: new TokenType("."), - question: new TokenType("?", beforeExpr), - questionDot: new TokenType("?."), - arrow: new TokenType("=>", beforeExpr), - template: new TokenType("template"), - invalidTemplate: new TokenType("invalidTemplate"), - ellipsis: new TokenType("...", beforeExpr), - backQuote: new TokenType("`", startsExpr), - dollarBraceL: new TokenType("${", { - beforeExpr: !0, - startsExpr: !0, - }), - eq: new TokenType("=", { beforeExpr: !0, isAssign: !0 }), - assign: new TokenType("_=", { beforeExpr: !0, isAssign: !0 }), - incDec: new TokenType("++/--", { - prefix: !0, - postfix: !0, - startsExpr: !0, - }), - prefix: new TokenType("!/~", { - beforeExpr: !0, - prefix: !0, - startsExpr: !0, - }), - logicalOR: binop("||", 1), - logicalAND: binop("&&", 2), - bitwiseOR: binop("|", 3), - bitwiseXOR: binop("^", 4), - bitwiseAND: binop("&", 5), - equality: binop("==/!=/===/!==", 6), - relational: binop("/<=/>=", 7), - bitShift: binop("<>/>>>", 8), - plusMin: new TokenType("+/-", { - beforeExpr: !0, - binop: 9, - prefix: !0, - startsExpr: !0, - }), - modulo: binop("%", 10), - star: binop("*", 10), - slash: binop("/", 10), - starstar: new TokenType("**", { beforeExpr: !0 }), - coalesce: binop("??", 1), - _break: kw("break"), - _case: kw("case", beforeExpr), - _catch: kw("catch"), - _continue: kw("continue"), - _debugger: kw("debugger"), - _default: kw("default", beforeExpr), - _do: kw("do", { isLoop: !0, beforeExpr: !0 }), - _else: kw("else", beforeExpr), - _finally: kw("finally"), - _for: kw("for", { isLoop: !0 }), - _function: kw("function", startsExpr), - _if: kw("if"), - _return: kw("return", beforeExpr), - _switch: kw("switch"), - _throw: kw("throw", beforeExpr), - _try: kw("try"), - _var: kw("var"), - _const: kw("const"), - _while: kw("while", { isLoop: !0 }), - _with: kw("with"), - _new: kw("new", { beforeExpr: !0, startsExpr: !0 }), - _this: kw("this", startsExpr), - _super: kw("super", startsExpr), - _class: kw("class", startsExpr), - _extends: kw("extends", beforeExpr), - _export: kw("export"), - _import: kw("import", startsExpr), - _null: kw("null", startsExpr), - _true: kw("true", startsExpr), - _false: kw("false", startsExpr), - _in: kw("in", { beforeExpr: !0, binop: 7 }), - _instanceof: kw("instanceof", { beforeExpr: !0, binop: 7 }), - _typeof: kw("typeof", { - beforeExpr: !0, - prefix: !0, - startsExpr: !0, - }), - _void: kw("void", { - beforeExpr: !0, - prefix: !0, - startsExpr: !0, - }), - _delete: kw("delete", { - beforeExpr: !0, - prefix: !0, - startsExpr: !0, - }), - }), - (lineBreak = /\r\n?|\n|\u2028|\u2029/), - (lineBreakG = new RegExp(lineBreak.source, "g")), - (nonASCIIwhitespace = - /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/), - (skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g), - (ref = Object.prototype), - (hasOwnProperty = ref.hasOwnProperty), - (toString = ref.toString), - (isArray = - Array.isArray || - function (obj) { - return "[object Array]" === toString.call(obj); - }), - ((Position = function (line, col) { - (this.line = line), (this.column = col); - }).prototype.offset = function (n) { - return new Position(this.line, this.column + n); - }), - (SourceLocation = function (p, start, end) { - (this.start = start), - (this.end = end), - null !== p.sourceFile && (this.source = p.sourceFile); - }), - (defaultOptions = { - ecmaVersion: 10, - sourceType: "script", - onInsertedSemicolon: null, - onTrailingComma: null, - allowReserved: null, - allowReturnOutsideFunction: !1, - allowImportExportEverywhere: !1, - allowAwaitOutsideFunction: !1, - allowHashBang: !1, - locations: !1, - onToken: null, - onComment: null, - ranges: !1, - program: null, - sourceFile: null, - directSourceFile: null, - preserveParens: !1, - }), - (SCOPE_VAR = 1 | (SCOPE_FUNCTION = 2)), - (SCOPE_ASYNC = 4), - (SCOPE_GENERATOR = 8), - (prototypeAccessors = { - inFunction: { configurable: !0 }, - inGenerator: { configurable: !0 }, - inAsync: { configurable: !0 }, - allowSuper: { configurable: !0 }, - allowDirectSuper: { configurable: !0 }, - treatFunctionsAsVar: { configurable: !0 }, - }), - ((Parser = function (options, input, startPos) { - (this.options = options = getOptions(options)), - (this.sourceFile = options.sourceFile), - (this.keywords = wordsRegexp( - keywords[ - options.ecmaVersion >= 6 - ? 6 - : "module" === options.sourceType - ? "5module" - : 5 - ], - )); - var reserved = ""; - if (!0 !== options.allowReserved) { - for ( - var v = options.ecmaVersion; - !(reserved = reservedWords[v]); - v-- - ); - "module" === options.sourceType && (reserved += " await"); - } - this.reservedWords = wordsRegexp(reserved); - var reservedStrict = - (reserved ? reserved + " " : "") + reservedWords.strict; - (this.reservedWordsStrict = wordsRegexp(reservedStrict)), - (this.reservedWordsStrictBind = wordsRegexp( - reservedStrict + " " + reservedWords.strictBind, - )), - (this.input = String(input)), - (this.containsEsc = !1), - startPos - ? ((this.pos = startPos), - (this.lineStart = - this.input.lastIndexOf("\n", startPos - 1) + 1), - (this.curLine = this.input - .slice(0, this.lineStart) - .split(lineBreak).length)) - : ((this.pos = this.lineStart = 0), (this.curLine = 1)), - (this.type = types.eof), - (this.value = null), - (this.start = this.end = this.pos), - (this.startLoc = this.endLoc = this.curPosition()), - (this.lastTokEndLoc = this.lastTokStartLoc = null), - (this.lastTokStart = this.lastTokEnd = this.pos), - (this.context = this.initialContext()), - (this.exprAllowed = !0), - (this.inModule = "module" === options.sourceType), - (this.strict = - this.inModule || this.strictDirective(this.pos)), - (this.potentialArrowAt = -1), - (this.yieldPos = this.awaitPos = this.awaitIdentPos = 0), - (this.labels = []), - (this.undefinedExports = {}), - 0 === this.pos && - options.allowHashBang && - "#!" === this.input.slice(0, 2) && - this.skipLineComment(2), - (this.scopeStack = []), - this.enterScope(1), - (this.regexpState = null); - }).prototype.parse = function () { - var node = this.options.program || this.startNode(); - return this.nextToken(), this.parseTopLevel(node); - }), - (prototypeAccessors.inFunction.get = function () { - return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0; - }), - (prototypeAccessors.inGenerator.get = function () { - return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0; - }), - (prototypeAccessors.inAsync.get = function () { - return (this.currentVarScope().flags & SCOPE_ASYNC) > 0; - }), - (prototypeAccessors.allowSuper.get = function () { - return (64 & this.currentThisScope().flags) > 0; - }), - (prototypeAccessors.allowDirectSuper.get = function () { - return (128 & this.currentThisScope().flags) > 0; - }), - (prototypeAccessors.treatFunctionsAsVar.get = function () { - return this.treatFunctionsAsVarInScope(this.currentScope()); - }), - (Parser.prototype.inNonArrowFunction = function () { - return (this.currentThisScope().flags & SCOPE_FUNCTION) > 0; - }), - (Parser.extend = function () { - for (var plugins = [], len = arguments.length; len--; ) - plugins[len] = arguments[len]; - for (var cls = this, i = 0; i < plugins.length; i++) - cls = plugins[i](cls); - return cls; - }), - (Parser.parse = function (input, options) { - return new this(options, input).parse(); - }), - (Parser.parseExpressionAt = function (input, pos, options) { - var parser = new this(options, input, pos); - return parser.nextToken(), parser.parseExpression(); - }), - (Parser.tokenizer = function (input, options) { - return new this(options, input); - }), - Object.defineProperties(Parser.prototype, prototypeAccessors), - (pp = Parser.prototype), - (literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/), - (pp.strictDirective = function (start) { - for (;;) { - (skipWhiteSpace.lastIndex = start), - (start += skipWhiteSpace.exec(this.input)[0].length); - var match = literal.exec(this.input.slice(start)); - if (!match) return !1; - if ("use strict" === (match[1] || match[2])) { - skipWhiteSpace.lastIndex = start + match[0].length; - var spaceAfter = skipWhiteSpace.exec(this.input), - end = spaceAfter.index + spaceAfter[0].length, - next = this.input.charAt(end); - return ( - ";" === next || - "}" === next || - (lineBreak.test(spaceAfter[0]) && - !( - /[(`.[+\-/*%<>=,?^&]/.test(next) || - ("!" === next && "=" === this.input.charAt(end + 1)) - )) - ); - } - (start += match[0].length), - (skipWhiteSpace.lastIndex = start), - (start += skipWhiteSpace.exec(this.input)[0].length), - ";" === this.input[start] && start++; - } - }), - (pp.eat = function (type) { - return this.type === type && (this.next(), !0); - }), - (pp.isContextual = function (name) { - return ( - this.type === types.name && - this.value === name && - !this.containsEsc - ); - }), - (pp.eatContextual = function (name) { - return !!this.isContextual(name) && (this.next(), !0); - }), - (pp.expectContextual = function (name) { - this.eatContextual(name) || this.unexpected(); - }), - (pp.canInsertSemicolon = function () { - return ( - this.type === types.eof || - this.type === types.braceR || - lineBreak.test( - this.input.slice(this.lastTokEnd, this.start), - ) - ); - }), - (pp.insertSemicolon = function () { - if (this.canInsertSemicolon()) - return ( - this.options.onInsertedSemicolon && - this.options.onInsertedSemicolon( - this.lastTokEnd, - this.lastTokEndLoc, - ), - !0 - ); - }), - (pp.semicolon = function () { - !this.eat(types.semi) && - !this.insertSemicolon() && - this.unexpected(); - }), - (pp.afterTrailingComma = function (tokType, notNext) { - if (this.type === tokType) - return ( - this.options.onTrailingComma && - this.options.onTrailingComma( - this.lastTokStart, - this.lastTokStartLoc, - ), - notNext || this.next(), - !0 - ); - }), - (pp.expect = function (type) { - this.eat(type) || this.unexpected(); - }), - (pp.unexpected = function (pos) { - this.raise(pos ?? this.start, "Unexpected token"); - }), - (pp.checkPatternErrors = function ( - refDestructuringErrors, - isAssign, - ) { - if (refDestructuringErrors) { - refDestructuringErrors.trailingComma > -1 && - this.raiseRecoverable( - refDestructuringErrors.trailingComma, - "Comma is not permitted after the rest element", - ); - var parens = isAssign - ? refDestructuringErrors.parenthesizedAssign - : refDestructuringErrors.parenthesizedBind; - parens > -1 && - this.raiseRecoverable(parens, "Parenthesized pattern"); - } - }), - (pp.checkExpressionErrors = function ( - refDestructuringErrors, - andThrow, - ) { - if (!refDestructuringErrors) return !1; - var shorthandAssign = refDestructuringErrors.shorthandAssign, - doubleProto = refDestructuringErrors.doubleProto; - if (!andThrow) - return shorthandAssign >= 0 || doubleProto >= 0; - shorthandAssign >= 0 && - this.raise( - shorthandAssign, - "Shorthand property assignments are valid only in destructuring patterns", - ), - doubleProto >= 0 && - this.raiseRecoverable( - doubleProto, - "Redefinition of __proto__ property", - ); - }), - (pp.checkYieldAwaitInDefaultParams = function () { - this.yieldPos && - (!this.awaitPos || this.yieldPos < this.awaitPos) && - this.raise( - this.yieldPos, - "Yield expression cannot be a default value", - ), - this.awaitPos && - this.raise( - this.awaitPos, - "Await expression cannot be a default value", - ); - }), - (pp.isSimpleAssignTarget = function (expr) { - return "ParenthesizedExpression" === expr.type - ? this.isSimpleAssignTarget(expr.expression) - : "Identifier" === expr.type || - "MemberExpression" === expr.type; - }), - ((pp$1 = Parser.prototype).parseTopLevel = function (node) { - var exports = {}; - for ( - node.body || (node.body = []); - this.type !== types.eof; - - ) { - var stmt = this.parseStatement(null, !0, exports); - node.body.push(stmt); - } - if (this.inModule) - for ( - var i = 0, list = Object.keys(this.undefinedExports); - i < list.length; - i += 1 - ) { - var name = list[i]; - this.raiseRecoverable( - this.undefinedExports[name].start, - "Export '" + name + "' is not defined", - ); - } - return ( - this.adaptDirectivePrologue(node.body), - this.next(), - (node.sourceType = this.options.sourceType), - this.finishNode(node, "Program") - ); - }), - (loopLabel = { kind: "loop" }), - (switchLabel = { kind: "switch" }), - (pp$1.isLet = function (context) { - if (this.options.ecmaVersion < 6 || !this.isContextual("let")) - return !1; - skipWhiteSpace.lastIndex = this.pos; - var skip = skipWhiteSpace.exec(this.input), - next = this.pos + skip[0].length, - nextCh = this.input.charCodeAt(next); - if (91 === nextCh) return !0; - if (context) return !1; - if (123 === nextCh) return !0; - if (isIdentifierStart(nextCh, !0)) { - for ( - var pos = next + 1; - isIdentifierChar(this.input.charCodeAt(pos), !0); - - ) - ++pos; - var ident = this.input.slice(next, pos); - if (!keywordRelationalOperator.test(ident)) return !0; - } - return !1; - }), - (pp$1.isAsyncFunction = function () { - if ( - this.options.ecmaVersion < 8 || - !this.isContextual("async") - ) - return !1; - skipWhiteSpace.lastIndex = this.pos; - var skip = skipWhiteSpace.exec(this.input), - next = this.pos + skip[0].length; - return !( - lineBreak.test(this.input.slice(this.pos, next)) || - "function" !== this.input.slice(next, next + 8) || - (next + 8 !== this.input.length && - isIdentifierChar(this.input.charAt(next + 8))) - ); - }), - (pp$1.parseStatement = function (context, topLevel, exports) { - var kind, - starttype = this.type, - node = this.startNode(); - switch ( - (this.isLet(context) && - ((starttype = types._var), (kind = "let")), - starttype) - ) { - case types._break: - case types._continue: - return this.parseBreakContinueStatement( - node, - starttype.keyword, - ); - case types._debugger: - return this.parseDebuggerStatement(node); - case types._do: - return this.parseDoStatement(node); - case types._for: - return this.parseForStatement(node); - case types._function: - return ( - context && - (this.strict || - ("if" !== context && "label" !== context)) && - this.options.ecmaVersion >= 6 && - this.unexpected(), - this.parseFunctionStatement(node, !1, !context) - ); - case types._class: - return ( - context && this.unexpected(), this.parseClass(node, !0) - ); - case types._if: - return this.parseIfStatement(node); - case types._return: - return this.parseReturnStatement(node); - case types._switch: - return this.parseSwitchStatement(node); - case types._throw: - return this.parseThrowStatement(node); - case types._try: - return this.parseTryStatement(node); - case types._const: - case types._var: - return ( - (kind = kind || this.value), - context && "var" !== kind && this.unexpected(), - this.parseVarStatement(node, kind) - ); - case types._while: - return this.parseWhileStatement(node); - case types._with: - return this.parseWithStatement(node); - case types.braceL: - return this.parseBlock(!0, node); - case types.semi: - return this.parseEmptyStatement(node); - case types._export: - case types._import: - if ( - this.options.ecmaVersion > 10 && - starttype === types._import - ) { - skipWhiteSpace.lastIndex = this.pos; - var skip = skipWhiteSpace.exec(this.input), - next = this.pos + skip[0].length, - nextCh = this.input.charCodeAt(next); - if (40 === nextCh || 46 === nextCh) - return this.parseExpressionStatement( - node, - this.parseExpression(), - ); - } - return ( - this.options.allowImportExportEverywhere || - (topLevel || - this.raise( - this.start, - "'import' and 'export' may only appear at the top level", - ), - this.inModule || - this.raise( - this.start, - "'import' and 'export' may appear only with 'sourceType: module'", - )), - starttype === types._import - ? this.parseImport(node) - : this.parseExport(node, exports) - ); - default: - if (this.isAsyncFunction()) - return ( - context && this.unexpected(), - this.next(), - this.parseFunctionStatement(node, !0, !context) - ); - var maybeName = this.value, - expr = this.parseExpression(); - return starttype === types.name && - "Identifier" === expr.type && - this.eat(types.colon) - ? this.parseLabeledStatement( - node, - maybeName, - expr, - context, - ) - : this.parseExpressionStatement(node, expr); - } - }), - (pp$1.parseBreakContinueStatement = function (node, keyword) { - var isBreak = "break" === keyword; - this.next(), - this.eat(types.semi) || this.insertSemicolon() - ? (node.label = null) - : this.type !== types.name - ? this.unexpected() - : ((node.label = this.parseIdent()), this.semicolon()); - for (var i = 0; i < this.labels.length; ++i) { - var lab = this.labels[i]; - if ( - (null == node.label || lab.name === node.label.name) && - ((null != lab.kind && (isBreak || "loop" === lab.kind)) || - (node.label && isBreak)) - ) - break; - } - return ( - i === this.labels.length && - this.raise(node.start, "Unsyntactic " + keyword), - this.finishNode( - node, - isBreak ? "BreakStatement" : "ContinueStatement", - ) - ); - }), - (pp$1.parseDebuggerStatement = function (node) { - return ( - this.next(), - this.semicolon(), - this.finishNode(node, "DebuggerStatement") - ); - }), - (pp$1.parseDoStatement = function (node) { - return ( - this.next(), - this.labels.push(loopLabel), - (node.body = this.parseStatement("do")), - this.labels.pop(), - this.expect(types._while), - (node.test = this.parseParenExpression()), - this.options.ecmaVersion >= 6 - ? this.eat(types.semi) - : this.semicolon(), - this.finishNode(node, "DoWhileStatement") - ); - }), - (pp$1.parseForStatement = function (node) { - this.next(); - var awaitAt = - this.options.ecmaVersion >= 9 && - (this.inAsync || - (!this.inFunction && - this.options.allowAwaitOutsideFunction)) && - this.eatContextual("await") - ? this.lastTokStart - : -1; - if ( - (this.labels.push(loopLabel), - this.enterScope(0), - this.expect(types.parenL), - this.type === types.semi) - ) - return ( - awaitAt > -1 && this.unexpected(awaitAt), - this.parseFor(node, null) - ); - var isLet = this.isLet(); - if ( - this.type === types._var || - this.type === types._const || - isLet - ) { - var init$1 = this.startNode(), - kind = isLet ? "let" : this.value; - return ( - this.next(), - this.parseVar(init$1, !0, kind), - this.finishNode(init$1, "VariableDeclaration"), - (this.type === types._in || - (this.options.ecmaVersion >= 6 && - this.isContextual("of"))) && - 1 === init$1.declarations.length - ? (this.options.ecmaVersion >= 9 && - (this.type === types._in - ? awaitAt > -1 && this.unexpected(awaitAt) - : (node.await = awaitAt > -1)), - this.parseForIn(node, init$1)) - : (awaitAt > -1 && this.unexpected(awaitAt), - this.parseFor(node, init$1)) - ); - } - var refDestructuringErrors = new DestructuringErrors(), - init = this.parseExpression(!0, refDestructuringErrors); - return this.type === types._in || - (this.options.ecmaVersion >= 6 && this.isContextual("of")) - ? (this.options.ecmaVersion >= 9 && - (this.type === types._in - ? awaitAt > -1 && this.unexpected(awaitAt) - : (node.await = awaitAt > -1)), - this.toAssignable(init, !1, refDestructuringErrors), - this.checkLVal(init), - this.parseForIn(node, init)) - : (this.checkExpressionErrors(refDestructuringErrors, !0), - awaitAt > -1 && this.unexpected(awaitAt), - this.parseFor(node, init)); - }), - (pp$1.parseFunctionStatement = function ( - node, - isAsync, - declarationPosition, - ) { - return ( - this.next(), - this.parseFunction( - node, - FUNC_STATEMENT | - (declarationPosition ? 0 : FUNC_HANGING_STATEMENT), - !1, - isAsync, - ) - ); - }), - (pp$1.parseIfStatement = function (node) { - return ( - this.next(), - (node.test = this.parseParenExpression()), - (node.consequent = this.parseStatement("if")), - (node.alternate = this.eat(types._else) - ? this.parseStatement("if") - : null), - this.finishNode(node, "IfStatement") - ); - }), - (pp$1.parseReturnStatement = function (node) { - return ( - !this.inFunction && - !this.options.allowReturnOutsideFunction && - this.raise(this.start, "'return' outside of function"), - this.next(), - this.eat(types.semi) || this.insertSemicolon() - ? (node.argument = null) - : ((node.argument = this.parseExpression()), - this.semicolon()), - this.finishNode(node, "ReturnStatement") - ); - }), - (pp$1.parseSwitchStatement = function (node) { - this.next(), - (node.discriminant = this.parseParenExpression()), - (node.cases = []), - this.expect(types.braceL), - this.labels.push(switchLabel), - this.enterScope(0); - for (var cur, sawDefault = !1; this.type !== types.braceR; ) - if ( - this.type === types._case || - this.type === types._default - ) { - var isCase = this.type === types._case; - cur && this.finishNode(cur, "SwitchCase"), - node.cases.push((cur = this.startNode())), - (cur.consequent = []), - this.next(), - isCase - ? (cur.test = this.parseExpression()) - : (sawDefault && - this.raiseRecoverable( - this.lastTokStart, - "Multiple default clauses", - ), - (sawDefault = !0), - (cur.test = null)), - this.expect(types.colon); - } else - cur || this.unexpected(), - cur.consequent.push(this.parseStatement(null)); - return ( - this.exitScope(), - cur && this.finishNode(cur, "SwitchCase"), - this.next(), - this.labels.pop(), - this.finishNode(node, "SwitchStatement") - ); - }), - (pp$1.parseThrowStatement = function (node) { - return ( - this.next(), - lineBreak.test( - this.input.slice(this.lastTokEnd, this.start), - ) && - this.raise( - this.lastTokEnd, - "Illegal newline after throw", - ), - (node.argument = this.parseExpression()), - this.semicolon(), - this.finishNode(node, "ThrowStatement") - ); - }), - (empty = []), - (pp$1.parseTryStatement = function (node) { - if ( - (this.next(), - (node.block = this.parseBlock()), - (node.handler = null), - this.type === types._catch) - ) { - var clause = this.startNode(); - if ((this.next(), this.eat(types.parenL))) { - clause.param = this.parseBindingAtom(); - var simple2 = "Identifier" === clause.param.type; - this.enterScope(simple2 ? 32 : 0), - this.checkLVal(clause.param, simple2 ? 4 : 2), - this.expect(types.parenR); - } else - this.options.ecmaVersion < 10 && this.unexpected(), - (clause.param = null), - this.enterScope(0); - (clause.body = this.parseBlock(!1)), - this.exitScope(), - (node.handler = this.finishNode(clause, "CatchClause")); - } - return ( - (node.finalizer = this.eat(types._finally) - ? this.parseBlock() - : null), - !node.handler && - !node.finalizer && - this.raise(node.start, "Missing catch or finally clause"), - this.finishNode(node, "TryStatement") - ); - }), - (pp$1.parseVarStatement = function (node, kind) { - return ( - this.next(), - this.parseVar(node, !1, kind), - this.semicolon(), - this.finishNode(node, "VariableDeclaration") - ); - }), - (pp$1.parseWhileStatement = function (node) { - return ( - this.next(), - (node.test = this.parseParenExpression()), - this.labels.push(loopLabel), - (node.body = this.parseStatement("while")), - this.labels.pop(), - this.finishNode(node, "WhileStatement") - ); - }), - (pp$1.parseWithStatement = function (node) { - return ( - this.strict && - this.raise(this.start, "'with' in strict mode"), - this.next(), - (node.object = this.parseParenExpression()), - (node.body = this.parseStatement("with")), - this.finishNode(node, "WithStatement") - ); - }), - (pp$1.parseEmptyStatement = function (node) { - return this.next(), this.finishNode(node, "EmptyStatement"); - }), - (pp$1.parseLabeledStatement = function ( - node, - maybeName, - expr, - context, - ) { - for ( - var i$1 = 0, list = this.labels; - i$1 < list.length; - i$1 += 1 - ) { - list[i$1].name === maybeName && - this.raise( - expr.start, - "Label '" + maybeName + "' is already declared", - ); - } - for ( - var kind = this.type.isLoop - ? "loop" - : this.type === types._switch - ? "switch" - : null, - i = this.labels.length - 1; - i >= 0; - i-- - ) { - var label$1 = this.labels[i]; - if (label$1.statementStart !== node.start) break; - (label$1.statementStart = this.start), - (label$1.kind = kind); - } - return ( - this.labels.push({ - name: maybeName, - kind, - statementStart: this.start, - }), - (node.body = this.parseStatement( - context - ? -1 === context.indexOf("label") - ? context + "label" - : context - : "label", - )), - this.labels.pop(), - (node.label = expr), - this.finishNode(node, "LabeledStatement") - ); - }), - (pp$1.parseExpressionStatement = function (node, expr) { - return ( - (node.expression = expr), - this.semicolon(), - this.finishNode(node, "ExpressionStatement") - ); - }), - (pp$1.parseBlock = function ( - createNewLexicalScope, - node, - exitStrict, - ) { - for ( - void 0 === createNewLexicalScope && - (createNewLexicalScope = !0), - void 0 === node && (node = this.startNode()), - node.body = [], - this.expect(types.braceL), - createNewLexicalScope && this.enterScope(0); - this.type !== types.braceR; - - ) { - var stmt = this.parseStatement(null); - node.body.push(stmt); - } - return ( - exitStrict && (this.strict = !1), - this.next(), - createNewLexicalScope && this.exitScope(), - this.finishNode(node, "BlockStatement") - ); - }), - (pp$1.parseFor = function (node, init) { - return ( - (node.init = init), - this.expect(types.semi), - (node.test = - this.type === types.semi ? null : this.parseExpression()), - this.expect(types.semi), - (node.update = - this.type === types.parenR - ? null - : this.parseExpression()), - this.expect(types.parenR), - (node.body = this.parseStatement("for")), - this.exitScope(), - this.labels.pop(), - this.finishNode(node, "ForStatement") - ); - }), - (pp$1.parseForIn = function (node, init) { - var isForIn = this.type === types._in; - return ( - this.next(), - "VariableDeclaration" === init.type && - null != init.declarations[0].init && - (!isForIn || - this.options.ecmaVersion < 8 || - this.strict || - "var" !== init.kind || - "Identifier" !== init.declarations[0].id.type) - ? this.raise( - init.start, - (isForIn ? "for-in" : "for-of") + - " loop variable declaration may not have an initializer", - ) - : "AssignmentPattern" === init.type && - this.raise( - init.start, - "Invalid left-hand side in for-loop", - ), - (node.left = init), - (node.right = isForIn - ? this.parseExpression() - : this.parseMaybeAssign()), - this.expect(types.parenR), - (node.body = this.parseStatement("for")), - this.exitScope(), - this.labels.pop(), - this.finishNode( - node, - isForIn ? "ForInStatement" : "ForOfStatement", - ) - ); - }), - (pp$1.parseVar = function (node, isFor, kind) { - for (node.declarations = [], node.kind = kind; ; ) { - var decl = this.startNode(); - if ( - (this.parseVarId(decl, kind), - this.eat(types.eq) - ? (decl.init = this.parseMaybeAssign(isFor)) - : "const" !== kind || - this.type === types._in || - (this.options.ecmaVersion >= 6 && - this.isContextual("of")) - ? "Identifier" === decl.id.type || - (isFor && - (this.type === types._in || - this.isContextual("of"))) - ? (decl.init = null) - : this.raise( - this.lastTokEnd, - "Complex binding patterns require an initialization value", - ) - : this.unexpected(), - node.declarations.push( - this.finishNode(decl, "VariableDeclarator"), - ), - !this.eat(types.comma)) - ) - break; - } - return node; - }), - (pp$1.parseVarId = function (decl, kind) { - (decl.id = this.parseBindingAtom()), - this.checkLVal(decl.id, "var" === kind ? 1 : 2, !1); - }), - (FUNC_STATEMENT = 1), - (FUNC_HANGING_STATEMENT = 2), - (pp$1.parseFunction = function ( - node, - statement, - allowExpressionBody, - isAsync, - ) { - this.initFunction(node), - (this.options.ecmaVersion >= 9 || - (this.options.ecmaVersion >= 6 && !isAsync)) && - (this.type === types.star && - statement & FUNC_HANGING_STATEMENT && - this.unexpected(), - (node.generator = this.eat(types.star))), - this.options.ecmaVersion >= 8 && (node.async = !!isAsync), - statement & FUNC_STATEMENT && - ((node.id = - 4 & statement && this.type !== types.name - ? null - : this.parseIdent()), - node.id && - !(statement & FUNC_HANGING_STATEMENT) && - this.checkLVal( - node.id, - this.strict || node.generator || node.async - ? this.treatFunctionsAsVar - ? 1 - : 2 - : 3, - )); - var oldYieldPos = this.yieldPos, - oldAwaitPos = this.awaitPos, - oldAwaitIdentPos = this.awaitIdentPos; - return ( - (this.yieldPos = 0), - (this.awaitPos = 0), - (this.awaitIdentPos = 0), - this.enterScope(functionFlags(node.async, node.generator)), - statement & FUNC_STATEMENT || - (node.id = - this.type === types.name ? this.parseIdent() : null), - this.parseFunctionParams(node), - this.parseFunctionBody(node, allowExpressionBody, !1), - (this.yieldPos = oldYieldPos), - (this.awaitPos = oldAwaitPos), - (this.awaitIdentPos = oldAwaitIdentPos), - this.finishNode( - node, - statement & FUNC_STATEMENT - ? "FunctionDeclaration" - : "FunctionExpression", - ) - ); - }), - (pp$1.parseFunctionParams = function (node) { - this.expect(types.parenL), - (node.params = this.parseBindingList( - types.parenR, - !1, - this.options.ecmaVersion >= 8, - )), - this.checkYieldAwaitInDefaultParams(); - }), - (pp$1.parseClass = function (node, isStatement) { - this.next(); - var oldStrict = this.strict; - (this.strict = !0), - this.parseClassId(node, isStatement), - this.parseClassSuper(node); - var classBody = this.startNode(), - hadConstructor = !1; - for ( - classBody.body = [], this.expect(types.braceL); - this.type !== types.braceR; - - ) { - var element = this.parseClassElement( - null !== node.superClass, - ); - element && - (classBody.body.push(element), - "MethodDefinition" === element.type && - "constructor" === element.kind && - (hadConstructor && - this.raise( - element.start, - "Duplicate constructor in the same class", - ), - (hadConstructor = !0))); - } - return ( - (this.strict = oldStrict), - this.next(), - (node.body = this.finishNode(classBody, "ClassBody")), - this.finishNode( - node, - isStatement ? "ClassDeclaration" : "ClassExpression", - ) - ); - }), - (pp$1.parseClassElement = function (constructorAllowsSuper) { - var this$1$1 = this; - if (this.eat(types.semi)) return null; - var method = this.startNode(), - tryContextual = function (k, noLineBreak) { - void 0 === noLineBreak && (noLineBreak = !1); - var start = this$1$1.start, - startLoc = this$1$1.startLoc; - return ( - !!this$1$1.eatContextual(k) && - (!( - this$1$1.type === types.parenL || - (noLineBreak && this$1$1.canInsertSemicolon()) - ) || - (method.key && this$1$1.unexpected(), - (method.computed = !1), - (method.key = this$1$1.startNodeAt(start, startLoc)), - (method.key.name = k), - this$1$1.finishNode(method.key, "Identifier"), - !1)) - ); - }; - (method.kind = "method"), - (method.static = tryContextual("static")); - var isGenerator = this.eat(types.star), - isAsync = !1; - isGenerator || - (this.options.ecmaVersion >= 8 && tryContextual("async", !0) - ? ((isAsync = !0), - (isGenerator = - this.options.ecmaVersion >= 9 && - this.eat(types.star))) - : tryContextual("get") - ? (method.kind = "get") - : tryContextual("set") && (method.kind = "set")), - method.key || this.parsePropertyName(method); - var key = method.key, - allowsDirectSuper = !1; - return ( - method.computed || - method.static || - !( - ("Identifier" === key.type && - "constructor" === key.name) || - ("Literal" === key.type && "constructor" === key.value) - ) - ? method.static && - "Identifier" === key.type && - "prototype" === key.name && - this.raise( - key.start, - "Classes may not have a static property named prototype", - ) - : ("method" !== method.kind && - this.raise( - key.start, - "Constructor can't have get/set modifier", - ), - isGenerator && - this.raise( - key.start, - "Constructor can't be a generator", - ), - isAsync && - this.raise( - key.start, - "Constructor can't be an async method", - ), - (method.kind = "constructor"), - (allowsDirectSuper = constructorAllowsSuper)), - this.parseClassMethod( - method, - isGenerator, - isAsync, - allowsDirectSuper, - ), - "get" === method.kind && - 0 !== method.value.params.length && - this.raiseRecoverable( - method.value.start, - "getter should have no params", - ), - "set" === method.kind && - 1 !== method.value.params.length && - this.raiseRecoverable( - method.value.start, - "setter should have exactly one param", - ), - "set" === method.kind && - "RestElement" === method.value.params[0].type && - this.raiseRecoverable( - method.value.params[0].start, - "Setter cannot use rest params", - ), - method - ); - }), - (pp$1.parseClassMethod = function ( - method, - isGenerator, - isAsync, - allowsDirectSuper, - ) { - return ( - (method.value = this.parseMethod( - isGenerator, - isAsync, - allowsDirectSuper, - )), - this.finishNode(method, "MethodDefinition") - ); - }), - (pp$1.parseClassId = function (node, isStatement) { - this.type === types.name - ? ((node.id = this.parseIdent()), - isStatement && this.checkLVal(node.id, 2, !1)) - : (!0 === isStatement && this.unexpected(), - (node.id = null)); - }), - (pp$1.parseClassSuper = function (node) { - node.superClass = this.eat(types._extends) - ? this.parseExprSubscripts() - : null; - }), - (pp$1.parseExport = function (node, exports) { - if ((this.next(), this.eat(types.star))) - return ( - this.options.ecmaVersion >= 11 && - (this.eatContextual("as") - ? ((node.exported = this.parseIdent(!0)), - this.checkExport( - exports, - node.exported.name, - this.lastTokStart, - )) - : (node.exported = null)), - this.expectContextual("from"), - this.type !== types.string && this.unexpected(), - (node.source = this.parseExprAtom()), - this.semicolon(), - this.finishNode(node, "ExportAllDeclaration") - ); - if (this.eat(types._default)) { - var isAsync; - if ( - (this.checkExport(exports, "default", this.lastTokStart), - this.type === types._function || - (isAsync = this.isAsyncFunction())) - ) { - var fNode = this.startNode(); - this.next(), - isAsync && this.next(), - (node.declaration = this.parseFunction( - fNode, - 4 | FUNC_STATEMENT, - !1, - isAsync, - )); - } else if (this.type === types._class) { - var cNode = this.startNode(); - node.declaration = this.parseClass(cNode, "nullableID"); - } else - (node.declaration = this.parseMaybeAssign()), - this.semicolon(); - return this.finishNode(node, "ExportDefaultDeclaration"); - } - if (this.shouldParseExportStatement()) - (node.declaration = this.parseStatement(null)), - "VariableDeclaration" === node.declaration.type - ? this.checkVariableExport( - exports, - node.declaration.declarations, - ) - : this.checkExport( - exports, - node.declaration.id.name, - node.declaration.id.start, - ), - (node.specifiers = []), - (node.source = null); - else { - if ( - ((node.declaration = null), - (node.specifiers = this.parseExportSpecifiers(exports)), - this.eatContextual("from")) - ) - this.type !== types.string && this.unexpected(), - (node.source = this.parseExprAtom()); - else { - for ( - var i = 0, list = node.specifiers; - i < list.length; - i += 1 - ) { - var spec = list[i]; - this.checkUnreserved(spec.local), - this.checkLocalExport(spec.local); - } - node.source = null; - } - this.semicolon(); - } - return this.finishNode(node, "ExportNamedDeclaration"); - }), - (pp$1.checkExport = function (exports, name, pos) { - exports && - (has(exports, name) && - this.raiseRecoverable( - pos, - "Duplicate export '" + name + "'", - ), - (exports[name] = !0)); - }), - (pp$1.checkPatternExport = function (exports, pat) { - var type = pat.type; - if ("Identifier" === type) - this.checkExport(exports, pat.name, pat.start); - else if ("ObjectPattern" === type) - for ( - var i = 0, list = pat.properties; - i < list.length; - i += 1 - ) { - var prop = list[i]; - this.checkPatternExport(exports, prop); - } - else if ("ArrayPattern" === type) - for ( - var i$1 = 0, list$1 = pat.elements; - i$1 < list$1.length; - i$1 += 1 - ) { - var elt = list$1[i$1]; - elt && this.checkPatternExport(exports, elt); - } - else - "Property" === type - ? this.checkPatternExport(exports, pat.value) - : "AssignmentPattern" === type - ? this.checkPatternExport(exports, pat.left) - : "RestElement" === type - ? this.checkPatternExport(exports, pat.argument) - : "ParenthesizedExpression" === type && - this.checkPatternExport(exports, pat.expression); - }), - (pp$1.checkVariableExport = function (exports, decls) { - if (exports) - for (var i = 0, list = decls; i < list.length; i += 1) { - var decl = list[i]; - this.checkPatternExport(exports, decl.id); - } - }), - (pp$1.shouldParseExportStatement = function () { - return ( - "var" === this.type.keyword || - "const" === this.type.keyword || - "class" === this.type.keyword || - "function" === this.type.keyword || - this.isLet() || - this.isAsyncFunction() - ); - }), - (pp$1.parseExportSpecifiers = function (exports) { - var nodes = [], - first = !0; - for (this.expect(types.braceL); !this.eat(types.braceR); ) { - if (first) first = !1; - else if ( - (this.expect(types.comma), - this.afterTrailingComma(types.braceR)) - ) - break; - var node = this.startNode(); - (node.local = this.parseIdent(!0)), - (node.exported = this.eatContextual("as") - ? this.parseIdent(!0) - : node.local), - this.checkExport( - exports, - node.exported.name, - node.exported.start, - ), - nodes.push(this.finishNode(node, "ExportSpecifier")); - } - return nodes; - }), - (pp$1.parseImport = function (node) { - return ( - this.next(), - this.type === types.string - ? ((node.specifiers = empty), - (node.source = this.parseExprAtom())) - : ((node.specifiers = this.parseImportSpecifiers()), - this.expectContextual("from"), - (node.source = - this.type === types.string - ? this.parseExprAtom() - : this.unexpected())), - this.semicolon(), - this.finishNode(node, "ImportDeclaration") - ); - }), - (pp$1.parseImportSpecifiers = function () { - var nodes = [], - first = !0; - if (this.type === types.name) { - var node = this.startNode(); - if ( - ((node.local = this.parseIdent()), - this.checkLVal(node.local, 2), - nodes.push( - this.finishNode(node, "ImportDefaultSpecifier"), - ), - !this.eat(types.comma)) - ) - return nodes; - } - if (this.type === types.star) { - var node$1 = this.startNode(); - return ( - this.next(), - this.expectContextual("as"), - (node$1.local = this.parseIdent()), - this.checkLVal(node$1.local, 2), - nodes.push( - this.finishNode(node$1, "ImportNamespaceSpecifier"), - ), - nodes - ); - } - for (this.expect(types.braceL); !this.eat(types.braceR); ) { - if (first) first = !1; - else if ( - (this.expect(types.comma), - this.afterTrailingComma(types.braceR)) - ) - break; - var node$2 = this.startNode(); - (node$2.imported = this.parseIdent(!0)), - this.eatContextual("as") - ? (node$2.local = this.parseIdent()) - : (this.checkUnreserved(node$2.imported), - (node$2.local = node$2.imported)), - this.checkLVal(node$2.local, 2), - nodes.push(this.finishNode(node$2, "ImportSpecifier")); - } - return nodes; - }), - (pp$1.adaptDirectivePrologue = function (statements) { - for ( - var i = 0; - i < statements.length && - this.isDirectiveCandidate(statements[i]); - ++i - ) - statements[i].directive = statements[ - i - ].expression.raw.slice(1, -1); - }), - (pp$1.isDirectiveCandidate = function (statement) { - return ( - "ExpressionStatement" === statement.type && - "Literal" === statement.expression.type && - "string" == typeof statement.expression.value && - ('"' === this.input[statement.start] || - "'" === this.input[statement.start]) - ); - }), - ((pp$2 = Parser.prototype).toAssignable = function ( - node, - isBinding, - refDestructuringErrors, - ) { - if (this.options.ecmaVersion >= 6 && node) - switch (node.type) { - case "Identifier": - this.inAsync && - "await" === node.name && - this.raise( - node.start, - "Cannot use 'await' as identifier inside an async function", - ); - break; - case "ObjectPattern": - case "ArrayPattern": - case "RestElement": - break; - case "ObjectExpression": - (node.type = "ObjectPattern"), - refDestructuringErrors && - this.checkPatternErrors(refDestructuringErrors, !0); - for ( - var i = 0, list = node.properties; - i < list.length; - i += 1 - ) { - var prop = list[i]; - this.toAssignable(prop, isBinding), - "RestElement" === prop.type && - ("ArrayPattern" === prop.argument.type || - "ObjectPattern" === prop.argument.type) && - this.raise( - prop.argument.start, - "Unexpected token", - ); - } - break; - case "Property": - "init" !== node.kind && - this.raise( - node.key.start, - "Object pattern can't contain getter or setter", - ), - this.toAssignable(node.value, isBinding); - break; - case "ArrayExpression": - (node.type = "ArrayPattern"), - refDestructuringErrors && - this.checkPatternErrors(refDestructuringErrors, !0), - this.toAssignableList(node.elements, isBinding); - break; - case "SpreadElement": - (node.type = "RestElement"), - this.toAssignable(node.argument, isBinding), - "AssignmentPattern" === node.argument.type && - this.raise( - node.argument.start, - "Rest elements cannot have a default value", - ); - break; - case "AssignmentExpression": - "=" !== node.operator && - this.raise( - node.left.end, - "Only '=' operator can be used for specifying default value.", - ), - (node.type = "AssignmentPattern"), - delete node.operator, - this.toAssignable(node.left, isBinding); - case "AssignmentPattern": - break; - case "ParenthesizedExpression": - this.toAssignable( - node.expression, - isBinding, - refDestructuringErrors, - ); - break; - case "ChainExpression": - this.raiseRecoverable( - node.start, - "Optional chaining cannot appear in left-hand side", - ); - break; - case "MemberExpression": - if (!isBinding) break; - default: - this.raise(node.start, "Assigning to rvalue"); - } - else - refDestructuringErrors && - this.checkPatternErrors(refDestructuringErrors, !0); - return node; - }), - (pp$2.toAssignableList = function (exprList, isBinding) { - for (var end = exprList.length, i = 0; i < end; i++) { - var elt = exprList[i]; - elt && this.toAssignable(elt, isBinding); - } - if (end) { - var last = exprList[end - 1]; - 6 === this.options.ecmaVersion && - isBinding && - last && - "RestElement" === last.type && - "Identifier" !== last.argument.type && - this.unexpected(last.argument.start); - } - return exprList; - }), - (pp$2.parseSpread = function (refDestructuringErrors) { - var node = this.startNode(); - return ( - this.next(), - (node.argument = this.parseMaybeAssign( - !1, - refDestructuringErrors, - )), - this.finishNode(node, "SpreadElement") - ); - }), - (pp$2.parseRestBinding = function () { - var node = this.startNode(); - return ( - this.next(), - 6 === this.options.ecmaVersion && - this.type !== types.name && - this.unexpected(), - (node.argument = this.parseBindingAtom()), - this.finishNode(node, "RestElement") - ); - }), - (pp$2.parseBindingAtom = function () { - if (this.options.ecmaVersion >= 6) - switch (this.type) { - case types.bracketL: - var node = this.startNode(); - return ( - this.next(), - (node.elements = this.parseBindingList( - types.bracketR, - !0, - !0, - )), - this.finishNode(node, "ArrayPattern") - ); - case types.braceL: - return this.parseObj(!0); - } - return this.parseIdent(); - }), - (pp$2.parseBindingList = function ( - close, - allowEmpty, - allowTrailingComma, - ) { - for (var elts = [], first = !0; !this.eat(close); ) - if ( - (first ? (first = !1) : this.expect(types.comma), - allowEmpty && this.type === types.comma) - ) - elts.push(null); - else { - if (allowTrailingComma && this.afterTrailingComma(close)) - break; - if (this.type === types.ellipsis) { - var rest = this.parseRestBinding(); - this.parseBindingListItem(rest), - elts.push(rest), - this.type === types.comma && - this.raise( - this.start, - "Comma is not permitted after the rest element", - ), - this.expect(close); - break; - } - var elem = this.parseMaybeDefault( - this.start, - this.startLoc, - ); - this.parseBindingListItem(elem), elts.push(elem); - } - return elts; - }), - (pp$2.parseBindingListItem = function (param) { - return param; - }), - (pp$2.parseMaybeDefault = function (startPos, startLoc, left) { - if ( - ((left = left || this.parseBindingAtom()), - this.options.ecmaVersion < 6 || !this.eat(types.eq)) - ) - return left; - var node = this.startNodeAt(startPos, startLoc); - return ( - (node.left = left), - (node.right = this.parseMaybeAssign()), - this.finishNode(node, "AssignmentPattern") - ); - }), - (pp$2.checkLVal = function (expr, bindingType, checkClashes) { - switch ( - (void 0 === bindingType && (bindingType = 0), expr.type) - ) { - case "Identifier": - 2 === bindingType && - "let" === expr.name && - this.raiseRecoverable( - expr.start, - "let is disallowed as a lexically bound name", - ), - this.strict && - this.reservedWordsStrictBind.test(expr.name) && - this.raiseRecoverable( - expr.start, - (bindingType ? "Binding " : "Assigning to ") + - expr.name + - " in strict mode", - ), - checkClashes && - (has(checkClashes, expr.name) && - this.raiseRecoverable( - expr.start, - "Argument name clash", - ), - (checkClashes[expr.name] = !0)), - 0 !== bindingType && - 5 !== bindingType && - this.declareName(expr.name, bindingType, expr.start); - break; - case "ChainExpression": - this.raiseRecoverable( - expr.start, - "Optional chaining cannot appear in left-hand side", - ); - break; - case "MemberExpression": - bindingType && - this.raiseRecoverable( - expr.start, - "Binding member expression", - ); - break; - case "ObjectPattern": - for ( - var i = 0, list = expr.properties; - i < list.length; - i += 1 - ) { - var prop = list[i]; - this.checkLVal(prop, bindingType, checkClashes); - } - break; - case "Property": - this.checkLVal(expr.value, bindingType, checkClashes); - break; - case "ArrayPattern": - for ( - var i$1 = 0, list$1 = expr.elements; - i$1 < list$1.length; - i$1 += 1 - ) { - var elem = list$1[i$1]; - elem && this.checkLVal(elem, bindingType, checkClashes); - } - break; - case "AssignmentPattern": - this.checkLVal(expr.left, bindingType, checkClashes); - break; - case "RestElement": - this.checkLVal(expr.argument, bindingType, checkClashes); - break; - case "ParenthesizedExpression": - this.checkLVal( - expr.expression, - bindingType, - checkClashes, - ); - break; - default: - this.raise( - expr.start, - (bindingType ? "Binding" : "Assigning to") + " rvalue", - ); - } - }), - ((pp$3 = Parser.prototype).checkPropClash = function ( - prop, - propHash, - refDestructuringErrors, - ) { - if ( - !( - (this.options.ecmaVersion >= 9 && - "SpreadElement" === prop.type) || - (this.options.ecmaVersion >= 6 && - (prop.computed || prop.method || prop.shorthand)) - ) - ) { - var name, - key = prop.key; - switch (key.type) { - case "Identifier": - name = key.name; - break; - case "Literal": - name = String(key.value); - break; - default: - return; - } - var kind = prop.kind; - if (this.options.ecmaVersion >= 6) - return void ( - "__proto__" === name && - "init" === kind && - (propHash.proto && - (refDestructuringErrors - ? refDestructuringErrors.doubleProto < 0 && - (refDestructuringErrors.doubleProto = key.start) - : this.raiseRecoverable( - key.start, - "Redefinition of __proto__ property", - )), - (propHash.proto = !0)) - ); - var other = propHash[(name = "$" + name)]; - if (other) - ("init" === kind - ? (this.strict && other.init) || other.get || other.set - : other.init || other[kind]) && - this.raiseRecoverable( - key.start, - "Redefinition of property", - ); - else - other = propHash[name] = { init: !1, get: !1, set: !1 }; - other[kind] = !0; - } - }), - (pp$3.parseExpression = function ( - noIn, - refDestructuringErrors, - ) { - var startPos = this.start, - startLoc = this.startLoc, - expr = this.parseMaybeAssign(noIn, refDestructuringErrors); - if (this.type === types.comma) { - var node = this.startNodeAt(startPos, startLoc); - for (node.expressions = [expr]; this.eat(types.comma); ) - node.expressions.push( - this.parseMaybeAssign(noIn, refDestructuringErrors), - ); - return this.finishNode(node, "SequenceExpression"); - } - return expr; - }), - (pp$3.parseMaybeAssign = function ( - noIn, - refDestructuringErrors, - afterLeftParse, - ) { - if (this.isContextual("yield")) { - if (this.inGenerator) return this.parseYield(noIn); - this.exprAllowed = !1; - } - var ownDestructuringErrors = !1, - oldParenAssign = -1, - oldTrailingComma = -1; - refDestructuringErrors - ? ((oldParenAssign = - refDestructuringErrors.parenthesizedAssign), - (oldTrailingComma = refDestructuringErrors.trailingComma), - (refDestructuringErrors.parenthesizedAssign = - refDestructuringErrors.trailingComma = - -1)) - : ((refDestructuringErrors = new DestructuringErrors()), - (ownDestructuringErrors = !0)); - var startPos = this.start, - startLoc = this.startLoc; - (this.type === types.parenL || this.type === types.name) && - (this.potentialArrowAt = this.start); - var left = this.parseMaybeConditional( - noIn, - refDestructuringErrors, - ); - if ( - (afterLeftParse && - (left = afterLeftParse.call( - this, - left, - startPos, - startLoc, - )), - this.type.isAssign) - ) { - var node = this.startNodeAt(startPos, startLoc); - return ( - (node.operator = this.value), - (node.left = - this.type === types.eq - ? this.toAssignable(left, !1, refDestructuringErrors) - : left), - ownDestructuringErrors || - (refDestructuringErrors.parenthesizedAssign = - refDestructuringErrors.trailingComma = - refDestructuringErrors.doubleProto = - -1), - refDestructuringErrors.shorthandAssign >= - node.left.start && - (refDestructuringErrors.shorthandAssign = -1), - this.checkLVal(left), - this.next(), - (node.right = this.parseMaybeAssign(noIn)), - this.finishNode(node, "AssignmentExpression") - ); - } - return ( - ownDestructuringErrors && - this.checkExpressionErrors(refDestructuringErrors, !0), - oldParenAssign > -1 && - (refDestructuringErrors.parenthesizedAssign = - oldParenAssign), - oldTrailingComma > -1 && - (refDestructuringErrors.trailingComma = oldTrailingComma), - left - ); - }), - (pp$3.parseMaybeConditional = function ( - noIn, - refDestructuringErrors, - ) { - var startPos = this.start, - startLoc = this.startLoc, - expr = this.parseExprOps(noIn, refDestructuringErrors); - if (this.checkExpressionErrors(refDestructuringErrors)) - return expr; - if (this.eat(types.question)) { - var node = this.startNodeAt(startPos, startLoc); - return ( - (node.test = expr), - (node.consequent = this.parseMaybeAssign()), - this.expect(types.colon), - (node.alternate = this.parseMaybeAssign(noIn)), - this.finishNode(node, "ConditionalExpression") - ); - } - return expr; - }), - (pp$3.parseExprOps = function (noIn, refDestructuringErrors) { - var startPos = this.start, - startLoc = this.startLoc, - expr = this.parseMaybeUnary(refDestructuringErrors, !1); - return this.checkExpressionErrors(refDestructuringErrors) || - (expr.start === startPos && - "ArrowFunctionExpression" === expr.type) - ? expr - : this.parseExprOp(expr, startPos, startLoc, -1, noIn); - }), - (pp$3.parseExprOp = function ( - left, - leftStartPos, - leftStartLoc, - minPrec, - noIn, - ) { - var prec = this.type.binop; - if ( - null != prec && - (!noIn || this.type !== types._in) && - prec > minPrec - ) { - var logical = - this.type === types.logicalOR || - this.type === types.logicalAND, - coalesce = this.type === types.coalesce; - coalesce && (prec = types.logicalAND.binop); - var op = this.value; - this.next(); - var startPos = this.start, - startLoc = this.startLoc, - right = this.parseExprOp( - this.parseMaybeUnary(null, !1), - startPos, - startLoc, - prec, - noIn, - ), - node = this.buildBinary( - leftStartPos, - leftStartLoc, - left, - right, - op, - logical || coalesce, - ); - return ( - ((logical && this.type === types.coalesce) || - (coalesce && - (this.type === types.logicalOR || - this.type === types.logicalAND))) && - this.raiseRecoverable( - this.start, - "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses", - ), - this.parseExprOp( - node, - leftStartPos, - leftStartLoc, - minPrec, - noIn, - ) - ); - } - return left; - }), - (pp$3.buildBinary = function ( - startPos, - startLoc, - left, - right, - op, - logical, - ) { - var node = this.startNodeAt(startPos, startLoc); - return ( - (node.left = left), - (node.operator = op), - (node.right = right), - this.finishNode( - node, - logical ? "LogicalExpression" : "BinaryExpression", - ) - ); - }), - (pp$3.parseMaybeUnary = function ( - refDestructuringErrors, - sawUnary, - ) { - var expr, - startPos = this.start, - startLoc = this.startLoc; - if ( - this.isContextual("await") && - (this.inAsync || - (!this.inFunction && - this.options.allowAwaitOutsideFunction)) - ) - (expr = this.parseAwait()), (sawUnary = !0); - else if (this.type.prefix) { - var node = this.startNode(), - update = this.type === types.incDec; - (node.operator = this.value), - (node.prefix = !0), - this.next(), - (node.argument = this.parseMaybeUnary(null, !0)), - this.checkExpressionErrors(refDestructuringErrors, !0), - update - ? this.checkLVal(node.argument) - : this.strict && - "delete" === node.operator && - "Identifier" === node.argument.type - ? this.raiseRecoverable( - node.start, - "Deleting local variable in strict mode", - ) - : (sawUnary = !0), - (expr = this.finishNode( - node, - update ? "UpdateExpression" : "UnaryExpression", - )); - } else { - if ( - ((expr = this.parseExprSubscripts( - refDestructuringErrors, - )), - this.checkExpressionErrors(refDestructuringErrors)) - ) - return expr; - for (; this.type.postfix && !this.canInsertSemicolon(); ) { - var node$1 = this.startNodeAt(startPos, startLoc); - (node$1.operator = this.value), - (node$1.prefix = !1), - (node$1.argument = expr), - this.checkLVal(expr), - this.next(), - (expr = this.finishNode(node$1, "UpdateExpression")); - } - } - return !sawUnary && this.eat(types.starstar) - ? this.buildBinary( - startPos, - startLoc, - expr, - this.parseMaybeUnary(null, !1), - "**", - !1, - ) - : expr; - }), - (pp$3.parseExprSubscripts = function (refDestructuringErrors) { - var startPos = this.start, - startLoc = this.startLoc, - expr = this.parseExprAtom(refDestructuringErrors); - if ( - "ArrowFunctionExpression" === expr.type && - ")" !== this.input.slice(this.lastTokStart, this.lastTokEnd) - ) - return expr; - var result = this.parseSubscripts(expr, startPos, startLoc); - return ( - refDestructuringErrors && - "MemberExpression" === result.type && - (refDestructuringErrors.parenthesizedAssign >= - result.start && - (refDestructuringErrors.parenthesizedAssign = -1), - refDestructuringErrors.parenthesizedBind >= - result.start && - (refDestructuringErrors.parenthesizedBind = -1)), - result - ); - }), - (pp$3.parseSubscripts = function ( - base2, - startPos, - startLoc, - noCalls, - ) { - for ( - var maybeAsyncArrow = - this.options.ecmaVersion >= 8 && - "Identifier" === base2.type && - "async" === base2.name && - this.lastTokEnd === base2.end && - !this.canInsertSemicolon() && - base2.end - base2.start == 5 && - this.potentialArrowAt === base2.start, - optionalChained = !1; - ; - - ) { - var element = this.parseSubscript( - base2, - startPos, - startLoc, - noCalls, - maybeAsyncArrow, - optionalChained, - ); - if ( - (element.optional && (optionalChained = !0), - element === base2 || - "ArrowFunctionExpression" === element.type) - ) { - if (optionalChained) { - var chainNode = this.startNodeAt(startPos, startLoc); - (chainNode.expression = element), - (element = this.finishNode( - chainNode, - "ChainExpression", - )); - } - return element; - } - base2 = element; - } - }), - (pp$3.parseSubscript = function ( - base2, - startPos, - startLoc, - noCalls, - maybeAsyncArrow, - optionalChained, - ) { - var optionalSupported = this.options.ecmaVersion >= 11, - optional = optionalSupported && this.eat(types.questionDot); - noCalls && - optional && - this.raise( - this.lastTokStart, - "Optional chaining cannot appear in the callee of new expressions", - ); - var computed = this.eat(types.bracketL); - if ( - computed || - (optional && - this.type !== types.parenL && - this.type !== types.backQuote) || - this.eat(types.dot) - ) { - var node = this.startNodeAt(startPos, startLoc); - (node.object = base2), - (node.property = computed - ? this.parseExpression() - : this.parseIdent( - "never" !== this.options.allowReserved, - )), - (node.computed = !!computed), - computed && this.expect(types.bracketR), - optionalSupported && (node.optional = optional), - (base2 = this.finishNode(node, "MemberExpression")); - } else if (!noCalls && this.eat(types.parenL)) { - var refDestructuringErrors = new DestructuringErrors(), - oldYieldPos = this.yieldPos, - oldAwaitPos = this.awaitPos, - oldAwaitIdentPos = this.awaitIdentPos; - (this.yieldPos = 0), - (this.awaitPos = 0), - (this.awaitIdentPos = 0); - var exprList = this.parseExprList( - types.parenR, - this.options.ecmaVersion >= 8, - !1, - refDestructuringErrors, - ); - if ( - maybeAsyncArrow && - !optional && - !this.canInsertSemicolon() && - this.eat(types.arrow) - ) - return ( - this.checkPatternErrors(refDestructuringErrors, !1), - this.checkYieldAwaitInDefaultParams(), - this.awaitIdentPos > 0 && - this.raise( - this.awaitIdentPos, - "Cannot use 'await' as identifier inside an async function", - ), - (this.yieldPos = oldYieldPos), - (this.awaitPos = oldAwaitPos), - (this.awaitIdentPos = oldAwaitIdentPos), - this.parseArrowExpression( - this.startNodeAt(startPos, startLoc), - exprList, - !0, - ) - ); - this.checkExpressionErrors(refDestructuringErrors, !0), - (this.yieldPos = oldYieldPos || this.yieldPos), - (this.awaitPos = oldAwaitPos || this.awaitPos), - (this.awaitIdentPos = - oldAwaitIdentPos || this.awaitIdentPos); - var node$1 = this.startNodeAt(startPos, startLoc); - (node$1.callee = base2), - (node$1.arguments = exprList), - optionalSupported && (node$1.optional = optional), - (base2 = this.finishNode(node$1, "CallExpression")); - } else if (this.type === types.backQuote) { - (optional || optionalChained) && - this.raise( - this.start, - "Optional chaining cannot appear in the tag of tagged template expressions", - ); - var node$2 = this.startNodeAt(startPos, startLoc); - (node$2.tag = base2), - (node$2.quasi = this.parseTemplate({ isTagged: !0 })), - (base2 = this.finishNode( - node$2, - "TaggedTemplateExpression", - )); - } - return base2; - }), - (pp$3.parseExprAtom = function (refDestructuringErrors) { - this.type === types.slash && this.readRegexp(); - var node, - canBeArrow = this.potentialArrowAt === this.start; - switch (this.type) { - case types._super: - return ( - this.allowSuper || - this.raise( - this.start, - "'super' keyword outside a method", - ), - (node = this.startNode()), - this.next(), - this.type === types.parenL && - !this.allowDirectSuper && - this.raise( - node.start, - "super() call outside constructor of a subclass", - ), - this.type !== types.dot && - this.type !== types.bracketL && - this.type !== types.parenL && - this.unexpected(), - this.finishNode(node, "Super") - ); - case types._this: - return ( - (node = this.startNode()), - this.next(), - this.finishNode(node, "ThisExpression") - ); - case types.name: - var startPos = this.start, - startLoc = this.startLoc, - containsEsc = this.containsEsc, - id = this.parseIdent(!1); - if ( - this.options.ecmaVersion >= 8 && - !containsEsc && - "async" === id.name && - !this.canInsertSemicolon() && - this.eat(types._function) - ) - return this.parseFunction( - this.startNodeAt(startPos, startLoc), - 0, - !1, - !0, - ); - if (canBeArrow && !this.canInsertSemicolon()) { - if (this.eat(types.arrow)) - return this.parseArrowExpression( - this.startNodeAt(startPos, startLoc), - [id], - !1, - ); - if ( - this.options.ecmaVersion >= 8 && - "async" === id.name && - this.type === types.name && - !containsEsc - ) - return ( - (id = this.parseIdent(!1)), - (this.canInsertSemicolon() || - !this.eat(types.arrow)) && - this.unexpected(), - this.parseArrowExpression( - this.startNodeAt(startPos, startLoc), - [id], - !0, - ) - ); - } - return id; - case types.regexp: - var value = this.value; - return ( - ((node = this.parseLiteral(value.value)).regex = { - pattern: value.pattern, - flags: value.flags, - }), - node - ); - case types.num: - case types.string: - return this.parseLiteral(this.value); - case types._null: - case types._true: - case types._false: - return ( - ((node = this.startNode()).value = - this.type === types._null - ? null - : this.type === types._true), - (node.raw = this.type.keyword), - this.next(), - this.finishNode(node, "Literal") - ); - case types.parenL: - var start = this.start, - expr = - this.parseParenAndDistinguishExpression(canBeArrow); - return ( - refDestructuringErrors && - (refDestructuringErrors.parenthesizedAssign < 0 && - !this.isSimpleAssignTarget(expr) && - (refDestructuringErrors.parenthesizedAssign = - start), - refDestructuringErrors.parenthesizedBind < 0 && - (refDestructuringErrors.parenthesizedBind = start)), - expr - ); - case types.bracketL: - return ( - (node = this.startNode()), - this.next(), - (node.elements = this.parseExprList( - types.bracketR, - !0, - !0, - refDestructuringErrors, - )), - this.finishNode(node, "ArrayExpression") - ); - case types.braceL: - return this.parseObj(!1, refDestructuringErrors); - case types._function: - return ( - (node = this.startNode()), - this.next(), - this.parseFunction(node, 0) - ); - case types._class: - return this.parseClass(this.startNode(), !1); - case types._new: - return this.parseNew(); - case types.backQuote: - return this.parseTemplate(); - case types._import: - return this.options.ecmaVersion >= 11 - ? this.parseExprImport() - : this.unexpected(); - default: - this.unexpected(); - } - }), - (pp$3.parseExprImport = function () { - var node = this.startNode(); - this.containsEsc && - this.raiseRecoverable( - this.start, - "Escape sequence in keyword import", - ); - var meta = this.parseIdent(!0); - switch (this.type) { - case types.parenL: - return this.parseDynamicImport(node); - case types.dot: - return (node.meta = meta), this.parseImportMeta(node); - default: - this.unexpected(); - } - }), - (pp$3.parseDynamicImport = function (node) { - if ( - (this.next(), - (node.source = this.parseMaybeAssign()), - !this.eat(types.parenR)) - ) { - var errorPos = this.start; - this.eat(types.comma) && this.eat(types.parenR) - ? this.raiseRecoverable( - errorPos, - "Trailing comma is not allowed in import()", - ) - : this.unexpected(errorPos); - } - return this.finishNode(node, "ImportExpression"); - }), - (pp$3.parseImportMeta = function (node) { - this.next(); - var containsEsc = this.containsEsc; - return ( - (node.property = this.parseIdent(!0)), - "meta" !== node.property.name && - this.raiseRecoverable( - node.property.start, - "The only valid meta property for import is 'import.meta'", - ), - containsEsc && - this.raiseRecoverable( - node.start, - "'import.meta' must not contain escaped characters", - ), - "module" !== this.options.sourceType && - this.raiseRecoverable( - node.start, - "Cannot use 'import.meta' outside a module", - ), - this.finishNode(node, "MetaProperty") - ); - }), - (pp$3.parseLiteral = function (value) { - var node = this.startNode(); - return ( - (node.value = value), - (node.raw = this.input.slice(this.start, this.end)), - 110 === node.raw.charCodeAt(node.raw.length - 1) && - (node.bigint = node.raw.slice(0, -1).replace(/_/g, "")), - this.next(), - this.finishNode(node, "Literal") - ); - }), - (pp$3.parseParenExpression = function () { - this.expect(types.parenL); - var val = this.parseExpression(); - return this.expect(types.parenR), val; - }), - (pp$3.parseParenAndDistinguishExpression = function ( - canBeArrow, - ) { - var val, - startPos = this.start, - startLoc = this.startLoc, - allowTrailingComma = this.options.ecmaVersion >= 8; - if (this.options.ecmaVersion >= 6) { - this.next(); - var spreadStart, - innerStartPos = this.start, - innerStartLoc = this.startLoc, - exprList = [], - first = !0, - lastIsComma = !1, - refDestructuringErrors = new DestructuringErrors(), - oldYieldPos = this.yieldPos, - oldAwaitPos = this.awaitPos; - for ( - this.yieldPos = 0, this.awaitPos = 0; - this.type !== types.parenR; - - ) { - if ( - (first ? (first = !1) : this.expect(types.comma), - allowTrailingComma && - this.afterTrailingComma(types.parenR, !0)) - ) { - lastIsComma = !0; - break; - } - if (this.type === types.ellipsis) { - (spreadStart = this.start), - exprList.push( - this.parseParenItem(this.parseRestBinding()), - ), - this.type === types.comma && - this.raise( - this.start, - "Comma is not permitted after the rest element", - ); - break; - } - exprList.push( - this.parseMaybeAssign( - !1, - refDestructuringErrors, - this.parseParenItem, - ), - ); - } - var innerEndPos = this.start, - innerEndLoc = this.startLoc; - if ( - (this.expect(types.parenR), - canBeArrow && - !this.canInsertSemicolon() && - this.eat(types.arrow)) - ) - return ( - this.checkPatternErrors(refDestructuringErrors, !1), - this.checkYieldAwaitInDefaultParams(), - (this.yieldPos = oldYieldPos), - (this.awaitPos = oldAwaitPos), - this.parseParenArrowList(startPos, startLoc, exprList) - ); - (!exprList.length || lastIsComma) && - this.unexpected(this.lastTokStart), - spreadStart && this.unexpected(spreadStart), - this.checkExpressionErrors(refDestructuringErrors, !0), - (this.yieldPos = oldYieldPos || this.yieldPos), - (this.awaitPos = oldAwaitPos || this.awaitPos), - exprList.length > 1 - ? (((val = this.startNodeAt( - innerStartPos, - innerStartLoc, - )).expressions = exprList), - this.finishNodeAt( - val, - "SequenceExpression", - innerEndPos, - innerEndLoc, - )) - : (val = exprList[0]); - } else val = this.parseParenExpression(); - if (this.options.preserveParens) { - var par = this.startNodeAt(startPos, startLoc); - return ( - (par.expression = val), - this.finishNode(par, "ParenthesizedExpression") - ); - } - return val; - }), - (pp$3.parseParenItem = function (item) { - return item; - }), - (pp$3.parseParenArrowList = function ( - startPos, - startLoc, - exprList, - ) { - return this.parseArrowExpression( - this.startNodeAt(startPos, startLoc), - exprList, - ); - }), - (empty$1 = []), - (pp$3.parseNew = function () { - this.containsEsc && - this.raiseRecoverable( - this.start, - "Escape sequence in keyword new", - ); - var node = this.startNode(), - meta = this.parseIdent(!0); - if (this.options.ecmaVersion >= 6 && this.eat(types.dot)) { - node.meta = meta; - var containsEsc = this.containsEsc; - return ( - (node.property = this.parseIdent(!0)), - "target" !== node.property.name && - this.raiseRecoverable( - node.property.start, - "The only valid meta property for new is 'new.target'", - ), - containsEsc && - this.raiseRecoverable( - node.start, - "'new.target' must not contain escaped characters", - ), - this.inNonArrowFunction() || - this.raiseRecoverable( - node.start, - "'new.target' can only be used in functions", - ), - this.finishNode(node, "MetaProperty") - ); - } - var startPos = this.start, - startLoc = this.startLoc, - isImport = this.type === types._import; - return ( - (node.callee = this.parseSubscripts( - this.parseExprAtom(), - startPos, - startLoc, - !0, - )), - isImport && - "ImportExpression" === node.callee.type && - this.raise(startPos, "Cannot use new with import()"), - this.eat(types.parenL) - ? (node.arguments = this.parseExprList( - types.parenR, - this.options.ecmaVersion >= 8, - !1, - )) - : (node.arguments = empty$1), - this.finishNode(node, "NewExpression") - ); - }), - (pp$3.parseTemplateElement = function (ref2) { - var isTagged = ref2.isTagged, - elem = this.startNode(); - return ( - this.type === types.invalidTemplate - ? (isTagged || - this.raiseRecoverable( - this.start, - "Bad escape sequence in untagged template literal", - ), - (elem.value = { raw: this.value, cooked: null })) - : (elem.value = { - raw: this.input - .slice(this.start, this.end) - .replace(/\r\n?/g, "\n"), - cooked: this.value, - }), - this.next(), - (elem.tail = this.type === types.backQuote), - this.finishNode(elem, "TemplateElement") - ); - }), - (pp$3.parseTemplate = function (ref2) { - void 0 === ref2 && (ref2 = {}); - var isTagged = ref2.isTagged; - void 0 === isTagged && (isTagged = !1); - var node = this.startNode(); - this.next(), (node.expressions = []); - var curElt = this.parseTemplateElement({ isTagged }); - for (node.quasis = [curElt]; !curElt.tail; ) - this.type === types.eof && - this.raise(this.pos, "Unterminated template literal"), - this.expect(types.dollarBraceL), - node.expressions.push(this.parseExpression()), - this.expect(types.braceR), - node.quasis.push( - (curElt = this.parseTemplateElement({ isTagged })), - ); - return this.next(), this.finishNode(node, "TemplateLiteral"); - }), - (pp$3.isAsyncProp = function (prop) { - return ( - !prop.computed && - "Identifier" === prop.key.type && - "async" === prop.key.name && - (this.type === types.name || - this.type === types.num || - this.type === types.string || - this.type === types.bracketL || - this.type.keyword || - (this.options.ecmaVersion >= 9 && - this.type === types.star)) && - !lineBreak.test( - this.input.slice(this.lastTokEnd, this.start), - ) - ); - }), - (pp$3.parseObj = function (isPattern, refDestructuringErrors) { - var node = this.startNode(), - first = !0, - propHash = {}; - for ( - node.properties = [], this.next(); - !this.eat(types.braceR); - - ) { - if (first) first = !1; - else if ( - (this.expect(types.comma), - this.options.ecmaVersion >= 5 && - this.afterTrailingComma(types.braceR)) - ) - break; - var prop = this.parseProperty( - isPattern, - refDestructuringErrors, - ); - isPattern || - this.checkPropClash( - prop, - propHash, - refDestructuringErrors, - ), - node.properties.push(prop); - } - return this.finishNode( - node, - isPattern ? "ObjectPattern" : "ObjectExpression", - ); - }), - (pp$3.parseProperty = function ( - isPattern, - refDestructuringErrors, - ) { - var isGenerator, - isAsync, - startPos, - startLoc, - prop = this.startNode(); - if (this.options.ecmaVersion >= 9 && this.eat(types.ellipsis)) - return isPattern - ? ((prop.argument = this.parseIdent(!1)), - this.type === types.comma && - this.raise( - this.start, - "Comma is not permitted after the rest element", - ), - this.finishNode(prop, "RestElement")) - : (this.type === types.parenL && - refDestructuringErrors && - (refDestructuringErrors.parenthesizedAssign < 0 && - (refDestructuringErrors.parenthesizedAssign = - this.start), - refDestructuringErrors.parenthesizedBind < 0 && - (refDestructuringErrors.parenthesizedBind = - this.start)), - (prop.argument = this.parseMaybeAssign( - !1, - refDestructuringErrors, - )), - this.type === types.comma && - refDestructuringErrors && - refDestructuringErrors.trailingComma < 0 && - (refDestructuringErrors.trailingComma = this.start), - this.finishNode(prop, "SpreadElement")); - this.options.ecmaVersion >= 6 && - ((prop.method = !1), - (prop.shorthand = !1), - (isPattern || refDestructuringErrors) && - ((startPos = this.start), (startLoc = this.startLoc)), - isPattern || (isGenerator = this.eat(types.star))); - var containsEsc = this.containsEsc; - return ( - this.parsePropertyName(prop), - !isPattern && - !containsEsc && - this.options.ecmaVersion >= 8 && - !isGenerator && - this.isAsyncProp(prop) - ? ((isAsync = !0), - (isGenerator = - this.options.ecmaVersion >= 9 && - this.eat(types.star)), - this.parsePropertyName(prop, refDestructuringErrors)) - : (isAsync = !1), - this.parsePropertyValue( - prop, - isPattern, - isGenerator, - isAsync, - startPos, - startLoc, - refDestructuringErrors, - containsEsc, - ), - this.finishNode(prop, "Property") - ); - }), - (pp$3.parsePropertyValue = function ( - prop, - isPattern, - isGenerator, - isAsync, - startPos, - startLoc, - refDestructuringErrors, - containsEsc, - ) { - if ( - ((isGenerator || isAsync) && - this.type === types.colon && - this.unexpected(), - this.eat(types.colon)) - ) - (prop.value = isPattern - ? this.parseMaybeDefault(this.start, this.startLoc) - : this.parseMaybeAssign(!1, refDestructuringErrors)), - (prop.kind = "init"); - else if ( - this.options.ecmaVersion >= 6 && - this.type === types.parenL - ) - isPattern && this.unexpected(), - (prop.kind = "init"), - (prop.method = !0), - (prop.value = this.parseMethod(isGenerator, isAsync)); - else if ( - isPattern || - containsEsc || - !(this.options.ecmaVersion >= 5) || - prop.computed || - "Identifier" !== prop.key.type || - ("get" !== prop.key.name && "set" !== prop.key.name) || - this.type === types.comma || - this.type === types.braceR || - this.type === types.eq - ) - this.options.ecmaVersion >= 6 && - !prop.computed && - "Identifier" === prop.key.type - ? ((isGenerator || isAsync) && this.unexpected(), - this.checkUnreserved(prop.key), - "await" === prop.key.name && - !this.awaitIdentPos && - (this.awaitIdentPos = startPos), - (prop.kind = "init"), - isPattern - ? (prop.value = this.parseMaybeDefault( - startPos, - startLoc, - prop.key, - )) - : this.type === types.eq && refDestructuringErrors - ? (refDestructuringErrors.shorthandAssign < 0 && - (refDestructuringErrors.shorthandAssign = - this.start), - (prop.value = this.parseMaybeDefault( - startPos, - startLoc, - prop.key, - ))) - : (prop.value = prop.key), - (prop.shorthand = !0)) - : this.unexpected(); - else { - (isGenerator || isAsync) && this.unexpected(), - (prop.kind = prop.key.name), - this.parsePropertyName(prop), - (prop.value = this.parseMethod(!1)); - var paramCount = "get" === prop.kind ? 0 : 1; - if (prop.value.params.length !== paramCount) { - var start = prop.value.start; - "get" === prop.kind - ? this.raiseRecoverable( - start, - "getter should have no params", - ) - : this.raiseRecoverable( - start, - "setter should have exactly one param", - ); - } else - "set" === prop.kind && - "RestElement" === prop.value.params[0].type && - this.raiseRecoverable( - prop.value.params[0].start, - "Setter cannot use rest params", - ); - } - }), - (pp$3.parsePropertyName = function (prop) { - if (this.options.ecmaVersion >= 6) { - if (this.eat(types.bracketL)) - return ( - (prop.computed = !0), - (prop.key = this.parseMaybeAssign()), - this.expect(types.bracketR), - prop.key - ); - prop.computed = !1; - } - return (prop.key = - this.type === types.num || this.type === types.string - ? this.parseExprAtom() - : this.parseIdent( - "never" !== this.options.allowReserved, - )); - }), - (pp$3.initFunction = function (node) { - (node.id = null), - this.options.ecmaVersion >= 6 && - (node.generator = node.expression = !1), - this.options.ecmaVersion >= 8 && (node.async = !1); - }), - (pp$3.parseMethod = function ( - isGenerator, - isAsync, - allowDirectSuper, - ) { - var node = this.startNode(), - oldYieldPos = this.yieldPos, - oldAwaitPos = this.awaitPos, - oldAwaitIdentPos = this.awaitIdentPos; - return ( - this.initFunction(node), - this.options.ecmaVersion >= 6 && - (node.generator = isGenerator), - this.options.ecmaVersion >= 8 && (node.async = !!isAsync), - (this.yieldPos = 0), - (this.awaitPos = 0), - (this.awaitIdentPos = 0), - this.enterScope( - 64 | - functionFlags(isAsync, node.generator) | - (allowDirectSuper ? 128 : 0), - ), - this.expect(types.parenL), - (node.params = this.parseBindingList( - types.parenR, - !1, - this.options.ecmaVersion >= 8, - )), - this.checkYieldAwaitInDefaultParams(), - this.parseFunctionBody(node, !1, !0), - (this.yieldPos = oldYieldPos), - (this.awaitPos = oldAwaitPos), - (this.awaitIdentPos = oldAwaitIdentPos), - this.finishNode(node, "FunctionExpression") - ); - }), - (pp$3.parseArrowExpression = function (node, params, isAsync) { - var oldYieldPos = this.yieldPos, - oldAwaitPos = this.awaitPos, - oldAwaitIdentPos = this.awaitIdentPos; - return ( - this.enterScope(16 | functionFlags(isAsync, !1)), - this.initFunction(node), - this.options.ecmaVersion >= 8 && (node.async = !!isAsync), - (this.yieldPos = 0), - (this.awaitPos = 0), - (this.awaitIdentPos = 0), - (node.params = this.toAssignableList(params, !0)), - this.parseFunctionBody(node, !0, !1), - (this.yieldPos = oldYieldPos), - (this.awaitPos = oldAwaitPos), - (this.awaitIdentPos = oldAwaitIdentPos), - this.finishNode(node, "ArrowFunctionExpression") - ); - }), - (pp$3.parseFunctionBody = function ( - node, - isArrowFunction, - isMethod, - ) { - var isExpression = - isArrowFunction && this.type !== types.braceL, - oldStrict = this.strict, - useStrict = !1; - if (isExpression) - (node.body = this.parseMaybeAssign()), - (node.expression = !0), - this.checkParams(node, !1); - else { - var nonSimple = - this.options.ecmaVersion >= 7 && - !this.isSimpleParamList(node.params); - (!oldStrict || nonSimple) && - (useStrict = this.strictDirective(this.end)) && - nonSimple && - this.raiseRecoverable( - node.start, - "Illegal 'use strict' directive in function with non-simple parameter list", - ); - var oldLabels = this.labels; - (this.labels = []), - useStrict && (this.strict = !0), - this.checkParams( - node, - !oldStrict && - !useStrict && - !isArrowFunction && - !isMethod && - this.isSimpleParamList(node.params), - ), - this.strict && node.id && this.checkLVal(node.id, 5), - (node.body = this.parseBlock( - !1, - void 0, - useStrict && !oldStrict, - )), - (node.expression = !1), - this.adaptDirectivePrologue(node.body.body), - (this.labels = oldLabels); - } - this.exitScope(); - }), - (pp$3.isSimpleParamList = function (params) { - for (var i = 0, list = params; i < list.length; i += 1) { - if ("Identifier" !== list[i].type) return !1; - } - return !0; - }), - (pp$3.checkParams = function (node, allowDuplicates) { - for ( - var nameHash = {}, i = 0, list = node.params; - i < list.length; - i += 1 - ) { - var param = list[i]; - this.checkLVal(param, 1, allowDuplicates ? null : nameHash); - } - }), - (pp$3.parseExprList = function ( - close, - allowTrailingComma, - allowEmpty, - refDestructuringErrors, - ) { - for (var elts = [], first = !0; !this.eat(close); ) { - if (first) first = !1; - else if ( - (this.expect(types.comma), - allowTrailingComma && this.afterTrailingComma(close)) - ) - break; - var elt = void 0; - allowEmpty && this.type === types.comma - ? (elt = null) - : this.type === types.ellipsis - ? ((elt = this.parseSpread(refDestructuringErrors)), - refDestructuringErrors && - this.type === types.comma && - refDestructuringErrors.trailingComma < 0 && - (refDestructuringErrors.trailingComma = this.start)) - : (elt = this.parseMaybeAssign( - !1, - refDestructuringErrors, - )), - elts.push(elt); - } - return elts; - }), - (pp$3.checkUnreserved = function (ref2) { - var start = ref2.start, - end = ref2.end, - name = ref2.name; - (this.inGenerator && - "yield" === name && - this.raiseRecoverable( - start, - "Cannot use 'yield' as identifier inside a generator", - ), - this.inAsync && - "await" === name && - this.raiseRecoverable( - start, - "Cannot use 'await' as identifier inside an async function", - ), - this.keywords.test(name) && - this.raise(start, "Unexpected keyword '" + name + "'"), - this.options.ecmaVersion < 6 && - -1 !== this.input.slice(start, end).indexOf("\\")) || - ((this.strict - ? this.reservedWordsStrict - : this.reservedWords - ).test(name) && - (!this.inAsync && - "await" === name && - this.raiseRecoverable( - start, - "Cannot use keyword 'await' outside an async function", - ), - this.raiseRecoverable( - start, - "The keyword '" + name + "' is reserved", - ))); - }), - (pp$3.parseIdent = function (liberal, isBinding) { - var node = this.startNode(); - return ( - this.type === types.name - ? (node.name = this.value) - : this.type.keyword - ? ((node.name = this.type.keyword), - ("class" === node.name || "function" === node.name) && - (this.lastTokEnd !== this.lastTokStart + 1 || - 46 !== - this.input.charCodeAt(this.lastTokStart)) && - this.context.pop()) - : this.unexpected(), - this.next(!!liberal), - this.finishNode(node, "Identifier"), - liberal || - (this.checkUnreserved(node), - "await" === node.name && - !this.awaitIdentPos && - (this.awaitIdentPos = node.start)), - node - ); - }), - (pp$3.parseYield = function (noIn) { - this.yieldPos || (this.yieldPos = this.start); - var node = this.startNode(); - return ( - this.next(), - this.type === types.semi || - this.canInsertSemicolon() || - (this.type !== types.star && !this.type.startsExpr) - ? ((node.delegate = !1), (node.argument = null)) - : ((node.delegate = this.eat(types.star)), - (node.argument = this.parseMaybeAssign(noIn))), - this.finishNode(node, "YieldExpression") - ); - }), - (pp$3.parseAwait = function () { - this.awaitPos || (this.awaitPos = this.start); - var node = this.startNode(); - return ( - this.next(), - (node.argument = this.parseMaybeUnary(null, !1)), - this.finishNode(node, "AwaitExpression") - ); - }), - ((pp$4 = Parser.prototype).raise = function (pos, message) { - var loc = getLineInfo(this.input, pos); - message += " (" + loc.line + ":" + loc.column + ")"; - var err = new SyntaxError(message); - throw ( - ((err.pos = pos), - (err.loc = loc), - (err.raisedAt = this.pos), - err) - ); - }), - (pp$4.raiseRecoverable = pp$4.raise), - (pp$4.curPosition = function () { - if (this.options.locations) - return new Position( - this.curLine, - this.pos - this.lineStart, - ); - }), - (pp$5 = Parser.prototype), - (Scope = function (flags) { - (this.flags = flags), - (this.var = []), - (this.lexical = []), - (this.functions = []); - }), - (pp$5.enterScope = function (flags) { - this.scopeStack.push(new Scope(flags)); - }), - (pp$5.exitScope = function () { - this.scopeStack.pop(); - }), - (pp$5.treatFunctionsAsVarInScope = function (scope) { - return ( - scope.flags & SCOPE_FUNCTION || - (!this.inModule && 1 & scope.flags) - ); - }), - (pp$5.declareName = function (name, bindingType, pos) { - var redeclared = !1; - if (2 === bindingType) { - var scope = this.currentScope(); - (redeclared = - scope.lexical.indexOf(name) > -1 || - scope.functions.indexOf(name) > -1 || - scope.var.indexOf(name) > -1), - scope.lexical.push(name), - this.inModule && - 1 & scope.flags && - delete this.undefinedExports[name]; - } else if (4 === bindingType) { - this.currentScope().lexical.push(name); - } else if (3 === bindingType) { - var scope$2 = this.currentScope(); - (redeclared = this.treatFunctionsAsVar - ? scope$2.lexical.indexOf(name) > -1 - : scope$2.lexical.indexOf(name) > -1 || - scope$2.var.indexOf(name) > -1), - scope$2.functions.push(name); - } else - for (var i = this.scopeStack.length - 1; i >= 0; --i) { - var scope$3 = this.scopeStack[i]; - if ( - (scope$3.lexical.indexOf(name) > -1 && - !( - 32 & scope$3.flags && scope$3.lexical[0] === name - )) || - (!this.treatFunctionsAsVarInScope(scope$3) && - scope$3.functions.indexOf(name) > -1) - ) { - redeclared = !0; - break; - } - if ( - (scope$3.var.push(name), - this.inModule && - 1 & scope$3.flags && - delete this.undefinedExports[name], - scope$3.flags & SCOPE_VAR) - ) - break; - } - redeclared && - this.raiseRecoverable( - pos, - "Identifier '" + name + "' has already been declared", - ); - }), - (pp$5.checkLocalExport = function (id) { - -1 === this.scopeStack[0].lexical.indexOf(id.name) && - -1 === this.scopeStack[0].var.indexOf(id.name) && - (this.undefinedExports[id.name] = id); - }), - (pp$5.currentScope = function () { - return this.scopeStack[this.scopeStack.length - 1]; - }), - (pp$5.currentVarScope = function () { - for (var i = this.scopeStack.length - 1; ; i--) { - var scope = this.scopeStack[i]; - if (scope.flags & SCOPE_VAR) return scope; - } - }), - (pp$5.currentThisScope = function () { - for (var i = this.scopeStack.length - 1; ; i--) { - var scope = this.scopeStack[i]; - if (scope.flags & SCOPE_VAR && !(16 & scope.flags)) - return scope; - } - }), - (Node = function (parser, pos, loc) { - (this.type = ""), - (this.start = pos), - (this.end = 0), - parser.options.locations && - (this.loc = new SourceLocation(parser, loc)), - parser.options.directSourceFile && - (this.sourceFile = parser.options.directSourceFile), - parser.options.ranges && (this.range = [pos, 0]); - }), - ((pp$6 = Parser.prototype).startNode = function () { - return new Node(this, this.start, this.startLoc); - }), - (pp$6.startNodeAt = function (pos, loc) { - return new Node(this, pos, loc); - }), - (pp$6.finishNode = function (node, type) { - return finishNodeAt.call( - this, - node, - type, - this.lastTokEnd, - this.lastTokEndLoc, - ); - }), - (pp$6.finishNodeAt = function (node, type, pos, loc) { - return finishNodeAt.call(this, node, type, pos, loc); - }), - (types$1 = { - b_stat: new (TokContext = function ( - token, - isExpr, - preserveSpace, - override, - generator, - ) { - (this.token = token), - (this.isExpr = !!isExpr), - (this.preserveSpace = !!preserveSpace), - (this.override = override), - (this.generator = !!generator); - })("{", !1), - b_expr: new TokContext("{", !0), - b_tmpl: new TokContext("${", !1), - p_stat: new TokContext("(", !1), - p_expr: new TokContext("(", !0), - q_tmpl: new TokContext("`", !0, !0, function (p) { - return p.tryReadTemplateToken(); - }), - f_stat: new TokContext("function", !1), - f_expr: new TokContext("function", !0), - f_expr_gen: new TokContext("function", !0, !1, null, !0), - f_gen: new TokContext("function", !1, !1, null, !0), - }), - ((pp$7 = Parser.prototype).initialContext = function () { - return [types$1.b_stat]; - }), - (pp$7.braceIsBlock = function (prevType) { - var parent = this.curContext(); - return ( - parent === types$1.f_expr || - parent === types$1.f_stat || - (prevType !== types.colon || - (parent !== types$1.b_stat && parent !== types$1.b_expr) - ? prevType === types._return || - (prevType === types.name && this.exprAllowed) - ? lineBreak.test( - this.input.slice(this.lastTokEnd, this.start), - ) - : prevType === types._else || - prevType === types.semi || - prevType === types.eof || - prevType === types.parenR || - prevType === types.arrow || - (prevType === types.braceL - ? parent === types$1.b_stat - : prevType !== types._var && - prevType !== types._const && - prevType !== types.name && - !this.exprAllowed) - : !parent.isExpr) - ); - }), - (pp$7.inGeneratorContext = function () { - for (var i = this.context.length - 1; i >= 1; i--) { - var context = this.context[i]; - if ("function" === context.token) return context.generator; - } - return !1; - }), - (pp$7.updateContext = function (prevType) { - var update, - type = this.type; - type.keyword && prevType === types.dot - ? (this.exprAllowed = !1) - : (update = type.updateContext) - ? update.call(this, prevType) - : (this.exprAllowed = type.beforeExpr); - }), - (types.parenR.updateContext = types.braceR.updateContext = - function () { - if (1 !== this.context.length) { - var out = this.context.pop(); - out === types$1.b_stat && - "function" === this.curContext().token && - (out = this.context.pop()), - (this.exprAllowed = !out.isExpr); - } else this.exprAllowed = !0; - }), - (types.braceL.updateContext = function (prevType) { - this.context.push( - this.braceIsBlock(prevType) - ? types$1.b_stat - : types$1.b_expr, - ), - (this.exprAllowed = !0); - }), - (types.dollarBraceL.updateContext = function () { - this.context.push(types$1.b_tmpl), (this.exprAllowed = !0); - }), - (types.parenL.updateContext = function (prevType) { - var statementParens = - prevType === types._if || - prevType === types._for || - prevType === types._with || - prevType === types._while; - this.context.push( - statementParens ? types$1.p_stat : types$1.p_expr, - ), - (this.exprAllowed = !0); - }), - (types.incDec.updateContext = function () {}), - (types._function.updateContext = types._class.updateContext = - function (prevType) { - !prevType.beforeExpr || - prevType === types.semi || - prevType === types._else || - (prevType === types._return && - lineBreak.test( - this.input.slice(this.lastTokEnd, this.start), - )) || - ((prevType === types.colon || prevType === types.braceL) && - this.curContext() === types$1.b_stat) - ? this.context.push(types$1.f_stat) - : this.context.push(types$1.f_expr), - (this.exprAllowed = !1); - }), - (types.backQuote.updateContext = function () { - this.curContext() === types$1.q_tmpl - ? this.context.pop() - : this.context.push(types$1.q_tmpl), - (this.exprAllowed = !1); - }), - (types.star.updateContext = function (prevType) { - if (prevType === types._function) { - var index = this.context.length - 1; - this.context[index] === types$1.f_expr - ? (this.context[index] = types$1.f_expr_gen) - : (this.context[index] = types$1.f_gen); - } - this.exprAllowed = !0; - }), - (types.name.updateContext = function (prevType) { - var allowed = !1; - this.options.ecmaVersion >= 6 && - prevType !== types.dot && - (("of" === this.value && !this.exprAllowed) || - ("yield" === this.value && this.inGeneratorContext())) && - (allowed = !0), - (this.exprAllowed = allowed); - }), - (unicodeBinaryProperties = { - 9: (ecma9BinaryProperties = - "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS"), - 10: (ecma10BinaryProperties = - ecma9BinaryProperties + " Extended_Pictographic"), - 11: ecma10BinaryProperties, - }), - (unicodeGeneralCategoryValues = - "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu"), - (unicodeScriptValues = { - 9: (ecma9ScriptValues = - "Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb"), - 10: (ecma10ScriptValues = - ecma9ScriptValues + - " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd"), - 11: - ecma10ScriptValues + - " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", - }), - (data = {}), - buildUnicodeData(9), - buildUnicodeData(10), - buildUnicodeData(11), - (pp$8 = Parser.prototype), - ((RegExpValidationState = function (parser) { - (this.parser = parser), - (this.validFlags = - "gim" + - (parser.options.ecmaVersion >= 6 ? "uy" : "") + - (parser.options.ecmaVersion >= 9 ? "s" : "")), - (this.unicodeProperties = - data[ - parser.options.ecmaVersion >= 11 - ? 11 - : parser.options.ecmaVersion - ]), - (this.source = ""), - (this.flags = ""), - (this.start = 0), - (this.switchU = !1), - (this.switchN = !1), - (this.pos = 0), - (this.lastIntValue = 0), - (this.lastStringValue = ""), - (this.lastAssertionIsQuantifiable = !1), - (this.numCapturingParens = 0), - (this.maxBackReference = 0), - (this.groupNames = []), - (this.backReferenceNames = []); - }).prototype.reset = function (start, pattern, flags) { - var unicode = -1 !== flags.indexOf("u"); - (this.start = 0 | start), - (this.source = pattern + ""), - (this.flags = flags), - (this.switchU = - unicode && this.parser.options.ecmaVersion >= 6), - (this.switchN = - unicode && this.parser.options.ecmaVersion >= 9); - }), - (RegExpValidationState.prototype.raise = function (message) { - this.parser.raiseRecoverable( - this.start, - "Invalid regular expression: /" + - this.source + - "/: " + - message, - ); - }), - (RegExpValidationState.prototype.at = function (i, forceU) { - void 0 === forceU && (forceU = !1); - var s = this.source, - l = s.length; - if (i >= l) return -1; - var c = s.charCodeAt(i); - if ( - (!forceU && !this.switchU) || - c <= 55295 || - c >= 57344 || - i + 1 >= l - ) - return c; - var next = s.charCodeAt(i + 1); - return next >= 56320 && next <= 57343 - ? (c << 10) + next - 56613888 - : c; - }), - (RegExpValidationState.prototype.nextIndex = function ( - i, - forceU, - ) { - void 0 === forceU && (forceU = !1); - var s = this.source, - l = s.length; - if (i >= l) return l; - var next, - c = s.charCodeAt(i); - return (!forceU && !this.switchU) || - c <= 55295 || - c >= 57344 || - i + 1 >= l || - (next = s.charCodeAt(i + 1)) < 56320 || - next > 57343 - ? i + 1 - : i + 2; - }), - (RegExpValidationState.prototype.current = function (forceU) { - return ( - void 0 === forceU && (forceU = !1), - this.at(this.pos, forceU) - ); - }), - (RegExpValidationState.prototype.lookahead = function (forceU) { - return ( - void 0 === forceU && (forceU = !1), - this.at(this.nextIndex(this.pos, forceU), forceU) - ); - }), - (RegExpValidationState.prototype.advance = function (forceU) { - void 0 === forceU && (forceU = !1), - (this.pos = this.nextIndex(this.pos, forceU)); - }), - (RegExpValidationState.prototype.eat = function (ch, forceU) { - return ( - void 0 === forceU && (forceU = !1), - this.current(forceU) === ch && (this.advance(forceU), !0) - ); - }), - (pp$8.validateRegExpFlags = function (state) { - for ( - var validFlags = state.validFlags, - flags = state.flags, - i = 0; - i < flags.length; - i++ - ) { - var flag = flags.charAt(i); - -1 === validFlags.indexOf(flag) && - this.raise( - state.start, - "Invalid regular expression flag", - ), - flags.indexOf(flag, i + 1) > -1 && - this.raise( - state.start, - "Duplicate regular expression flag", - ); - } - }), - (pp$8.validateRegExpPattern = function (state) { - this.regexp_pattern(state), - !state.switchN && - this.options.ecmaVersion >= 9 && - state.groupNames.length > 0 && - ((state.switchN = !0), this.regexp_pattern(state)); - }), - (pp$8.regexp_pattern = function (state) { - (state.pos = 0), - (state.lastIntValue = 0), - (state.lastStringValue = ""), - (state.lastAssertionIsQuantifiable = !1), - (state.numCapturingParens = 0), - (state.maxBackReference = 0), - (state.groupNames.length = 0), - (state.backReferenceNames.length = 0), - this.regexp_disjunction(state), - state.pos !== state.source.length && - (state.eat(41) && state.raise("Unmatched ')'"), - (state.eat(93) || state.eat(125)) && - state.raise("Lone quantifier brackets")), - state.maxBackReference > state.numCapturingParens && - state.raise("Invalid escape"); - for ( - var i = 0, list = state.backReferenceNames; - i < list.length; - i += 1 - ) { - var name = list[i]; - -1 === state.groupNames.indexOf(name) && - state.raise("Invalid named capture referenced"); - } - }), - (pp$8.regexp_disjunction = function (state) { - for (this.regexp_alternative(state); state.eat(124); ) - this.regexp_alternative(state); - this.regexp_eatQuantifier(state, !0) && - state.raise("Nothing to repeat"), - state.eat(123) && state.raise("Lone quantifier brackets"); - }), - (pp$8.regexp_alternative = function (state) { - for ( - ; - state.pos < state.source.length && - this.regexp_eatTerm(state); - - ); - }), - (pp$8.regexp_eatTerm = function (state) { - return this.regexp_eatAssertion(state) - ? (state.lastAssertionIsQuantifiable && - this.regexp_eatQuantifier(state) && - state.switchU && - state.raise("Invalid quantifier"), - !0) - : !!(state.switchU - ? this.regexp_eatAtom(state) - : this.regexp_eatExtendedAtom(state)) && - (this.regexp_eatQuantifier(state), !0); - }), - (pp$8.regexp_eatAssertion = function (state) { - var start = state.pos; - if ( - ((state.lastAssertionIsQuantifiable = !1), - state.eat(94) || state.eat(36)) - ) - return !0; - if (state.eat(92)) { - if (state.eat(66) || state.eat(98)) return !0; - state.pos = start; - } - if (state.eat(40) && state.eat(63)) { - var lookbehind = !1; - if ( - (this.options.ecmaVersion >= 9 && - (lookbehind = state.eat(60)), - state.eat(61) || state.eat(33)) - ) - return ( - this.regexp_disjunction(state), - state.eat(41) || state.raise("Unterminated group"), - (state.lastAssertionIsQuantifiable = !lookbehind), - !0 - ); - } - return (state.pos = start), !1; - }), - (pp$8.regexp_eatQuantifier = function (state, noError) { - return ( - void 0 === noError && (noError = !1), - !!this.regexp_eatQuantifierPrefix(state, noError) && - (state.eat(63), !0) - ); - }), - (pp$8.regexp_eatQuantifierPrefix = function (state, noError) { - return ( - state.eat(42) || - state.eat(43) || - state.eat(63) || - this.regexp_eatBracedQuantifier(state, noError) - ); - }), - (pp$8.regexp_eatBracedQuantifier = function (state, noError) { - var start = state.pos; - if (state.eat(123)) { - var min = 0, - max = -1; - if ( - this.regexp_eatDecimalDigits(state) && - ((min = state.lastIntValue), - state.eat(44) && - this.regexp_eatDecimalDigits(state) && - (max = state.lastIntValue), - state.eat(125)) - ) - return ( - -1 !== max && - max < min && - !noError && - state.raise("numbers out of order in {} quantifier"), - !0 - ); - state.switchU && - !noError && - state.raise("Incomplete quantifier"), - (state.pos = start); - } - return !1; - }), - (pp$8.regexp_eatAtom = function (state) { - return ( - this.regexp_eatPatternCharacters(state) || - state.eat(46) || - this.regexp_eatReverseSolidusAtomEscape(state) || - this.regexp_eatCharacterClass(state) || - this.regexp_eatUncapturingGroup(state) || - this.regexp_eatCapturingGroup(state) - ); - }), - (pp$8.regexp_eatReverseSolidusAtomEscape = function (state) { - var start = state.pos; - if (state.eat(92)) { - if (this.regexp_eatAtomEscape(state)) return !0; - state.pos = start; - } - return !1; - }), - (pp$8.regexp_eatUncapturingGroup = function (state) { - var start = state.pos; - if (state.eat(40)) { - if (state.eat(63) && state.eat(58)) { - if ((this.regexp_disjunction(state), state.eat(41))) - return !0; - state.raise("Unterminated group"); - } - state.pos = start; - } - return !1; - }), - (pp$8.regexp_eatCapturingGroup = function (state) { - if (state.eat(40)) { - if ( - (this.options.ecmaVersion >= 9 - ? this.regexp_groupSpecifier(state) - : 63 === state.current() && - state.raise("Invalid group"), - this.regexp_disjunction(state), - state.eat(41)) - ) - return (state.numCapturingParens += 1), !0; - state.raise("Unterminated group"); - } - return !1; - }), - (pp$8.regexp_eatExtendedAtom = function (state) { - return ( - state.eat(46) || - this.regexp_eatReverseSolidusAtomEscape(state) || - this.regexp_eatCharacterClass(state) || - this.regexp_eatUncapturingGroup(state) || - this.regexp_eatCapturingGroup(state) || - this.regexp_eatInvalidBracedQuantifier(state) || - this.regexp_eatExtendedPatternCharacter(state) - ); - }), - (pp$8.regexp_eatInvalidBracedQuantifier = function (state) { - return ( - this.regexp_eatBracedQuantifier(state, !0) && - state.raise("Nothing to repeat"), - !1 - ); - }), - (pp$8.regexp_eatSyntaxCharacter = function (state) { - var ch = state.current(); - return ( - !!isSyntaxCharacter(ch) && - ((state.lastIntValue = ch), state.advance(), !0) - ); - }), - (pp$8.regexp_eatPatternCharacters = function (state) { - for ( - var start = state.pos, ch = 0; - -1 !== (ch = state.current()) && !isSyntaxCharacter(ch); - - ) - state.advance(); - return state.pos !== start; - }), - (pp$8.regexp_eatExtendedPatternCharacter = function (state) { - var ch = state.current(); - return ( - !( - -1 === ch || - 36 === ch || - (ch >= 40 && ch <= 43) || - 46 === ch || - 63 === ch || - 91 === ch || - 94 === ch || - 124 === ch - ) && (state.advance(), !0) - ); - }), - (pp$8.regexp_groupSpecifier = function (state) { - if (state.eat(63)) { - if (this.regexp_eatGroupName(state)) - return ( - -1 !== - state.groupNames.indexOf(state.lastStringValue) && - state.raise("Duplicate capture group name"), - void state.groupNames.push(state.lastStringValue) - ); - state.raise("Invalid group"); - } - }), - (pp$8.regexp_eatGroupName = function (state) { - if (((state.lastStringValue = ""), state.eat(60))) { - if ( - this.regexp_eatRegExpIdentifierName(state) && - state.eat(62) - ) - return !0; - state.raise("Invalid capture group name"); - } - return !1; - }), - (pp$8.regexp_eatRegExpIdentifierName = function (state) { - if ( - ((state.lastStringValue = ""), - this.regexp_eatRegExpIdentifierStart(state)) - ) { - for ( - state.lastStringValue += codePointToString( - state.lastIntValue, - ); - this.regexp_eatRegExpIdentifierPart(state); - - ) - state.lastStringValue += codePointToString( - state.lastIntValue, - ); - return !0; - } - return !1; - }), - (pp$8.regexp_eatRegExpIdentifierStart = function (state) { - var start = state.pos, - forceU = this.options.ecmaVersion >= 11, - ch = state.current(forceU); - return ( - state.advance(forceU), - 92 === ch && - this.regexp_eatRegExpUnicodeEscapeSequence( - state, - forceU, - ) && - (ch = state.lastIntValue), - (function isRegExpIdentifierStart(ch) { - return ( - isIdentifierStart(ch, !0) || 36 === ch || 95 === ch - ); - })(ch) - ? ((state.lastIntValue = ch), !0) - : ((state.pos = start), !1) - ); - }), - (pp$8.regexp_eatRegExpIdentifierPart = function (state) { - var start = state.pos, - forceU = this.options.ecmaVersion >= 11, - ch = state.current(forceU); - return ( - state.advance(forceU), - 92 === ch && - this.regexp_eatRegExpUnicodeEscapeSequence( - state, - forceU, - ) && - (ch = state.lastIntValue), - (function isRegExpIdentifierPart(ch) { - return ( - isIdentifierChar(ch, !0) || - 36 === ch || - 95 === ch || - 8204 === ch || - 8205 === ch - ); - })(ch) - ? ((state.lastIntValue = ch), !0) - : ((state.pos = start), !1) - ); - }), - (pp$8.regexp_eatAtomEscape = function (state) { - return ( - !!( - this.regexp_eatBackReference(state) || - this.regexp_eatCharacterClassEscape(state) || - this.regexp_eatCharacterEscape(state) || - (state.switchN && this.regexp_eatKGroupName(state)) - ) || - (state.switchU && - (99 === state.current() && - state.raise("Invalid unicode escape"), - state.raise("Invalid escape")), - !1) - ); - }), - (pp$8.regexp_eatBackReference = function (state) { - var start = state.pos; - if (this.regexp_eatDecimalEscape(state)) { - var n = state.lastIntValue; - if (state.switchU) - return ( - n > state.maxBackReference && - (state.maxBackReference = n), - !0 - ); - if (n <= state.numCapturingParens) return !0; - state.pos = start; - } - return !1; - }), - (pp$8.regexp_eatKGroupName = function (state) { - if (state.eat(107)) { - if (this.regexp_eatGroupName(state)) - return ( - state.backReferenceNames.push(state.lastStringValue), !0 - ); - state.raise("Invalid named reference"); - } - return !1; - }), - (pp$8.regexp_eatCharacterEscape = function (state) { - return ( - this.regexp_eatControlEscape(state) || - this.regexp_eatCControlLetter(state) || - this.regexp_eatZero(state) || - this.regexp_eatHexEscapeSequence(state) || - this.regexp_eatRegExpUnicodeEscapeSequence(state, !1) || - (!state.switchU && - this.regexp_eatLegacyOctalEscapeSequence(state)) || - this.regexp_eatIdentityEscape(state) - ); - }), - (pp$8.regexp_eatCControlLetter = function (state) { - var start = state.pos; - if (state.eat(99)) { - if (this.regexp_eatControlLetter(state)) return !0; - state.pos = start; - } - return !1; - }), - (pp$8.regexp_eatZero = function (state) { - return ( - 48 === state.current() && - !isDecimalDigit(state.lookahead()) && - ((state.lastIntValue = 0), state.advance(), !0) - ); - }), - (pp$8.regexp_eatControlEscape = function (state) { - var ch = state.current(); - return 116 === ch - ? ((state.lastIntValue = 9), state.advance(), !0) - : 110 === ch - ? ((state.lastIntValue = 10), state.advance(), !0) - : 118 === ch - ? ((state.lastIntValue = 11), state.advance(), !0) - : 102 === ch - ? ((state.lastIntValue = 12), state.advance(), !0) - : 114 === ch && - ((state.lastIntValue = 13), state.advance(), !0); - }), - (pp$8.regexp_eatControlLetter = function (state) { - var ch = state.current(); - return ( - !!isControlLetter(ch) && - ((state.lastIntValue = ch % 32), state.advance(), !0) - ); - }), - (pp$8.regexp_eatRegExpUnicodeEscapeSequence = function ( - state, - forceU, - ) { - void 0 === forceU && (forceU = !1); - var start = state.pos, - switchU = forceU || state.switchU; - if (state.eat(117)) { - if (this.regexp_eatFixedHexDigits(state, 4)) { - var lead = state.lastIntValue; - if (switchU && lead >= 55296 && lead <= 56319) { - var leadSurrogateEnd = state.pos; - if ( - state.eat(92) && - state.eat(117) && - this.regexp_eatFixedHexDigits(state, 4) - ) { - var trail = state.lastIntValue; - if (trail >= 56320 && trail <= 57343) - return ( - (state.lastIntValue = - 1024 * (lead - 55296) + - (trail - 56320) + - 65536), - !0 - ); - } - (state.pos = leadSurrogateEnd), - (state.lastIntValue = lead); - } - return !0; - } - if ( - switchU && - state.eat(123) && - this.regexp_eatHexDigits(state) && - state.eat(125) && - (function isValidUnicode(ch) { - return ch >= 0 && ch <= 1114111; - })(state.lastIntValue) - ) - return !0; - switchU && state.raise("Invalid unicode escape"), - (state.pos = start); - } - return !1; - }), - (pp$8.regexp_eatIdentityEscape = function (state) { - if (state.switchU) - return ( - !!this.regexp_eatSyntaxCharacter(state) || - (!!state.eat(47) && ((state.lastIntValue = 47), !0)) - ); - var ch = state.current(); - return ( - !(99 === ch || (state.switchN && 107 === ch)) && - ((state.lastIntValue = ch), state.advance(), !0) - ); - }), - (pp$8.regexp_eatDecimalEscape = function (state) { - state.lastIntValue = 0; - var ch = state.current(); - if (ch >= 49 && ch <= 57) { - do { - (state.lastIntValue = - 10 * state.lastIntValue + (ch - 48)), - state.advance(); - } while ((ch = state.current()) >= 48 && ch <= 57); - return !0; - } - return !1; - }), - (pp$8.regexp_eatCharacterClassEscape = function (state) { - var ch = state.current(); - if ( - (function isCharacterClassEscape(ch) { - return ( - 100 === ch || - 68 === ch || - 115 === ch || - 83 === ch || - 119 === ch || - 87 === ch - ); - })(ch) - ) - return (state.lastIntValue = -1), state.advance(), !0; - if ( - state.switchU && - this.options.ecmaVersion >= 9 && - (80 === ch || 112 === ch) - ) { - if ( - ((state.lastIntValue = -1), - state.advance(), - state.eat(123) && - this.regexp_eatUnicodePropertyValueExpression(state) && - state.eat(125)) - ) - return !0; - state.raise("Invalid property name"); - } - return !1; - }), - (pp$8.regexp_eatUnicodePropertyValueExpression = function ( - state, - ) { - var start = state.pos; - if ( - this.regexp_eatUnicodePropertyName(state) && - state.eat(61) - ) { - var name = state.lastStringValue; - if (this.regexp_eatUnicodePropertyValue(state)) { - var value = state.lastStringValue; - return ( - this.regexp_validateUnicodePropertyNameAndValue( - state, - name, - value, - ), - !0 - ); - } - } - if ( - ((state.pos = start), - this.regexp_eatLoneUnicodePropertyNameOrValue(state)) - ) { - var nameOrValue = state.lastStringValue; - return ( - this.regexp_validateUnicodePropertyNameOrValue( - state, - nameOrValue, - ), - !0 - ); - } - return !1; - }), - (pp$8.regexp_validateUnicodePropertyNameAndValue = function ( - state, - name, - value, - ) { - has(state.unicodeProperties.nonBinary, name) || - state.raise("Invalid property name"), - state.unicodeProperties.nonBinary[name].test(value) || - state.raise("Invalid property value"); - }), - (pp$8.regexp_validateUnicodePropertyNameOrValue = function ( - state, - nameOrValue, - ) { - state.unicodeProperties.binary.test(nameOrValue) || - state.raise("Invalid property name"); - }), - (pp$8.regexp_eatUnicodePropertyName = function (state) { - var ch = 0; - for ( - state.lastStringValue = ""; - isUnicodePropertyNameCharacter((ch = state.current())); - - ) - (state.lastStringValue += codePointToString(ch)), - state.advance(); - return "" !== state.lastStringValue; - }), - (pp$8.regexp_eatUnicodePropertyValue = function (state) { - var ch = 0; - for ( - state.lastStringValue = ""; - isUnicodePropertyValueCharacter((ch = state.current())); - - ) - (state.lastStringValue += codePointToString(ch)), - state.advance(); - return "" !== state.lastStringValue; - }), - (pp$8.regexp_eatLoneUnicodePropertyNameOrValue = function ( - state, - ) { - return this.regexp_eatUnicodePropertyValue(state); - }), - (pp$8.regexp_eatCharacterClass = function (state) { - if (state.eat(91)) { - if ( - (state.eat(94), - this.regexp_classRanges(state), - state.eat(93)) - ) - return !0; - state.raise("Unterminated character class"); - } - return !1; - }), - (pp$8.regexp_classRanges = function (state) { - for (; this.regexp_eatClassAtom(state); ) { - var left = state.lastIntValue; - if (state.eat(45) && this.regexp_eatClassAtom(state)) { - var right = state.lastIntValue; - state.switchU && - (-1 === left || -1 === right) && - state.raise("Invalid character class"), - -1 !== left && - -1 !== right && - left > right && - state.raise("Range out of order in character class"); - } - } - }), - (pp$8.regexp_eatClassAtom = function (state) { - var start = state.pos; - if (state.eat(92)) { - if (this.regexp_eatClassEscape(state)) return !0; - if (state.switchU) { - var ch$1 = state.current(); - (99 === ch$1 || isOctalDigit(ch$1)) && - state.raise("Invalid class escape"), - state.raise("Invalid escape"); - } - state.pos = start; - } - var ch = state.current(); - return ( - 93 !== ch && - ((state.lastIntValue = ch), state.advance(), !0) - ); - }), - (pp$8.regexp_eatClassEscape = function (state) { - var start = state.pos; - if (state.eat(98)) return (state.lastIntValue = 8), !0; - if (state.switchU && state.eat(45)) - return (state.lastIntValue = 45), !0; - if (!state.switchU && state.eat(99)) { - if (this.regexp_eatClassControlLetter(state)) return !0; - state.pos = start; - } - return ( - this.regexp_eatCharacterClassEscape(state) || - this.regexp_eatCharacterEscape(state) - ); - }), - (pp$8.regexp_eatClassControlLetter = function (state) { - var ch = state.current(); - return ( - !(!isDecimalDigit(ch) && 95 !== ch) && - ((state.lastIntValue = ch % 32), state.advance(), !0) - ); - }), - (pp$8.regexp_eatHexEscapeSequence = function (state) { - var start = state.pos; - if (state.eat(120)) { - if (this.regexp_eatFixedHexDigits(state, 2)) return !0; - state.switchU && state.raise("Invalid escape"), - (state.pos = start); - } - return !1; - }), - (pp$8.regexp_eatDecimalDigits = function (state) { - var start = state.pos, - ch = 0; - for ( - state.lastIntValue = 0; - isDecimalDigit((ch = state.current())); - - ) - (state.lastIntValue = 10 * state.lastIntValue + (ch - 48)), - state.advance(); - return state.pos !== start; - }), - (pp$8.regexp_eatHexDigits = function (state) { - var start = state.pos, - ch = 0; - for ( - state.lastIntValue = 0; - isHexDigit((ch = state.current())); - - ) - (state.lastIntValue = - 16 * state.lastIntValue + hexToInt(ch)), - state.advance(); - return state.pos !== start; - }), - (pp$8.regexp_eatLegacyOctalEscapeSequence = function (state) { - if (this.regexp_eatOctalDigit(state)) { - var n1 = state.lastIntValue; - if (this.regexp_eatOctalDigit(state)) { - var n2 = state.lastIntValue; - n1 <= 3 && this.regexp_eatOctalDigit(state) - ? (state.lastIntValue = - 64 * n1 + 8 * n2 + state.lastIntValue) - : (state.lastIntValue = 8 * n1 + n2); - } else state.lastIntValue = n1; - return !0; - } - return !1; - }), - (pp$8.regexp_eatOctalDigit = function (state) { - var ch = state.current(); - return isOctalDigit(ch) - ? ((state.lastIntValue = ch - 48), state.advance(), !0) - : ((state.lastIntValue = 0), !1); - }), - (pp$8.regexp_eatFixedHexDigits = function (state, length) { - var start = state.pos; - state.lastIntValue = 0; - for (var i = 0; i < length; ++i) { - var ch = state.current(); - if (!isHexDigit(ch)) return (state.pos = start), !1; - (state.lastIntValue = - 16 * state.lastIntValue + hexToInt(ch)), - state.advance(); - } - return !0; - }), - (Token = function (p) { - (this.type = p.type), - (this.value = p.value), - (this.start = p.start), - (this.end = p.end), - p.options.locations && - (this.loc = new SourceLocation(p, p.startLoc, p.endLoc)), - p.options.ranges && (this.range = [p.start, p.end]); - }), - ((pp$9 = Parser.prototype).next = function ( - ignoreEscapeSequenceInKeyword, - ) { - !ignoreEscapeSequenceInKeyword && - this.type.keyword && - this.containsEsc && - this.raiseRecoverable( - this.start, - "Escape sequence in keyword " + this.type.keyword, - ), - this.options.onToken && - this.options.onToken(new Token(this)), - (this.lastTokEnd = this.end), - (this.lastTokStart = this.start), - (this.lastTokEndLoc = this.endLoc), - (this.lastTokStartLoc = this.startLoc), - this.nextToken(); - }), - (pp$9.getToken = function () { - return this.next(), new Token(this); - }), - typeof Symbol < "u" && - (pp$9[Symbol.iterator] = function () { - var this$1$1 = this; - return { - next: function () { - var token = this$1$1.getToken(); - return { done: token.type === types.eof, value: token }; - }, - }; - }), - (pp$9.curContext = function () { - return this.context[this.context.length - 1]; - }), - (pp$9.nextToken = function () { - var curContext = this.curContext(); - return ( - (!curContext || !curContext.preserveSpace) && - this.skipSpace(), - (this.start = this.pos), - this.options.locations && - (this.startLoc = this.curPosition()), - this.pos >= this.input.length - ? this.finishToken(types.eof) - : curContext.override - ? curContext.override(this) - : void this.readToken(this.fullCharCodeAtPos()) - ); - }), - (pp$9.readToken = function (code) { - return isIdentifierStart( - code, - this.options.ecmaVersion >= 6, - ) || 92 === code - ? this.readWord() - : this.getTokenFromCode(code); - }), - (pp$9.fullCharCodeAtPos = function () { - var code = this.input.charCodeAt(this.pos); - return code <= 55295 || code >= 57344 - ? code - : (code << 10) + - this.input.charCodeAt(this.pos + 1) - - 56613888; - }), - (pp$9.skipBlockComment = function () { - var startLoc = this.options.onComment && this.curPosition(), - start = this.pos, - end = this.input.indexOf("*/", (this.pos += 2)); - if ( - (-1 === end && - this.raise(this.pos - 2, "Unterminated comment"), - (this.pos = end + 2), - this.options.locations) - ) { - lineBreakG.lastIndex = start; - for ( - var match; - (match = lineBreakG.exec(this.input)) && - match.index < this.pos; - - ) - ++this.curLine, - (this.lineStart = match.index + match[0].length); - } - this.options.onComment && - this.options.onComment( - !0, - this.input.slice(start + 2, end), - start, - this.pos, - startLoc, - this.curPosition(), - ); - }), - (pp$9.skipLineComment = function (startSkip) { - for ( - var start = this.pos, - startLoc = this.options.onComment && this.curPosition(), - ch = this.input.charCodeAt((this.pos += startSkip)); - this.pos < this.input.length && !isNewLine(ch); - - ) - ch = this.input.charCodeAt(++this.pos); - this.options.onComment && - this.options.onComment( - !1, - this.input.slice(start + startSkip, this.pos), - start, - this.pos, - startLoc, - this.curPosition(), - ); - }), - (pp$9.skipSpace = function () { - loop: for (; this.pos < this.input.length; ) { - var ch = this.input.charCodeAt(this.pos); - switch (ch) { - case 32: - case 160: - ++this.pos; - break; - case 13: - 10 === this.input.charCodeAt(this.pos + 1) && - ++this.pos; - case 10: - case 8232: - case 8233: - ++this.pos, - this.options.locations && - (++this.curLine, (this.lineStart = this.pos)); - break; - case 47: - switch (this.input.charCodeAt(this.pos + 1)) { - case 42: - this.skipBlockComment(); - break; - case 47: - this.skipLineComment(2); - break; - default: - break loop; - } - break; - default: - if ( - !( - (ch > 8 && ch < 14) || - (ch >= 5760 && - nonASCIIwhitespace.test(String.fromCharCode(ch))) - ) - ) - break loop; - ++this.pos; - } - } - }), - (pp$9.finishToken = function (type, val) { - (this.end = this.pos), - this.options.locations && - (this.endLoc = this.curPosition()); - var prevType = this.type; - (this.type = type), - (this.value = val), - this.updateContext(prevType); - }), - (pp$9.readToken_dot = function () { - var next = this.input.charCodeAt(this.pos + 1); - if (next >= 48 && next <= 57) return this.readNumber(!0); - var next2 = this.input.charCodeAt(this.pos + 2); - return this.options.ecmaVersion >= 6 && - 46 === next && - 46 === next2 - ? ((this.pos += 3), this.finishToken(types.ellipsis)) - : (++this.pos, this.finishToken(types.dot)); - }), - (pp$9.readToken_slash = function () { - var next = this.input.charCodeAt(this.pos + 1); - return this.exprAllowed - ? (++this.pos, this.readRegexp()) - : 61 === next - ? this.finishOp(types.assign, 2) - : this.finishOp(types.slash, 1); - }), - (pp$9.readToken_mult_modulo_exp = function (code) { - var next = this.input.charCodeAt(this.pos + 1), - size = 1, - tokentype = 42 === code ? types.star : types.modulo; - return ( - this.options.ecmaVersion >= 7 && - 42 === code && - 42 === next && - (++size, - (tokentype = types.starstar), - (next = this.input.charCodeAt(this.pos + 2))), - 61 === next - ? this.finishOp(types.assign, size + 1) - : this.finishOp(tokentype, size) - ); - }), - (pp$9.readToken_pipe_amp = function (code) { - var next = this.input.charCodeAt(this.pos + 1); - if (next === code) { - if (this.options.ecmaVersion >= 12) - if (61 === this.input.charCodeAt(this.pos + 2)) - return this.finishOp(types.assign, 3); - return this.finishOp( - 124 === code ? types.logicalOR : types.logicalAND, - 2, - ); - } - return 61 === next - ? this.finishOp(types.assign, 2) - : this.finishOp( - 124 === code ? types.bitwiseOR : types.bitwiseAND, - 1, - ); - }), - (pp$9.readToken_caret = function () { - return 61 === this.input.charCodeAt(this.pos + 1) - ? this.finishOp(types.assign, 2) - : this.finishOp(types.bitwiseXOR, 1); - }), - (pp$9.readToken_plus_min = function (code) { - var next = this.input.charCodeAt(this.pos + 1); - return next === code - ? 45 !== next || - this.inModule || - 62 !== this.input.charCodeAt(this.pos + 2) || - (0 !== this.lastTokEnd && - !lineBreak.test( - this.input.slice(this.lastTokEnd, this.pos), - )) - ? this.finishOp(types.incDec, 2) - : (this.skipLineComment(3), - this.skipSpace(), - this.nextToken()) - : 61 === next - ? this.finishOp(types.assign, 2) - : this.finishOp(types.plusMin, 1); - }), - (pp$9.readToken_lt_gt = function (code) { - var next = this.input.charCodeAt(this.pos + 1), - size = 1; - return next === code - ? ((size = - 62 === code && - 62 === this.input.charCodeAt(this.pos + 2) - ? 3 - : 2), - 61 === this.input.charCodeAt(this.pos + size) - ? this.finishOp(types.assign, size + 1) - : this.finishOp(types.bitShift, size)) - : 33 !== next || - 60 !== code || - this.inModule || - 45 !== this.input.charCodeAt(this.pos + 2) || - 45 !== this.input.charCodeAt(this.pos + 3) - ? (61 === next && (size = 2), - this.finishOp(types.relational, size)) - : (this.skipLineComment(4), - this.skipSpace(), - this.nextToken()); - }), - (pp$9.readToken_eq_excl = function (code) { - var next = this.input.charCodeAt(this.pos + 1); - return 61 === next - ? this.finishOp( - types.equality, - 61 === this.input.charCodeAt(this.pos + 2) ? 3 : 2, - ) - : 61 === code && - 62 === next && - this.options.ecmaVersion >= 6 - ? ((this.pos += 2), this.finishToken(types.arrow)) - : this.finishOp(61 === code ? types.eq : types.prefix, 1); - }), - (pp$9.readToken_question = function () { - var ecmaVersion = this.options.ecmaVersion; - if (ecmaVersion >= 11) { - var next = this.input.charCodeAt(this.pos + 1); - if (46 === next) { - var next2 = this.input.charCodeAt(this.pos + 2); - if (next2 < 48 || next2 > 57) - return this.finishOp(types.questionDot, 2); - } - if (63 === next) { - if (ecmaVersion >= 12) - if (61 === this.input.charCodeAt(this.pos + 2)) - return this.finishOp(types.assign, 3); - return this.finishOp(types.coalesce, 2); - } - } - return this.finishOp(types.question, 1); - }), - (pp$9.getTokenFromCode = function (code) { - switch (code) { - case 46: - return this.readToken_dot(); - case 40: - return ++this.pos, this.finishToken(types.parenL); - case 41: - return ++this.pos, this.finishToken(types.parenR); - case 59: - return ++this.pos, this.finishToken(types.semi); - case 44: - return ++this.pos, this.finishToken(types.comma); - case 91: - return ++this.pos, this.finishToken(types.bracketL); - case 93: - return ++this.pos, this.finishToken(types.bracketR); - case 123: - return ++this.pos, this.finishToken(types.braceL); - case 125: - return ++this.pos, this.finishToken(types.braceR); - case 58: - return ++this.pos, this.finishToken(types.colon); - case 96: - if (this.options.ecmaVersion < 6) break; - return ++this.pos, this.finishToken(types.backQuote); - case 48: - var next = this.input.charCodeAt(this.pos + 1); - if (120 === next || 88 === next) - return this.readRadixNumber(16); - if (this.options.ecmaVersion >= 6) { - if (111 === next || 79 === next) - return this.readRadixNumber(8); - if (98 === next || 66 === next) - return this.readRadixNumber(2); - } - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - return this.readNumber(!1); - case 34: - case 39: - return this.readString(code); - case 47: - return this.readToken_slash(); - case 37: - case 42: - return this.readToken_mult_modulo_exp(code); - case 124: - case 38: - return this.readToken_pipe_amp(code); - case 94: - return this.readToken_caret(); - case 43: - case 45: - return this.readToken_plus_min(code); - case 60: - case 62: - return this.readToken_lt_gt(code); - case 61: - case 33: - return this.readToken_eq_excl(code); - case 63: - return this.readToken_question(); - case 126: - return this.finishOp(types.prefix, 1); - } - this.raise( - this.pos, - "Unexpected character '" + codePointToString$1(code) + "'", - ); - }), - (pp$9.finishOp = function (type, size) { - var str = this.input.slice(this.pos, this.pos + size); - return (this.pos += size), this.finishToken(type, str); - }), - (pp$9.readRegexp = function () { - for (var escaped, inClass, start = this.pos; ; ) { - this.pos >= this.input.length && - this.raise(start, "Unterminated regular expression"); - var ch = this.input.charAt(this.pos); - if ( - (lineBreak.test(ch) && - this.raise(start, "Unterminated regular expression"), - escaped) - ) - escaped = !1; - else { - if ("[" === ch) inClass = !0; - else if ("]" === ch && inClass) inClass = !1; - else if ("/" === ch && !inClass) break; - escaped = "\\" === ch; - } - ++this.pos; - } - var pattern = this.input.slice(start, this.pos); - ++this.pos; - var flagsStart = this.pos, - flags = this.readWord1(); - this.containsEsc && this.unexpected(flagsStart); - var state = - this.regexpState || - (this.regexpState = new RegExpValidationState(this)); - state.reset(start, pattern, flags), - this.validateRegExpFlags(state), - this.validateRegExpPattern(state); - var value = null; - try { - value = new RegExp(pattern, flags); - } catch {} - return this.finishToken(types.regexp, { - pattern, - flags, - value, - }); - }), - (pp$9.readInt = function ( - radix, - len, - maybeLegacyOctalNumericLiteral, - ) { - for ( - var allowSeparators = - this.options.ecmaVersion >= 12 && void 0 === len, - isLegacyOctalNumericLiteral = - maybeLegacyOctalNumericLiteral && - 48 === this.input.charCodeAt(this.pos), - start = this.pos, - total = 0, - lastCode = 0, - i = 0, - e = len ?? 1 / 0; - i < e; - ++i, ++this.pos - ) { - var code = this.input.charCodeAt(this.pos), - val = void 0; - if (allowSeparators && 95 === code) - isLegacyOctalNumericLiteral && - this.raiseRecoverable( - this.pos, - "Numeric separator is not allowed in legacy octal numeric literals", - ), - 95 === lastCode && - this.raiseRecoverable( - this.pos, - "Numeric separator must be exactly one underscore", - ), - 0 === i && - this.raiseRecoverable( - this.pos, - "Numeric separator is not allowed at the first of digits", - ), - (lastCode = code); - else { - if ( - (val = - code >= 97 - ? code - 97 + 10 - : code >= 65 - ? code - 65 + 10 - : code >= 48 && code <= 57 - ? code - 48 - : 1 / 0) >= radix - ) - break; - (lastCode = code), (total = total * radix + val); - } - } - return ( - allowSeparators && - 95 === lastCode && - this.raiseRecoverable( - this.pos - 1, - "Numeric separator is not allowed at the last of digits", - ), - this.pos === start || - (null != len && this.pos - start !== len) - ? null - : total - ); - }), - (pp$9.readRadixNumber = function (radix) { - var start = this.pos; - this.pos += 2; - var val = this.readInt(radix); - return ( - null == val && - this.raise( - this.start + 2, - "Expected number in radix " + radix, - ), - this.options.ecmaVersion >= 11 && - 110 === this.input.charCodeAt(this.pos) - ? ((val = stringToBigInt( - this.input.slice(start, this.pos), - )), - ++this.pos) - : isIdentifierStart(this.fullCharCodeAtPos()) && - this.raise( - this.pos, - "Identifier directly after number", - ), - this.finishToken(types.num, val) - ); - }), - (pp$9.readNumber = function (startsWithDot) { - var start = this.pos; - !startsWithDot && - null === this.readInt(10, void 0, !0) && - this.raise(start, "Invalid number"); - var octal = - this.pos - start >= 2 && - 48 === this.input.charCodeAt(start); - octal && this.strict && this.raise(start, "Invalid number"); - var next = this.input.charCodeAt(this.pos); - if ( - !octal && - !startsWithDot && - this.options.ecmaVersion >= 11 && - 110 === next - ) { - var val$1 = stringToBigInt( - this.input.slice(start, this.pos), - ); - return ( - ++this.pos, - isIdentifierStart(this.fullCharCodeAtPos()) && - this.raise( - this.pos, - "Identifier directly after number", - ), - this.finishToken(types.num, val$1) - ); - } - octal && - /[89]/.test(this.input.slice(start, this.pos)) && - (octal = !1), - 46 === next && - !octal && - (++this.pos, - this.readInt(10), - (next = this.input.charCodeAt(this.pos))), - (69 === next || 101 === next) && - !octal && - ((43 === (next = this.input.charCodeAt(++this.pos)) || - 45 === next) && - ++this.pos, - null === this.readInt(10) && - this.raise(start, "Invalid number")), - isIdentifierStart(this.fullCharCodeAtPos()) && - this.raise(this.pos, "Identifier directly after number"); - var val = (function stringToNumber( - str, - isLegacyOctalNumericLiteral, - ) { - return isLegacyOctalNumericLiteral - ? parseInt(str, 8) - : parseFloat(str.replace(/_/g, "")); - })(this.input.slice(start, this.pos), octal); - return this.finishToken(types.num, val); - }), - (pp$9.readCodePoint = function () { - var code; - if (123 === this.input.charCodeAt(this.pos)) { - this.options.ecmaVersion < 6 && this.unexpected(); - var codePos = ++this.pos; - (code = this.readHexChar( - this.input.indexOf("}", this.pos) - this.pos, - )), - ++this.pos, - code > 1114111 && - this.invalidStringToken( - codePos, - "Code point out of bounds", - ); - } else code = this.readHexChar(4); - return code; - }), - (pp$9.readString = function (quote) { - for (var out = "", chunkStart = ++this.pos; ; ) { - this.pos >= this.input.length && - this.raise(this.start, "Unterminated string constant"); - var ch = this.input.charCodeAt(this.pos); - if (ch === quote) break; - 92 === ch - ? ((out += this.input.slice(chunkStart, this.pos)), - (out += this.readEscapedChar(!1)), - (chunkStart = this.pos)) - : (isNewLine(ch, this.options.ecmaVersion >= 10) && - this.raise( - this.start, - "Unterminated string constant", - ), - ++this.pos); - } - return ( - (out += this.input.slice(chunkStart, this.pos++)), - this.finishToken(types.string, out) - ); - }), - (INVALID_TEMPLATE_ESCAPE_ERROR = {}), - (pp$9.tryReadTemplateToken = function () { - this.inTemplateElement = !0; - try { - this.readTmplToken(); - } catch (err) { - if (err !== INVALID_TEMPLATE_ESCAPE_ERROR) throw err; - this.readInvalidTemplateToken(); - } - this.inTemplateElement = !1; - }), - (pp$9.invalidStringToken = function (position, message) { - if (this.inTemplateElement && this.options.ecmaVersion >= 9) - throw INVALID_TEMPLATE_ESCAPE_ERROR; - this.raise(position, message); - }), - (pp$9.readTmplToken = function () { - for (var out = "", chunkStart = this.pos; ; ) { - this.pos >= this.input.length && - this.raise(this.start, "Unterminated template"); - var ch = this.input.charCodeAt(this.pos); - if ( - 96 === ch || - (36 === ch && 123 === this.input.charCodeAt(this.pos + 1)) - ) - return this.pos !== this.start || - (this.type !== types.template && - this.type !== types.invalidTemplate) - ? ((out += this.input.slice(chunkStart, this.pos)), - this.finishToken(types.template, out)) - : 36 === ch - ? ((this.pos += 2), - this.finishToken(types.dollarBraceL)) - : (++this.pos, this.finishToken(types.backQuote)); - if (92 === ch) - (out += this.input.slice(chunkStart, this.pos)), - (out += this.readEscapedChar(!0)), - (chunkStart = this.pos); - else if (isNewLine(ch)) { - switch ( - ((out += this.input.slice(chunkStart, this.pos)), - ++this.pos, - ch) - ) { - case 13: - 10 === this.input.charCodeAt(this.pos) && ++this.pos; - case 10: - out += "\n"; - break; - default: - out += String.fromCharCode(ch); - } - this.options.locations && - (++this.curLine, (this.lineStart = this.pos)), - (chunkStart = this.pos); - } else ++this.pos; - } - }), - (pp$9.readInvalidTemplateToken = function () { - for (; this.pos < this.input.length; this.pos++) - switch (this.input[this.pos]) { - case "\\": - ++this.pos; - break; - case "$": - if ("{" !== this.input[this.pos + 1]) break; - case "`": - return this.finishToken( - types.invalidTemplate, - this.input.slice(this.start, this.pos), - ); - } - this.raise(this.start, "Unterminated template"); - }), - (pp$9.readEscapedChar = function (inTemplate) { - var ch = this.input.charCodeAt(++this.pos); - switch ((++this.pos, ch)) { - case 110: - return "\n"; - case 114: - return "\r"; - case 120: - return String.fromCharCode(this.readHexChar(2)); - case 117: - return codePointToString$1(this.readCodePoint()); - case 116: - return "\t"; - case 98: - return "\b"; - case 118: - return "\v"; - case 102: - return "\f"; - case 13: - 10 === this.input.charCodeAt(this.pos) && ++this.pos; - case 10: - return ( - this.options.locations && - ((this.lineStart = this.pos), ++this.curLine), - "" - ); - case 56: - case 57: - if (inTemplate) { - var codePos = this.pos - 1; - return ( - this.invalidStringToken( - codePos, - "Invalid escape sequence in template string", - ), - null - ); - } - default: - if (ch >= 48 && ch <= 55) { - var octalStr = this.input - .substr(this.pos - 1, 3) - .match(/^[0-7]+/)[0], - octal = parseInt(octalStr, 8); - return ( - octal > 255 && - ((octalStr = octalStr.slice(0, -1)), - (octal = parseInt(octalStr, 8))), - (this.pos += octalStr.length - 1), - (ch = this.input.charCodeAt(this.pos)), - ("0" !== octalStr || 56 === ch || 57 === ch) && - (this.strict || inTemplate) && - this.invalidStringToken( - this.pos - 1 - octalStr.length, - inTemplate - ? "Octal literal in template string" - : "Octal literal in strict mode", - ), - String.fromCharCode(octal) - ); - } - return isNewLine(ch) ? "" : String.fromCharCode(ch); - } - }), - (pp$9.readHexChar = function (len) { - var codePos = this.pos, - n = this.readInt(16, len); - return ( - null === n && - this.invalidStringToken( - codePos, - "Bad character escape sequence", - ), - n - ); - }), - (pp$9.readWord1 = function () { - this.containsEsc = !1; - for ( - var word = "", - first = !0, - chunkStart = this.pos, - astral = this.options.ecmaVersion >= 6; - this.pos < this.input.length; - - ) { - var ch = this.fullCharCodeAtPos(); - if (isIdentifierChar(ch, astral)) - this.pos += ch <= 65535 ? 1 : 2; - else { - if (92 !== ch) break; - (this.containsEsc = !0), - (word += this.input.slice(chunkStart, this.pos)); - var escStart = this.pos; - 117 !== this.input.charCodeAt(++this.pos) && - this.invalidStringToken( - this.pos, - "Expecting Unicode escape sequence \\uXXXX", - ), - ++this.pos; - var esc = this.readCodePoint(); - (first ? isIdentifierStart : isIdentifierChar)( - esc, - astral, - ) || - this.invalidStringToken( - escStart, - "Invalid Unicode escape", - ), - (word += codePointToString$1(esc)), - (chunkStart = this.pos); - } - first = !1; - } - return word + this.input.slice(chunkStart, this.pos); - }), - (pp$9.readWord = function () { - var word = this.readWord1(), - type = types.name; - return ( - this.keywords.test(word) && (type = keywords$1[word]), - this.finishToken(type, word) - ); - }), - (version = "7.4.1"), - (Parser.acorn = { - Parser, - version, - defaultOptions, - Position, - SourceLocation, - getLineInfo, - Node, - TokenType, - tokTypes: types, - keywordTypes: keywords$1, - TokContext, - tokContexts: types$1, - isIdentifierChar, - isIdentifierStart, - Token, - isNewLine, - lineBreak, - lineBreakG, - nonASCIIwhitespace, - }); - }, - }), - require_xhtml = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/acorn-jsx/xhtml.js"(exports, module) { - module.exports = { - quot: '"', - amp: "&", - apos: "'", - lt: "<", - gt: ">", - nbsp: " ", - iexcl: "¡", - cent: "¢", - pound: "£", - curren: "¤", - yen: "¥", - brvbar: "¦", - sect: "§", - uml: "¨", - copy: "©", - ordf: "ª", - laquo: "«", - not: "¬", - shy: "­", - reg: "®", - macr: "¯", - deg: "°", - plusmn: "±", - sup2: "²", - sup3: "³", - acute: "´", - micro: "µ", - para: "¶", - middot: "·", - cedil: "¸", - sup1: "¹", - ordm: "º", - raquo: "»", - frac14: "¼", - frac12: "½", - frac34: "¾", - iquest: "¿", - Agrave: "À", - Aacute: "Á", - Acirc: "Â", - Atilde: "Ã", - Auml: "Ä", - Aring: "Å", - AElig: "Æ", - Ccedil: "Ç", - Egrave: "È", - Eacute: "É", - Ecirc: "Ê", - Euml: "Ë", - Igrave: "Ì", - Iacute: "Í", - Icirc: "Î", - Iuml: "Ï", - ETH: "Ð", - Ntilde: "Ñ", - Ograve: "Ò", - Oacute: "Ó", - Ocirc: "Ô", - Otilde: "Õ", - Ouml: "Ö", - times: "×", - Oslash: "Ø", - Ugrave: "Ù", - Uacute: "Ú", - Ucirc: "Û", - Uuml: "Ü", - Yacute: "Ý", - THORN: "Þ", - szlig: "ß", - agrave: "à", - aacute: "á", - acirc: "â", - atilde: "ã", - auml: "ä", - aring: "å", - aelig: "æ", - ccedil: "ç", - egrave: "è", - eacute: "é", - ecirc: "ê", - euml: "ë", - igrave: "ì", - iacute: "í", - icirc: "î", - iuml: "ï", - eth: "ð", - ntilde: "ñ", - ograve: "ò", - oacute: "ó", - ocirc: "ô", - otilde: "õ", - ouml: "ö", - divide: "÷", - oslash: "ø", - ugrave: "ù", - uacute: "ú", - ucirc: "û", - uuml: "ü", - yacute: "ý", - thorn: "þ", - yuml: "ÿ", - OElig: "Œ", - oelig: "œ", - Scaron: "Š", - scaron: "š", - Yuml: "Ÿ", - fnof: "ƒ", - circ: "ˆ", - tilde: "˜", - Alpha: "Α", - Beta: "Β", - Gamma: "Γ", - Delta: "Δ", - Epsilon: "Ε", - Zeta: "Ζ", - Eta: "Η", - Theta: "Θ", - Iota: "Ι", - Kappa: "Κ", - Lambda: "Λ", - Mu: "Μ", - Nu: "Ν", - Xi: "Ξ", - Omicron: "Ο", - Pi: "Π", - Rho: "Ρ", - Sigma: "Σ", - Tau: "Τ", - Upsilon: "Υ", - Phi: "Φ", - Chi: "Χ", - Psi: "Ψ", - Omega: "Ω", - alpha: "α", - beta: "β", - gamma: "γ", - delta: "δ", - epsilon: "ε", - zeta: "ζ", - eta: "η", - theta: "θ", - iota: "ι", - kappa: "κ", - lambda: "λ", - mu: "μ", - nu: "ν", - xi: "ξ", - omicron: "ο", - pi: "π", - rho: "ρ", - sigmaf: "ς", - sigma: "σ", - tau: "τ", - upsilon: "υ", - phi: "φ", - chi: "χ", - psi: "ψ", - omega: "ω", - thetasym: "ϑ", - upsih: "ϒ", - piv: "ϖ", - ensp: " ", - emsp: " ", - thinsp: " ", - zwnj: "‌", - zwj: "‍", - lrm: "‎", - rlm: "‏", - ndash: "–", - mdash: "—", - lsquo: "‘", - rsquo: "’", - sbquo: "‚", - ldquo: "“", - rdquo: "”", - bdquo: "„", - dagger: "†", - Dagger: "‡", - bull: "•", - hellip: "…", - permil: "‰", - prime: "′", - Prime: "″", - lsaquo: "‹", - rsaquo: "›", - oline: "‾", - frasl: "⁄", - euro: "€", - image: "ℑ", - weierp: "℘", - real: "ℜ", - trade: "™", - alefsym: "ℵ", - larr: "←", - uarr: "↑", - rarr: "→", - darr: "↓", - harr: "↔", - crarr: "↵", - lArr: "⇐", - uArr: "⇑", - rArr: "⇒", - dArr: "⇓", - hArr: "⇔", - forall: "∀", - part: "∂", - exist: "∃", - empty: "∅", - nabla: "∇", - isin: "∈", - notin: "∉", - ni: "∋", - prod: "∏", - sum: "∑", - minus: "−", - lowast: "∗", - radic: "√", - prop: "∝", - infin: "∞", - ang: "∠", - and: "∧", - or: "∨", - cap: "∩", - cup: "∪", - int: "∫", - there4: "∴", - sim: "∼", - cong: "≅", - asymp: "≈", - ne: "≠", - equiv: "≡", - le: "≤", - ge: "≥", - sub: "⊂", - sup: "⊃", - nsub: "⊄", - sube: "⊆", - supe: "⊇", - oplus: "⊕", - otimes: "⊗", - perp: "⊥", - sdot: "⋅", - lceil: "⌈", - rceil: "⌉", - lfloor: "⌊", - rfloor: "⌋", - lang: "〈", - rang: "〉", - loz: "◊", - spades: "♠", - clubs: "♣", - hearts: "♥", - diams: "♦", - }; - }, - }), - require_acorn_jsx = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/acorn-jsx/index.js"(exports, module) { - var XHTMLEntities = require_xhtml(), - hexNumber = /^[\da-fA-F]+$/, - decimalNumber = /^\d+$/, - acornJsxMap = new WeakMap(); - function getJsxTokens(acorn) { - acorn = acorn.Parser.acorn || acorn; - let acornJsx = acornJsxMap.get(acorn); - if (!acornJsx) { - let tt = acorn.tokTypes, - TokContext3 = acorn.TokContext, - TokenType3 = acorn.TokenType, - tc_oTag = new TokContext3("...", !0, !0), - tokContexts = { tc_oTag, tc_cTag, tc_expr }, - tokTypes = { - jsxName: new TokenType3("jsxName"), - jsxText: new TokenType3("jsxText", { beforeExpr: !0 }), - jsxTagStart: new TokenType3("jsxTagStart", { - startsExpr: !0, - }), - jsxTagEnd: new TokenType3("jsxTagEnd"), - }; - (tokTypes.jsxTagStart.updateContext = function () { - this.context.push(tc_expr), - this.context.push(tc_oTag), - (this.exprAllowed = !1); - }), - (tokTypes.jsxTagEnd.updateContext = function (prevType) { - let out = this.context.pop(); - (out === tc_oTag && prevType === tt.slash) || - out === tc_cTag - ? (this.context.pop(), - (this.exprAllowed = this.curContext() === tc_expr)) - : (this.exprAllowed = !0); - }), - (acornJsx = { tokContexts, tokTypes }), - acornJsxMap.set(acorn, acornJsx); - } - return acornJsx; - } - function getQualifiedJSXName(object) { - return object - ? "JSXIdentifier" === object.type - ? object.name - : "JSXNamespacedName" === object.type - ? object.namespace.name + ":" + object.name.name - : "JSXMemberExpression" === object.type - ? getQualifiedJSXName(object.object) + - "." + - getQualifiedJSXName(object.property) - : void 0 - : object; - } - (module.exports = function (options) { - return ( - (options = options || {}), - function (Parser3) { - return (function plugin(options, Parser3) { - let acorn = - Parser3.acorn || - (init_acorn(), - (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.Yp)( - acorn_exports, - )), - acornJsx = getJsxTokens(acorn), - tt = acorn.tokTypes, - tok = acornJsx.tokTypes, - tokContexts = acorn.tokContexts, - tc_oTag = acornJsx.tokContexts.tc_oTag, - tc_cTag = acornJsx.tokContexts.tc_cTag, - tc_expr = acornJsx.tokContexts.tc_expr, - isNewLine2 = acorn.isNewLine, - isIdentifierStart2 = acorn.isIdentifierStart, - isIdentifierChar2 = acorn.isIdentifierChar; - return class extends Parser3 { - static get acornJsx() { - return acornJsx; - } - jsx_readToken() { - let out = "", - chunkStart = this.pos; - for (;;) { - this.pos >= this.input.length && - this.raise( - this.start, - "Unterminated JSX contents", - ); - let ch = this.input.charCodeAt(this.pos); - switch (ch) { - case 60: - case 123: - return this.pos === this.start - ? 60 === ch && this.exprAllowed - ? (++this.pos, - this.finishToken(tok.jsxTagStart)) - : this.getTokenFromCode(ch) - : ((out += this.input.slice( - chunkStart, - this.pos, - )), - this.finishToken(tok.jsxText, out)); - case 38: - (out += this.input.slice(chunkStart, this.pos)), - (out += this.jsx_readEntity()), - (chunkStart = this.pos); - break; - case 62: - case 125: - this.raise( - this.pos, - "Unexpected token `" + - this.input[this.pos] + - "`. Did you mean `" + - (62 === ch ? ">" : "}") + - '` or `{"' + - this.input[this.pos] + - '"}`?', - ); - default: - isNewLine2(ch) - ? ((out += this.input.slice( - chunkStart, - this.pos, - )), - (out += this.jsx_readNewLine(!0)), - (chunkStart = this.pos)) - : ++this.pos; - } - } - } - jsx_readNewLine(normalizeCRLF) { - let out, - ch = this.input.charCodeAt(this.pos); - return ( - ++this.pos, - 13 === ch && 10 === this.input.charCodeAt(this.pos) - ? (++this.pos, - (out = normalizeCRLF ? "\n" : "\r\n")) - : (out = String.fromCharCode(ch)), - this.options.locations && - (++this.curLine, (this.lineStart = this.pos)), - out - ); - } - jsx_readString(quote) { - let out = "", - chunkStart = ++this.pos; - for (;;) { - this.pos >= this.input.length && - this.raise( - this.start, - "Unterminated string constant", - ); - let ch = this.input.charCodeAt(this.pos); - if (ch === quote) break; - 38 === ch - ? ((out += this.input.slice( - chunkStart, - this.pos, - )), - (out += this.jsx_readEntity()), - (chunkStart = this.pos)) - : isNewLine2(ch) - ? ((out += this.input.slice( - chunkStart, - this.pos, - )), - (out += this.jsx_readNewLine(!1)), - (chunkStart = this.pos)) - : ++this.pos; - } - return ( - (out += this.input.slice(chunkStart, this.pos++)), - this.finishToken(tt.string, out) - ); - } - jsx_readEntity() { - let entity, - str = "", - count = 0, - ch = this.input[this.pos]; - "&" !== ch && - this.raise( - this.pos, - "Entity must start with an ampersand", - ); - let startPos = ++this.pos; - for ( - ; - this.pos < this.input.length && count++ < 10; - - ) { - if (((ch = this.input[this.pos++]), ";" === ch)) { - "#" === str[0] - ? "x" === str[1] - ? ((str = str.substr(2)), - hexNumber.test(str) && - (entity = String.fromCharCode( - parseInt(str, 16), - ))) - : ((str = str.substr(1)), - decimalNumber.test(str) && - (entity = String.fromCharCode( - parseInt(str, 10), - ))) - : (entity = XHTMLEntities[str]); - break; - } - str += ch; - } - return entity || ((this.pos = startPos), "&"); - } - jsx_readWord() { - let ch, - start = this.pos; - do { - ch = this.input.charCodeAt(++this.pos); - } while (isIdentifierChar2(ch) || 45 === ch); - return this.finishToken( - tok.jsxName, - this.input.slice(start, this.pos), - ); - } - jsx_parseIdentifier() { - let node = this.startNode(); - return ( - this.type === tok.jsxName - ? (node.name = this.value) - : this.type.keyword - ? (node.name = this.type.keyword) - : this.unexpected(), - this.next(), - this.finishNode(node, "JSXIdentifier") - ); - } - jsx_parseNamespacedName() { - let startPos = this.start, - startLoc = this.startLoc, - name = this.jsx_parseIdentifier(); - if (!options.allowNamespaces || !this.eat(tt.colon)) - return name; - var node = this.startNodeAt(startPos, startLoc); - return ( - (node.namespace = name), - (node.name = this.jsx_parseIdentifier()), - this.finishNode(node, "JSXNamespacedName") - ); - } - jsx_parseElementName() { - if (this.type === tok.jsxTagEnd) return ""; - let startPos = this.start, - startLoc = this.startLoc, - node = this.jsx_parseNamespacedName(); - for ( - this.type === tt.dot && - "JSXNamespacedName" === node.type && - !options.allowNamespacedObjects && - this.unexpected(); - this.eat(tt.dot); - - ) { - let newNode = this.startNodeAt(startPos, startLoc); - (newNode.object = node), - (newNode.property = this.jsx_parseIdentifier()), - (node = this.finishNode( - newNode, - "JSXMemberExpression", - )); - } - return node; - } - jsx_parseAttributeValue() { - switch (this.type) { - case tt.braceL: - let node = this.jsx_parseExpressionContainer(); - return ( - "JSXEmptyExpression" === node.expression.type && - this.raise( - node.start, - "JSX attributes must only be assigned a non-empty expression", - ), - node - ); - case tok.jsxTagStart: - case tt.string: - return this.parseExprAtom(); - default: - this.raise( - this.start, - "JSX value should be either an expression or a quoted JSX text", - ); - } - } - jsx_parseEmptyExpression() { - let node = this.startNodeAt( - this.lastTokEnd, - this.lastTokEndLoc, - ); - return this.finishNodeAt( - node, - "JSXEmptyExpression", - this.start, - this.startLoc, - ); - } - jsx_parseExpressionContainer() { - let node = this.startNode(); - return ( - this.next(), - (node.expression = - this.type === tt.braceR - ? this.jsx_parseEmptyExpression() - : this.parseExpression()), - this.expect(tt.braceR), - this.finishNode(node, "JSXExpressionContainer") - ); - } - jsx_parseAttribute() { - let node = this.startNode(); - return this.eat(tt.braceL) - ? (this.expect(tt.ellipsis), - (node.argument = this.parseMaybeAssign()), - this.expect(tt.braceR), - this.finishNode(node, "JSXSpreadAttribute")) - : ((node.name = this.jsx_parseNamespacedName()), - (node.value = this.eat(tt.eq) - ? this.jsx_parseAttributeValue() - : null), - this.finishNode(node, "JSXAttribute")); - } - jsx_parseOpeningElementAt(startPos, startLoc) { - let node = this.startNodeAt(startPos, startLoc); - node.attributes = []; - let nodeName = this.jsx_parseElementName(); - for ( - nodeName && (node.name = nodeName); - this.type !== tt.slash && - this.type !== tok.jsxTagEnd; - - ) - node.attributes.push(this.jsx_parseAttribute()); - return ( - (node.selfClosing = this.eat(tt.slash)), - this.expect(tok.jsxTagEnd), - this.finishNode( - node, - nodeName - ? "JSXOpeningElement" - : "JSXOpeningFragment", - ) - ); - } - jsx_parseClosingElementAt(startPos, startLoc) { - let node = this.startNodeAt(startPos, startLoc), - nodeName = this.jsx_parseElementName(); - return ( - nodeName && (node.name = nodeName), - this.expect(tok.jsxTagEnd), - this.finishNode( - node, - nodeName - ? "JSXClosingElement" - : "JSXClosingFragment", - ) - ); - } - jsx_parseElementAt(startPos, startLoc) { - let node = this.startNodeAt(startPos, startLoc), - children = [], - openingElement = this.jsx_parseOpeningElementAt( - startPos, - startLoc, - ), - closingElement = null; - if (!openingElement.selfClosing) { - contents: for (;;) - switch (this.type) { - case tok.jsxTagStart: - if ( - ((startPos = this.start), - (startLoc = this.startLoc), - this.next(), - this.eat(tt.slash)) - ) { - closingElement = - this.jsx_parseClosingElementAt( - startPos, - startLoc, - ); - break contents; - } - children.push( - this.jsx_parseElementAt(startPos, startLoc), - ); - break; - case tok.jsxText: - children.push(this.parseExprAtom()); - break; - case tt.braceL: - children.push( - this.jsx_parseExpressionContainer(), - ); - break; - default: - this.unexpected(); - } - getQualifiedJSXName(closingElement.name) !== - getQualifiedJSXName(openingElement.name) && - this.raise( - closingElement.start, - "Expected corresponding JSX closing tag for <" + - getQualifiedJSXName(openingElement.name) + - ">", - ); - } - let fragmentOrElement = openingElement.name - ? "Element" - : "Fragment"; - return ( - (node["opening" + fragmentOrElement] = - openingElement), - (node["closing" + fragmentOrElement] = - closingElement), - (node.children = children), - this.type === tt.relational && - "<" === this.value && - this.raise( - this.start, - "Adjacent JSX elements must be wrapped in an enclosing tag", - ), - this.finishNode(node, "JSX" + fragmentOrElement) - ); - } - jsx_parseText() { - let node = this.parseLiteral(this.value); - return (node.type = "JSXText"), node; - } - jsx_parseElement() { - let startPos = this.start, - startLoc = this.startLoc; - return ( - this.next(), - this.jsx_parseElementAt(startPos, startLoc) - ); - } - parseExprAtom(refShortHandDefaultPos) { - return this.type === tok.jsxText - ? this.jsx_parseText() - : this.type === tok.jsxTagStart - ? this.jsx_parseElement() - : super.parseExprAtom(refShortHandDefaultPos); - } - readToken(code) { - let context = this.curContext(); - if (context === tc_expr) return this.jsx_readToken(); - if (context === tc_oTag || context === tc_cTag) { - if (isIdentifierStart2(code)) - return this.jsx_readWord(); - if (62 == code) - return ( - ++this.pos, this.finishToken(tok.jsxTagEnd) - ); - if ( - (34 === code || 39 === code) && - context == tc_oTag - ) - return this.jsx_readString(code); - } - return 60 === code && - this.exprAllowed && - 33 !== this.input.charCodeAt(this.pos + 1) - ? (++this.pos, this.finishToken(tok.jsxTagStart)) - : super.readToken(code); - } - updateContext(prevType) { - if (this.type == tt.braceL) { - var curContext = this.curContext(); - curContext == tc_oTag - ? this.context.push(tokContexts.b_expr) - : curContext == tc_expr - ? this.context.push(tokContexts.b_tmpl) - : super.updateContext(prevType), - (this.exprAllowed = !0); - } else { - if ( - this.type !== tt.slash || - prevType !== tok.jsxTagStart - ) - return super.updateContext(prevType); - (this.context.length -= 2), - this.context.push(tc_cTag), - (this.exprAllowed = !1); - } - } - }; - })( - { - allowNamespaces: !1 !== options.allowNamespaces, - allowNamespacedObjects: - !!options.allowNamespacedObjects, - }, - Parser3, - ); - } - ); - }), - Object.defineProperty(module.exports, "tokTypes", { - get: function () { - return getJsxTokens( - (init_acorn(), - (0, _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.Yp)( - acorn_exports, - )), - ).tokTypes; - }, - configurable: !0, - enumerable: !0, - }); - }, - }), - require_dist = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/@base2/pretty-print-object/dist/index.js"( - exports, - ) { - var __assign = - (exports && exports.__assign) || - function () { - return ( - (__assign = - Object.assign || - function (t) { - for (var s, i = 1, n = arguments.length; i < n; i++) - for (var p in (s = arguments[i])) - Object.prototype.hasOwnProperty.call(s, p) && - (t[p] = s[p]); - return t; - }), - __assign.apply(this, arguments) - ); - }, - __spreadArrays = - (exports && exports.__spreadArrays) || - function () { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) - s += arguments[i].length; - var r = Array(s), - k = 0; - for (i = 0; i < il; i++) - for ( - var a = arguments[i], j = 0, jl = a.length; - j < jl; - j++, k++ - ) - r[k] = a[j]; - return r; - }; - Object.defineProperty(exports, "__esModule", { value: !0 }); - var seen = []; - exports.prettyPrint = function prettyPrint2(input, options, pad) { - void 0 === pad && (pad = ""); - var tokens, - combinedOptions = __assign( - __assign({}, { indent: "\t", singleQuotes: !0 }), - options, - ); - tokens = - void 0 === combinedOptions.inlineCharacterLimit - ? { - newLine: "\n", - newLineOrSpace: "\n", - pad, - indent: pad + combinedOptions.indent, - } - : { - newLine: "@@__PRETTY_PRINT_NEW_LINE__@@", - newLineOrSpace: - "@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@", - pad: "@@__PRETTY_PRINT_PAD__@@", - indent: "@@__PRETTY_PRINT_INDENT__@@", - }; - var expandWhiteSpace = function (string) { - if (void 0 === combinedOptions.inlineCharacterLimit) - return string; - var oneLined = string - .replace(new RegExp(tokens.newLine, "g"), "") - .replace(new RegExp(tokens.newLineOrSpace, "g"), " ") - .replace( - new RegExp(tokens.pad + "|" + tokens.indent, "g"), - "", - ); - return oneLined.length <= combinedOptions.inlineCharacterLimit - ? oneLined - : string - .replace( - new RegExp( - tokens.newLine + "|" + tokens.newLineOrSpace, - "g", - ), - "\n", - ) - .replace(new RegExp(tokens.pad, "g"), pad) - .replace( - new RegExp(tokens.indent, "g"), - pad + combinedOptions.indent, - ); - }; - if (-1 !== seen.indexOf(input)) return '"[Circular]"'; - if ( - null == input || - "number" == typeof input || - "boolean" == typeof input || - "function" == typeof input || - "symbol" == typeof input || - (function isRegexp(value) { - return ( - "[object RegExp]" === - Object.prototype.toString.call(value) - ); - })(input) - ) - return String(input); - if (input instanceof Date) - return "new Date('" + input.toISOString() + "')"; - if (Array.isArray(input)) { - if (0 === input.length) return "[]"; - seen.push(input); - var ret = - "[" + - tokens.newLine + - input - .map(function (el, i) { - var eol = - input.length - 1 === i - ? tokens.newLine - : "," + tokens.newLineOrSpace, - value = prettyPrint2( - el, - combinedOptions, - pad + combinedOptions.indent, - ); - return ( - combinedOptions.transform && - (value = combinedOptions.transform( - input, - i, - value, - )), - tokens.indent + value + eol - ); - }) - .join("") + - tokens.pad + - "]"; - return seen.pop(), expandWhiteSpace(ret); - } - if ( - (function isObj(value) { - var type = typeof value; - return ( - null !== value && - ("object" === type || "function" === type) - ); - })(input) - ) { - var objKeys_1 = __spreadArrays( - Object.keys(input), - (function getOwnEnumPropSymbols(object) { - return Object.getOwnPropertySymbols(object).filter( - function (keySymbol) { - return Object.prototype.propertyIsEnumerable.call( - object, - keySymbol, - ); - }, - ); - })(input), - ); - if ( - (combinedOptions.filter && - (objKeys_1 = objKeys_1.filter(function (el) { - return ( - combinedOptions.filter && - combinedOptions.filter(input, el) - ); - })), - 0 === objKeys_1.length) - ) - return "{}"; - seen.push(input); - ret = - "{" + - tokens.newLine + - objKeys_1 - .map(function (el, i) { - var eol = - objKeys_1.length - 1 === i - ? tokens.newLine - : "," + tokens.newLineOrSpace, - isSymbol = "symbol" == typeof el, - isClassic = - !isSymbol && - /^[a-z$_][a-z$_0-9]*$/i.test(el.toString()), - key = - isSymbol || isClassic - ? el - : prettyPrint2(el, combinedOptions), - value = prettyPrint2( - input[el], - combinedOptions, - pad + combinedOptions.indent, - ); - return ( - combinedOptions.transform && - (value = combinedOptions.transform( - input, - el, - value, - )), - tokens.indent + String(key) + ": " + value + eol - ); - }) - .join("") + - tokens.pad + - "}"; - return seen.pop(), expandWhiteSpace(ret); - } - return ( - (input = String(input).replace(/[\r\n]/g, function (x) { - return "\n" === x ? "\\n" : "\\r"; - })), - combinedOptions.singleQuotes - ? "'" + (input = input.replace(/\\?'/g, "\\'")) + "'" - : '"' + (input = input.replace(/"/g, '\\"')) + '"' - ); - }; - }, - }), - require_react_is_development2 = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.development.js"( - exports, - ) { - !(function () { - var REACT_MODULE_REFERENCE, - REACT_ELEMENT_TYPE = Symbol.for("react.element"), - REACT_PORTAL_TYPE = Symbol.for("react.portal"), - REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), - REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), - REACT_PROFILER_TYPE = Symbol.for("react.profiler"), - REACT_PROVIDER_TYPE = Symbol.for("react.provider"), - REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for( - "react.server_context", - ), - REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), - REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), - REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), - REACT_MEMO_TYPE = Symbol.for("react.memo"), - REACT_LAZY_TYPE = Symbol.for("react.lazy"), - REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); - function typeOf(object) { - if ("object" == typeof object && null !== object) { - var $$typeof = object.$$typeof; - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type = object.type; - switch (type) { - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - case REACT_SUSPENSE_LIST_TYPE: - return type; - default: - var $$typeofType = type && type.$$typeof; - switch ($$typeofType) { - case REACT_SERVER_CONTEXT_TYPE: - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - default: - return $$typeof; - } - } - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - } - REACT_MODULE_REFERENCE = Symbol.for("react.module.reference"); - var ContextConsumer = REACT_CONTEXT_TYPE, - ContextProvider = REACT_PROVIDER_TYPE, - Element = REACT_ELEMENT_TYPE, - ForwardRef2 = REACT_FORWARD_REF_TYPE, - Fragment2 = REACT_FRAGMENT_TYPE, - Lazy = REACT_LAZY_TYPE, - Memo2 = REACT_MEMO_TYPE, - Portal = REACT_PORTAL_TYPE, - Profiler = REACT_PROFILER_TYPE, - StrictMode = REACT_STRICT_MODE_TYPE, - Suspense = REACT_SUSPENSE_TYPE, - SuspenseList = REACT_SUSPENSE_LIST_TYPE, - hasWarnedAboutDeprecatedIsAsyncMode = !1, - hasWarnedAboutDeprecatedIsConcurrentMode = !1; - (exports.ContextConsumer = ContextConsumer), - (exports.ContextProvider = ContextProvider), - (exports.Element = Element), - (exports.ForwardRef = ForwardRef2), - (exports.Fragment = Fragment2), - (exports.Lazy = Lazy), - (exports.Memo = Memo2), - (exports.Portal = Portal), - (exports.Profiler = Profiler), - (exports.StrictMode = StrictMode), - (exports.Suspense = Suspense), - (exports.SuspenseList = SuspenseList), - (exports.isAsyncMode = function isAsyncMode(object) { - return ( - hasWarnedAboutDeprecatedIsAsyncMode || - ((hasWarnedAboutDeprecatedIsAsyncMode = !0), - console.warn( - "The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (exports.isConcurrentMode = function isConcurrentMode( - object, - ) { - return ( - hasWarnedAboutDeprecatedIsConcurrentMode || - ((hasWarnedAboutDeprecatedIsConcurrentMode = !0), - console.warn( - "The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (exports.isContextConsumer = function isContextConsumer2( - object, - ) { - return typeOf(object) === REACT_CONTEXT_TYPE; - }), - (exports.isContextProvider = function isContextProvider2( - object, - ) { - return typeOf(object) === REACT_PROVIDER_TYPE; - }), - (exports.isElement = function isElement(object) { - return ( - "object" == typeof object && - null !== object && - object.$$typeof === REACT_ELEMENT_TYPE - ); - }), - (exports.isForwardRef = function isForwardRef3(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; - }), - (exports.isFragment = function isFragment(object) { - return typeOf(object) === REACT_FRAGMENT_TYPE; - }), - (exports.isLazy = function isLazy2(object) { - return typeOf(object) === REACT_LAZY_TYPE; - }), - (exports.isMemo = function isMemo3(object) { - return typeOf(object) === REACT_MEMO_TYPE; - }), - (exports.isPortal = function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; - }), - (exports.isProfiler = function isProfiler2(object) { - return typeOf(object) === REACT_PROFILER_TYPE; - }), - (exports.isStrictMode = function isStrictMode2(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; - }), - (exports.isSuspense = function isSuspense2(object) { - return typeOf(object) === REACT_SUSPENSE_TYPE; - }), - (exports.isSuspenseList = function isSuspenseList(object) { - return typeOf(object) === REACT_SUSPENSE_LIST_TYPE; - }), - (exports.isValidElementType = function isValidElementType( - type, - ) { - return !( - "string" != typeof type && - "function" != typeof type && - type !== REACT_FRAGMENT_TYPE && - type !== REACT_PROFILER_TYPE && - type !== REACT_STRICT_MODE_TYPE && - type !== REACT_SUSPENSE_TYPE && - type !== REACT_SUSPENSE_LIST_TYPE && - type !== REACT_OFFSCREEN_TYPE && - ("object" != typeof type || - null === type || - (type.$$typeof !== REACT_LAZY_TYPE && - type.$$typeof !== REACT_MEMO_TYPE && - type.$$typeof !== REACT_PROVIDER_TYPE && - type.$$typeof !== REACT_CONTEXT_TYPE && - type.$$typeof !== REACT_FORWARD_REF_TYPE && - type.$$typeof !== REACT_MODULE_REFERENCE && - void 0 === type.getModuleId)) - ); - }), - (exports.typeOf = typeOf); - })(); - }, - }), - require_react_is2 = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.P$)({ - "../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"( - exports, - module, - ) { - module.exports = require_react_is_development2(); - }, - }), - import_prop_types = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)( - require_prop_types(), - ), - import_html_tags = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)( - require_html_tags2(), - ); - function isHtmlTag(tagName) { - return import_html_tags.default.includes(tagName.toLowerCase()); - } - var import_escodegen = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)( - require_escodegen(), - ); - var BASIC_OPTIONS = { - format: { indent: { style: " " }, semicolons: !1 }, - }, - COMPACT_OPTIONS = { ...BASIC_OPTIONS, format: { newline: "" } }, - PRETTY_OPTIONS = { ...BASIC_OPTIONS }; - function generateCode(ast, compact = !1) { - return (0, import_escodegen.generate)( - ast, - compact ? COMPACT_OPTIONS : PRETTY_OPTIONS, - ); - } - function generateObjectCode(ast, compact = !1) { - return compact - ? (function generateCompactObjectCode(ast) { - let result = generateCode(ast, !0); - return ( - result.endsWith(" }") || - (result = `${result.slice(0, -1)} }`), - result - ); - })(ast) - : generateCode(ast); - } - function generateArrayCode(ast, compact = !1) { - return compact - ? (function generateCompactArrayCode(ast) { - let result = generateCode(ast, !0); - return ( - result.startsWith("[ ") && - (result = result.replace("[ ", "[")), - result - ); - })(ast) - : (function generateMultilineArrayCode(ast) { - let result = generateCode(ast); - return ( - result.endsWith(" }]") && - (result = (function dedent(templ) { - for (var values = [], _i = 1; _i < arguments.length; _i++) - values[_i - 1] = arguments[_i]; - var strings = Array.from( - "string" == typeof templ ? [templ] : templ, - ); - strings[strings.length - 1] = strings[ - strings.length - 1 - ].replace(/\r?\n([\t ]*)$/, ""); - var indentLengths = strings.reduce(function (arr, str) { - var matches = str.match(/\n([\t ]+|(?!\s).)/g); - return matches - ? arr.concat( - matches.map(function (match) { - var _a, _b; - return null !== - (_b = - null === (_a = match.match(/[\t ]/g)) || - void 0 === _a - ? void 0 - : _a.length) && void 0 !== _b - ? _b - : 0; - }), - ) - : arr; - }, []); - if (indentLengths.length) { - var pattern_1 = new RegExp( - "\n[\t ]{" + - Math.min.apply(Math, indentLengths) + - "}", - "g", - ); - strings = strings.map(function (str) { - return str.replace(pattern_1, "\n"); - }); - } - strings[0] = strings[0].replace(/^\r?\n/, ""); - var string = strings[0]; - return ( - values.forEach(function (value, i) { - var endentations = string.match(/(?:^|\n)( *)$/), - endentation = endentations ? endentations[1] : "", - indentedValue = value; - "string" == typeof value && - value.includes("\n") && - (indentedValue = String(value) - .split("\n") - .map(function (str, i2) { - return 0 === i2 ? str : "" + endentation + str; - }) - .join("\n")), - (string += indentedValue + strings[i + 1]); - }), - string - ); - })(result)), - result - ); - })(ast); - } - var isMemo = (component) => - component.$$typeof === Symbol.for("react.memo"); - init_acorn(); - var import_acorn_jsx = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)( - require_acorn_jsx(), - ); - function simple(node, visitors, baseVisitor, state, override) { - baseVisitor || (baseVisitor = base), - (function c(node2, st, override2) { - var type = override2 || node2.type, - found = visitors[type]; - baseVisitor[type](node2, st, c), found && found(node2, st); - })(node, state, override); - } - function skipThrough(node, st, c) { - c(node, st); - } - function ignore(_node, _st, _c) {} - var base = {}; - (base.Program = base.BlockStatement = - function (node, st, c) { - for (var i = 0, list = node.body; i < list.length; i += 1) { - c(list[i], st, "Statement"); - } - }), - (base.Statement = skipThrough), - (base.EmptyStatement = ignore), - (base.ExpressionStatement = - base.ParenthesizedExpression = - base.ChainExpression = - function (node, st, c) { - return c(node.expression, st, "Expression"); - }), - (base.IfStatement = function (node, st, c) { - c(node.test, st, "Expression"), - c(node.consequent, st, "Statement"), - node.alternate && c(node.alternate, st, "Statement"); - }), - (base.LabeledStatement = function (node, st, c) { - return c(node.body, st, "Statement"); - }), - (base.BreakStatement = base.ContinueStatement = ignore), - (base.WithStatement = function (node, st, c) { - c(node.object, st, "Expression"), c(node.body, st, "Statement"); - }), - (base.SwitchStatement = function (node, st, c) { - c(node.discriminant, st, "Expression"); - for ( - var i$1 = 0, list$1 = node.cases; - i$1 < list$1.length; - i$1 += 1 - ) { - var cs = list$1[i$1]; - cs.test && c(cs.test, st, "Expression"); - for (var i = 0, list = cs.consequent; i < list.length; i += 1) { - c(list[i], st, "Statement"); - } - } - }), - (base.SwitchCase = function (node, st, c) { - node.test && c(node.test, st, "Expression"); - for (var i = 0, list = node.consequent; i < list.length; i += 1) { - c(list[i], st, "Statement"); - } - }), - (base.ReturnStatement = - base.YieldExpression = - base.AwaitExpression = - function (node, st, c) { - node.argument && c(node.argument, st, "Expression"); - }), - (base.ThrowStatement = base.SpreadElement = - function (node, st, c) { - return c(node.argument, st, "Expression"); - }), - (base.TryStatement = function (node, st, c) { - c(node.block, st, "Statement"), - node.handler && c(node.handler, st), - node.finalizer && c(node.finalizer, st, "Statement"); - }), - (base.CatchClause = function (node, st, c) { - node.param && c(node.param, st, "Pattern"), - c(node.body, st, "Statement"); - }), - (base.WhileStatement = base.DoWhileStatement = - function (node, st, c) { - c(node.test, st, "Expression"), c(node.body, st, "Statement"); - }), - (base.ForStatement = function (node, st, c) { - node.init && c(node.init, st, "ForInit"), - node.test && c(node.test, st, "Expression"), - node.update && c(node.update, st, "Expression"), - c(node.body, st, "Statement"); - }), - (base.ForInStatement = base.ForOfStatement = - function (node, st, c) { - c(node.left, st, "ForInit"), - c(node.right, st, "Expression"), - c(node.body, st, "Statement"); - }), - (base.ForInit = function (node, st, c) { - "VariableDeclaration" === node.type - ? c(node, st) - : c(node, st, "Expression"); - }), - (base.DebuggerStatement = ignore), - (base.FunctionDeclaration = function (node, st, c) { - return c(node, st, "Function"); - }), - (base.VariableDeclaration = function (node, st, c) { - for (var i = 0, list = node.declarations; i < list.length; i += 1) { - c(list[i], st); - } - }), - (base.VariableDeclarator = function (node, st, c) { - c(node.id, st, "Pattern"), - node.init && c(node.init, st, "Expression"); - }), - (base.Function = function (node, st, c) { - node.id && c(node.id, st, "Pattern"); - for (var i = 0, list = node.params; i < list.length; i += 1) { - c(list[i], st, "Pattern"); - } - c(node.body, st, node.expression ? "Expression" : "Statement"); - }), - (base.Pattern = function (node, st, c) { - "Identifier" === node.type - ? c(node, st, "VariablePattern") - : "MemberExpression" === node.type - ? c(node, st, "MemberPattern") - : c(node, st); - }), - (base.VariablePattern = ignore), - (base.MemberPattern = skipThrough), - (base.RestElement = function (node, st, c) { - return c(node.argument, st, "Pattern"); - }), - (base.ArrayPattern = function (node, st, c) { - for (var i = 0, list = node.elements; i < list.length; i += 1) { - var elt = list[i]; - elt && c(elt, st, "Pattern"); - } - }), - (base.ObjectPattern = function (node, st, c) { - for (var i = 0, list = node.properties; i < list.length; i += 1) { - var prop = list[i]; - "Property" === prop.type - ? (prop.computed && c(prop.key, st, "Expression"), - c(prop.value, st, "Pattern")) - : "RestElement" === prop.type && - c(prop.argument, st, "Pattern"); - } - }), - (base.Expression = skipThrough), - (base.ThisExpression = base.Super = base.MetaProperty = ignore), - (base.ArrayExpression = function (node, st, c) { - for (var i = 0, list = node.elements; i < list.length; i += 1) { - var elt = list[i]; - elt && c(elt, st, "Expression"); - } - }), - (base.ObjectExpression = function (node, st, c) { - for (var i = 0, list = node.properties; i < list.length; i += 1) { - c(list[i], st); - } - }), - (base.FunctionExpression = base.ArrowFunctionExpression = - base.FunctionDeclaration), - (base.SequenceExpression = function (node, st, c) { - for (var i = 0, list = node.expressions; i < list.length; i += 1) { - c(list[i], st, "Expression"); - } - }), - (base.TemplateLiteral = function (node, st, c) { - for (var i = 0, list = node.quasis; i < list.length; i += 1) { - c(list[i], st); - } - for ( - var i$1 = 0, list$1 = node.expressions; - i$1 < list$1.length; - i$1 += 1 - ) { - c(list$1[i$1], st, "Expression"); - } - }), - (base.TemplateElement = ignore), - (base.UnaryExpression = base.UpdateExpression = - function (node, st, c) { - c(node.argument, st, "Expression"); - }), - (base.BinaryExpression = base.LogicalExpression = - function (node, st, c) { - c(node.left, st, "Expression"), c(node.right, st, "Expression"); - }), - (base.AssignmentExpression = base.AssignmentPattern = - function (node, st, c) { - c(node.left, st, "Pattern"), c(node.right, st, "Expression"); - }), - (base.ConditionalExpression = function (node, st, c) { - c(node.test, st, "Expression"), - c(node.consequent, st, "Expression"), - c(node.alternate, st, "Expression"); - }), - (base.NewExpression = base.CallExpression = - function (node, st, c) { - if ((c(node.callee, st, "Expression"), node.arguments)) - for ( - var i = 0, list = node.arguments; - i < list.length; - i += 1 - ) { - c(list[i], st, "Expression"); - } - }), - (base.MemberExpression = function (node, st, c) { - c(node.object, st, "Expression"), - node.computed && c(node.property, st, "Expression"); - }), - (base.ExportNamedDeclaration = base.ExportDefaultDeclaration = - function (node, st, c) { - node.declaration && - c( - node.declaration, - st, - "ExportNamedDeclaration" === node.type || node.declaration.id - ? "Statement" - : "Expression", - ), - node.source && c(node.source, st, "Expression"); - }), - (base.ExportAllDeclaration = function (node, st, c) { - node.exported && c(node.exported, st), - c(node.source, st, "Expression"); - }), - (base.ImportDeclaration = function (node, st, c) { - for (var i = 0, list = node.specifiers; i < list.length; i += 1) { - c(list[i], st); - } - c(node.source, st, "Expression"); - }), - (base.ImportExpression = function (node, st, c) { - c(node.source, st, "Expression"); - }), - (base.ImportSpecifier = - base.ImportDefaultSpecifier = - base.ImportNamespaceSpecifier = - base.Identifier = - base.Literal = - ignore), - (base.TaggedTemplateExpression = function (node, st, c) { - c(node.tag, st, "Expression"), c(node.quasi, st, "Expression"); - }), - (base.ClassDeclaration = base.ClassExpression = - function (node, st, c) { - return c(node, st, "Class"); - }), - (base.Class = function (node, st, c) { - node.id && c(node.id, st, "Pattern"), - node.superClass && c(node.superClass, st, "Expression"), - c(node.body, st); - }), - (base.ClassBody = function (node, st, c) { - for (var i = 0, list = node.body; i < list.length; i += 1) { - c(list[i], st); - } - }), - (base.MethodDefinition = base.Property = - function (node, st, c) { - node.computed && c(node.key, st, "Expression"), - c(node.value, st, "Expression"); - }); - var ACORN_WALK_VISITORS = { ...base, JSXElement: () => {} }, - acornParser = Parser.extend((0, import_acorn_jsx.default)()); - function extractIdentifierName(identifierNode) { - return null != identifierNode ? identifierNode.name : null; - } - function filterAncestors(ancestors) { - return ancestors.filter( - (x) => - "ObjectExpression" === x.type || "ArrayExpression" === x.type, - ); - } - function calculateNodeDepth(node) { - let depths = []; - return ( - (function ancestor(node, visitors, baseVisitor, state, override) { - var ancestors = []; - baseVisitor || (baseVisitor = base), - (function c(node2, st, override2) { - var type = override2 || node2.type, - found = visitors[type], - isNew = node2 !== ancestors[ancestors.length - 1]; - isNew && ancestors.push(node2), - baseVisitor[type](node2, st, c), - found && found(node2, st || ancestors, ancestors), - isNew && ancestors.pop(); - })(node, state, override); - })( - node, - { - ObjectExpression(_, ancestors) { - depths.push(filterAncestors(ancestors).length); - }, - ArrayExpression(_, ancestors) { - depths.push(filterAncestors(ancestors).length); - }, - }, - ACORN_WALK_VISITORS, - ), - Math.max(...depths) - ); - } - function parseObject(objectNode) { - return { - inferredType: { - type: "Object", - depth: calculateNodeDepth(objectNode), - }, - ast: objectNode, - }; - } - function parseExpression(expression) { - switch (expression.type) { - case "Identifier": - return (function parseIdentifier(identifierNode) { - return { - inferredType: { - type: "Identifier", - identifier: extractIdentifierName(identifierNode), - }, - ast: identifierNode, - }; - })(expression); - case "Literal": - return (function parseLiteral(literalNode) { - return { inferredType: { type: "Literal" }, ast: literalNode }; - })(expression); - case "FunctionExpression": - case "ArrowFunctionExpression": - return (function parseFunction(funcNode) { - let innerJsxElementNode; - simple( - funcNode.body, - { - JSXElement(node) { - innerJsxElementNode = node; - }, - }, - ACORN_WALK_VISITORS, - ); - let inferredType = { - type: null != innerJsxElementNode ? "Element" : "Function", - params: funcNode.params, - hasParams: 0 !== funcNode.params.length, - }, - identifierName = extractIdentifierName(funcNode.id); - return ( - null != identifierName && - (inferredType.identifier = identifierName), - { inferredType, ast: funcNode } - ); - })(expression); - case "ClassExpression": - return (function parseClass(classNode) { - let innerJsxElementNode; - return ( - simple( - classNode.body, - { - JSXElement(node) { - innerJsxElementNode = node; - }, - }, - ACORN_WALK_VISITORS, - ), - { - inferredType: { - type: null != innerJsxElementNode ? "Element" : "Class", - identifier: extractIdentifierName(classNode.id), - }, - ast: classNode, - } - ); - })(expression); - case "JSXElement": - return (function parseJsxElement(jsxElementNode) { - let inferredType = { type: "Element" }, - identifierName = extractIdentifierName( - jsxElementNode.openingElement.name, - ); - return ( - null != identifierName && - (inferredType.identifier = identifierName), - { inferredType, ast: jsxElementNode } - ); - })(expression); - case "CallExpression": - return (function parseCall(callNode) { - return "shape" === - extractIdentifierName( - "MemberExpression" === callNode.callee.type - ? callNode.callee.property - : callNode.callee, - ) - ? parseObject(callNode.arguments[0]) - : null; - })(expression); - case "ObjectExpression": - return parseObject(expression); - case "ArrayExpression": - return (function parseArray(arrayNode) { - return { - inferredType: { - type: "Array", - depth: calculateNodeDepth(arrayNode), - }, - ast: arrayNode, - }; - })(expression); - default: - return null; - } - } - function parse4(value) { - let ast = acornParser.parse(`(${value})`, { ecmaVersion: 2020 }), - parsingResult = { inferredType: { type: "Unknown" }, ast }; - if (null != ast.body[0]) { - let rootNode = ast.body[0]; - switch (rootNode.type) { - case "ExpressionStatement": { - let expressionResult = parseExpression(rootNode.expression); - null != expressionResult && (parsingResult = expressionResult); - break; - } - } - } - return parsingResult; - } - function inspectValue(value) { - try { - return { ...parse4(value) }; - } catch {} - return { inferredType: { type: "Unknown" } }; - } - function generateArray({ inferredType, ast }) { - let { depth } = inferredType; - if (depth <= 2) { - let compactArray = generateArrayCode(ast, !0); - if ( - !(0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Sy)( - compactArray, - ) - ) - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - compactArray, - ); - } - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - "array", - generateArrayCode(ast), - ); - } - function generateObject({ inferredType, ast }) { - let { depth } = inferredType; - if (1 === depth) { - let compactObject = generateObjectCode(ast, !0); - if ( - !(0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Sy)( - compactObject, - ) - ) - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - compactObject, - ); - } - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - "object", - generateObjectCode(ast), - ); - } - function getPrettyFuncIdentifier(identifier, hasArguments) { - return hasArguments ? `${identifier}( ... )` : `${identifier}()`; - } - function getPrettyElementIdentifier(identifier) { - return `<${identifier} />`; - } - function getPrettyIdentifier(inferredType) { - let { type, identifier } = inferredType; - switch (type) { - case "Function": - return getPrettyFuncIdentifier( - identifier, - inferredType.hasParams, - ); - case "Element": - return getPrettyElementIdentifier(identifier); - default: - return identifier; - } - } - function createDefaultValue(defaultValue) { - try { - let inspectionResult = inspectValue(defaultValue); - switch (inspectionResult.inferredType.type) { - case "Object": - return generateObject(inspectionResult); - case "Function": - return (function generateFunc({ inferredType, ast }) { - let { identifier } = inferredType; - if (null != identifier) - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - getPrettyIdentifier(inferredType), - generateCode(ast), - ); - let prettyCaption = generateCode(ast, !0); - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Sy)( - prettyCaption, - ) - ? (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - "func", - generateCode(ast), - ) - : (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - prettyCaption, - ); - })(inspectionResult); - case "Element": - return (function generateElement( - defaultValue, - inspectionResult, - ) { - let { inferredType } = inspectionResult, - { identifier } = inferredType; - if (null != identifier && !isHtmlTag(identifier)) { - let prettyIdentifier = getPrettyIdentifier(inferredType); - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - prettyIdentifier, - defaultValue, - ); - } - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Sy)( - defaultValue, - ) - ? (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - "element", - defaultValue, - ) - : (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - defaultValue, - ); - })(defaultValue, inspectionResult); - case "Array": - return generateArray(inspectionResult); - default: - return null; - } - } catch (e) { - console.error(e); - } - return null; - } - function isFunction(value) { - return "function" == typeof value; - } - function isObject(o) { - return "[object Object]" === Object.prototype.toString.call(o); - } - var import_pretty_print_object = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)(require_dist()), - import_react_is = (0, - _chunk_XP5HYGXS_mjs__WEBPACK_IMPORTED_MODULE_0__.f1)( - require_react_is2(), - ), - spacer = function (times, tabStop) { - return 0 === times - ? "" - : new Array(times * tabStop).fill(" ").join(""); - }; - function _typeof(obj) { - return (_typeof = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (obj2) { - return typeof obj2; - } - : function (obj2) { - return obj2 && - "function" == typeof Symbol && - obj2.constructor === Symbol && - obj2 !== Symbol.prototype - ? "symbol" - : typeof obj2; - })(obj); - } - function _toConsumableArray(arr) { - return ( - (function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); - })(arr) || - (function _iterableToArray(iter) { - if ( - (typeof Symbol < "u" && null != iter[Symbol.iterator]) || - null != iter["@@iterator"] - ) - return Array.from(iter); - })(arr) || - (function _unsupportedIterableToArray(o, minLen) { - if (o) { - if ("string" == typeof o) return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if ( - ("Object" === n && o.constructor && (n = o.constructor.name), - "Map" === n || "Set" === n) - ) - return Array.from(o); - if ( - "Arguments" === n || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ) - return _arrayLikeToArray(o, minLen); - } - })(arr) || - (function _nonIterableSpread() { - throw new TypeError( - "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - })() - ); - } - function _arrayLikeToArray(arr, len) { - (null == len || len > arr.length) && (len = arr.length); - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; - } - function safeSortObject(value, seen) { - return null === value || - "object" !== _typeof(value) || - value instanceof Date || - value instanceof RegExp || - react__WEBPACK_IMPORTED_MODULE_1__.isValidElement(value) - ? value - : (seen.add(value), - Array.isArray(value) - ? value.map(function (v) { - return safeSortObject(v, seen); - }) - : Object.keys(value) - .sort() - .reduce(function (result, key) { - return ( - "_owner" === key || - ("current" === key || seen.has(value[key]) - ? (result[key] = "[Circular]") - : (result[key] = safeSortObject(value[key], seen))), - result - ); - }, {})); - } - function sortObject(value) { - return safeSortObject(value, new WeakSet()); - } - var createStringTreeNode = function (value) { - return { type: "string", value }; - }, - supportFragment = !!react__WEBPACK_IMPORTED_MODULE_1__.Fragment, - getFunctionTypeName = function (functionType) { - return functionType.name && "_default" !== functionType.name - ? functionType.name - : "No Display Name"; - }, - getWrappedComponentDisplayName = - function getWrappedComponentDisplayName2(Component) { - switch (!0) { - case !!Component.displayName: - return Component.displayName; - case Component.$$typeof === import_react_is.Memo: - return getWrappedComponentDisplayName2(Component.type); - case Component.$$typeof === import_react_is.ForwardRef: - return getWrappedComponentDisplayName2(Component.render); - default: - return getFunctionTypeName(Component); - } - }, - getReactElementDisplayName = function (element) { - switch (!0) { - case "string" == typeof element.type: - return element.type; - case "function" == typeof element.type: - return element.type.displayName - ? element.type.displayName - : getFunctionTypeName(element.type); - case (0, import_react_is.isForwardRef)(element): - case (0, import_react_is.isMemo)(element): - return getWrappedComponentDisplayName(element.type); - case (0, import_react_is.isContextConsumer)(element): - return "".concat( - element.type._context.displayName || "Context", - ".Consumer", - ); - case (0, import_react_is.isContextProvider)(element): - return "".concat( - element.type._context.displayName || "Context", - ".Provider", - ); - case (0, import_react_is.isLazy)(element): - return "Lazy"; - case (0, import_react_is.isProfiler)(element): - return "Profiler"; - case (0, import_react_is.isStrictMode)(element): - return "StrictMode"; - case (0, import_react_is.isSuspense)(element): - return "Suspense"; - default: - return "UnknownElementType"; - } - }, - noChildren = function (propsValue, propName) { - return "children" !== propName; - }, - onlyMeaningfulChildren = function (children) { - return ( - !0 !== children && - !1 !== children && - null !== children && - "" !== children - ); - }, - filterProps = function (originalProps, cb) { - var filteredProps = {}; - return ( - Object.keys(originalProps) - .filter(function (key) { - return cb(originalProps[key], key); - }) - .forEach(function (key) { - return (filteredProps[key] = originalProps[key]); - }), - filteredProps - ); - }, - parseReactElement = function parseReactElement2(element, options) { - var _options$displayName = options.displayName, - displayNameFn = - void 0 === _options$displayName - ? getReactElementDisplayName - : _options$displayName; - if ("string" == typeof element) - return createStringTreeNode(element); - if ("number" == typeof element) - return { type: "number", value: element }; - if (!react__WEBPACK_IMPORTED_MODULE_1__.isValidElement(element)) - throw new Error( - "react-element-to-jsx-string: Expected a React.Element, got `".concat( - _typeof(element), - "`", - ), - ); - var displayName = displayNameFn(element), - props = filterProps(element.props, noChildren); - null !== element.ref && (props.ref = element.ref); - var key = element.key; - "string" == typeof key && key.search(/^\./) && (props.key = key); - var defaultProps = filterProps( - element.type.defaultProps || {}, - noChildren, - ), - childrens = react__WEBPACK_IMPORTED_MODULE_1__.Children.toArray( - element.props.children, - ) - .filter(onlyMeaningfulChildren) - .map(function (child) { - return parseReactElement2(child, options); - }); - return supportFragment && - element.type === react__WEBPACK_IMPORTED_MODULE_1__.Fragment - ? (function (key, childrens) { - return { type: "ReactFragment", key, childrens }; - })(key, childrens) - : (function (displayName, props, defaultProps, childrens) { - return { - type: "ReactElement", - displayName, - props, - defaultProps, - childrens, - }; - })(displayName, props, defaultProps, childrens); - }; - function noRefCheck() {} - var defaultFunctionValue = function (fn) { - return fn - .toString() - .split("\n") - .map(function (line) { - return line.trim(); - }) - .join(""); - }, - formatFunction = function (fn, options) { - var _options$functionValu = options.functionValue, - functionValue = - void 0 === _options$functionValu - ? defaultFunctionValue - : _options$functionValu; - return functionValue( - options.showFunctions || functionValue !== defaultFunctionValue - ? fn - : noRefCheck, - ); - }, - formatPropValue = function (propValue, inline, lvl, options) { - if ("number" == typeof propValue) - return "{".concat(String(propValue), "}"); - if ("string" == typeof propValue) - return '"'.concat(propValue.replace(/"/g, """), '"'); - if ("symbol" === _typeof(propValue)) { - var symbolDescription = propValue - .valueOf() - .toString() - .replace(/Symbol\((.*)\)/, "$1"); - return symbolDescription - ? "{Symbol('".concat(symbolDescription, "')}") - : "{Symbol()}"; - } - return "function" == typeof propValue - ? "{".concat(formatFunction(propValue, options), "}") - : (0, react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)( - propValue, - ) - ? "{".concat( - formatTreeNode( - parseReactElement(propValue, options), - !0, - lvl, - options, - ), - "}", - ) - : propValue instanceof Date - ? isNaN(propValue.valueOf()) - ? "{new Date(NaN)}" - : '{new Date("'.concat(propValue.toISOString(), '")}') - : (function isPlainObject2(o) { - var ctor, prot; - return ( - !1 !== isObject(o) && - (void 0 === (ctor = o.constructor) || - !( - !1 === isObject((prot = ctor.prototype)) || - !1 === prot.hasOwnProperty("isPrototypeOf") - )) - ); - })(propValue) || Array.isArray(propValue) - ? "{".concat( - (function (value, inline, lvl, options) { - var normalizedValue = sortObject(value), - stringifiedValue = (0, - import_pretty_print_object.prettyPrint)( - normalizedValue, - { - transform: function ( - currentObj, - prop, - originalResult, - ) { - var currentValue = currentObj[prop]; - return currentValue && - (0, - react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)( - currentValue, - ) - ? formatTreeNode( - parseReactElement( - currentValue, - options, - ), - !0, - lvl, - options, - ) - : "function" == typeof currentValue - ? formatFunction(currentValue, options) - : originalResult; - }, - }, - ); - return inline - ? stringifiedValue - .replace(/\s+/g, " ") - .replace(/{ /g, "{") - .replace(/ }/g, "}") - .replace(/\[ /g, "[") - .replace(/ ]/g, "]") - : stringifiedValue - .replace(/\t/g, spacer(1, options.tabStop)) - .replace( - /\n([^$])/g, - "\n".concat( - spacer(lvl + 1, options.tabStop), - "$1", - ), - ); - })(propValue, inline, lvl, options), - "}", - ) - : "{".concat(String(propValue), "}"); - }, - mergeSiblingPlainStringChildrenReducer = function ( - previousNodes, - currentNode, - ) { - var nodes = previousNodes.slice( - 0, - previousNodes.length > 0 ? previousNodes.length - 1 : 0, - ), - previousNode = previousNodes[previousNodes.length - 1]; - return ( - !previousNode || - ("string" !== currentNode.type && - "number" !== currentNode.type) || - ("string" !== previousNode.type && "number" !== previousNode.type) - ? (previousNode && nodes.push(previousNode), - nodes.push(currentNode)) - : nodes.push( - createStringTreeNode( - String(previousNode.value) + String(currentNode.value), - ), - ), - nodes - ); - }; - var formatOneChildren = function (inline, lvl, options) { - return function (element) { - return (function ( - element, - formattedElement, - inline, - lvl, - options, - ) { - var tabStop = options.tabStop; - return "string" === element.type - ? formattedElement - .split("\n") - .map(function (line, offset2) { - return 0 === offset2 - ? line - : "".concat(spacer(lvl, tabStop)).concat(line); - }) - .join("\n") - : formattedElement; - })( - element, - formatTreeNode(element, inline, lvl, options), - 0, - lvl, - options, - ); - }; - }, - isInlineAttributeTooLong = function ( - attributes, - inlineAttributeString, - lvl, - tabStop, - maxInlineAttributesLineLength, - ) { - return maxInlineAttributesLineLength - ? spacer(lvl, tabStop).length + inlineAttributeString.length > - maxInlineAttributesLineLength - : attributes.length > 1; - }, - formatReactElementNode = function (node, inline, lvl, options) { - var type = node.type, - _node$displayName = node.displayName, - displayName = - void 0 === _node$displayName ? "" : _node$displayName, - childrens = node.childrens, - _node$props = node.props, - props = void 0 === _node$props ? {} : _node$props, - _node$defaultProps = node.defaultProps, - defaultProps = - void 0 === _node$defaultProps ? {} : _node$defaultProps; - if ("ReactElement" !== type) - throw new Error( - 'The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat( - type, - ), - ); - var filterProps3 = options.filterProps, - maxInlineAttributesLineLength = - options.maxInlineAttributesLineLength, - showDefaultProps = options.showDefaultProps, - sortProps = options.sortProps, - tabStop = options.tabStop, - out = "<".concat(displayName), - outInlineAttr = out, - outMultilineAttr = out, - containsMultilineAttr = !1, - visibleAttributeNames = [], - propFilter = (function createPropFilter(props, filter) { - return Array.isArray(filter) - ? function (key) { - return -1 === filter.indexOf(key); - } - : function (key) { - return filter(props[key], key); - }; - })(props, filterProps3); - Object.keys(props) - .filter(propFilter) - .filter( - (function (defaultProps, props) { - return function (propName) { - var haveDefaultValue = - Object.keys(defaultProps).includes(propName); - return ( - !haveDefaultValue || - (haveDefaultValue && - defaultProps[propName] !== props[propName]) - ); - }; - })(defaultProps, props), - ) - .forEach(function (propName) { - return visibleAttributeNames.push(propName); - }), - Object.keys(defaultProps) - .filter(propFilter) - .filter(function () { - return showDefaultProps; - }) - .filter(function (defaultPropName) { - return !visibleAttributeNames.includes(defaultPropName); - }) - .forEach(function (defaultPropName) { - return visibleAttributeNames.push(defaultPropName); - }); - var shouldSortUserProps, - attributes = ((shouldSortUserProps = sortProps), - function (props) { - var haveKeyProp = props.includes("key"), - haveRefProp = props.includes("ref"), - userPropsOnly = props.filter(function (oneProp) { - return !["key", "ref"].includes(oneProp); - }), - sortedProps = _toConsumableArray( - shouldSortUserProps ? userPropsOnly.sort() : userPropsOnly, - ); - return ( - haveRefProp && sortedProps.unshift("ref"), - haveKeyProp && sortedProps.unshift("key"), - sortedProps - ); - })(visibleAttributeNames); - if ( - (attributes.forEach(function (attributeName) { - var _formatProp = (function ( - name, - hasValue, - value, - hasDefaultValue, - defaultValue, - inline, - lvl, - options, - ) { - if (!hasValue && !hasDefaultValue) - throw new Error( - 'The prop "'.concat( - name, - '" has no value and no default: could not be formatted', - ), - ); - var usedValue = hasValue ? value : defaultValue, - useBooleanShorthandSyntax = - options.useBooleanShorthandSyntax, - tabStop = options.tabStop, - formattedPropValue = formatPropValue( - usedValue, - inline, - lvl, - options, - ), - attributeFormattedInline = " ", - attributeFormattedMultiline = "\n".concat( - spacer(lvl + 1, tabStop), - ), - isMultilineAttribute = formattedPropValue.includes("\n"); - return ( - useBooleanShorthandSyntax && - "{false}" === formattedPropValue && - !hasDefaultValue - ? ((attributeFormattedInline = ""), - (attributeFormattedMultiline = "")) - : useBooleanShorthandSyntax && - "{true}" === formattedPropValue - ? ((attributeFormattedInline += "".concat(name)), - (attributeFormattedMultiline += "".concat(name))) - : ((attributeFormattedInline += "" - .concat(name, "=") - .concat(formattedPropValue)), - (attributeFormattedMultiline += "" - .concat(name, "=") - .concat(formattedPropValue))), - { - attributeFormattedInline, - attributeFormattedMultiline, - isMultilineAttribute, - } - ); - })( - attributeName, - Object.keys(props).includes(attributeName), - props[attributeName], - Object.keys(defaultProps).includes(attributeName), - defaultProps[attributeName], - inline, - lvl, - options, - ), - attributeFormattedInline = - _formatProp.attributeFormattedInline, - attributeFormattedMultiline = - _formatProp.attributeFormattedMultiline; - _formatProp.isMultilineAttribute && - (containsMultilineAttr = !0), - (outInlineAttr += attributeFormattedInline), - (outMultilineAttr += attributeFormattedMultiline); - }), - (outMultilineAttr += "\n".concat(spacer(lvl, tabStop))), - (out = (function ( - attributes, - inlineAttributeString, - containsMultilineAttr, - inline, - lvl, - tabStop, - maxInlineAttributesLineLength, - ) { - return ( - (isInlineAttributeTooLong( - attributes, - inlineAttributeString, - lvl, - tabStop, - maxInlineAttributesLineLength, - ) || - containsMultilineAttr) && - !inline - ); - })( - attributes, - outInlineAttr, - containsMultilineAttr, - inline, - lvl, - tabStop, - maxInlineAttributesLineLength, - ) - ? outMultilineAttr - : outInlineAttr), - childrens && childrens.length > 0) - ) { - var newLvl = lvl + 1; - (out += ">"), - inline || ((out += "\n"), (out += spacer(newLvl, tabStop))), - (out += childrens - .reduce(mergeSiblingPlainStringChildrenReducer, []) - .map(formatOneChildren(inline, newLvl, options)) - .join(inline ? "" : "\n".concat(spacer(newLvl, tabStop)))), - inline || ((out += "\n"), (out += spacer(newLvl - 1, tabStop))), - (out += "")); - } else - isInlineAttributeTooLong( - attributes, - outInlineAttr, - lvl, - tabStop, - maxInlineAttributesLineLength, - ) || (out += " "), - (out += "/>"); - return out; - }, - jsxStopChars = ["<", ">", "{", "}"], - escape2 = function (s) { - return (function (s) { - return jsxStopChars.some(function (jsxStopChar) { - return s.includes(jsxStopChar); - }); - })(s) - ? "{`".concat(s, "`}") - : s; - }, - formatTreeNode = function (node, inline, lvl, options) { - if ("number" === node.type) return String(node.value); - if ("string" === node.type) - return node.value - ? "".concat( - ((s = escape2(String(node.value))), - (result = s).endsWith(" ") && - (result = result.replace(/^(.*?)(\s+)$/, "$1{'$2'}")), - result.startsWith(" ") && - (result = result.replace(/^(\s+)(.*)$/, "{'$1'}$2")), - result), - ) - : ""; - var s, result; - if ("ReactElement" === node.type) - return formatReactElementNode(node, inline, lvl, options); - if ("ReactFragment" === node.type) - return (function (node, inline, lvl, options) { - var displayName, - type = node.type, - key = node.key, - childrens = node.childrens; - if ("ReactFragment" !== type) - throw new Error( - 'The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat( - type, - ), - ); - return ( - (displayName = options.useFragmentShortSyntax - ? 0 === node.childrens.length || node.key - ? "React.Fragment" - : "" - : "React.Fragment"), - formatReactElementNode( - (function (displayName, key, childrens) { - var props = {}; - return ( - key && (props = { key }), - { - type: "ReactElement", - displayName, - props, - defaultProps: {}, - childrens, - } - ); - })(displayName, key, childrens), - inline, - lvl, - options, - ) - ); - })(node, inline, lvl, options); - throw new TypeError('Unknow format type "'.concat(node.type, '"')); - }, - reactElementToJsxString = function (element) { - var _ref = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : {}, - _ref$filterProps = _ref.filterProps, - filterProps3 = - void 0 === _ref$filterProps ? [] : _ref$filterProps, - _ref$showDefaultProps = _ref.showDefaultProps, - showDefaultProps = - void 0 === _ref$showDefaultProps || _ref$showDefaultProps, - _ref$showFunctions = _ref.showFunctions, - showFunctions = - void 0 !== _ref$showFunctions && _ref$showFunctions, - functionValue = _ref.functionValue, - _ref$tabStop = _ref.tabStop, - tabStop = void 0 === _ref$tabStop ? 2 : _ref$tabStop, - _ref$useBooleanShorth = _ref.useBooleanShorthandSyntax, - useBooleanShorthandSyntax = - void 0 === _ref$useBooleanShorth || _ref$useBooleanShorth, - _ref$useFragmentShort = _ref.useFragmentShortSyntax, - useFragmentShortSyntax = - void 0 === _ref$useFragmentShort || _ref$useFragmentShort, - _ref$sortProps = _ref.sortProps, - sortProps = void 0 === _ref$sortProps || _ref$sortProps, - maxInlineAttributesLineLength = - _ref.maxInlineAttributesLineLength, - displayName = _ref.displayName; - if (!element) - throw new Error( - "react-element-to-jsx-string: Expected a ReactElement", - ); - var options = { - filterProps: filterProps3, - showDefaultProps, - showFunctions, - functionValue, - tabStop, - useBooleanShorthandSyntax, - useFragmentShortSyntax, - sortProps, - maxInlineAttributesLineLength, - displayName, - }; - return (function (node, options) { - return formatTreeNode(node, !1, 0, options); - })(parseReactElement(element, options), options); - }, - reactElementToJSXString = reactElementToJsxString; - function isReactElement(element) { - return null != element.$$typeof; - } - function extractFunctionName(func, propName) { - let { name } = func; - return "" !== name && "anonymous" !== name && name !== propName - ? name - : null; - } - function generateReactObject(rawDefaultProp) { - let { type } = rawDefaultProp, - { displayName } = type, - jsx2 = reactElementToJSXString(rawDefaultProp, {}); - if (null != displayName) { - let prettyIdentifier = getPrettyElementIdentifier(displayName); - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - prettyIdentifier, - jsx2, - ); - } - if ( - (function isString(value) { - return "string" == typeof value || value instanceof String; - })(type) && - isHtmlTag(type) - ) { - let jsxSummary = reactElementToJSXString(rawDefaultProp, { - tabStop: 0, - }).replace(/\r?\n|\r/g, ""); - if ( - !(0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Sy)( - jsxSummary, - ) - ) - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - jsxSummary, - ); - } - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - "element", - jsx2, - ); - } - var DEFAULT_TYPE_RESOLVERS = { - string: (rawDefaultProp) => - (0, storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - JSON.stringify(rawDefaultProp), - ), - object: (rawDefaultProp) => { - if (isReactElement(rawDefaultProp) && null != rawDefaultProp.type) - return generateReactObject(rawDefaultProp); - if ( - (function isPlainObject(object) { - if ("object" != typeof object || null == object) return !1; - if (null === Object.getPrototypeOf(object)) return !0; - if ( - "[object Object]" !== Object.prototype.toString.call(object) - ) { - let tag = object[Symbol.toStringTag]; - return ( - !( - null == tag || - !Object.getOwnPropertyDescriptor( - object, - Symbol.toStringTag, - )?.writable - ) && object.toString() === `[object ${tag}]` - ); - } - let proto = object; - for (; null !== Object.getPrototypeOf(proto); ) - proto = Object.getPrototypeOf(proto); - return Object.getPrototypeOf(object) === proto; - })(rawDefaultProp) - ) { - return generateObject( - inspectValue(JSON.stringify(rawDefaultProp)), - ); - } - if (Array.isArray(rawDefaultProp)) { - return generateArray( - inspectValue(JSON.stringify(rawDefaultProp)), - ); - } - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - "object", - ); - }, - function: (rawDefaultProp, propDef) => { - let inspectionResult, - isElement = !1; - if (isFunction(rawDefaultProp.render)) isElement = !0; - else if ( - null != rawDefaultProp.prototype && - isFunction(rawDefaultProp.prototype.render) - ) - isElement = !0; - else { - let innerElement; - try { - inspectionResult = inspectValue(rawDefaultProp.toString()); - let { hasParams, params } = inspectionResult.inferredType; - hasParams - ? 1 === params.length && - "ObjectPattern" === params[0].type && - (innerElement = rawDefaultProp({})) - : (innerElement = rawDefaultProp()), - null != innerElement && - isReactElement(innerElement) && - (isElement = !0); - } catch {} - } - let funcName = extractFunctionName(rawDefaultProp, propDef.name); - if (null != funcName) { - if (isElement) - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - getPrettyElementIdentifier(funcName), - ); - null != inspectionResult && - (inspectionResult = inspectValue(rawDefaultProp.toString())); - let { hasParams } = inspectionResult.inferredType; - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - getPrettyFuncIdentifier(funcName, hasParams), - ); - } - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - isElement ? "element" : "func", - ); - }, - default: (rawDefaultProp) => - (0, storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - rawDefaultProp.toString(), - ), - }; - function createDefaultValueFromRawDefaultProp( - rawDefaultProp, - propDef, - typeResolvers = DEFAULT_TYPE_RESOLVERS, - ) { - try { - switch (typeof rawDefaultProp) { - case "string": - return typeResolvers.string(rawDefaultProp, propDef); - case "object": - return typeResolvers.object(rawDefaultProp, propDef); - case "function": - return typeResolvers.function(rawDefaultProp, propDef); - default: - return typeResolvers.default(rawDefaultProp, propDef); - } - } catch (e) { - console.error(e); - } - return null; - } - function generateFuncSignature(params, returns) { - let hasParams = null != params, - hasReturns = null != returns; - if (!hasParams && !hasReturns) return ""; - let funcParts = []; - if (hasParams) { - let funcParams = params.map((x) => { - let prettyName = x.getPrettyName(), - typeName = x.getTypeName(); - return null != typeName - ? `${prettyName}: ${typeName}` - : prettyName; - }); - funcParts.push(`(${funcParams.join(", ")})`); - } else funcParts.push("()"); - return ( - hasReturns && funcParts.push(`=> ${returns.getTypeName()}`), - funcParts.join(" ") - ); - } - function generateShortFuncSignature(params, returns) { - let hasParams = null != params, - hasReturns = null != returns; - if (!hasParams && !hasReturns) return ""; - let funcParts = []; - return ( - hasParams ? funcParts.push("( ... )") : funcParts.push("()"), - hasReturns && funcParts.push(`=> ${returns.getTypeName()}`), - funcParts.join(" ") - ); - } - function createTypeDef({ name, short, compact, full, inferredType }) { - return { name, short, compact, full: full ?? short, inferredType }; - } - function cleanPropTypes(value) { - return value.replace(/PropTypes./g, "").replace(/.isRequired/g, ""); - } - function splitIntoLines(value) { - return value.split(/\r?\n/); - } - function prettyObject(ast, compact = !1) { - return cleanPropTypes(generateObjectCode(ast, compact)); - } - function prettyArray(ast, compact = !1) { - return cleanPropTypes(generateCode(ast, compact)); - } - function generateTypeFromString(value, originalTypeName) { - let short, - compact, - full, - { inferredType, ast } = inspectValue(value), - { type } = inferredType; - switch (type) { - case "Identifier": - case "Literal": - (short = value), (compact = value); - break; - case "Object": { - let { depth } = inferredType; - (short = "object"), - (compact = 1 === depth ? prettyObject(ast, !0) : null), - (full = prettyObject(ast)); - break; - } - case "Element": { - let { identifier } = inferredType; - (short = - null == identifier || isHtmlTag(identifier) - ? "element" - : identifier), - (compact = 1 === splitIntoLines(value).length ? value : null), - (full = value); - break; - } - case "Array": { - let { depth } = inferredType; - (short = "array"), - (compact = depth <= 2 ? prettyArray(ast, !0) : null), - (full = prettyArray(ast)); - break; - } - default: - (short = (function getCaptionForInspectionType(type) { - switch (type) { - case "Object": - return "object"; - case "Array": - return "array"; - case "Class": - return "class"; - case "Function": - return "func"; - case "Element": - return "element"; - default: - return "custom"; - } - })(type)), - (compact = 1 === splitIntoLines(value).length ? value : null), - (full = value); - } - return createTypeDef({ - name: originalTypeName, - short, - compact, - full, - inferredType: type, - }); - } - function objectOf(of) { - return `objectOf(${of})`; - } - function generateEnum(type) { - if (Array.isArray(type.value)) { - let values = type.value.reduce( - (acc, v) => { - let { short, compact, full } = (function generateEnumValue({ - value, - computed, - }) { - return computed - ? generateTypeFromString(value, "enumvalue") - : createTypeDef({ - name: "enumvalue", - short: value, - compact: value, - }); - })(v); - return ( - acc.short.push(short), - acc.compact.push(compact), - acc.full.push(full), - acc - ); - }, - { short: [], compact: [], full: [] }, - ); - return createTypeDef({ - name: "enum", - short: values.short.join(" | "), - compact: values.compact.every((x) => null != x) - ? values.compact.join(" | ") - : null, - full: values.full.join(" | "), - }); - } - return createTypeDef({ - name: "enum", - short: type.value, - compact: type.value, - }); - } - function braceAfter(of) { - return `${of}[]`; - } - function braceAround(of) { - return `[${of}]`; - } - function createArrayOfObjectTypeDef(short, compact, full) { - return createTypeDef({ - name: "arrayOf", - short: braceAfter(short), - compact: null != compact ? braceAround(compact) : null, - full: full && braceAround(full), - }); - } - function generateType(type, extractedProp) { - try { - switch (type.name) { - case "custom": - return (function generateCustom({ raw }) { - return null != raw - ? generateTypeFromString(raw, "custom") - : createTypeDef({ - name: "custom", - short: "custom", - compact: "custom", - }); - })(type); - case "func": - return (function generateFunc2(extractedProp) { - let { jsDocTags } = extractedProp; - return null == jsDocTags || - (null == jsDocTags.params && null == jsDocTags.returns) - ? createTypeDef({ - name: "func", - short: "func", - compact: "func", - }) - : createTypeDef({ - name: "func", - short: generateShortFuncSignature( - jsDocTags.params, - jsDocTags.returns, - ), - compact: null, - full: generateFuncSignature( - jsDocTags.params, - jsDocTags.returns, - ), - }); - })(extractedProp); - case "shape": - return (function generateShape(type, extractedProp) { - let fields = Object.keys(type.value) - .map( - (key) => - `${key}: ${generateType(type.value[key], extractedProp).full}`, - ) - .join(", "), - { inferredType, ast } = inspectValue(`{ ${fields} }`), - { depth } = inferredType; - return createTypeDef({ - name: "shape", - short: "object", - compact: 1 === depth && ast ? prettyObject(ast, !0) : null, - full: ast ? prettyObject(ast) : null, - }); - })(type, extractedProp); - case "instanceOf": - return createTypeDef({ - name: "instanceOf", - short: type.value, - compact: type.value, - }); - case "objectOf": - return (function generateObjectOf(type, extractedProp) { - let { short, compact, full } = generateType( - type.value, - extractedProp, - ); - return createTypeDef({ - name: "objectOf", - short: objectOf(short), - compact: null != compact ? objectOf(compact) : null, - full: full && objectOf(full), - }); - })(type, extractedProp); - case "union": - return (function generateUnion(type, extractedProp) { - if (Array.isArray(type.value)) { - let values = type.value.reduce( - (acc, v) => { - let { short, compact, full } = generateType( - v, - extractedProp, - ); - return ( - acc.short.push(short), - acc.compact.push(compact), - acc.full.push(full), - acc - ); - }, - { short: [], compact: [], full: [] }, - ); - return createTypeDef({ - name: "union", - short: values.short.join(" | "), - compact: values.compact.every((x) => null != x) - ? values.compact.join(" | ") - : null, - full: values.full.join(" | "), - }); - } - return createTypeDef({ - name: "union", - short: type.value, - compact: null, - }); - })(type, extractedProp); - case "enum": - return generateEnum(type); - case "arrayOf": - return (function generateArray2(type, extractedProp) { - let { name, short, compact, full, inferredType } = - generateType(type.value, extractedProp); - if ("custom" === name) { - if ("Object" === inferredType) - return createArrayOfObjectTypeDef(short, compact, full); - } else if ("shape" === name) - return createArrayOfObjectTypeDef(short, compact, full); - return createTypeDef({ - name: "arrayOf", - short: braceAfter(short), - compact: braceAfter(short), - }); - })(type, extractedProp); - default: - return createTypeDef({ - name: type.name, - short: type.name, - compact: type.name, - }); - } - } catch (e) { - console.error(e); - } - return createTypeDef({ - name: "unknown", - short: "unknown", - compact: "unknown", - }); - } - var rawDefaultPropTypeResolvers = (function createTypeResolvers( - customResolvers = {}, - ) { - return { ...DEFAULT_TYPE_RESOLVERS, ...customResolvers }; - })({ - function: (rawDefaultProp, { name, type }) => { - let isElement = - "element" === type?.summary || "elementType" === type?.summary, - funcName = extractFunctionName(rawDefaultProp, name); - if (null != funcName) { - if (isElement) - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - getPrettyElementIdentifier(funcName), - ); - let { hasParams } = inspectValue( - rawDefaultProp.toString(), - ).inferredType; - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - getPrettyFuncIdentifier(funcName, hasParams), - ); - } - return (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - isElement ? "element" : "func", - ); - }, - }); - function enhancePropTypesProp(extractedProp, rawDefaultProp) { - let { propDef } = extractedProp, - newtype = (function createType(extractedProp) { - let { type } = extractedProp.docgenInfo; - if (null == type) return null; - try { - switch (type.name) { - case "custom": - case "shape": - case "instanceOf": - case "objectOf": - case "union": - case "enum": - case "arrayOf": { - let { short, compact, full } = generateType( - type, - extractedProp, - ); - return null == compact || - (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.i3)( - compact, - ) - ? full - ? (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - short, - full, - ) - : (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - short, - ) - : (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - compact, - ); - } - case "func": { - let detail, - { short, full } = generateType(type, extractedProp), - summary = short; - return ( - full && full.length < 150 - ? (summary = full) - : full && - (detail = (function toMultilineSignature(signature) { - return signature.replace(/,/g, ",\r\n"); - })(full)), - (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Ux)( - summary, - detail, - ) - ); - } - default: - return null; - } - } catch (e) { - console.error(e); - } - return null; - })(extractedProp); - null != newtype && (propDef.type = newtype); - let { defaultValue } = extractedProp.docgenInfo; - if (null != defaultValue && null != defaultValue.value) { - let newDefaultValue = createDefaultValue(defaultValue.value); - null != newDefaultValue && (propDef.defaultValue = newDefaultValue); - } else if (null != rawDefaultProp) { - let newDefaultValue = createDefaultValueFromRawDefaultProp( - rawDefaultProp, - propDef, - rawDefaultPropTypeResolvers, - ); - null != newDefaultValue && (propDef.defaultValue = newDefaultValue); - } - return propDef; - } - function enhancePropTypesProps(extractedProps, component) { - let rawDefaultProps = - null != component.defaultProps ? component.defaultProps : {}; - return (function keepOriginalDefinitionOrder( - extractedProps, - component, - ) { - let { propTypes } = component; - return null != propTypes - ? Object.keys(propTypes) - .map((x) => extractedProps.find((y) => y.name === x)) - .filter(Boolean) - : extractedProps; - })( - extractedProps.map((x) => - enhancePropTypesProp(x, rawDefaultProps[x.propDef.name]), - ), - component, - ); - } - function enhanceTypeScriptProps(extractedProps) { - return extractedProps.map((prop) => - (function enhanceTypeScriptProp(extractedProp, rawDefaultProp) { - let { propDef } = extractedProp, - { defaultValue } = extractedProp.docgenInfo; - if (null != defaultValue && null != defaultValue.value) { - let newDefaultValue = createDefaultValue(defaultValue.value); - null != newDefaultValue && - (propDef.defaultValue = newDefaultValue); - } else if (null != rawDefaultProp) { - let newDefaultValue = createDefaultValueFromRawDefaultProp( - rawDefaultProp, - propDef, - ); - null != newDefaultValue && - (propDef.defaultValue = newDefaultValue); - } - return propDef; - })(prop), - ); - } - var propTypesMap = new Map(); - function getPropDefs(component, section) { - let processedComponent = component; - !(0, storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.TQ)( - component, - ) && - !component.propTypes && - isMemo(component) && - (processedComponent = component.type); - let extractedProps = (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.p6)( - processedComponent, - section, - ); - if (0 === extractedProps.length) return []; - switch (extractedProps[0].typeSystem) { - case storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.YF - .JAVASCRIPT: - return enhancePropTypesProps(extractedProps, component); - case storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.YF - .TYPESCRIPT: - return enhanceTypeScriptProps(extractedProps); - default: - return extractedProps.map((x) => x.propDef); - } - } - Object.keys(import_prop_types.default).forEach((typeName) => { - let type = import_prop_types.default[typeName]; - propTypesMap.set(type, typeName), - propTypesMap.set(type.isRequired, typeName); - }); - var reactElementToJSXString2 = reactElementToJsxString, - toPascalCase = (str) => str.charAt(0).toUpperCase() + str.slice(1); - function simplifyNodeForStringify(node) { - if ((0, react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)(node)) { - let props = Object.keys(node.props).reduce( - (acc, cur) => ( - (acc[cur] = simplifyNodeForStringify(node.props[cur])), acc - ), - {}, - ); - return { ...node, props, _owner: null }; - } - return Array.isArray(node) - ? node.map(simplifyNodeForStringify) - : node; - } - var renderJsx = (code, options) => { - if (typeof code > "u") - return ( - storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_2__.logger.warn( - "Too many skip or undefined component", - ), - null - ); - let displayNameDefaults, - renderedJSX = code, - Type = renderedJSX.type; - for (let i = 0; i < options?.skip; i += 1) { - if (typeof renderedJSX > "u") - return ( - storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_2__.logger.warn( - "Cannot skip undefined element", - ), - null - ); - if ( - react__WEBPACK_IMPORTED_MODULE_1__.Children.count(renderedJSX) > - 1 - ) - return ( - storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_2__.logger.warn( - "Trying to skip an array of elements", - ), - null - ); - typeof renderedJSX.props.children > "u" - ? (storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_2__.logger.warn( - "Not enough children to skip elements.", - ), - "function" == typeof renderedJSX.type && - "" === renderedJSX.type.name && - (renderedJSX = - react__WEBPACK_IMPORTED_MODULE_1__.createElement(Type, { - ...renderedJSX.props, - }))) - : (renderedJSX = - "function" == typeof renderedJSX.props.children - ? renderedJSX.props.children() - : renderedJSX.props.children); - } - displayNameDefaults = - "string" == typeof options?.displayName - ? { showFunctions: !0, displayName: () => options.displayName } - : { - displayName: (el) => { - return el.type.displayName - ? el.type.displayName - : (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.UO)( - el.type, - "displayName", - ) - ? (0, - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.UO)( - el.type, - "displayName", - ) - : el.type.render?.displayName - ? el.type.render.displayName - : "symbol" == typeof el.type || - (el.type.$$typeof && - "symbol" == typeof el.type.$$typeof) - ? ( - (elementType = el.type).$$typeof || - elementType - ) - .toString() - .replace(/^Symbol\((.*)\)$/, "$1") - .split(".") - .map((segment) => - segment - .split("_") - .map(toPascalCase) - .join(""), - ) - .join(".") - : el.type.name && "_default" !== el.type.name - ? el.type.name - : "function" == typeof el.type - ? "No Display Name" - : el.type.$$typeof === - Symbol.for("react.forward_ref") - ? el.type.render.name - : isMemo(el.type) - ? el.type.type.name - : el.type; - var elementType; - }, - }; - let opts = { - ...displayNameDefaults, - filterProps: (value, key) => void 0 !== value, - ...options, - }; - return react__WEBPACK_IMPORTED_MODULE_1__.Children.map( - code, - (c) => { - let child = "number" == typeof c ? c.toString() : c, - string = ( - "function" == typeof reactElementToJSXString2 - ? reactElementToJSXString2 - : reactElementToJSXString2.default - )(simplifyNodeForStringify(child), opts); - if (string.indexOf(""") > -1) { - let matches = string.match(/\S+=\\"([^"]*)\\"/g); - matches && - matches.forEach((match) => { - string = string.replace( - match, - match.replace(/"/g, "'"), - ); - }); - } - return string; - }, - ) - .join("\n") - .replace(/function\s+noRefCheck\(\)\s*\{\}/g, "() => {}"); - }, - defaultOpts = { - skip: 0, - showFunctions: !1, - enableBeautify: !0, - showDefaultProps: !1, - }, - mdxToJsx = (node) => { - if ( - !((node) => - "MDXCreateElement" === node.type?.displayName && - !!node.props?.mdxType)(node) - ) - return node; - let { mdxType, originalType, children, ...rest } = node.props, - jsxChildren = []; - return ( - children && - (jsxChildren = ( - Array.isArray(children) ? children : [children] - ).map(mdxToJsx)), - (0, react__WEBPACK_IMPORTED_MODULE_1__.createElement)( - originalType, - rest, - ...jsxChildren, - ) - ); - }, - jsxDecorator = (storyFn, context) => { - let channel = - storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_3__.addons.getChannel(), - skip = ((context) => { - let sourceParams = context?.parameters.docs?.source, - isArgsStory = context?.parameters.__isArgsStory; - return ( - sourceParams?.type !== - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__ - .Y1.DYNAMIC && - (!isArgsStory || - sourceParams?.code || - sourceParams?.type === - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__ - .Y1.CODE) - ); - })(context), - jsx2 = ""; - (0, - storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_3__.useEffect)( - () => { - if (!skip) { - let { id, unmappedArgs } = context; - channel.emit( - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.Op, - { id, source: jsx2, args: unmappedArgs }, - ); - } - }, - ); - let story = storyFn(); - if (skip) return story; - let options = { - ...defaultOpts, - ...(context?.parameters.jsx || {}), - }, - storyJsx = context?.parameters.docs?.source?.excludeDecorators - ? context.originalStoryFn(context.args, context) - : story, - sourceJsx = mdxToJsx(storyJsx), - rendered = renderJsx(sourceJsx, options); - return rendered && (jsx2 = rendered), story; - }, - applyDecorators = (storyFn, decorators2) => { - let jsxIndex = decorators2.findIndex( - (d) => d.originalFn === jsxDecorator, - ), - reorderedDecorators = - -1 === jsxIndex - ? decorators2 - : [...decorators2.splice(jsxIndex, 1), ...decorators2]; - return (0, - storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_3__.defaultDecorateStory)( - storyFn, - reorderedDecorators, - ); - }, - parameters = { - docs: { - story: { inline: !0 }, - extractArgTypes: (component) => { - if (component) { - let { rows } = ((component) => ({ - rows: getPropDefs(component, "props"), - }))(component); - if (rows) - return rows.reduce((acc, row) => { - let { - name, - description, - type, - sbType, - defaultValue: defaultSummary, - jsDocTags, - required, - } = row; - return ( - (acc[name] = { - name, - description, - type: { required, ...sbType }, - table: { - type: type ?? void 0, - jsDocTags, - defaultValue: defaultSummary ?? void 0, - }, - }), - acc - ); - }, {}); - } - return null; - }, - extractComponentDescription: - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.rl, - }, - }, - decorators = [jsxDecorator], - argTypesEnhancers = [ - storybook_internal_docs_tools__WEBPACK_IMPORTED_MODULE_4__.C2, - ]; - }, - "../node_modules/.pnpm/@storybook+react@8.4.7_@storybook+test@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7_typescript@5.3.2/node_modules/@storybook/react/dist/entry-preview.mjs": - (__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - decorators: () => decorators, - mount: () => mount, - parameters: () => parameters, - render: () => render, - renderToCanvas: () => renderToCanvas, - }); - var chunk_XP5HYGXS = __webpack_require__( - "../node_modules/.pnpm/@storybook+react@8.4.7_@storybook+test@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7_typescript@5.3.2/node_modules/@storybook/react/dist/chunk-XP5HYGXS.mjs", - ), - react = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - react_namespaceObject = __webpack_require__.t(react, 2), - external_STORYBOOK_MODULE_GLOBAL_ = - __webpack_require__("@storybook/global"), - react_dom_test_utils_production = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react-dom/cjs/react-dom-test-utils.production.js", - ), - process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ), - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - require_constants = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/internal/constants.js"(exports, module) { - var MAX_SAFE_INTEGER = - Number.MAX_SAFE_INTEGER || 9007199254740991; - module.exports = { - MAX_LENGTH: 256, - MAX_SAFE_COMPONENT_LENGTH: 16, - MAX_SAFE_BUILD_LENGTH: 250, - MAX_SAFE_INTEGER, - RELEASE_TYPES: [ - "major", - "premajor", - "minor", - "preminor", - "patch", - "prepatch", - "prerelease", - ], - SEMVER_SPEC_VERSION: "2.0.0", - FLAG_INCLUDE_PRERELEASE: 1, - FLAG_LOOSE: 2, - }; - }, - }), - require_debug = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/internal/debug.js"(exports, module) { - var debug = - "object" == typeof process && - process.env && - process.env.NODE_DEBUG && - /\bsemver\b/i.test(process.env.NODE_DEBUG) - ? (...args) => console.error("SEMVER", ...args) - : () => {}; - module.exports = debug; - }, - }), - require_re = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/internal/re.js"(exports, module) { - var { - MAX_SAFE_COMPONENT_LENGTH, - MAX_SAFE_BUILD_LENGTH, - MAX_LENGTH, - } = require_constants(), - debug = require_debug(), - re = ((exports = module.exports = {}).re = []), - safeRe = (exports.safeRe = []), - src = (exports.src = []), - t = (exports.t = {}), - R = 0, - safeRegexReplacements = [ - ["\\s", 1], - ["\\d", MAX_LENGTH], - ["[a-zA-Z0-9-]", MAX_SAFE_BUILD_LENGTH], - ], - createToken = (name, value, isGlobal) => { - let safe = ((value) => { - for (let [token, max] of safeRegexReplacements) - value = value - .split(`${token}*`) - .join(`${token}{0,${max}}`) - .split(`${token}+`) - .join(`${token}{1,${max}}`); - return value; - })(value), - index = R++; - debug(name, index, value), - (t[name] = index), - (src[index] = value), - (re[index] = new RegExp(value, isGlobal ? "g" : void 0)), - (safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0)); - }; - createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*"), - createToken("NUMERICIDENTIFIERLOOSE", "\\d+"), - createToken( - "NONNUMERICIDENTIFIER", - "\\d*[a-zA-Z-][a-zA-Z0-9-]*", - ), - createToken( - "MAINVERSION", - `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`, - ), - createToken( - "MAINVERSIONLOOSE", - `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`, - ), - createToken( - "PRERELEASEIDENTIFIER", - `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`, - ), - createToken( - "PRERELEASEIDENTIFIERLOOSE", - `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`, - ), - createToken( - "PRERELEASE", - `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`, - ), - createToken( - "PRERELEASELOOSE", - `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`, - ), - createToken("BUILDIDENTIFIER", "[a-zA-Z0-9-]+"), - createToken( - "BUILD", - `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`, - ), - createToken( - "FULLPLAIN", - `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`, - ), - createToken("FULL", `^${src[t.FULLPLAIN]}$`), - createToken( - "LOOSEPLAIN", - `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`, - ), - createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`), - createToken("GTLT", "((?:<|>)?=?)"), - createToken( - "XRANGEIDENTIFIERLOOSE", - `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`, - ), - createToken( - "XRANGEIDENTIFIER", - `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`, - ), - createToken( - "XRANGEPLAIN", - `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`, - ), - createToken( - "XRANGEPLAINLOOSE", - `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`, - ), - createToken( - "XRANGE", - `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`, - ), - createToken( - "XRANGELOOSE", - `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`, - ), - createToken( - "COERCEPLAIN", - `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`, - ), - createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`), - createToken( - "COERCEFULL", - src[t.COERCEPLAIN] + - `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`, - ), - createToken("COERCERTL", src[t.COERCE], !0), - createToken("COERCERTLFULL", src[t.COERCEFULL], !0), - createToken("LONETILDE", "(?:~>?)"), - createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, !0), - (exports.tildeTrimReplace = "$1~"), - createToken( - "TILDE", - `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`, - ), - createToken( - "TILDELOOSE", - `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`, - ), - createToken("LONECARET", "(?:\\^)"), - createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, !0), - (exports.caretTrimReplace = "$1^"), - createToken( - "CARET", - `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`, - ), - createToken( - "CARETLOOSE", - `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`, - ), - createToken( - "COMPARATORLOOSE", - `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`, - ), - createToken( - "COMPARATOR", - `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`, - ), - createToken( - "COMPARATORTRIM", - `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, - !0, - ), - (exports.comparatorTrimReplace = "$1$2$3"), - createToken( - "HYPHENRANGE", - `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`, - ), - createToken( - "HYPHENRANGELOOSE", - `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`, - ), - createToken("STAR", "(<|>)?=?\\s*\\*"), - createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), - createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$"); - }, - }), - require_parse_options = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/internal/parse-options.js"( - exports, - module, - ) { - var looseOption = Object.freeze({ loose: !0 }), - emptyOpts = Object.freeze({}); - module.exports = (options) => - options - ? "object" != typeof options - ? looseOption - : options - : emptyOpts; - }, - }), - require_identifiers = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/internal/identifiers.js"( - exports, - module, - ) { - var numeric = /^[0-9]+$/, - compareIdentifiers = (a, b) => { - let anum = numeric.test(a), - bnum = numeric.test(b); - return ( - anum && bnum && ((a = +a), (b = +b)), - a === b - ? 0 - : anum && !bnum - ? -1 - : bnum && !anum - ? 1 - : a < b - ? -1 - : 1 - ); - }; - module.exports = { - compareIdentifiers, - rcompareIdentifiers: (a, b) => compareIdentifiers(b, a), - }; - }, - }), - require_semver = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/classes/semver.js"(exports, module) { - var debug = require_debug(), - { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(), - { safeRe: re, t } = require_re(), - parseOptions = require_parse_options(), - { compareIdentifiers } = require_identifiers(); - module.exports = class _SemVer { - constructor(version2, options) { - if ( - ((options = parseOptions(options)), - version2 instanceof _SemVer) - ) { - if ( - version2.loose === !!options.loose && - version2.includePrerelease === !!options.includePrerelease - ) - return version2; - version2 = version2.version; - } else if ("string" != typeof version2) - throw new TypeError( - `Invalid version. Must be a string. Got type "${typeof version2}".`, - ); - if (version2.length > MAX_LENGTH) - throw new TypeError( - `version is longer than ${MAX_LENGTH} characters`, - ); - debug("SemVer", version2, options), - (this.options = options), - (this.loose = !!options.loose), - (this.includePrerelease = !!options.includePrerelease); - let m = version2 - .trim() - .match(options.loose ? re[t.LOOSE] : re[t.FULL]); - if (!m) throw new TypeError(`Invalid Version: ${version2}`); - if ( - ((this.raw = version2), - (this.major = +m[1]), - (this.minor = +m[2]), - (this.patch = +m[3]), - this.major > MAX_SAFE_INTEGER || this.major < 0) - ) - throw new TypeError("Invalid major version"); - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) - throw new TypeError("Invalid minor version"); - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) - throw new TypeError("Invalid patch version"); - m[4] - ? (this.prerelease = m[4].split(".").map((id) => { - if (/^[0-9]+$/.test(id)) { - let num = +id; - if (num >= 0 && num < MAX_SAFE_INTEGER) return num; - } - return id; - })) - : (this.prerelease = []), - (this.build = m[5] ? m[5].split(".") : []), - this.format(); - } - format() { - return ( - (this.version = `${this.major}.${this.minor}.${this.patch}`), - this.prerelease.length && - (this.version += `-${this.prerelease.join(".")}`), - this.version - ); - } - toString() { - return this.version; - } - compare(other) { - if ( - (debug("SemVer.compare", this.version, this.options, other), - !(other instanceof _SemVer)) - ) { - if ("string" == typeof other && other === this.version) - return 0; - other = new _SemVer(other, this.options); - } - return other.version === this.version - ? 0 - : this.compareMain(other) || this.comparePre(other); - } - compareMain(other) { - return ( - other instanceof _SemVer || - (other = new _SemVer(other, this.options)), - compareIdentifiers(this.major, other.major) || - compareIdentifiers(this.minor, other.minor) || - compareIdentifiers(this.patch, other.patch) - ); - } - comparePre(other) { - if ( - (other instanceof _SemVer || - (other = new _SemVer(other, this.options)), - this.prerelease.length && !other.prerelease.length) - ) - return -1; - if (!this.prerelease.length && other.prerelease.length) - return 1; - if (!this.prerelease.length && !other.prerelease.length) - return 0; - let i = 0; - do { - let a = this.prerelease[i], - b = other.prerelease[i]; - if ( - (debug("prerelease compare", i, a, b), - void 0 === a && void 0 === b) - ) - return 0; - if (void 0 === b) return 1; - if (void 0 === a) return -1; - if (a !== b) return compareIdentifiers(a, b); - } while (++i); - } - compareBuild(other) { - other instanceof _SemVer || - (other = new _SemVer(other, this.options)); - let i = 0; - do { - let a = this.build[i], - b = other.build[i]; - if ( - (debug("build compare", i, a, b), - void 0 === a && void 0 === b) - ) - return 0; - if (void 0 === b) return 1; - if (void 0 === a) return -1; - if (a !== b) return compareIdentifiers(a, b); - } while (++i); - } - inc(release, identifier, identifierBase) { - switch (release) { - case "premajor": - (this.prerelease.length = 0), - (this.patch = 0), - (this.minor = 0), - this.major++, - this.inc("pre", identifier, identifierBase); - break; - case "preminor": - (this.prerelease.length = 0), - (this.patch = 0), - this.minor++, - this.inc("pre", identifier, identifierBase); - break; - case "prepatch": - (this.prerelease.length = 0), - this.inc("patch", identifier, identifierBase), - this.inc("pre", identifier, identifierBase); - break; - case "prerelease": - 0 === this.prerelease.length && - this.inc("patch", identifier, identifierBase), - this.inc("pre", identifier, identifierBase); - break; - case "major": - (0 !== this.minor || - 0 !== this.patch || - 0 === this.prerelease.length) && - this.major++, - (this.minor = 0), - (this.patch = 0), - (this.prerelease = []); - break; - case "minor": - (0 !== this.patch || 0 === this.prerelease.length) && - this.minor++, - (this.patch = 0), - (this.prerelease = []); - break; - case "patch": - 0 === this.prerelease.length && this.patch++, - (this.prerelease = []); - break; - case "pre": { - let base = Number(identifierBase) ? 1 : 0; - if (!identifier && !1 === identifierBase) - throw new Error( - "invalid increment argument: identifier is empty", - ); - if (0 === this.prerelease.length) - this.prerelease = [base]; - else { - let i = this.prerelease.length; - for (; --i >= 0; ) - "number" == typeof this.prerelease[i] && - (this.prerelease[i]++, (i = -2)); - if (-1 === i) { - if ( - identifier === this.prerelease.join(".") && - !1 === identifierBase - ) - throw new Error( - "invalid increment argument: identifier already exists", - ); - this.prerelease.push(base); - } - } - if (identifier) { - let prerelease = [identifier, base]; - !1 === identifierBase && (prerelease = [identifier]), - 0 === - compareIdentifiers(this.prerelease[0], identifier) - ? isNaN(this.prerelease[1]) && - (this.prerelease = prerelease) - : (this.prerelease = prerelease); - } - break; - } - default: - throw new Error(`invalid increment argument: ${release}`); - } - return ( - (this.raw = this.format()), - this.build.length && - (this.raw += `+${this.build.join(".")}`), - this - ); - } - }; - }, - }), - require_parse = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/parse.js"(exports, module) { - var SemVer = require_semver(); - module.exports = (version2, options, throwErrors = !1) => { - if (version2 instanceof SemVer) return version2; - try { - return new SemVer(version2, options); - } catch (er) { - if (!throwErrors) return null; - throw er; - } - }; - }, - }), - require_valid = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/valid.js"(exports, module) { - var parse = require_parse(); - module.exports = (version2, options) => { - let v = parse(version2, options); - return v ? v.version : null; - }; - }, - }), - require_clean = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/clean.js"(exports, module) { - var parse = require_parse(); - module.exports = (version2, options) => { - let s = parse(version2.trim().replace(/^[=v]+/, ""), options); - return s ? s.version : null; - }; - }, - }), - require_inc = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/inc.js"(exports, module) { - var SemVer = require_semver(); - module.exports = ( - version2, - release, - options, - identifier, - identifierBase, - ) => { - "string" == typeof options && - ((identifierBase = identifier), - (identifier = options), - (options = void 0)); - try { - return new SemVer( - version2 instanceof SemVer ? version2.version : version2, - options, - ).inc(release, identifier, identifierBase).version; - } catch { - return null; - } - }; - }, - }), - require_diff = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/diff.js"(exports, module) { - var parse = require_parse(); - module.exports = (version1, version2) => { - let v1 = parse(version1, null, !0), - v2 = parse(version2, null, !0), - comparison = v1.compare(v2); - if (0 === comparison) return null; - let v1Higher = comparison > 0, - highVersion = v1Higher ? v1 : v2, - lowVersion = v1Higher ? v2 : v1, - highHasPre = !!highVersion.prerelease.length; - if (lowVersion.prerelease.length && !highHasPre) - return lowVersion.patch || lowVersion.minor - ? highVersion.patch - ? "patch" - : highVersion.minor - ? "minor" - : "major" - : "major"; - let prefix = highHasPre ? "pre" : ""; - return v1.major !== v2.major - ? prefix + "major" - : v1.minor !== v2.minor - ? prefix + "minor" - : v1.patch !== v2.patch - ? prefix + "patch" - : "prerelease"; - }; - }, - }), - require_major = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/major.js"(exports, module) { - var SemVer = require_semver(); - module.exports = (a, loose) => new SemVer(a, loose).major; - }, - }), - require_minor = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/minor.js"(exports, module) { - var SemVer = require_semver(); - module.exports = (a, loose) => new SemVer(a, loose).minor; - }, - }), - require_patch = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/patch.js"(exports, module) { - var SemVer = require_semver(); - module.exports = (a, loose) => new SemVer(a, loose).patch; - }, - }), - require_prerelease = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/prerelease.js"( - exports, - module, - ) { - var parse = require_parse(); - module.exports = (version2, options) => { - let parsed = parse(version2, options); - return parsed && parsed.prerelease.length - ? parsed.prerelease - : null; - }; - }, - }), - require_compare = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/compare.js"(exports, module) { - var SemVer = require_semver(); - module.exports = (a, b, loose) => - new SemVer(a, loose).compare(new SemVer(b, loose)); - }, - }), - require_rcompare = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/rcompare.js"(exports, module) { - var compare = require_compare(); - module.exports = (a, b, loose) => compare(b, a, loose); - }, - }), - require_compare_loose = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/compare-loose.js"( - exports, - module, - ) { - var compare = require_compare(); - module.exports = (a, b) => compare(a, b, !0); - }, - }), - require_compare_build = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/compare-build.js"( - exports, - module, - ) { - var SemVer = require_semver(); - module.exports = (a, b, loose) => { - let versionA = new SemVer(a, loose), - versionB = new SemVer(b, loose); - return ( - versionA.compare(versionB) || versionA.compareBuild(versionB) - ); - }; - }, - }), - require_sort = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/sort.js"(exports, module) { - var compareBuild = require_compare_build(); - module.exports = (list, loose) => - list.sort((a, b) => compareBuild(a, b, loose)); - }, - }), - require_rsort = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/rsort.js"(exports, module) { - var compareBuild = require_compare_build(); - module.exports = (list, loose) => - list.sort((a, b) => compareBuild(b, a, loose)); - }, - }), - require_gt = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/gt.js"(exports, module) { - var compare = require_compare(); - module.exports = (a, b, loose) => compare(a, b, loose) > 0; - }, - }), - require_lt = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/lt.js"(exports, module) { - var compare = require_compare(); - module.exports = (a, b, loose) => compare(a, b, loose) < 0; - }, - }), - require_eq = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/eq.js"(exports, module) { - var compare = require_compare(); - module.exports = (a, b, loose) => 0 === compare(a, b, loose); - }, - }), - require_neq = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/neq.js"(exports, module) { - var compare = require_compare(); - module.exports = (a, b, loose) => 0 !== compare(a, b, loose); - }, - }), - require_gte = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/gte.js"(exports, module) { - var compare = require_compare(); - module.exports = (a, b, loose) => compare(a, b, loose) >= 0; - }, - }), - require_lte = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/lte.js"(exports, module) { - var compare = require_compare(); - module.exports = (a, b, loose) => compare(a, b, loose) <= 0; - }, - }), - require_cmp = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/cmp.js"(exports, module) { - var eq = require_eq(), - neq = require_neq(), - gt = require_gt(), - gte = require_gte(), - lt = require_lt(), - lte = require_lte(); - module.exports = (a, op, b, loose) => { - switch (op) { - case "===": - return ( - "object" == typeof a && (a = a.version), - "object" == typeof b && (b = b.version), - a === b - ); - case "!==": - return ( - "object" == typeof a && (a = a.version), - "object" == typeof b && (b = b.version), - a !== b - ); - case "": - case "=": - case "==": - return eq(a, b, loose); - case "!=": - return neq(a, b, loose); - case ">": - return gt(a, b, loose); - case ">=": - return gte(a, b, loose); - case "<": - return lt(a, b, loose); - case "<=": - return lte(a, b, loose); - default: - throw new TypeError(`Invalid operator: ${op}`); - } - }; - }, - }), - require_coerce = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/coerce.js"(exports, module) { - var SemVer = require_semver(), - parse = require_parse(), - { safeRe: re, t } = require_re(); - module.exports = (version2, options) => { - if (version2 instanceof SemVer) return version2; - if ( - ("number" == typeof version2 && (version2 = String(version2)), - "string" != typeof version2) - ) - return null; - let match = null; - if ((options = options || {}).rtl) { - let next, - coerceRtlRegex = options.includePrerelease - ? re[t.COERCERTLFULL] - : re[t.COERCERTL]; - for ( - ; - (next = coerceRtlRegex.exec(version2)) && - (!match || - match.index + match[0].length !== version2.length); - - ) - (!match || - next.index + next[0].length !== - match.index + match[0].length) && - (match = next), - (coerceRtlRegex.lastIndex = - next.index + next[1].length + next[2].length); - coerceRtlRegex.lastIndex = -1; - } else - match = version2.match( - options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE], - ); - if (null === match) return null; - let major = match[2], - minor = match[3] || "0", - patch = match[4] || "0", - prerelease = - options.includePrerelease && match[5] ? `-${match[5]}` : "", - build = - options.includePrerelease && match[6] ? `+${match[6]}` : ""; - return parse( - `${major}.${minor}.${patch}${prerelease}${build}`, - options, - ); - }; - }, - }), - require_lrucache = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/internal/lrucache.js"(exports, module) { - module.exports = class { - constructor() { - (this.max = 1e3), (this.map = new Map()); - } - get(key) { - let value = this.map.get(key); - if (void 0 !== value) - return ( - this.map.delete(key), this.map.set(key, value), value - ); - } - delete(key) { - return this.map.delete(key); - } - set(key, value) { - if (!this.delete(key) && void 0 !== value) { - if (this.map.size >= this.max) { - let firstKey = this.map.keys().next().value; - this.delete(firstKey); - } - this.map.set(key, value); - } - return this; - } - }; - }, - }), - require_range = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/classes/range.js"(exports, module) { - var SPACE_CHARACTERS = /\s+/g; - module.exports = class _Range { - constructor(range, options) { - if ( - ((options = parseOptions(options)), range instanceof _Range) - ) - return range.loose === !!options.loose && - range.includePrerelease === !!options.includePrerelease - ? range - : new _Range(range.raw, options); - if (range instanceof Comparator) - return ( - (this.raw = range.value), - (this.set = [[range]]), - (this.formatted = void 0), - this - ); - if ( - ((this.options = options), - (this.loose = !!options.loose), - (this.includePrerelease = !!options.includePrerelease), - (this.raw = range.trim().replace(SPACE_CHARACTERS, " ")), - (this.set = this.raw - .split("||") - .map((r) => this.parseRange(r.trim())) - .filter((c) => c.length)), - !this.set.length) - ) - throw new TypeError(`Invalid SemVer Range: ${this.raw}`); - if (this.set.length > 1) { - let first = this.set[0]; - if ( - ((this.set = this.set.filter((c) => !isNullSet(c[0]))), - 0 === this.set.length) - ) - this.set = [first]; - else if (this.set.length > 1) - for (let c of this.set) - if (1 === c.length && isAny(c[0])) { - this.set = [c]; - break; - } - } - this.formatted = void 0; - } - get range() { - if (void 0 === this.formatted) { - this.formatted = ""; - for (let i = 0; i < this.set.length; i++) { - i > 0 && (this.formatted += "||"); - let comps = this.set[i]; - for (let k = 0; k < comps.length; k++) - k > 0 && (this.formatted += " "), - (this.formatted += comps[k].toString().trim()); - } - } - return this.formatted; - } - format() { - return this.range; - } - toString() { - return this.range; - } - parseRange(range) { - let memoKey = - ((this.options.includePrerelease && - FLAG_INCLUDE_PRERELEASE) | - (this.options.loose && FLAG_LOOSE)) + - ":" + - range, - cached = cache.get(memoKey); - if (cached) return cached; - let loose = this.options.loose, - hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]; - (range = range.replace( - hr, - hyphenReplace(this.options.includePrerelease), - )), - debug("hyphen replace", range), - (range = range.replace( - re[t.COMPARATORTRIM], - comparatorTrimReplace, - )), - debug("comparator trim", range), - (range = range.replace(re[t.TILDETRIM], tildeTrimReplace)), - debug("tilde trim", range), - (range = range.replace(re[t.CARETTRIM], caretTrimReplace)), - debug("caret trim", range); - let rangeList = range - .split(" ") - .map((comp) => parseComparator(comp, this.options)) - .join(" ") - .split(/\s+/) - .map((comp) => replaceGTE0(comp, this.options)); - loose && - (rangeList = rangeList.filter( - (comp) => ( - debug("loose invalid filter", comp, this.options), - !!comp.match(re[t.COMPARATORLOOSE]) - ), - )), - debug("range list", rangeList); - let rangeMap = new Map(), - comparators = rangeList.map( - (comp) => new Comparator(comp, this.options), - ); - for (let comp of comparators) { - if (isNullSet(comp)) return [comp]; - rangeMap.set(comp.value, comp); - } - rangeMap.size > 1 && rangeMap.has("") && rangeMap.delete(""); - let result = [...rangeMap.values()]; - return cache.set(memoKey, result), result; - } - intersects(range, options) { - if (!(range instanceof _Range)) - throw new TypeError("a Range is required"); - return this.set.some( - (thisComparators) => - isSatisfiable(thisComparators, options) && - range.set.some( - (rangeComparators) => - isSatisfiable(rangeComparators, options) && - thisComparators.every((thisComparator) => - rangeComparators.every((rangeComparator) => - thisComparator.intersects( - rangeComparator, - options, - ), - ), - ), - ), - ); - } - test(version2) { - if (!version2) return !1; - if ("string" == typeof version2) - try { - version2 = new SemVer(version2, this.options); - } catch { - return !1; - } - for (let i = 0; i < this.set.length; i++) - if (testSet(this.set[i], version2, this.options)) return !0; - return !1; - } - }; - var cache = new (require_lrucache())(), - parseOptions = require_parse_options(), - Comparator = require_comparator(), - debug = require_debug(), - SemVer = require_semver(), - { - safeRe: re, - t, - comparatorTrimReplace, - tildeTrimReplace, - caretTrimReplace, - } = require_re(), - { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants(), - isNullSet = (c) => "<0.0.0-0" === c.value, - isAny = (c) => "" === c.value, - isSatisfiable = (comparators, options) => { - let result = !0, - remainingComparators = comparators.slice(), - testComparator = remainingComparators.pop(); - for (; result && remainingComparators.length; ) - (result = remainingComparators.every((otherComparator) => - testComparator.intersects(otherComparator, options), - )), - (testComparator = remainingComparators.pop()); - return result; - }, - parseComparator = (comp, options) => ( - debug("comp", comp, options), - (comp = replaceCarets(comp, options)), - debug("caret", comp), - (comp = replaceTildes(comp, options)), - debug("tildes", comp), - (comp = replaceXRanges(comp, options)), - debug("xrange", comp), - (comp = replaceStars(comp, options)), - debug("stars", comp), - comp - ), - isX = (id) => !id || "x" === id.toLowerCase() || "*" === id, - replaceTildes = (comp, options) => - comp - .trim() - .split(/\s+/) - .map((c) => replaceTilde(c, options)) - .join(" "), - replaceTilde = (comp, options) => { - let r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]; - return comp.replace(r, (_, M, m, p, pr) => { - let ret; - return ( - debug("tilde", comp, _, M, m, p, pr), - isX(M) - ? (ret = "") - : isX(m) - ? (ret = `>=${M}.0.0 <${+M + 1}.0.0-0`) - : isX(p) - ? (ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`) - : pr - ? (debug("replaceTilde pr", pr), - (ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`)) - : (ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`), - debug("tilde return", ret), - ret - ); - }); - }, - replaceCarets = (comp, options) => - comp - .trim() - .split(/\s+/) - .map((c) => replaceCaret(c, options)) - .join(" "), - replaceCaret = (comp, options) => { - debug("caret", comp, options); - let r = options.loose ? re[t.CARETLOOSE] : re[t.CARET], - z = options.includePrerelease ? "-0" : ""; - return comp.replace(r, (_, M, m, p, pr) => { - let ret; - return ( - debug("caret", comp, _, M, m, p, pr), - isX(M) - ? (ret = "") - : isX(m) - ? (ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`) - : isX(p) - ? (ret = - "0" === M - ? `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0` - : `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`) - : pr - ? (debug("replaceCaret pr", pr), - (ret = - "0" === M - ? "0" === m - ? `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0` - : `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0` - : `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`)) - : (debug("no pr"), - (ret = - "0" === M - ? "0" === m - ? `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0` - : `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0` - : `>=${M}.${m}.${p} <${+M + 1}.0.0-0`)), - debug("caret return", ret), - ret - ); - }); - }, - replaceXRanges = (comp, options) => ( - debug("replaceXRanges", comp, options), - comp - .split(/\s+/) - .map((c) => replaceXRange(c, options)) - .join(" ") - ), - replaceXRange = (comp, options) => { - comp = comp.trim(); - let r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]; - return comp.replace(r, (ret, gtlt, M, m, p, pr) => { - debug("xRange", comp, ret, gtlt, M, m, p, pr); - let xM = isX(M), - xm = xM || isX(m), - xp = xm || isX(p), - anyX = xp; - return ( - "=" === gtlt && anyX && (gtlt = ""), - (pr = options.includePrerelease ? "-0" : ""), - xM - ? (ret = - ">" === gtlt || "<" === gtlt ? "<0.0.0-0" : "*") - : gtlt && anyX - ? (xm && (m = 0), - (p = 0), - ">" === gtlt - ? ((gtlt = ">="), - xm - ? ((M = +M + 1), (m = 0), (p = 0)) - : ((m = +m + 1), (p = 0))) - : "<=" === gtlt && - ((gtlt = "<"), - xm ? (M = +M + 1) : (m = +m + 1)), - "<" === gtlt && (pr = "-0"), - (ret = `${gtlt + M}.${m}.${p}${pr}`)) - : xm - ? (ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`) - : xp && - (ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`), - debug("xRange return", ret), - ret - ); - }); - }, - replaceStars = (comp, options) => ( - debug("replaceStars", comp, options), - comp.trim().replace(re[t.STAR], "") - ), - replaceGTE0 = (comp, options) => ( - debug("replaceGTE0", comp, options), - comp - .trim() - .replace( - re[options.includePrerelease ? t.GTE0PRE : t.GTE0], - "", - ) - ), - hyphenReplace = - (incPr) => - ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => - `${(from = isX(fM) ? "" : isX(fm) ? `>=${fM}.0.0${incPr ? "-0" : ""}` : isX(fp) ? `>=${fM}.${fm}.0${incPr ? "-0" : ""}` : fpr ? `>=${from}` : `>=${from}${incPr ? "-0" : ""}`)} ${(to = isX(tM) ? "" : isX(tm) ? `<${+tM + 1}.0.0-0` : isX(tp) ? `<${tM}.${+tm + 1}.0-0` : tpr ? `<=${tM}.${tm}.${tp}-${tpr}` : incPr ? `<${tM}.${tm}.${+tp + 1}-0` : `<=${to}`)}`.trim(), - testSet = (set, version2, options) => { - for (let i = 0; i < set.length; i++) - if (!set[i].test(version2)) return !1; - if ( - version2.prerelease.length && - !options.includePrerelease - ) { - for (let i = 0; i < set.length; i++) - if ( - (debug(set[i].semver), - set[i].semver !== Comparator.ANY && - set[i].semver.prerelease.length > 0) - ) { - let allowed = set[i].semver; - if ( - allowed.major === version2.major && - allowed.minor === version2.minor && - allowed.patch === version2.patch - ) - return !0; - } - return !1; - } - return !0; - }; - }, - }), - require_comparator = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/classes/comparator.js"(exports, module) { - var ANY = Symbol("SemVer ANY"); - module.exports = class _Comparator { - static get ANY() { - return ANY; - } - constructor(comp, options) { - if ( - ((options = parseOptions(options)), - comp instanceof _Comparator) - ) { - if (comp.loose === !!options.loose) return comp; - comp = comp.value; - } - (comp = comp.trim().split(/\s+/).join(" ")), - debug("comparator", comp, options), - (this.options = options), - (this.loose = !!options.loose), - this.parse(comp), - this.semver === ANY - ? (this.value = "") - : (this.value = this.operator + this.semver.version), - debug("comp", this); - } - parse(comp) { - let r = this.options.loose - ? re[t.COMPARATORLOOSE] - : re[t.COMPARATOR], - m = comp.match(r); - if (!m) throw new TypeError(`Invalid comparator: ${comp}`); - (this.operator = void 0 !== m[1] ? m[1] : ""), - "=" === this.operator && (this.operator = ""), - m[2] - ? (this.semver = new SemVer(m[2], this.options.loose)) - : (this.semver = ANY); - } - toString() { - return this.value; - } - test(version2) { - if ( - (debug("Comparator.test", version2, this.options.loose), - this.semver === ANY || version2 === ANY) - ) - return !0; - if ("string" == typeof version2) - try { - version2 = new SemVer(version2, this.options); - } catch { - return !1; - } - return cmp( - version2, - this.operator, - this.semver, - this.options, - ); - } - intersects(comp, options) { - if (!(comp instanceof _Comparator)) - throw new TypeError("a Comparator is required"); - return "" === this.operator - ? "" === this.value || - new Range(comp.value, options).test(this.value) - : "" === comp.operator - ? "" === comp.value || - new Range(this.value, options).test(comp.semver) - : !( - ((options = parseOptions(options)) - .includePrerelease && - ("<0.0.0-0" === this.value || - "<0.0.0-0" === comp.value)) || - (!options.includePrerelease && - (this.value.startsWith("<0.0.0") || - comp.value.startsWith("<0.0.0"))) - ) && - !!( - (this.operator.startsWith(">") && - comp.operator.startsWith(">")) || - (this.operator.startsWith("<") && - comp.operator.startsWith("<")) || - (this.semver.version === comp.semver.version && - this.operator.includes("=") && - comp.operator.includes("=")) || - (cmp(this.semver, "<", comp.semver, options) && - this.operator.startsWith(">") && - comp.operator.startsWith("<")) || - (cmp(this.semver, ">", comp.semver, options) && - this.operator.startsWith("<") && - comp.operator.startsWith(">")) - ); - } - }; - var parseOptions = require_parse_options(), - { safeRe: re, t } = require_re(), - cmp = require_cmp(), - debug = require_debug(), - SemVer = require_semver(), - Range = require_range(); - }, - }), - require_satisfies = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/functions/satisfies.js"( - exports, - module, - ) { - var Range = require_range(); - module.exports = (version2, range, options) => { - try { - range = new Range(range, options); - } catch { - return !1; - } - return range.test(version2); - }; - }, - }), - require_to_comparators = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/to-comparators.js"( - exports, - module, - ) { - var Range = require_range(); - module.exports = (range, options) => - new Range(range, options).set.map((comp) => - comp - .map((c) => c.value) - .join(" ") - .trim() - .split(" "), - ); - }, - }), - require_max_satisfying = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/max-satisfying.js"( - exports, - module, - ) { - var SemVer = require_semver(), - Range = require_range(); - module.exports = (versions, range, options) => { - let max = null, - maxSV = null, - rangeObj = null; - try { - rangeObj = new Range(range, options); - } catch { - return null; - } - return ( - versions.forEach((v) => { - rangeObj.test(v) && - (!max || -1 === maxSV.compare(v)) && - ((max = v), (maxSV = new SemVer(max, options))); - }), - max - ); - }; - }, - }), - require_min_satisfying = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/min-satisfying.js"( - exports, - module, - ) { - var SemVer = require_semver(), - Range = require_range(); - module.exports = (versions, range, options) => { - let min = null, - minSV = null, - rangeObj = null; - try { - rangeObj = new Range(range, options); - } catch { - return null; - } - return ( - versions.forEach((v) => { - rangeObj.test(v) && - (!min || 1 === minSV.compare(v)) && - ((min = v), (minSV = new SemVer(min, options))); - }), - min - ); - }; - }, - }), - require_min_version = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/min-version.js"(exports, module) { - var SemVer = require_semver(), - Range = require_range(), - gt = require_gt(); - module.exports = (range, loose) => { - range = new Range(range, loose); - let minver = new SemVer("0.0.0"); - if ( - range.test(minver) || - ((minver = new SemVer("0.0.0-0")), range.test(minver)) - ) - return minver; - minver = null; - for (let i = 0; i < range.set.length; ++i) { - let comparators = range.set[i], - setMin = null; - comparators.forEach((comparator) => { - let compver = new SemVer(comparator.semver.version); - switch (comparator.operator) { - case ">": - 0 === compver.prerelease.length - ? compver.patch++ - : compver.prerelease.push(0), - (compver.raw = compver.format()); - case "": - case ">=": - (!setMin || gt(compver, setMin)) && (setMin = compver); - break; - case "<": - case "<=": - break; - default: - throw new Error( - `Unexpected operation: ${comparator.operator}`, - ); - } - }), - setMin && - (!minver || gt(minver, setMin)) && - (minver = setMin); - } - return minver && range.test(minver) ? minver : null; - }; - }, - }), - require_valid2 = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/valid.js"(exports, module) { - var Range = require_range(); - module.exports = (range, options) => { - try { - return new Range(range, options).range || "*"; - } catch { - return null; - } - }; - }, - }), - require_outside = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/outside.js"(exports, module) { - var SemVer = require_semver(), - Comparator = require_comparator(), - { ANY } = Comparator, - Range = require_range(), - satisfies = require_satisfies(), - gt = require_gt(), - lt = require_lt(), - lte = require_lte(), - gte = require_gte(); - module.exports = (version2, range, hilo, options) => { - let gtfn, ltefn, ltfn, comp, ecomp; - switch ( - ((version2 = new SemVer(version2, options)), - (range = new Range(range, options)), - hilo) - ) { - case ">": - (gtfn = gt), - (ltefn = lte), - (ltfn = lt), - (comp = ">"), - (ecomp = ">="); - break; - case "<": - (gtfn = lt), - (ltefn = gte), - (ltfn = gt), - (comp = "<"), - (ecomp = "<="); - break; - default: - throw new TypeError( - 'Must provide a hilo val of "<" or ">"', - ); - } - if (satisfies(version2, range, options)) return !1; - for (let i = 0; i < range.set.length; ++i) { - let comparators = range.set[i], - high = null, - low = null; - if ( - (comparators.forEach((comparator) => { - comparator.semver === ANY && - (comparator = new Comparator(">=0.0.0")), - (high = high || comparator), - (low = low || comparator), - gtfn(comparator.semver, high.semver, options) - ? (high = comparator) - : ltfn(comparator.semver, low.semver, options) && - (low = comparator); - }), - high.operator === comp || - high.operator === ecomp || - ((!low.operator || low.operator === comp) && - ltefn(version2, low.semver))) - ) - return !1; - if (low.operator === ecomp && ltfn(version2, low.semver)) - return !1; - } - return !0; - }; - }, - }), - require_gtr = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/gtr.js"(exports, module) { - var outside = require_outside(); - module.exports = (version2, range, options) => - outside(version2, range, ">", options); - }, - }), - require_ltr = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/ltr.js"(exports, module) { - var outside = require_outside(); - module.exports = (version2, range, options) => - outside(version2, range, "<", options); - }, - }), - require_intersects = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/intersects.js"(exports, module) { - var Range = require_range(); - module.exports = (r1, r2, options) => ( - (r1 = new Range(r1, options)), - (r2 = new Range(r2, options)), - r1.intersects(r2, options) - ); - }, - }), - require_simplify = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/simplify.js"(exports, module) { - var satisfies = require_satisfies(), - compare = require_compare(); - module.exports = (versions, range, options) => { - let set = [], - first = null, - prev = null, - v = versions.sort((a, b) => compare(a, b, options)); - for (let version2 of v) - satisfies(version2, range, options) - ? ((prev = version2), first || (first = version2)) - : (prev && set.push([first, prev]), - (prev = null), - (first = null)); - first && set.push([first, null]); - let ranges = []; - for (let [min, max] of set) - min === max - ? ranges.push(min) - : max || min !== v[0] - ? max - ? min === v[0] - ? ranges.push(`<=${max}`) - : ranges.push(`${min} - ${max}`) - : ranges.push(`>=${min}`) - : ranges.push("*"); - let simplified = ranges.join(" || "), - original = - "string" == typeof range.raw ? range.raw : String(range); - return simplified.length < original.length ? simplified : range; - }; - }, - }), - require_subset = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/ranges/subset.js"(exports, module) { - var Range = require_range(), - Comparator = require_comparator(), - { ANY } = Comparator, - satisfies = require_satisfies(), - compare = require_compare(), - minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")], - minimumVersion = [new Comparator(">=0.0.0")], - simpleSubset = (sub, dom, options) => { - if (sub === dom) return !0; - if (1 === sub.length && sub[0].semver === ANY) { - if (1 === dom.length && dom[0].semver === ANY) return !0; - sub = options.includePrerelease - ? minimumVersionWithPreRelease - : minimumVersion; - } - if (1 === dom.length && dom[0].semver === ANY) { - if (options.includePrerelease) return !0; - dom = minimumVersion; - } - let gt, - lt, - gtltComp, - eqSet = new Set(); - for (let c of sub) - ">" === c.operator || ">=" === c.operator - ? (gt = higherGT(gt, c, options)) - : "<" === c.operator || "<=" === c.operator - ? (lt = lowerLT(lt, c, options)) - : eqSet.add(c.semver); - if (eqSet.size > 1) return null; - if (gt && lt) { - if ( - ((gtltComp = compare(gt.semver, lt.semver, options)), - gtltComp > 0) - ) - return null; - if ( - 0 === gtltComp && - (">=" !== gt.operator || "<=" !== lt.operator) - ) - return null; - } - for (let eq of eqSet) { - if ( - (gt && !satisfies(eq, String(gt), options)) || - (lt && !satisfies(eq, String(lt), options)) - ) - return null; - for (let c of dom) - if (!satisfies(eq, String(c), options)) return !1; - return !0; - } - let higher, - lower, - hasDomLT, - hasDomGT, - needDomLTPre = - !( - !lt || - options.includePrerelease || - !lt.semver.prerelease.length - ) && lt.semver, - needDomGTPre = - !( - !gt || - options.includePrerelease || - !gt.semver.prerelease.length - ) && gt.semver; - needDomLTPre && - 1 === needDomLTPre.prerelease.length && - "<" === lt.operator && - 0 === needDomLTPre.prerelease[0] && - (needDomLTPre = !1); - for (let c of dom) { - if ( - ((hasDomGT = - hasDomGT || ">" === c.operator || ">=" === c.operator), - (hasDomLT = - hasDomLT || "<" === c.operator || "<=" === c.operator), - gt) - ) - if ( - (needDomGTPre && - c.semver.prerelease && - c.semver.prerelease.length && - c.semver.major === needDomGTPre.major && - c.semver.minor === needDomGTPre.minor && - c.semver.patch === needDomGTPre.patch && - (needDomGTPre = !1), - ">" === c.operator || ">=" === c.operator) - ) { - if ( - ((higher = higherGT(gt, c, options)), - higher === c && higher !== gt) - ) - return !1; - } else if ( - ">=" === gt.operator && - !satisfies(gt.semver, String(c), options) - ) - return !1; - if (lt) - if ( - (needDomLTPre && - c.semver.prerelease && - c.semver.prerelease.length && - c.semver.major === needDomLTPre.major && - c.semver.minor === needDomLTPre.minor && - c.semver.patch === needDomLTPre.patch && - (needDomLTPre = !1), - "<" === c.operator || "<=" === c.operator) - ) { - if ( - ((lower = lowerLT(lt, c, options)), - lower === c && lower !== lt) - ) - return !1; - } else if ( - "<=" === lt.operator && - !satisfies(lt.semver, String(c), options) - ) - return !1; - if (!c.operator && (lt || gt) && 0 !== gtltComp) return !1; - } - return !( - (gt && hasDomLT && !lt && 0 !== gtltComp) || - (lt && hasDomGT && !gt && 0 !== gtltComp) || - needDomGTPre || - needDomLTPre - ); - }, - higherGT = (a, b, options) => { - if (!a) return b; - let comp = compare(a.semver, b.semver, options); - return comp > 0 - ? a - : comp < 0 || (">" === b.operator && ">=" === a.operator) - ? b - : a; - }, - lowerLT = (a, b, options) => { - if (!a) return b; - let comp = compare(a.semver, b.semver, options); - return comp < 0 - ? a - : comp > 0 || ("<" === b.operator && "<=" === a.operator) - ? b - : a; - }; - module.exports = (sub, dom, options = {}) => { - if (sub === dom) return !0; - (sub = new Range(sub, options)), - (dom = new Range(dom, options)); - let sawNonNull = !1; - OUTER: for (let simpleSub of sub.set) { - for (let simpleDom of dom.set) { - let isSub = simpleSubset(simpleSub, simpleDom, options); - if (((sawNonNull = sawNonNull || null !== isSub), isSub)) - continue OUTER; - } - if (sawNonNull) return !1; - } - return !0; - }; - }, - }), - require_semver2 = (0, chunk_XP5HYGXS.P$)({ - "../../node_modules/semver/index.js"(exports, module) { - var internalRe = require_re(), - constants = require_constants(), - SemVer = require_semver(), - identifiers = require_identifiers(), - parse = require_parse(), - valid = require_valid(), - clean = require_clean(), - inc = require_inc(), - diff = require_diff(), - major = require_major(), - minor = require_minor(), - patch = require_patch(), - prerelease = require_prerelease(), - compare = require_compare(), - rcompare = require_rcompare(), - compareLoose = require_compare_loose(), - compareBuild = require_compare_build(), - sort = require_sort(), - rsort = require_rsort(), - gt = require_gt(), - lt = require_lt(), - eq = require_eq(), - neq = require_neq(), - gte = require_gte(), - lte = require_lte(), - cmp = require_cmp(), - coerce = require_coerce(), - Comparator = require_comparator(), - Range = require_range(), - satisfies = require_satisfies(), - toComparators = require_to_comparators(), - maxSatisfying = require_max_satisfying(), - minSatisfying = require_min_satisfying(), - minVersion = require_min_version(), - validRange = require_valid2(), - outside = require_outside(), - gtr = require_gtr(), - ltr = require_ltr(), - intersects = require_intersects(), - simplifyRange = require_simplify(), - subset = require_subset(); - module.exports = { - parse, - valid, - clean, - inc, - diff, - major, - minor, - patch, - prerelease, - compare, - rcompare, - compareLoose, - compareBuild, - sort, - rsort, - gt, - lt, - eq, - neq, - gte, - lte, - cmp, - coerce, - Comparator, - Range, - satisfies, - toComparators, - maxSatisfying, - minSatisfying, - minVersion, - validRange, - outside, - gtr, - ltr, - intersects, - simplifyRange, - subset, - SemVer, - re: internalRe.re, - src: internalRe.src, - tokens: internalRe.t, - SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION, - RELEASE_TYPES: constants.RELEASE_TYPES, - compareIdentifiers: identifiers.compareIdentifiers, - rcompareIdentifiers: identifiers.rcompareIdentifiers, - }; - }, - }); - (0, chunk_XP5HYGXS.VA)( - {}, - { - decorators: () => decorators, - mount: () => mount, - parameters: () => parameters, - render: () => render, - renderToCanvas: () => renderToCanvas, - }, - ); - var import_semver = (0, chunk_XP5HYGXS.f1)(require_semver2()), - render = (args, context) => { - let { id, component: Component } = context; - if (!Component) - throw new Error( - `Unable to render story ${id} as the component annotation is missing from the default export`, - ); - return react.createElement(Component, { ...args }); - }, - clonedReact = { ...react_namespaceObject }; - function setReactActEnvironment(isReactActEnvironment) { - globalThis.IS_REACT_ACT_ENVIRONMENT = isReactActEnvironment; - } - function getReactActEnvironment() { - return globalThis.IS_REACT_ACT_ENVIRONMENT; - } - (function withGlobalActEnvironment(actImplementation) { - return (callback) => { - let previousActEnvironment = getReactActEnvironment(); - setReactActEnvironment(!0); - try { - let callbackNeedsToBeAwaited = !1, - actResult = actImplementation(() => { - let result = callback(); - return ( - null !== result && - "object" == typeof result && - "function" == typeof result.then && - (callbackNeedsToBeAwaited = !0), - result - ); - }); - if (callbackNeedsToBeAwaited) { - let thenable = actResult; - return { - then: (resolve, reject) => { - thenable.then( - (returnValue) => { - setReactActEnvironment(previousActEnvironment), - resolve(returnValue); - }, - (error) => { - setReactActEnvironment(previousActEnvironment), - reject(error); - }, - ); - }, - }; - } - return setReactActEnvironment(previousActEnvironment), actResult; - } catch (error) { - throw (setReactActEnvironment(previousActEnvironment), error); - } - }; - })( - "function" == typeof clonedReact.act - ? clonedReact.act - : react_dom_test_utils_production.Rb, - ); - var { FRAMEWORK_OPTIONS } = external_STORYBOOK_MODULE_GLOBAL_.global, - ErrorBoundary = class extends react.Component { - constructor() { - super(...arguments), (this.state = { hasError: !1 }); - } - static getDerivedStateFromError() { - return { hasError: !0 }; - } - componentDidMount() { - let { hasError } = this.state, - { showMain } = this.props; - hasError || showMain(); - } - componentDidCatch(err) { - let { showException } = this.props; - showException(err); - } - render() { - let { hasError } = this.state, - { children } = this.props; - return hasError ? null : children; - } - }, - Wrapper = FRAMEWORK_OPTIONS?.strictMode - ? react.StrictMode - : react.Fragment; - async function renderToCanvas( - { - storyContext, - unboundStoryFn, - showMain, - showException, - forceRemount, - }, - canvasElement, - ) { - let { renderElement, unmountElement } = await __webpack_require__ - .e(996) - .then( - __webpack_require__.bind( - __webpack_require__, - "../node_modules/.pnpm/@storybook+react-dom-shim@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7/node_modules/@storybook/react-dom-shim/dist/react-18.mjs", - ), - ), - Story = unboundStoryFn, - content = getReactActEnvironment() - ? react.createElement(Story, { ...storyContext }) - : react.createElement( - ErrorBoundary, - { showMain, showException }, - react.createElement(Story, { ...storyContext }), - ), - element = Wrapper - ? react.createElement(Wrapper, null, content) - : content; - return ( - forceRemount && unmountElement(canvasElement), - await renderElement( - element, - canvasElement, - storyContext?.parameters?.react?.rootOptions, - ), - () => unmountElement(canvasElement) - ); - } - var mount = (context) => async (ui) => ( - null != ui && (context.originalStoryFn = () => ui), - await context.renderToCanvas(), - context.canvas - ), - parameters = { renderer: "react" }, - decorators = [ - (Story, context) => { - if (!context.parameters?.react?.rsc) - return react.createElement(Story, null); - let major = import_semver.default.major(react.version), - minor = import_semver.default.minor(react.version); - if (major < 18 || (18 === major && minor < 3)) - throw new Error( - "React Server Components require React >= 18.3", - ); - return react.createElement( - react.Suspense, - null, - react.createElement(Story, null), - ); - }, - ]; - }, - "../node_modules/.pnpm/@storybook+test@8.4.7_storybook@8.4.7/node_modules/@storybook/test/dist/index.mjs": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { fn: () => fn2 }); - var _storybook_global__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__("@storybook/global"), - _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - "../node_modules/.pnpm/@storybook+instrumenter@8.4.7_storybook@8.4.7/node_modules/@storybook/instrumenter/dist/index.mjs", - ), - storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__("storybook/internal/client-logger"); - module = __webpack_require__.hmd(module); - var cb, - mod, - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - Buffer = __webpack_require__( - "../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js", - ).Buffer, - process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ), - __create = Object.create, - __defProp = Object.defineProperty, - __getOwnPropDesc = Object.getOwnPropertyDescriptor, - __getOwnPropNames = Object.getOwnPropertyNames, - __getProtoOf = Object.getPrototypeOf, - __hasOwnProp = Object.prototype.hasOwnProperty, - __require = __webpack_require__( - "../node_modules/.pnpm/@storybook+test@8.4.7_storybook@8.4.7/node_modules/@storybook/test/dist sync recursive", - ), - __commonJS = (cb, mod) => - function () { - return ( - mod || - (0, cb[__getOwnPropNames(cb)[0]])( - (mod = { exports: {} }).exports, - mod, - ), - mod.exports - ); - }, - __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: !0 }); - }, - __toESM = (mod, isNodeMode, target) => ( - (target = null != mod ? __create(__getProtoOf(mod)) : {}), - ((to, from, except, desc) => { - if ( - (from && "object" == typeof from) || - "function" == typeof from - ) - for (let key of __getOwnPropNames(from)) - !__hasOwnProp.call(to, key) && - key !== except && - __defProp(to, key, { - get: () => from[key], - enumerable: - !(desc = __getOwnPropDesc(from, key)) || - desc.enumerable, - }); - return to; - })( - !isNodeMode && mod && mod.__esModule - ? target - : __defProp(target, "default", { value: mod, enumerable: !0 }), - mod, - ) - ), - require_min_indent = __commonJS({ - "../../node_modules/min-indent/index.js"(exports, module2) { - module2.exports = (string) => { - let match = string.match(/^[ \t]*(?=\S)/gm); - return match - ? match.reduce((r, a2) => Math.min(r, a2.length), 1 / 0) - : 0; - }; - }, - }), - require_strip_indent = __commonJS({ - "../../node_modules/strip-indent/index.js"(exports, module2) { - var minIndent = require_min_indent(); - module2.exports = (string) => { - let indent = minIndent(string); - if (0 === indent) return string; - let regex = new RegExp(`^[ \\t]{${indent}}`, "gm"); - return string.replace(regex, ""); - }; - }, - }), - require_indent_string = __commonJS({ - "../../node_modules/indent-string/index.js"(exports, module2) { - module2.exports = (string, count = 1, options) => { - if ( - ((options = { - indent: " ", - includeEmptyLines: !1, - ...options, - }), - "string" != typeof string) - ) - throw new TypeError( - `Expected \`input\` to be a \`string\`, got \`${typeof string}\``, - ); - if ("number" != typeof count) - throw new TypeError( - `Expected \`count\` to be a \`number\`, got \`${typeof count}\``, - ); - if ("string" != typeof options.indent) - throw new TypeError( - `Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``, - ); - if (0 === count) return string; - let regex = options.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm; - return string.replace(regex, options.indent.repeat(count)); - }; - }, - }), - require_redent = __commonJS({ - "../../node_modules/redent/index.js"(exports, module2) { - var stripIndent = require_strip_indent(), - indentString = require_indent_string(); - module2.exports = (string, count = 0, options) => - indentString(stripIndent(string), count, options); - }, - }), - require_iteratorProxy = __commonJS({ - "../../node_modules/aria-query/lib/util/iteratorProxy.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = function iteratorProxy() { - var values = this, - index = 0, - iter = { - "@@iterator": function () { - return iter; - }, - next: function () { - if (index < values.length) { - var value = values[index]; - return (index += 1), { done: !1, value }; - } - return { done: !0 }; - }, - }; - return iter; - }; - exports.default = _default2; - }, - }), - require_iterationDecorator = __commonJS({ - "../../node_modules/aria-query/lib/util/iterationDecorator.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = function iterationDecorator( - collection, - entries, - ) { - return ( - "function" == typeof Symbol && - "symbol" === _typeof5(Symbol.iterator) && - Object.defineProperty(collection, Symbol.iterator, { - value: _iteratorProxy.default.bind(entries), - }), - collection - ); - }); - var _iteratorProxy = (function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - })(require_iteratorProxy()); - function _typeof5(obj) { - return (_typeof5 = - "function" == typeof Symbol && - "symbol" == typeof Symbol.iterator - ? function (obj2) { - return typeof obj2; - } - : function (obj2) { - return obj2 && - "function" == typeof Symbol && - obj2.constructor === Symbol && - obj2 !== Symbol.prototype - ? "symbol" - : typeof obj2; - })(obj); - } - }, - }), - require_ariaPropsMap = __commonJS({ - "../../node_modules/aria-query/lib/ariaPropsMap.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _iterationDecorator = (function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - })(require_iterationDecorator()); - function _slicedToArray(arr, i) { - return ( - (function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - })(arr) || - (function _iterableToArrayLimit(arr, i) { - var _i = - null == arr - ? null - : (typeof Symbol < "u" && arr[Symbol.iterator]) || - arr["@@iterator"]; - if (null != _i) { - var _s, - _e, - _arr = [], - _n = !0, - _d = !1; - try { - for ( - _i = _i.call(arr); - !(_n = (_s = _i.next()).done) && - (_arr.push(_s.value), !i || _arr.length !== i); - _n = !0 - ); - } catch (err) { - (_d = !0), (_e = err); - } finally { - try { - !_n && null != _i.return && _i.return(); - } finally { - if (_d) throw _e; - } - } - return _arr; - } - })(arr, i) || - _unsupportedIterableToArray(arr, i) || - (function _nonIterableRest() { - throw new TypeError( - "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - })() - ); - } - function _unsupportedIterableToArray(o, minLen) { - if (o) { - if ("string" == typeof o) return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if ( - ("Object" === n && - o.constructor && - (n = o.constructor.name), - "Map" === n || "Set" === n) - ) - return Array.from(o); - if ( - "Arguments" === n || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ) - return _arrayLikeToArray(o, minLen); - } - } - function _arrayLikeToArray(arr, len) { - (null == len || len > arr.length) && (len = arr.length); - for (var i = 0, arr2 = new Array(len); i < len; i++) - arr2[i] = arr[i]; - return arr2; - } - var properties = [ - ["aria-activedescendant", { type: "id" }], - ["aria-atomic", { type: "boolean" }], - [ - "aria-autocomplete", - { - type: "token", - values: ["inline", "list", "both", "none"], - }, - ], - ["aria-braillelabel", { type: "string" }], - ["aria-brailleroledescription", { type: "string" }], - ["aria-busy", { type: "boolean" }], - ["aria-checked", { type: "tristate" }], - ["aria-colcount", { type: "integer" }], - ["aria-colindex", { type: "integer" }], - ["aria-colspan", { type: "integer" }], - ["aria-controls", { type: "idlist" }], - [ - "aria-current", - { - type: "token", - values: [ - "page", - "step", - "location", - "date", - "time", - !0, - !1, - ], - }, - ], - ["aria-describedby", { type: "idlist" }], - ["aria-description", { type: "string" }], - ["aria-details", { type: "id" }], - ["aria-disabled", { type: "boolean" }], - [ - "aria-dropeffect", - { - type: "tokenlist", - values: [ - "copy", - "execute", - "link", - "move", - "none", - "popup", - ], - }, - ], - ["aria-errormessage", { type: "id" }], - ["aria-expanded", { type: "boolean", allowundefined: !0 }], - ["aria-flowto", { type: "idlist" }], - ["aria-grabbed", { type: "boolean", allowundefined: !0 }], - [ - "aria-haspopup", - { - type: "token", - values: [ - !1, - !0, - "menu", - "listbox", - "tree", - "grid", - "dialog", - ], - }, - ], - ["aria-hidden", { type: "boolean", allowundefined: !0 }], - [ - "aria-invalid", - { type: "token", values: ["grammar", !1, "spelling", !0] }, - ], - ["aria-keyshortcuts", { type: "string" }], - ["aria-label", { type: "string" }], - ["aria-labelledby", { type: "idlist" }], - ["aria-level", { type: "integer" }], - [ - "aria-live", - { type: "token", values: ["assertive", "off", "polite"] }, - ], - ["aria-modal", { type: "boolean" }], - ["aria-multiline", { type: "boolean" }], - ["aria-multiselectable", { type: "boolean" }], - [ - "aria-orientation", - { - type: "token", - values: ["vertical", "undefined", "horizontal"], - }, - ], - ["aria-owns", { type: "idlist" }], - ["aria-placeholder", { type: "string" }], - ["aria-posinset", { type: "integer" }], - ["aria-pressed", { type: "tristate" }], - ["aria-readonly", { type: "boolean" }], - [ - "aria-relevant", - { - type: "tokenlist", - values: ["additions", "all", "removals", "text"], - }, - ], - ["aria-required", { type: "boolean" }], - ["aria-roledescription", { type: "string" }], - ["aria-rowcount", { type: "integer" }], - ["aria-rowindex", { type: "integer" }], - ["aria-rowspan", { type: "integer" }], - ["aria-selected", { type: "boolean", allowundefined: !0 }], - ["aria-setsize", { type: "integer" }], - [ - "aria-sort", - { - type: "token", - values: ["ascending", "descending", "none", "other"], - }, - ], - ["aria-valuemax", { type: "number" }], - ["aria-valuemin", { type: "number" }], - ["aria-valuenow", { type: "number" }], - ["aria-valuetext", { type: "string" }], - ], - ariaPropsMap = { - entries: function () { - return properties; - }, - forEach: function (fn3) { - var _step, - thisArg = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : null, - _iterator = (function _createForOfIteratorHelper( - o, - allowArrayLike, - ) { - var it = - (typeof Symbol < "u" && o[Symbol.iterator]) || - o["@@iterator"]; - if (!it) { - if ( - Array.isArray(o) || - (it = _unsupportedIterableToArray(o)) || - (allowArrayLike && o && "number" == typeof o.length) - ) { - it && (o = it); - var i = 0, - F = function () {}; - return { - s: F, - n: function () { - return i >= o.length - ? { done: !0 } - : { done: !1, value: o[i++] }; - }, - e: function (_e2) { - throw _e2; - }, - f: F, - }; - } - throw new TypeError( - "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - } - var err, - normalCompletion = !0, - didErr = !1; - return { - s: function () { - it = it.call(o); - }, - n: function () { - var step = it.next(); - return (normalCompletion = step.done), step; - }, - e: function (_e3) { - (didErr = !0), (err = _e3); - }, - f: function () { - try { - !normalCompletion && - null != it.return && - it.return(); - } finally { - if (didErr) throw err; - } - }, - }; - })(properties); - try { - for (_iterator.s(); !(_step = _iterator.n()).done; ) { - var _step$value = _slicedToArray(_step.value, 2), - key = _step$value[0], - values = _step$value[1]; - fn3.call(thisArg, values, key, properties); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }, - get: function (key) { - var item = properties.find(function (tuple) { - return tuple[0] === key; - }); - return item && item[1]; - }, - has: function (key) { - return !!ariaPropsMap.get(key); - }, - keys: function () { - return properties.map(function (_ref) { - return _slicedToArray(_ref, 1)[0]; - }); - }, - values: function () { - return properties.map(function (_ref3) { - return _slicedToArray(_ref3, 2)[1]; - }); - }, - }, - _default2 = (0, _iterationDecorator.default)( - ariaPropsMap, - ariaPropsMap.entries(), - ); - exports.default = _default2; - }, - }), - require_domMap = __commonJS({ - "../../node_modules/aria-query/lib/domMap.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _iterationDecorator = (function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - })(require_iterationDecorator()); - function _slicedToArray(arr, i) { - return ( - (function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - })(arr) || - (function _iterableToArrayLimit(arr, i) { - var _i = - null == arr - ? null - : (typeof Symbol < "u" && arr[Symbol.iterator]) || - arr["@@iterator"]; - if (null != _i) { - var _s, - _e, - _arr = [], - _n = !0, - _d = !1; - try { - for ( - _i = _i.call(arr); - !(_n = (_s = _i.next()).done) && - (_arr.push(_s.value), !i || _arr.length !== i); - _n = !0 - ); - } catch (err) { - (_d = !0), (_e = err); - } finally { - try { - !_n && null != _i.return && _i.return(); - } finally { - if (_d) throw _e; - } - } - return _arr; - } - })(arr, i) || - _unsupportedIterableToArray(arr, i) || - (function _nonIterableRest() { - throw new TypeError( - "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - })() - ); - } - function _unsupportedIterableToArray(o, minLen) { - if (o) { - if ("string" == typeof o) return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if ( - ("Object" === n && - o.constructor && - (n = o.constructor.name), - "Map" === n || "Set" === n) - ) - return Array.from(o); - if ( - "Arguments" === n || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ) - return _arrayLikeToArray(o, minLen); - } - } - function _arrayLikeToArray(arr, len) { - (null == len || len > arr.length) && (len = arr.length); - for (var i = 0, arr2 = new Array(len); i < len; i++) - arr2[i] = arr[i]; - return arr2; - } - var dom = [ - ["a", { reserved: !1 }], - ["abbr", { reserved: !1 }], - ["acronym", { reserved: !1 }], - ["address", { reserved: !1 }], - ["applet", { reserved: !1 }], - ["area", { reserved: !1 }], - ["article", { reserved: !1 }], - ["aside", { reserved: !1 }], - ["audio", { reserved: !1 }], - ["b", { reserved: !1 }], - ["base", { reserved: !0 }], - ["bdi", { reserved: !1 }], - ["bdo", { reserved: !1 }], - ["big", { reserved: !1 }], - ["blink", { reserved: !1 }], - ["blockquote", { reserved: !1 }], - ["body", { reserved: !1 }], - ["br", { reserved: !1 }], - ["button", { reserved: !1 }], - ["canvas", { reserved: !1 }], - ["caption", { reserved: !1 }], - ["center", { reserved: !1 }], - ["cite", { reserved: !1 }], - ["code", { reserved: !1 }], - ["col", { reserved: !0 }], - ["colgroup", { reserved: !0 }], - ["content", { reserved: !1 }], - ["data", { reserved: !1 }], - ["datalist", { reserved: !1 }], - ["dd", { reserved: !1 }], - ["del", { reserved: !1 }], - ["details", { reserved: !1 }], - ["dfn", { reserved: !1 }], - ["dialog", { reserved: !1 }], - ["dir", { reserved: !1 }], - ["div", { reserved: !1 }], - ["dl", { reserved: !1 }], - ["dt", { reserved: !1 }], - ["em", { reserved: !1 }], - ["embed", { reserved: !1 }], - ["fieldset", { reserved: !1 }], - ["figcaption", { reserved: !1 }], - ["figure", { reserved: !1 }], - ["font", { reserved: !1 }], - ["footer", { reserved: !1 }], - ["form", { reserved: !1 }], - ["frame", { reserved: !1 }], - ["frameset", { reserved: !1 }], - ["h1", { reserved: !1 }], - ["h2", { reserved: !1 }], - ["h3", { reserved: !1 }], - ["h4", { reserved: !1 }], - ["h5", { reserved: !1 }], - ["h6", { reserved: !1 }], - ["head", { reserved: !0 }], - ["header", { reserved: !1 }], - ["hgroup", { reserved: !1 }], - ["hr", { reserved: !1 }], - ["html", { reserved: !0 }], - ["i", { reserved: !1 }], - ["iframe", { reserved: !1 }], - ["img", { reserved: !1 }], - ["input", { reserved: !1 }], - ["ins", { reserved: !1 }], - ["kbd", { reserved: !1 }], - ["keygen", { reserved: !1 }], - ["label", { reserved: !1 }], - ["legend", { reserved: !1 }], - ["li", { reserved: !1 }], - ["link", { reserved: !0 }], - ["main", { reserved: !1 }], - ["map", { reserved: !1 }], - ["mark", { reserved: !1 }], - ["marquee", { reserved: !1 }], - ["menu", { reserved: !1 }], - ["menuitem", { reserved: !1 }], - ["meta", { reserved: !0 }], - ["meter", { reserved: !1 }], - ["nav", { reserved: !1 }], - ["noembed", { reserved: !0 }], - ["noscript", { reserved: !0 }], - ["object", { reserved: !1 }], - ["ol", { reserved: !1 }], - ["optgroup", { reserved: !1 }], - ["option", { reserved: !1 }], - ["output", { reserved: !1 }], - ["p", { reserved: !1 }], - ["param", { reserved: !0 }], - ["picture", { reserved: !0 }], - ["pre", { reserved: !1 }], - ["progress", { reserved: !1 }], - ["q", { reserved: !1 }], - ["rp", { reserved: !1 }], - ["rt", { reserved: !1 }], - ["rtc", { reserved: !1 }], - ["ruby", { reserved: !1 }], - ["s", { reserved: !1 }], - ["samp", { reserved: !1 }], - ["script", { reserved: !0 }], - ["section", { reserved: !1 }], - ["select", { reserved: !1 }], - ["small", { reserved: !1 }], - ["source", { reserved: !0 }], - ["spacer", { reserved: !1 }], - ["span", { reserved: !1 }], - ["strike", { reserved: !1 }], - ["strong", { reserved: !1 }], - ["style", { reserved: !0 }], - ["sub", { reserved: !1 }], - ["summary", { reserved: !1 }], - ["sup", { reserved: !1 }], - ["table", { reserved: !1 }], - ["tbody", { reserved: !1 }], - ["td", { reserved: !1 }], - ["textarea", { reserved: !1 }], - ["tfoot", { reserved: !1 }], - ["th", { reserved: !1 }], - ["thead", { reserved: !1 }], - ["time", { reserved: !1 }], - ["title", { reserved: !0 }], - ["tr", { reserved: !1 }], - ["track", { reserved: !0 }], - ["tt", { reserved: !1 }], - ["u", { reserved: !1 }], - ["ul", { reserved: !1 }], - ["var", { reserved: !1 }], - ["video", { reserved: !1 }], - ["wbr", { reserved: !1 }], - ["xmp", { reserved: !1 }], - ], - domMap = { - entries: function () { - return dom; - }, - forEach: function (fn3) { - var _step, - thisArg = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : null, - _iterator = (function _createForOfIteratorHelper( - o, - allowArrayLike, - ) { - var it = - (typeof Symbol < "u" && o[Symbol.iterator]) || - o["@@iterator"]; - if (!it) { - if ( - Array.isArray(o) || - (it = _unsupportedIterableToArray(o)) || - (allowArrayLike && o && "number" == typeof o.length) - ) { - it && (o = it); - var i = 0, - F = function () {}; - return { - s: F, - n: function () { - return i >= o.length - ? { done: !0 } - : { done: !1, value: o[i++] }; - }, - e: function (_e2) { - throw _e2; - }, - f: F, - }; - } - throw new TypeError( - "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - } - var err, - normalCompletion = !0, - didErr = !1; - return { - s: function () { - it = it.call(o); - }, - n: function () { - var step = it.next(); - return (normalCompletion = step.done), step; - }, - e: function (_e3) { - (didErr = !0), (err = _e3); - }, - f: function () { - try { - !normalCompletion && - null != it.return && - it.return(); - } finally { - if (didErr) throw err; - } - }, - }; - })(dom); - try { - for (_iterator.s(); !(_step = _iterator.n()).done; ) { - var _step$value = _slicedToArray(_step.value, 2), - key = _step$value[0], - values = _step$value[1]; - fn3.call(thisArg, values, key, dom); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }, - get: function (key) { - var item = dom.find(function (tuple) { - return tuple[0] === key; - }); - return item && item[1]; - }, - has: function (key) { - return !!domMap.get(key); - }, - keys: function () { - return dom.map(function (_ref) { - return _slicedToArray(_ref, 1)[0]; - }); - }, - values: function () { - return dom.map(function (_ref3) { - return _slicedToArray(_ref3, 2)[1]; - }); - }, - }, - _default2 = (0, _iterationDecorator.default)( - domMap, - domMap.entries(), - ); - exports.default = _default2; - }, - }), - require_commandRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget"]], - }; - exports.default = _default2; - }, - }), - require_compositeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-activedescendant": null, "aria-disabled": null }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget"]], - }; - exports.default = _default2; - }, - }), - require_inputRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-disabled": null }, - relatedConcepts: [ - { concept: { name: "input" }, module: "XForms" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget"]], - }; - exports.default = _default2; - }, - }), - require_landmarkRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_rangeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-valuemax": null, - "aria-valuemin": null, - "aria-valuenow": null, - }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_roletypeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: [], - prohibitedProps: [], - props: { - "aria-atomic": null, - "aria-busy": null, - "aria-controls": null, - "aria-current": null, - "aria-describedby": null, - "aria-details": null, - "aria-dropeffect": null, - "aria-flowto": null, - "aria-grabbed": null, - "aria-hidden": null, - "aria-keyshortcuts": null, - "aria-label": null, - "aria-labelledby": null, - "aria-live": null, - "aria-owns": null, - "aria-relevant": null, - "aria-roledescription": null, - }, - relatedConcepts: [ - { concept: { name: "role" }, module: "XHTML" }, - { concept: { name: "type" }, module: "Dublin Core" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [], - }; - exports.default = _default2; - }, - }), - require_sectionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: [], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "frontmatter" }, module: "DTB" }, - { concept: { name: "level" }, module: "DTB" }, - { concept: { name: "level" }, module: "SMIL" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_sectionheadRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_selectRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-orientation": null }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite"], - ["roletype", "structure", "section", "group"], - ], - }; - exports.default = _default2; - }, - }), - require_structureRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: [], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype"]], - }; - exports.default = _default2; - }, - }), - require_widgetRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: [], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype"]], - }; - exports.default = _default2; - }, - }), - require_windowRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !0, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-modal": null }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype"]], - }; - exports.default = _default2; - }, - }), - require_ariaAbstractRoles = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _commandRole = _interopRequireDefault(require_commandRole()), - _compositeRole = _interopRequireDefault( - require_compositeRole(), - ), - _inputRole = _interopRequireDefault(require_inputRole()), - _landmarkRole = _interopRequireDefault(require_landmarkRole()), - _rangeRole = _interopRequireDefault(require_rangeRole()), - _roletypeRole = _interopRequireDefault(require_roletypeRole()), - _sectionRole = _interopRequireDefault(require_sectionRole()), - _sectionheadRole = _interopRequireDefault( - require_sectionheadRole(), - ), - _selectRole = _interopRequireDefault(require_selectRole()), - _structureRole = _interopRequireDefault( - require_structureRole(), - ), - _widgetRole = _interopRequireDefault(require_widgetRole()), - _windowRole = _interopRequireDefault(require_windowRole()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var _default2 = [ - ["command", _commandRole.default], - ["composite", _compositeRole.default], - ["input", _inputRole.default], - ["landmark", _landmarkRole.default], - ["range", _rangeRole.default], - ["roletype", _roletypeRole.default], - ["section", _sectionRole.default], - ["sectionhead", _sectionheadRole.default], - ["select", _selectRole.default], - ["structure", _structureRole.default], - ["widget", _widgetRole.default], - ["window", _windowRole.default], - ]; - exports.default = _default2; - }, - }), - require_alertRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-atomic": "true", "aria-live": "assertive" }, - relatedConcepts: [ - { concept: { name: "alert" }, module: "XForms" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_alertdialogRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "alert" }, module: "XForms" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "structure", "section", "alert"], - ["roletype", "window", "dialog"], - ], - }; - exports.default = _default2; - }, - }), - require_applicationRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-activedescendant": null, - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "Device Independence Delivery Unit" } }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_articleRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-posinset": null, "aria-setsize": null }, - relatedConcepts: [ - { concept: { name: "article" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "document"]], - }; - exports.default = _default2; - }, - }), - require_bannerRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { - concept: { - constraints: ["scoped to the body element"], - name: "header", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_blockquoteRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "blockquote" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_buttonRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-pressed": null, - }, - relatedConcepts: [ - { - concept: { - attributes: [{ name: "type", value: "button" }], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ name: "type", value: "image" }], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ name: "type", value: "reset" }], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ name: "type", value: "submit" }], - name: "input", - }, - module: "HTML", - }, - { concept: { name: "button" }, module: "HTML" }, - { concept: { name: "trigger" }, module: "XForms" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "command"]], - }; - exports.default = _default2; - }, - }), - require_captionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [ - { concept: { name: "caption" }, module: "HTML" }, - ], - requireContextRole: ["figure", "grid", "table"], - requiredContextRole: ["figure", "grid", "table"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_cellRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-colindex": null, - "aria-colspan": null, - "aria-rowindex": null, - "aria-rowspan": null, - }, - relatedConcepts: [ - { - concept: { - constraints: ["ancestor table element has table role"], - name: "td", - }, - module: "HTML", - }, - ], - requireContextRole: ["row"], - requiredContextRole: ["row"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_checkboxRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-checked": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-invalid": null, - "aria-readonly": null, - "aria-required": null, - }, - relatedConcepts: [ - { - concept: { - attributes: [{ name: "type", value: "checkbox" }], - name: "input", - }, - module: "HTML", - }, - { concept: { name: "option" }, module: "ARIA" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-checked": null }, - superClass: [["roletype", "widget", "input"]], - }; - exports.default = _default2; - }, - }), - require_codeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [ - { concept: { name: "code" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_columnheaderRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-sort": null }, - relatedConcepts: [ - { concept: { name: "th" }, module: "HTML" }, - { - concept: { - attributes: [{ name: "scope", value: "col" }], - name: "th", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ name: "scope", value: "colgroup" }], - name: "th", - }, - module: "HTML", - }, - ], - requireContextRole: ["row"], - requiredContextRole: ["row"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "structure", "section", "cell"], - ["roletype", "structure", "section", "cell", "gridcell"], - ["roletype", "widget", "gridcell"], - ["roletype", "structure", "sectionhead"], - ], - }; - exports.default = _default2; - }, - }), - require_comboboxRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-activedescendant": null, - "aria-autocomplete": null, - "aria-errormessage": null, - "aria-invalid": null, - "aria-readonly": null, - "aria-required": null, - "aria-expanded": "false", - "aria-haspopup": "listbox", - }, - relatedConcepts: [ - { - concept: { - attributes: [ - { constraints: ["set"], name: "list" }, - { name: "type", value: "email" }, - ], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "list" }, - { name: "type", value: "search" }, - ], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "list" }, - { name: "type", value: "tel" }, - ], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "list" }, - { name: "type", value: "text" }, - ], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "list" }, - { name: "type", value: "url" }, - ], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "list" }, - { name: "type", value: "url" }, - ], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["undefined"], name: "multiple" }, - { constraints: ["undefined"], name: "size" }, - ], - constraints: [ - "the multiple attribute is not set and the size attribute does not have a value greater than 1", - ], - name: "select", - }, - module: "HTML", - }, - { concept: { name: "select" }, module: "XForms" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { - "aria-controls": null, - "aria-expanded": "false", - }, - superClass: [["roletype", "widget", "input"]], - }; - exports.default = _default2; - }, - }), - require_complementaryRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "aside" }, module: "HTML" }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "aria-label" }, - ], - constraints: [ - "scoped to a sectioning content element", - "scoped to a sectioning root element other than body", - ], - name: "aside", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "aria-labelledby" }, - ], - constraints: [ - "scoped to a sectioning content element", - "scoped to a sectioning root element other than body", - ], - name: "aside", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_contentinfoRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { - concept: { - constraints: ["scoped to the body element"], - name: "footer", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_definitionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [{ concept: { name: "dd" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_deletionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [{ concept: { name: "del" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_dialogRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "dialog" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "window"]], - }; - exports.default = _default2; - }, - }), - require_directoryRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [{ module: "DAISY Guide" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "list"]], - }; - exports.default = _default2; - }, - }), - require_documentRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "Device Independence Delivery Unit" } }, - { concept: { name: "html" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_emphasisRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [{ concept: { name: "em" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_feedRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["article"]], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "list"]], - }; - exports.default = _default2; - }, - }), - require_figureRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "figure" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_formRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { - concept: { - attributes: [ - { constraints: ["set"], name: "aria-label" }, - ], - name: "form", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "aria-labelledby" }, - ], - name: "form", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ constraints: ["set"], name: "name" }], - name: "form", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_genericRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [ - { concept: { name: "a" }, module: "HTML" }, - { concept: { name: "area" }, module: "HTML" }, - { concept: { name: "aside" }, module: "HTML" }, - { concept: { name: "b" }, module: "HTML" }, - { concept: { name: "bdo" }, module: "HTML" }, - { concept: { name: "body" }, module: "HTML" }, - { concept: { name: "data" }, module: "HTML" }, - { concept: { name: "div" }, module: "HTML" }, - { - concept: { - constraints: [ - "scoped to the main element", - "scoped to a sectioning content element", - "scoped to a sectioning root element other than body", - ], - name: "footer", - }, - module: "HTML", - }, - { - concept: { - constraints: [ - "scoped to the main element", - "scoped to a sectioning content element", - "scoped to a sectioning root element other than body", - ], - name: "header", - }, - module: "HTML", - }, - { concept: { name: "hgroup" }, module: "HTML" }, - { concept: { name: "i" }, module: "HTML" }, - { concept: { name: "pre" }, module: "HTML" }, - { concept: { name: "q" }, module: "HTML" }, - { concept: { name: "samp" }, module: "HTML" }, - { concept: { name: "section" }, module: "HTML" }, - { concept: { name: "small" }, module: "HTML" }, - { concept: { name: "span" }, module: "HTML" }, - { concept: { name: "u" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_gridRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-multiselectable": null, "aria-readonly": null }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["row"], ["row", "rowgroup"]], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite"], - ["roletype", "structure", "section", "table"], - ], - }; - exports.default = _default2; - }, - }), - require_gridcellRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - "aria-readonly": null, - "aria-required": null, - "aria-selected": null, - }, - relatedConcepts: [ - { - concept: { - constraints: [ - "ancestor table element has grid role", - "ancestor table element has treegrid role", - ], - name: "td", - }, - module: "HTML", - }, - ], - requireContextRole: ["row"], - requiredContextRole: ["row"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "structure", "section", "cell"], - ["roletype", "widget"], - ], - }; - exports.default = _default2; - }, - }), - require_groupRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-activedescendant": null, "aria-disabled": null }, - relatedConcepts: [ - { concept: { name: "details" }, module: "HTML" }, - { concept: { name: "fieldset" }, module: "HTML" }, - { concept: { name: "optgroup" }, module: "HTML" }, - { concept: { name: "address" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_headingRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-level": "2" }, - relatedConcepts: [ - { concept: { name: "h1" }, module: "HTML" }, - { concept: { name: "h2" }, module: "HTML" }, - { concept: { name: "h3" }, module: "HTML" }, - { concept: { name: "h4" }, module: "HTML" }, - { concept: { name: "h5" }, module: "HTML" }, - { concept: { name: "h6" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-level": "2" }, - superClass: [["roletype", "structure", "sectionhead"]], - }; - exports.default = _default2; - }, - }), - require_imgRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { - concept: { - attributes: [{ constraints: ["set"], name: "alt" }], - name: "img", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ constraints: ["undefined"], name: "alt" }], - name: "img", - }, - module: "HTML", - }, - { concept: { name: "imggroup" }, module: "DTB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_insertionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [{ concept: { name: "ins" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_linkRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-expanded": null, - "aria-haspopup": null, - }, - relatedConcepts: [ - { - concept: { - attributes: [{ constraints: ["set"], name: "href" }], - name: "a", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ constraints: ["set"], name: "href" }], - name: "area", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "command"]], - }; - exports.default = _default2; - }, - }), - require_listRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "menu" }, module: "HTML" }, - { concept: { name: "ol" }, module: "HTML" }, - { concept: { name: "ul" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["listitem"]], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_listboxRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-errormessage": null, - "aria-expanded": null, - "aria-invalid": null, - "aria-multiselectable": null, - "aria-readonly": null, - "aria-required": null, - "aria-orientation": "vertical", - }, - relatedConcepts: [ - { - concept: { - attributes: [{ constraints: [">1"], name: "size" }], - constraints: [ - "the size attribute value is greater than 1", - ], - name: "select", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ name: "multiple" }], - name: "select", - }, - module: "HTML", - }, - { concept: { name: "datalist" }, module: "HTML" }, - { concept: { name: "list" }, module: "ARIA" }, - { concept: { name: "select" }, module: "XForms" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["option", "group"], ["option"]], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite", "select"], - ["roletype", "structure", "section", "group", "select"], - ], - }; - exports.default = _default2; - }, - }), - require_listitemRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-level": null, - "aria-posinset": null, - "aria-setsize": null, - }, - relatedConcepts: [ - { - concept: { - constraints: [ - "direct descendant of ol", - "direct descendant of ul", - "direct descendant of menu", - ], - name: "li", - }, - module: "HTML", - }, - { concept: { name: "item" }, module: "XForms" }, - ], - requireContextRole: ["directory", "list"], - requiredContextRole: ["directory", "list"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_logRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-live": "polite" }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_mainRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "main" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_markRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: [], - props: { - "aria-braillelabel": null, - "aria-brailleroledescription": null, - "aria-description": null, - }, - relatedConcepts: [ - { concept: { name: "mark" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_marqueeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_mathRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "math" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_menuRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-orientation": "vertical" }, - relatedConcepts: [ - { concept: { name: "MENU" }, module: "JAPI" }, - { concept: { name: "list" }, module: "ARIA" }, - { concept: { name: "select" }, module: "XForms" }, - { concept: { name: "sidebar" }, module: "DTB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [ - ["menuitem", "group"], - ["menuitemradio", "group"], - ["menuitemcheckbox", "group"], - ["menuitem"], - ["menuitemcheckbox"], - ["menuitemradio"], - ], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite", "select"], - ["roletype", "structure", "section", "group", "select"], - ], - }; - exports.default = _default2; - }, - }), - require_menubarRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-orientation": "horizontal" }, - relatedConcepts: [ - { concept: { name: "toolbar" }, module: "ARIA" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [ - ["menuitem", "group"], - ["menuitemradio", "group"], - ["menuitemcheckbox", "group"], - ["menuitem"], - ["menuitemcheckbox"], - ["menuitemradio"], - ], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite", "select", "menu"], - [ - "roletype", - "structure", - "section", - "group", - "select", - "menu", - ], - ], - }; - exports.default = _default2; - }, - }), - require_menuitemRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-posinset": null, - "aria-setsize": null, - }, - relatedConcepts: [ - { concept: { name: "MENU_ITEM" }, module: "JAPI" }, - { concept: { name: "listitem" }, module: "ARIA" }, - { concept: { name: "option" }, module: "ARIA" }, - ], - requireContextRole: ["group", "menu", "menubar"], - requiredContextRole: ["group", "menu", "menubar"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "command"]], - }; - exports.default = _default2; - }, - }), - require_menuitemcheckboxRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "menuitem" }, module: "ARIA" }, - ], - requireContextRole: ["group", "menu", "menubar"], - requiredContextRole: ["group", "menu", "menubar"], - requiredOwnedElements: [], - requiredProps: { "aria-checked": null }, - superClass: [ - ["roletype", "widget", "input", "checkbox"], - ["roletype", "widget", "command", "menuitem"], - ], - }; - exports.default = _default2; - }, - }), - require_menuitemradioRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "menuitem" }, module: "ARIA" }, - ], - requireContextRole: ["group", "menu", "menubar"], - requiredContextRole: ["group", "menu", "menubar"], - requiredOwnedElements: [], - requiredProps: { "aria-checked": null }, - superClass: [ - [ - "roletype", - "widget", - "input", - "checkbox", - "menuitemcheckbox", - ], - [ - "roletype", - "widget", - "command", - "menuitem", - "menuitemcheckbox", - ], - ["roletype", "widget", "input", "radio"], - ], - }; - exports.default = _default2; - }, - }), - require_meterRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-valuetext": null, - "aria-valuemax": "100", - "aria-valuemin": "0", - }, - relatedConcepts: [ - { concept: { name: "meter" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-valuenow": null }, - superClass: [["roletype", "structure", "range"]], - }; - exports.default = _default2; - }, - }), - require_navigationRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [{ concept: { name: "nav" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_noneRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: [], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [], - }; - exports.default = _default2; - }, - }), - require_noteRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_optionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-checked": null, - "aria-posinset": null, - "aria-setsize": null, - "aria-selected": "false", - }, - relatedConcepts: [ - { concept: { name: "item" }, module: "XForms" }, - { concept: { name: "listitem" }, module: "ARIA" }, - { concept: { name: "option" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-selected": "false" }, - superClass: [["roletype", "widget", "input"]], - }; - exports.default = _default2; - }, - }), - require_paragraphRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [{ concept: { name: "p" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_presentationRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [ - { - concept: { - attributes: [{ name: "alt", value: "" }], - name: "img", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_progressbarRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-valuetext": null }, - relatedConcepts: [ - { concept: { name: "progress" }, module: "HTML" }, - { concept: { name: "status" }, module: "ARIA" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "structure", "range"], - ["roletype", "widget"], - ], - }; - exports.default = _default2; - }, - }), - require_radioRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-checked": null, - "aria-posinset": null, - "aria-setsize": null, - }, - relatedConcepts: [ - { - concept: { - attributes: [{ name: "type", value: "radio" }], - name: "input", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-checked": null }, - superClass: [["roletype", "widget", "input"]], - }; - exports.default = _default2; - }, - }), - require_radiogroupRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-errormessage": null, - "aria-invalid": null, - "aria-readonly": null, - "aria-required": null, - }, - relatedConcepts: [ - { concept: { name: "list" }, module: "ARIA" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["radio"]], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite", "select"], - ["roletype", "structure", "section", "group", "select"], - ], - }; - exports.default = _default2; - }, - }), - require_regionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { - concept: { - attributes: [ - { constraints: ["set"], name: "aria-label" }, - ], - name: "section", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["set"], name: "aria-labelledby" }, - ], - name: "section", - }, - module: "HTML", - }, - { - concept: { - name: "Device Independence Glossart perceivable unit", - }, - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_rowRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-colindex": null, - "aria-expanded": null, - "aria-level": null, - "aria-posinset": null, - "aria-rowindex": null, - "aria-selected": null, - "aria-setsize": null, - }, - relatedConcepts: [{ concept: { name: "tr" }, module: "HTML" }], - requireContextRole: ["grid", "rowgroup", "table", "treegrid"], - requiredContextRole: ["grid", "rowgroup", "table", "treegrid"], - requiredOwnedElements: [ - ["cell"], - ["columnheader"], - ["gridcell"], - ["rowheader"], - ], - requiredProps: {}, - superClass: [ - ["roletype", "structure", "section", "group"], - ["roletype", "widget"], - ], - }; - exports.default = _default2; - }, - }), - require_rowgroupRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "tbody" }, module: "HTML" }, - { concept: { name: "tfoot" }, module: "HTML" }, - { concept: { name: "thead" }, module: "HTML" }, - ], - requireContextRole: ["grid", "table", "treegrid"], - requiredContextRole: ["grid", "table", "treegrid"], - requiredOwnedElements: [["row"]], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_rowheaderRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-sort": null }, - relatedConcepts: [ - { - concept: { - attributes: [{ name: "scope", value: "row" }], - name: "th", - }, - module: "HTML", - }, - { - concept: { - attributes: [{ name: "scope", value: "rowgroup" }], - name: "th", - }, - module: "HTML", - }, - ], - requireContextRole: ["row", "rowgroup"], - requiredContextRole: ["row", "rowgroup"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "structure", "section", "cell"], - ["roletype", "structure", "section", "cell", "gridcell"], - ["roletype", "widget", "gridcell"], - ["roletype", "structure", "sectionhead"], - ], - }; - exports.default = _default2; - }, - }), - require_scrollbarRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-valuetext": null, - "aria-orientation": "vertical", - "aria-valuemax": "100", - "aria-valuemin": "0", - }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-controls": null, "aria-valuenow": null }, - superClass: [ - ["roletype", "structure", "range"], - ["roletype", "widget"], - ], - }; - exports.default = _default2; - }, - }), - require_searchRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_searchboxRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { - concept: { - attributes: [ - { constraints: ["undefined"], name: "list" }, - { name: "type", value: "search" }, - ], - constraints: ["the list attribute is not set"], - name: "input", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "input", "textbox"]], - }; - exports.default = _default2; - }, - }), - require_separatorRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-orientation": "horizontal", - "aria-valuemax": "100", - "aria-valuemin": "0", - "aria-valuenow": null, - "aria-valuetext": null, - }, - relatedConcepts: [{ concept: { name: "hr" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure"]], - }; - exports.default = _default2; - }, - }), - require_sliderRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-errormessage": null, - "aria-haspopup": null, - "aria-invalid": null, - "aria-readonly": null, - "aria-valuetext": null, - "aria-orientation": "horizontal", - "aria-valuemax": "100", - "aria-valuemin": "0", - }, - relatedConcepts: [ - { - concept: { - attributes: [{ name: "type", value: "range" }], - name: "input", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-valuenow": null }, - superClass: [ - ["roletype", "widget", "input"], - ["roletype", "structure", "range"], - ], - }; - exports.default = _default2; - }, - }), - require_spinbuttonRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-errormessage": null, - "aria-invalid": null, - "aria-readonly": null, - "aria-required": null, - "aria-valuetext": null, - "aria-valuenow": "0", - }, - relatedConcepts: [ - { - concept: { - attributes: [{ name: "type", value: "number" }], - name: "input", - }, - module: "HTML", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite"], - ["roletype", "widget", "input"], - ["roletype", "structure", "range"], - ], - }; - exports.default = _default2; - }, - }), - require_statusRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-atomic": "true", "aria-live": "polite" }, - relatedConcepts: [ - { concept: { name: "output" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_strongRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [ - { concept: { name: "strong" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_subscriptRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [{ concept: { name: "sub" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_superscriptRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["prohibited"], - prohibitedProps: ["aria-label", "aria-labelledby"], - props: {}, - relatedConcepts: [{ concept: { name: "sup" }, module: "HTML" }], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_switchRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "button" }, module: "ARIA" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: { "aria-checked": null }, - superClass: [["roletype", "widget", "input", "checkbox"]], - }; - exports.default = _default2; - }, - }), - require_tabRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-posinset": null, - "aria-setsize": null, - "aria-selected": "false", - }, - relatedConcepts: [], - requireContextRole: ["tablist"], - requiredContextRole: ["tablist"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - ["roletype", "structure", "sectionhead"], - ["roletype", "widget"], - ], - }; - exports.default = _default2; - }, - }), - require_tableRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-colcount": null, "aria-rowcount": null }, - relatedConcepts: [ - { concept: { name: "table" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["row"], ["row", "rowgroup"]], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_tablistRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-level": null, - "aria-multiselectable": null, - "aria-orientation": "horizontal", - }, - relatedConcepts: [ - { module: "DAISY", concept: { name: "guide" } }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["tab"]], - requiredProps: {}, - superClass: [["roletype", "widget", "composite"]], - }; - exports.default = _default2; - }, - }), - require_tabpanelRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_termRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "dfn" }, module: "HTML" }, - { concept: { name: "dt" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_textboxRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-activedescendant": null, - "aria-autocomplete": null, - "aria-errormessage": null, - "aria-haspopup": null, - "aria-invalid": null, - "aria-multiline": null, - "aria-placeholder": null, - "aria-readonly": null, - "aria-required": null, - }, - relatedConcepts: [ - { - concept: { - attributes: [ - { constraints: ["undefined"], name: "type" }, - { constraints: ["undefined"], name: "list" }, - ], - constraints: ["the list attribute is not set"], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["undefined"], name: "list" }, - { name: "type", value: "email" }, - ], - constraints: ["the list attribute is not set"], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["undefined"], name: "list" }, - { name: "type", value: "tel" }, - ], - constraints: ["the list attribute is not set"], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["undefined"], name: "list" }, - { name: "type", value: "text" }, - ], - constraints: ["the list attribute is not set"], - name: "input", - }, - module: "HTML", - }, - { - concept: { - attributes: [ - { constraints: ["undefined"], name: "list" }, - { name: "type", value: "url" }, - ], - constraints: ["the list attribute is not set"], - name: "input", - }, - module: "HTML", - }, - { concept: { name: "input" }, module: "XForms" }, - { concept: { name: "textarea" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "input"]], - }; - exports.default = _default2; - }, - }), - require_timeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "time" }, module: "HTML" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_timerRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "status"]], - }; - exports.default = _default2; - }, - }), - require_toolbarRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { "aria-orientation": "horizontal" }, - relatedConcepts: [ - { concept: { name: "menubar" }, module: "ARIA" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "group"]], - }; - exports.default = _default2; - }, - }), - require_tooltipRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_treeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-errormessage": null, - "aria-invalid": null, - "aria-multiselectable": null, - "aria-required": null, - "aria-orientation": "vertical", - }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["treeitem", "group"], ["treeitem"]], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite", "select"], - ["roletype", "structure", "section", "group", "select"], - ], - }; - exports.default = _default2; - }, - }), - require_treegridRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["row"], ["row", "rowgroup"]], - requiredProps: {}, - superClass: [ - ["roletype", "widget", "composite", "grid"], - ["roletype", "structure", "section", "table", "grid"], - ["roletype", "widget", "composite", "select", "tree"], - [ - "roletype", - "structure", - "section", - "group", - "select", - "tree", - ], - ], - }; - exports.default = _default2; - }, - }), - require_treeitemRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-expanded": null, "aria-haspopup": null }, - relatedConcepts: [], - requireContextRole: ["group", "tree"], - requiredContextRole: ["group", "tree"], - requiredOwnedElements: [], - requiredProps: { "aria-selected": null }, - superClass: [ - ["roletype", "structure", "section", "listitem"], - ["roletype", "widget", "input", "option"], - ], - }; - exports.default = _default2; - }, - }), - require_ariaLiteralRoles = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _alertRole = _interopRequireDefault(require_alertRole()), - _alertdialogRole = _interopRequireDefault( - require_alertdialogRole(), - ), - _applicationRole = _interopRequireDefault( - require_applicationRole(), - ), - _articleRole = _interopRequireDefault(require_articleRole()), - _bannerRole = _interopRequireDefault(require_bannerRole()), - _blockquoteRole = _interopRequireDefault( - require_blockquoteRole(), - ), - _buttonRole = _interopRequireDefault(require_buttonRole()), - _captionRole = _interopRequireDefault(require_captionRole()), - _cellRole = _interopRequireDefault(require_cellRole()), - _checkboxRole = _interopRequireDefault(require_checkboxRole()), - _codeRole = _interopRequireDefault(require_codeRole()), - _columnheaderRole = _interopRequireDefault( - require_columnheaderRole(), - ), - _comboboxRole = _interopRequireDefault(require_comboboxRole()), - _complementaryRole = _interopRequireDefault( - require_complementaryRole(), - ), - _contentinfoRole = _interopRequireDefault( - require_contentinfoRole(), - ), - _definitionRole = _interopRequireDefault( - require_definitionRole(), - ), - _deletionRole = _interopRequireDefault(require_deletionRole()), - _dialogRole = _interopRequireDefault(require_dialogRole()), - _directoryRole = _interopRequireDefault( - require_directoryRole(), - ), - _documentRole = _interopRequireDefault(require_documentRole()), - _emphasisRole = _interopRequireDefault(require_emphasisRole()), - _feedRole = _interopRequireDefault(require_feedRole()), - _figureRole = _interopRequireDefault(require_figureRole()), - _formRole = _interopRequireDefault(require_formRole()), - _genericRole = _interopRequireDefault(require_genericRole()), - _gridRole = _interopRequireDefault(require_gridRole()), - _gridcellRole = _interopRequireDefault(require_gridcellRole()), - _groupRole = _interopRequireDefault(require_groupRole()), - _headingRole = _interopRequireDefault(require_headingRole()), - _imgRole = _interopRequireDefault(require_imgRole()), - _insertionRole = _interopRequireDefault( - require_insertionRole(), - ), - _linkRole = _interopRequireDefault(require_linkRole()), - _listRole = _interopRequireDefault(require_listRole()), - _listboxRole = _interopRequireDefault(require_listboxRole()), - _listitemRole = _interopRequireDefault(require_listitemRole()), - _logRole = _interopRequireDefault(require_logRole()), - _mainRole = _interopRequireDefault(require_mainRole()), - _markRole = _interopRequireDefault(require_markRole()), - _marqueeRole = _interopRequireDefault(require_marqueeRole()), - _mathRole = _interopRequireDefault(require_mathRole()), - _menuRole = _interopRequireDefault(require_menuRole()), - _menubarRole = _interopRequireDefault(require_menubarRole()), - _menuitemRole = _interopRequireDefault(require_menuitemRole()), - _menuitemcheckboxRole = _interopRequireDefault( - require_menuitemcheckboxRole(), - ), - _menuitemradioRole = _interopRequireDefault( - require_menuitemradioRole(), - ), - _meterRole = _interopRequireDefault(require_meterRole()), - _navigationRole = _interopRequireDefault( - require_navigationRole(), - ), - _noneRole = _interopRequireDefault(require_noneRole()), - _noteRole = _interopRequireDefault(require_noteRole()), - _optionRole = _interopRequireDefault(require_optionRole()), - _paragraphRole = _interopRequireDefault( - require_paragraphRole(), - ), - _presentationRole = _interopRequireDefault( - require_presentationRole(), - ), - _progressbarRole = _interopRequireDefault( - require_progressbarRole(), - ), - _radioRole = _interopRequireDefault(require_radioRole()), - _radiogroupRole = _interopRequireDefault( - require_radiogroupRole(), - ), - _regionRole = _interopRequireDefault(require_regionRole()), - _rowRole = _interopRequireDefault(require_rowRole()), - _rowgroupRole = _interopRequireDefault(require_rowgroupRole()), - _rowheaderRole = _interopRequireDefault( - require_rowheaderRole(), - ), - _scrollbarRole = _interopRequireDefault( - require_scrollbarRole(), - ), - _searchRole = _interopRequireDefault(require_searchRole()), - _searchboxRole = _interopRequireDefault( - require_searchboxRole(), - ), - _separatorRole = _interopRequireDefault( - require_separatorRole(), - ), - _sliderRole = _interopRequireDefault(require_sliderRole()), - _spinbuttonRole = _interopRequireDefault( - require_spinbuttonRole(), - ), - _statusRole = _interopRequireDefault(require_statusRole()), - _strongRole = _interopRequireDefault(require_strongRole()), - _subscriptRole = _interopRequireDefault( - require_subscriptRole(), - ), - _superscriptRole = _interopRequireDefault( - require_superscriptRole(), - ), - _switchRole = _interopRequireDefault(require_switchRole()), - _tabRole = _interopRequireDefault(require_tabRole()), - _tableRole = _interopRequireDefault(require_tableRole()), - _tablistRole = _interopRequireDefault(require_tablistRole()), - _tabpanelRole = _interopRequireDefault(require_tabpanelRole()), - _termRole = _interopRequireDefault(require_termRole()), - _textboxRole = _interopRequireDefault(require_textboxRole()), - _timeRole = _interopRequireDefault(require_timeRole()), - _timerRole = _interopRequireDefault(require_timerRole()), - _toolbarRole = _interopRequireDefault(require_toolbarRole()), - _tooltipRole = _interopRequireDefault(require_tooltipRole()), - _treeRole = _interopRequireDefault(require_treeRole()), - _treegridRole = _interopRequireDefault(require_treegridRole()), - _treeitemRole = _interopRequireDefault(require_treeitemRole()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var _default2 = [ - ["alert", _alertRole.default], - ["alertdialog", _alertdialogRole.default], - ["application", _applicationRole.default], - ["article", _articleRole.default], - ["banner", _bannerRole.default], - ["blockquote", _blockquoteRole.default], - ["button", _buttonRole.default], - ["caption", _captionRole.default], - ["cell", _cellRole.default], - ["checkbox", _checkboxRole.default], - ["code", _codeRole.default], - ["columnheader", _columnheaderRole.default], - ["combobox", _comboboxRole.default], - ["complementary", _complementaryRole.default], - ["contentinfo", _contentinfoRole.default], - ["definition", _definitionRole.default], - ["deletion", _deletionRole.default], - ["dialog", _dialogRole.default], - ["directory", _directoryRole.default], - ["document", _documentRole.default], - ["emphasis", _emphasisRole.default], - ["feed", _feedRole.default], - ["figure", _figureRole.default], - ["form", _formRole.default], - ["generic", _genericRole.default], - ["grid", _gridRole.default], - ["gridcell", _gridcellRole.default], - ["group", _groupRole.default], - ["heading", _headingRole.default], - ["img", _imgRole.default], - ["insertion", _insertionRole.default], - ["link", _linkRole.default], - ["list", _listRole.default], - ["listbox", _listboxRole.default], - ["listitem", _listitemRole.default], - ["log", _logRole.default], - ["main", _mainRole.default], - ["mark", _markRole.default], - ["marquee", _marqueeRole.default], - ["math", _mathRole.default], - ["menu", _menuRole.default], - ["menubar", _menubarRole.default], - ["menuitem", _menuitemRole.default], - ["menuitemcheckbox", _menuitemcheckboxRole.default], - ["menuitemradio", _menuitemradioRole.default], - ["meter", _meterRole.default], - ["navigation", _navigationRole.default], - ["none", _noneRole.default], - ["note", _noteRole.default], - ["option", _optionRole.default], - ["paragraph", _paragraphRole.default], - ["presentation", _presentationRole.default], - ["progressbar", _progressbarRole.default], - ["radio", _radioRole.default], - ["radiogroup", _radiogroupRole.default], - ["region", _regionRole.default], - ["row", _rowRole.default], - ["rowgroup", _rowgroupRole.default], - ["rowheader", _rowheaderRole.default], - ["scrollbar", _scrollbarRole.default], - ["search", _searchRole.default], - ["searchbox", _searchboxRole.default], - ["separator", _separatorRole.default], - ["slider", _sliderRole.default], - ["spinbutton", _spinbuttonRole.default], - ["status", _statusRole.default], - ["strong", _strongRole.default], - ["subscript", _subscriptRole.default], - ["superscript", _superscriptRole.default], - ["switch", _switchRole.default], - ["tab", _tabRole.default], - ["table", _tableRole.default], - ["tablist", _tablistRole.default], - ["tabpanel", _tabpanelRole.default], - ["term", _termRole.default], - ["textbox", _textboxRole.default], - ["time", _timeRole.default], - ["timer", _timerRole.default], - ["toolbar", _toolbarRole.default], - ["tooltip", _tooltipRole.default], - ["tree", _treeRole.default], - ["treegrid", _treegridRole.default], - ["treeitem", _treeitemRole.default], - ]; - exports.default = _default2; - }, - }), - require_docAbstractRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "abstract [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docAcknowledgmentsRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { - concept: { name: "acknowledgments [EPUB-SSV]" }, - module: "EPUB", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docAfterwordRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "afterword [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docAppendixRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "appendix [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docBacklinkRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-errormessage": null, "aria-invalid": null }, - relatedConcepts: [ - { concept: { name: "referrer [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "command", "link"]], - }; - exports.default = _default2; - }, - }), - require_docBiblioentryRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { - concept: { name: "EPUB biblioentry [EPUB-SSV]" }, - module: "EPUB", - }, - ], - requireContextRole: ["doc-bibliography"], - requiredContextRole: ["doc-bibliography"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "listitem"]], - }; - exports.default = _default2; - }, - }), - require_docBibliographyRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { - concept: { name: "bibliography [EPUB-SSV]" }, - module: "EPUB", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["doc-biblioentry"]], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docBibliorefRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-errormessage": null, "aria-invalid": null }, - relatedConcepts: [ - { concept: { name: "biblioref [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "command", "link"]], - }; - exports.default = _default2; - }, - }), - require_docChapterRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "chapter [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docColophonRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "colophon [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docConclusionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { - concept: { name: "conclusion [EPUB-SSV]" }, - module: "EPUB", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docCoverRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "cover [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "img"]], - }; - exports.default = _default2; - }, - }), - require_docCreditRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "credit [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docCreditsRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "credits [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docDedicationRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { - concept: { name: "dedication [EPUB-SSV]" }, - module: "EPUB", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docEndnoteRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "rearnote [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: ["doc-endnotes"], - requiredContextRole: ["doc-endnotes"], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "listitem"]], - }; - exports.default = _default2; - }, - }), - require_docEndnotesRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "rearnotes [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["doc-endnote"]], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docEpigraphRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "epigraph [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docEpilogueRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "epilogue [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docErrataRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "errata [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docExampleRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docFootnoteRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "footnote [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docForewordRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "foreword [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docGlossaryRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "glossary [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [["definition"], ["term"]], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docGlossrefRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-errormessage": null, "aria-invalid": null }, - relatedConcepts: [ - { concept: { name: "glossref [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "command", "link"]], - }; - exports.default = _default2; - }, - }), - require_docIndexRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "index [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - [ - "roletype", - "structure", - "section", - "landmark", - "navigation", - ], - ], - }; - exports.default = _default2; - }, - }), - require_docIntroductionRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { - concept: { name: "introduction [EPUB-SSV]" }, - module: "EPUB", - }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docNoterefRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { "aria-errormessage": null, "aria-invalid": null }, - relatedConcepts: [ - { concept: { name: "noteref [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "widget", "command", "link"]], - }; - exports.default = _default2; - }, - }), - require_docNoticeRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "notice [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "note"]], - }; - exports.default = _default2; - }, - }), - require_docPagebreakRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "pagebreak [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "separator"]], - }; - exports.default = _default2; - }, - }), - require_docPagelistRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "page-list [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - [ - "roletype", - "structure", - "section", - "landmark", - "navigation", - ], - ], - }; - exports.default = _default2; - }, - }), - require_docPartRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "part [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docPrefaceRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "preface [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docPrologueRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "prologue [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "landmark"]], - }; - exports.default = _default2; - }, - }), - require_docPullquoteRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: {}, - relatedConcepts: [ - { concept: { name: "pullquote [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["none"]], - }; - exports.default = _default2; - }, - }), - require_docQnaRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "qna [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section"]], - }; - exports.default = _default2; - }, - }), - require_docSubtitleRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "subtitle [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "sectionhead"]], - }; - exports.default = _default2; - }, - }), - require_docTipRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "help [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "note"]], - }; - exports.default = _default2; - }, - }), - require_docTocRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { concept: { name: "toc [EPUB-SSV]" }, module: "EPUB" }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [ - [ - "roletype", - "structure", - "section", - "landmark", - "navigation", - ], - ], - }; - exports.default = _default2; - }, - }), - require_ariaDpubRoles = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _docAbstractRole = _interopRequireDefault( - require_docAbstractRole(), - ), - _docAcknowledgmentsRole = _interopRequireDefault( - require_docAcknowledgmentsRole(), - ), - _docAfterwordRole = _interopRequireDefault( - require_docAfterwordRole(), - ), - _docAppendixRole = _interopRequireDefault( - require_docAppendixRole(), - ), - _docBacklinkRole = _interopRequireDefault( - require_docBacklinkRole(), - ), - _docBiblioentryRole = _interopRequireDefault( - require_docBiblioentryRole(), - ), - _docBibliographyRole = _interopRequireDefault( - require_docBibliographyRole(), - ), - _docBibliorefRole = _interopRequireDefault( - require_docBibliorefRole(), - ), - _docChapterRole = _interopRequireDefault( - require_docChapterRole(), - ), - _docColophonRole = _interopRequireDefault( - require_docColophonRole(), - ), - _docConclusionRole = _interopRequireDefault( - require_docConclusionRole(), - ), - _docCoverRole = _interopRequireDefault(require_docCoverRole()), - _docCreditRole = _interopRequireDefault( - require_docCreditRole(), - ), - _docCreditsRole = _interopRequireDefault( - require_docCreditsRole(), - ), - _docDedicationRole = _interopRequireDefault( - require_docDedicationRole(), - ), - _docEndnoteRole = _interopRequireDefault( - require_docEndnoteRole(), - ), - _docEndnotesRole = _interopRequireDefault( - require_docEndnotesRole(), - ), - _docEpigraphRole = _interopRequireDefault( - require_docEpigraphRole(), - ), - _docEpilogueRole = _interopRequireDefault( - require_docEpilogueRole(), - ), - _docErrataRole = _interopRequireDefault( - require_docErrataRole(), - ), - _docExampleRole = _interopRequireDefault( - require_docExampleRole(), - ), - _docFootnoteRole = _interopRequireDefault( - require_docFootnoteRole(), - ), - _docForewordRole = _interopRequireDefault( - require_docForewordRole(), - ), - _docGlossaryRole = _interopRequireDefault( - require_docGlossaryRole(), - ), - _docGlossrefRole = _interopRequireDefault( - require_docGlossrefRole(), - ), - _docIndexRole = _interopRequireDefault(require_docIndexRole()), - _docIntroductionRole = _interopRequireDefault( - require_docIntroductionRole(), - ), - _docNoterefRole = _interopRequireDefault( - require_docNoterefRole(), - ), - _docNoticeRole = _interopRequireDefault( - require_docNoticeRole(), - ), - _docPagebreakRole = _interopRequireDefault( - require_docPagebreakRole(), - ), - _docPagelistRole = _interopRequireDefault( - require_docPagelistRole(), - ), - _docPartRole = _interopRequireDefault(require_docPartRole()), - _docPrefaceRole = _interopRequireDefault( - require_docPrefaceRole(), - ), - _docPrologueRole = _interopRequireDefault( - require_docPrologueRole(), - ), - _docPullquoteRole = _interopRequireDefault( - require_docPullquoteRole(), - ), - _docQnaRole = _interopRequireDefault(require_docQnaRole()), - _docSubtitleRole = _interopRequireDefault( - require_docSubtitleRole(), - ), - _docTipRole = _interopRequireDefault(require_docTipRole()), - _docTocRole = _interopRequireDefault(require_docTocRole()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var _default2 = [ - ["doc-abstract", _docAbstractRole.default], - ["doc-acknowledgments", _docAcknowledgmentsRole.default], - ["doc-afterword", _docAfterwordRole.default], - ["doc-appendix", _docAppendixRole.default], - ["doc-backlink", _docBacklinkRole.default], - ["doc-biblioentry", _docBiblioentryRole.default], - ["doc-bibliography", _docBibliographyRole.default], - ["doc-biblioref", _docBibliorefRole.default], - ["doc-chapter", _docChapterRole.default], - ["doc-colophon", _docColophonRole.default], - ["doc-conclusion", _docConclusionRole.default], - ["doc-cover", _docCoverRole.default], - ["doc-credit", _docCreditRole.default], - ["doc-credits", _docCreditsRole.default], - ["doc-dedication", _docDedicationRole.default], - ["doc-endnote", _docEndnoteRole.default], - ["doc-endnotes", _docEndnotesRole.default], - ["doc-epigraph", _docEpigraphRole.default], - ["doc-epilogue", _docEpilogueRole.default], - ["doc-errata", _docErrataRole.default], - ["doc-example", _docExampleRole.default], - ["doc-footnote", _docFootnoteRole.default], - ["doc-foreword", _docForewordRole.default], - ["doc-glossary", _docGlossaryRole.default], - ["doc-glossref", _docGlossrefRole.default], - ["doc-index", _docIndexRole.default], - ["doc-introduction", _docIntroductionRole.default], - ["doc-noteref", _docNoterefRole.default], - ["doc-notice", _docNoticeRole.default], - ["doc-pagebreak", _docPagebreakRole.default], - ["doc-pagelist", _docPagelistRole.default], - ["doc-part", _docPartRole.default], - ["doc-preface", _docPrefaceRole.default], - ["doc-prologue", _docPrologueRole.default], - ["doc-pullquote", _docPullquoteRole.default], - ["doc-qna", _docQnaRole.default], - ["doc-subtitle", _docSubtitleRole.default], - ["doc-tip", _docTipRole.default], - ["doc-toc", _docTocRole.default], - ]; - exports.default = _default2; - }, - }), - require_graphicsDocumentRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { module: "GRAPHICS", concept: { name: "graphics-object" } }, - { module: "ARIA", concept: { name: "img" } }, - { module: "ARIA", concept: { name: "article" } }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "document"]], - }; - exports.default = _default2; - }, - }), - require_graphicsObjectRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !1, - baseConcepts: [], - childrenPresentational: !1, - nameFrom: ["author", "contents"], - prohibitedProps: [], - props: { - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [ - { - module: "GRAPHICS", - concept: { name: "graphics-document" }, - }, - { module: "ARIA", concept: { name: "group" } }, - { module: "ARIA", concept: { name: "img" } }, - { module: "GRAPHICS", concept: { name: "graphics-symbol" } }, - ], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "group"]], - }; - exports.default = _default2; - }, - }), - require_graphicsSymbolRole = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _default2 = { - abstract: !1, - accessibleNameRequired: !0, - baseConcepts: [], - childrenPresentational: !0, - nameFrom: ["author"], - prohibitedProps: [], - props: { - "aria-disabled": null, - "aria-errormessage": null, - "aria-expanded": null, - "aria-haspopup": null, - "aria-invalid": null, - }, - relatedConcepts: [], - requireContextRole: [], - requiredContextRole: [], - requiredOwnedElements: [], - requiredProps: {}, - superClass: [["roletype", "structure", "section", "img"]], - }; - exports.default = _default2; - }, - }), - require_ariaGraphicsRoles = __commonJS({ - "../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _graphicsDocumentRole = _interopRequireDefault( - require_graphicsDocumentRole(), - ), - _graphicsObjectRole = _interopRequireDefault( - require_graphicsObjectRole(), - ), - _graphicsSymbolRole = _interopRequireDefault( - require_graphicsSymbolRole(), - ); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var _default2 = [ - ["graphics-document", _graphicsDocumentRole.default], - ["graphics-object", _graphicsObjectRole.default], - ["graphics-symbol", _graphicsSymbolRole.default], - ]; - exports.default = _default2; - }, - }), - require_rolesMap = __commonJS({ - "../../node_modules/aria-query/lib/rolesMap.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _ariaAbstractRoles = _interopRequireDefault( - require_ariaAbstractRoles(), - ), - _ariaLiteralRoles = _interopRequireDefault( - require_ariaLiteralRoles(), - ), - _ariaDpubRoles = _interopRequireDefault( - require_ariaDpubRoles(), - ), - _ariaGraphicsRoles = _interopRequireDefault( - require_ariaGraphicsRoles(), - ), - _iterationDecorator = _interopRequireDefault( - require_iterationDecorator(), - ); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function _createForOfIteratorHelper(o, allowArrayLike) { - var it = - (typeof Symbol < "u" && o[Symbol.iterator]) || - o["@@iterator"]; - if (!it) { - if ( - Array.isArray(o) || - (it = _unsupportedIterableToArray(o)) || - (allowArrayLike && o && "number" == typeof o.length) - ) { - it && (o = it); - var i = 0, - F = function () {}; - return { - s: F, - n: function () { - return i >= o.length - ? { done: !0 } - : { done: !1, value: o[i++] }; - }, - e: function (_e2) { - throw _e2; - }, - f: F, - }; - } - throw new TypeError( - "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - } - var err, - normalCompletion = !0, - didErr = !1; - return { - s: function () { - it = it.call(o); - }, - n: function () { - var step = it.next(); - return (normalCompletion = step.done), step; - }, - e: function (_e3) { - (didErr = !0), (err = _e3); - }, - f: function () { - try { - !normalCompletion && null != it.return && it.return(); - } finally { - if (didErr) throw err; - } - }, - }; - } - function _slicedToArray(arr, i) { - return ( - (function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - })(arr) || - (function _iterableToArrayLimit(arr, i) { - var _i = - null == arr - ? null - : (typeof Symbol < "u" && arr[Symbol.iterator]) || - arr["@@iterator"]; - if (null != _i) { - var _s, - _e, - _arr = [], - _n = !0, - _d = !1; - try { - for ( - _i = _i.call(arr); - !(_n = (_s = _i.next()).done) && - (_arr.push(_s.value), !i || _arr.length !== i); - _n = !0 - ); - } catch (err) { - (_d = !0), (_e = err); - } finally { - try { - !_n && null != _i.return && _i.return(); - } finally { - if (_d) throw _e; - } - } - return _arr; - } - })(arr, i) || - _unsupportedIterableToArray(arr, i) || - (function _nonIterableRest() { - throw new TypeError( - "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - })() - ); - } - function _unsupportedIterableToArray(o, minLen) { - if (o) { - if ("string" == typeof o) return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if ( - ("Object" === n && - o.constructor && - (n = o.constructor.name), - "Map" === n || "Set" === n) - ) - return Array.from(o); - if ( - "Arguments" === n || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ) - return _arrayLikeToArray(o, minLen); - } - } - function _arrayLikeToArray(arr, len) { - (null == len || len > arr.length) && (len = arr.length); - for (var i = 0, arr2 = new Array(len); i < len; i++) - arr2[i] = arr[i]; - return arr2; - } - var roles3 = [].concat( - _ariaAbstractRoles.default, - _ariaLiteralRoles.default, - _ariaDpubRoles.default, - _ariaGraphicsRoles.default, - ); - roles3.forEach(function (_ref) { - var _step, - roleDefinition = _slicedToArray(_ref, 2)[1], - _iterator = _createForOfIteratorHelper( - roleDefinition.superClass, - ); - try { - for (_iterator.s(); !(_step = _iterator.n()).done; ) { - var _step2, - _iterator2 = _createForOfIteratorHelper(_step.value); - try { - var _loop = function () { - var obj, - key, - value, - superClassName = _step2.value, - superClassRoleTuple = roles3.find(function (_ref3) { - return ( - _slicedToArray(_ref3, 1)[0] === superClassName - ); - }); - if (superClassRoleTuple) - for ( - var superClassDefinition = superClassRoleTuple[1], - _i2 = 0, - _Object$keys = Object.keys( - superClassDefinition.props, - ); - _i2 < _Object$keys.length; - _i2++ - ) { - var prop = _Object$keys[_i2]; - Object.prototype.hasOwnProperty.call( - roleDefinition.props, - prop, - ) || - Object.assign( - roleDefinition.props, - ((obj = {}), - (key = prop), - (value = superClassDefinition.props[prop]), - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj), - ); - } - }; - for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) - _loop(); - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }); - var rolesMap = { - entries: function () { - return roles3; - }, - forEach: function (fn3) { - var _step3, - thisArg = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : null, - _iterator3 = _createForOfIteratorHelper(roles3); - try { - for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) { - var _step3$value = _slicedToArray(_step3.value, 2), - key = _step3$value[0], - values = _step3$value[1]; - fn3.call(thisArg, values, key, roles3); - } - } catch (err) { - _iterator3.e(err); - } finally { - _iterator3.f(); - } - }, - get: function (key) { - var item = roles3.find(function (tuple) { - return tuple[0] === key; - }); - return item && item[1]; - }, - has: function (key) { - return !!rolesMap.get(key); - }, - keys: function () { - return roles3.map(function (_ref5) { - return _slicedToArray(_ref5, 1)[0]; - }); - }, - values: function () { - return roles3.map(function (_ref7) { - return _slicedToArray(_ref7, 2)[1]; - }); - }, - }, - _default2 = (0, _iterationDecorator.default)( - rolesMap, - rolesMap.entries(), - ); - exports.default = _default2; - }, - }), - require_lite = __commonJS({ - "../../node_modules/dequal/lite/index.js"(exports) { - var has = Object.prototype.hasOwnProperty; - exports.dequal = function dequal(foo, bar) { - var ctor, len; - if (foo === bar) return !0; - if ( - foo && - bar && - (ctor = foo.constructor) === bar.constructor - ) { - if (ctor === Date) return foo.getTime() === bar.getTime(); - if (ctor === RegExp) return foo.toString() === bar.toString(); - if (ctor === Array) { - if ((len = foo.length) === bar.length) - for (; len-- && dequal(foo[len], bar[len]); ); - return -1 === len; - } - if (!ctor || "object" == typeof foo) { - for (ctor in ((len = 0), foo)) - if ( - (has.call(foo, ctor) && - ++len && - !has.call(bar, ctor)) || - !(ctor in bar) || - !dequal(foo[ctor], bar[ctor]) - ) - return !1; - return Object.keys(bar).length === len; - } - } - return foo != foo && bar != bar; - }; - }, - }), - require_elementRoleMap = __commonJS({ - "../../node_modules/aria-query/lib/elementRoleMap.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _lite = require_lite(), - _iterationDecorator = _interopRequireDefault( - require_iterationDecorator(), - ), - _rolesMap = _interopRequireDefault(require_rolesMap()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function _slicedToArray(arr, i2) { - return ( - (function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - })(arr) || - (function _iterableToArrayLimit(arr, i2) { - var _i = - null == arr - ? null - : (typeof Symbol < "u" && arr[Symbol.iterator]) || - arr["@@iterator"]; - if (null != _i) { - var _s, - _e, - _arr = [], - _n = !0, - _d = !1; - try { - for ( - _i = _i.call(arr); - !(_n = (_s = _i.next()).done) && - (_arr.push(_s.value), !i2 || _arr.length !== i2); - _n = !0 - ); - } catch (err) { - (_d = !0), (_e = err); - } finally { - try { - !_n && null != _i.return && _i.return(); - } finally { - if (_d) throw _e; - } - } - return _arr; - } - })(arr, i2) || - _unsupportedIterableToArray(arr, i2) || - (function _nonIterableRest() { - throw new TypeError( - "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - })() - ); - } - function _unsupportedIterableToArray(o, minLen) { - if (o) { - if ("string" == typeof o) return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if ( - ("Object" === n && - o.constructor && - (n = o.constructor.name), - "Map" === n || "Set" === n) - ) - return Array.from(o); - if ( - "Arguments" === n || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ) - return _arrayLikeToArray(o, minLen); - } - } - function _arrayLikeToArray(arr, len) { - (null == len || len > arr.length) && (len = arr.length); - for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) - arr2[i2] = arr[i2]; - return arr2; - } - var elementRoles3 = [], - keys2 = _rolesMap.default.keys(); - for (i = 0; i < keys2.length; i++) - if (((key = keys2[i]), (role = _rolesMap.default.get(key)))) - for ( - concepts = [].concat( - role.baseConcepts, - role.relatedConcepts, - ), - k2 = 0; - k2 < concepts.length; - k2++ - ) - "HTML" === (relation = concepts[k2]).module && - (function () { - var concept = relation.concept; - if (concept) { - var roles3, - elementRoleRelation = elementRoles3.find( - function (relation2) { - return (0, _lite.dequal)(relation2, concept); - }, - ); - roles3 = elementRoleRelation - ? elementRoleRelation[1] - : []; - for ( - var isUnique = !0, _i = 0; - _i < roles3.length; - _i++ - ) - if (roles3[_i] === key) { - isUnique = !1; - break; - } - isUnique && roles3.push(key), - elementRoles3.push([concept, roles3]); - } - })(); - var key, - role, - concepts, - relation, - k2, - i, - elementRoleMap = { - entries: function () { - return elementRoles3; - }, - forEach: function (fn3) { - var _step, - thisArg = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : null, - _iterator = (function _createForOfIteratorHelper( - o, - allowArrayLike, - ) { - var it = - (typeof Symbol < "u" && o[Symbol.iterator]) || - o["@@iterator"]; - if (!it) { - if ( - Array.isArray(o) || - (it = _unsupportedIterableToArray(o)) || - (allowArrayLike && o && "number" == typeof o.length) - ) { - it && (o = it); - var i2 = 0, - F = function () {}; - return { - s: F, - n: function () { - return i2 >= o.length - ? { done: !0 } - : { done: !1, value: o[i2++] }; - }, - e: function (_e2) { - throw _e2; - }, - f: F, - }; - } - throw new TypeError( - "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - } - var err, - normalCompletion = !0, - didErr = !1; - return { - s: function () { - it = it.call(o); - }, - n: function () { - var step = it.next(); - return (normalCompletion = step.done), step; - }, - e: function (_e3) { - (didErr = !0), (err = _e3); - }, - f: function () { - try { - !normalCompletion && - null != it.return && - it.return(); - } finally { - if (didErr) throw err; - } - }, - }; - })(elementRoles3); - try { - for (_iterator.s(); !(_step = _iterator.n()).done; ) { - var _step$value = _slicedToArray(_step.value, 2), - _key = _step$value[0], - values = _step$value[1]; - fn3.call(thisArg, values, _key, elementRoles3); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }, - get: function (key2) { - var item = elementRoles3.find(function (tuple) { - return ( - key2.name === tuple[0].name && - (0, _lite.dequal)(key2.attributes, tuple[0].attributes) - ); - }); - return item && item[1]; - }, - has: function (key2) { - return !!elementRoleMap.get(key2); - }, - keys: function () { - return elementRoles3.map(function (_ref) { - return _slicedToArray(_ref, 1)[0]; - }); - }, - values: function () { - return elementRoles3.map(function (_ref3) { - return _slicedToArray(_ref3, 2)[1]; - }); - }, - }, - _default2 = (0, _iterationDecorator.default)( - elementRoleMap, - elementRoleMap.entries(), - ); - exports.default = _default2; - }, - }), - require_roleElementMap = __commonJS({ - "../../node_modules/aria-query/lib/roleElementMap.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = void 0); - var _iterationDecorator = _interopRequireDefault( - require_iterationDecorator(), - ), - _rolesMap = _interopRequireDefault(require_rolesMap()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - function _slicedToArray(arr, i2) { - return ( - (function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - })(arr) || - (function _iterableToArrayLimit(arr, i2) { - var _i = - null == arr - ? null - : (typeof Symbol < "u" && arr[Symbol.iterator]) || - arr["@@iterator"]; - if (null != _i) { - var _s, - _e, - _arr = [], - _n = !0, - _d = !1; - try { - for ( - _i = _i.call(arr); - !(_n = (_s = _i.next()).done) && - (_arr.push(_s.value), !i2 || _arr.length !== i2); - _n = !0 - ); - } catch (err) { - (_d = !0), (_e = err); - } finally { - try { - !_n && null != _i.return && _i.return(); - } finally { - if (_d) throw _e; - } - } - return _arr; - } - })(arr, i2) || - _unsupportedIterableToArray(arr, i2) || - (function _nonIterableRest() { - throw new TypeError( - "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - })() - ); - } - function _unsupportedIterableToArray(o, minLen) { - if (o) { - if ("string" == typeof o) return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if ( - ("Object" === n && - o.constructor && - (n = o.constructor.name), - "Map" === n || "Set" === n) - ) - return Array.from(o); - if ( - "Arguments" === n || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ) - return _arrayLikeToArray(o, minLen); - } - } - function _arrayLikeToArray(arr, len) { - (null == len || len > arr.length) && (len = arr.length); - for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) - arr2[i2] = arr[i2]; - return arr2; - } - var roleElement = [], - keys2 = _rolesMap.default.keys(); - for (i = 0; i < keys2.length; i++) - if ( - ((key = keys2[i]), - (relationConcepts = []), - (role = _rolesMap.default.get(key))) - ) { - for ( - concepts = [].concat( - role.baseConcepts, - role.relatedConcepts, - ), - k2 = 0; - k2 < concepts.length; - k2++ - ) - "HTML" === (relation = concepts[k2]).module && - null != (concept = relation.concept) && - relationConcepts.push(concept); - relationConcepts.length > 0 && - roleElement.push([key, relationConcepts]); - } - var key, - role, - relationConcepts, - concepts, - relation, - concept, - k2, - i, - roleElementMap = { - entries: function () { - return roleElement; - }, - forEach: function (fn3) { - var _step, - thisArg = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : null, - _iterator = (function _createForOfIteratorHelper( - o, - allowArrayLike, - ) { - var it = - (typeof Symbol < "u" && o[Symbol.iterator]) || - o["@@iterator"]; - if (!it) { - if ( - Array.isArray(o) || - (it = _unsupportedIterableToArray(o)) || - (allowArrayLike && o && "number" == typeof o.length) - ) { - it && (o = it); - var i2 = 0, - F = function () {}; - return { - s: F, - n: function () { - return i2 >= o.length - ? { done: !0 } - : { done: !1, value: o[i2++] }; - }, - e: function (_e2) { - throw _e2; - }, - f: F, - }; - } - throw new TypeError( - "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - } - var err, - normalCompletion = !0, - didErr = !1; - return { - s: function () { - it = it.call(o); - }, - n: function () { - var step = it.next(); - return (normalCompletion = step.done), step; - }, - e: function (_e3) { - (didErr = !0), (err = _e3); - }, - f: function () { - try { - !normalCompletion && - null != it.return && - it.return(); - } finally { - if (didErr) throw err; - } - }, - }; - })(roleElement); - try { - for (_iterator.s(); !(_step = _iterator.n()).done; ) { - var _step$value = _slicedToArray(_step.value, 2), - _key = _step$value[0], - values = _step$value[1]; - fn3.call(thisArg, values, _key, roleElement); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - }, - get: function (key2) { - var item = roleElement.find(function (tuple) { - return tuple[0] === key2; - }); - return item && item[1]; - }, - has: function (key2) { - return !!roleElementMap.get(key2); - }, - keys: function () { - return roleElement.map(function (_ref) { - return _slicedToArray(_ref, 1)[0]; - }); - }, - values: function () { - return roleElement.map(function (_ref3) { - return _slicedToArray(_ref3, 2)[1]; - }); - }, - }, - _default2 = (0, _iterationDecorator.default)( - roleElementMap, - roleElementMap.entries(), - ); - exports.default = _default2; - }, - }), - require_lib = __commonJS({ - "../../node_modules/aria-query/lib/index.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.roles = - exports.roleElements = - exports.elementRoles = - exports.dom = - exports.aria = - void 0); - var _ariaPropsMap = _interopRequireDefault( - require_ariaPropsMap(), - ), - _domMap = _interopRequireDefault(require_domMap()), - _rolesMap = _interopRequireDefault(require_rolesMap()), - _elementRoleMap = _interopRequireDefault( - require_elementRoleMap(), - ), - _roleElementMap = _interopRequireDefault( - require_roleElementMap(), - ); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var aria = _ariaPropsMap.default; - exports.aria = aria; - var dom = _domMap.default; - exports.dom = dom; - var roles3 = _rolesMap.default; - exports.roles = roles3; - var elementRoles3 = _elementRoleMap.default; - exports.elementRoles = elementRoles3; - var roleElements2 = _roleElementMap.default; - exports.roleElements = roleElements2; - }, - }), - require_color_name = __commonJS({ - "../../node_modules/color-name/index.js"(exports, module2) { - module2.exports = { - aliceblue: [240, 248, 255], - antiquewhite: [250, 235, 215], - aqua: [0, 255, 255], - aquamarine: [127, 255, 212], - azure: [240, 255, 255], - beige: [245, 245, 220], - bisque: [255, 228, 196], - black: [0, 0, 0], - blanchedalmond: [255, 235, 205], - blue: [0, 0, 255], - blueviolet: [138, 43, 226], - brown: [165, 42, 42], - burlywood: [222, 184, 135], - cadetblue: [95, 158, 160], - chartreuse: [127, 255, 0], - chocolate: [210, 105, 30], - coral: [255, 127, 80], - cornflowerblue: [100, 149, 237], - cornsilk: [255, 248, 220], - crimson: [220, 20, 60], - cyan: [0, 255, 255], - darkblue: [0, 0, 139], - darkcyan: [0, 139, 139], - darkgoldenrod: [184, 134, 11], - darkgray: [169, 169, 169], - darkgreen: [0, 100, 0], - darkgrey: [169, 169, 169], - darkkhaki: [189, 183, 107], - darkmagenta: [139, 0, 139], - darkolivegreen: [85, 107, 47], - darkorange: [255, 140, 0], - darkorchid: [153, 50, 204], - darkred: [139, 0, 0], - darksalmon: [233, 150, 122], - darkseagreen: [143, 188, 143], - darkslateblue: [72, 61, 139], - darkslategray: [47, 79, 79], - darkslategrey: [47, 79, 79], - darkturquoise: [0, 206, 209], - darkviolet: [148, 0, 211], - deeppink: [255, 20, 147], - deepskyblue: [0, 191, 255], - dimgray: [105, 105, 105], - dimgrey: [105, 105, 105], - dodgerblue: [30, 144, 255], - firebrick: [178, 34, 34], - floralwhite: [255, 250, 240], - forestgreen: [34, 139, 34], - fuchsia: [255, 0, 255], - gainsboro: [220, 220, 220], - ghostwhite: [248, 248, 255], - gold: [255, 215, 0], - goldenrod: [218, 165, 32], - gray: [128, 128, 128], - green: [0, 128, 0], - greenyellow: [173, 255, 47], - grey: [128, 128, 128], - honeydew: [240, 255, 240], - hotpink: [255, 105, 180], - indianred: [205, 92, 92], - indigo: [75, 0, 130], - ivory: [255, 255, 240], - khaki: [240, 230, 140], - lavender: [230, 230, 250], - lavenderblush: [255, 240, 245], - lawngreen: [124, 252, 0], - lemonchiffon: [255, 250, 205], - lightblue: [173, 216, 230], - lightcoral: [240, 128, 128], - lightcyan: [224, 255, 255], - lightgoldenrodyellow: [250, 250, 210], - lightgray: [211, 211, 211], - lightgreen: [144, 238, 144], - lightgrey: [211, 211, 211], - lightpink: [255, 182, 193], - lightsalmon: [255, 160, 122], - lightseagreen: [32, 178, 170], - lightskyblue: [135, 206, 250], - lightslategray: [119, 136, 153], - lightslategrey: [119, 136, 153], - lightsteelblue: [176, 196, 222], - lightyellow: [255, 255, 224], - lime: [0, 255, 0], - limegreen: [50, 205, 50], - linen: [250, 240, 230], - magenta: [255, 0, 255], - maroon: [128, 0, 0], - mediumaquamarine: [102, 205, 170], - mediumblue: [0, 0, 205], - mediumorchid: [186, 85, 211], - mediumpurple: [147, 112, 219], - mediumseagreen: [60, 179, 113], - mediumslateblue: [123, 104, 238], - mediumspringgreen: [0, 250, 154], - mediumturquoise: [72, 209, 204], - mediumvioletred: [199, 21, 133], - midnightblue: [25, 25, 112], - mintcream: [245, 255, 250], - mistyrose: [255, 228, 225], - moccasin: [255, 228, 181], - navajowhite: [255, 222, 173], - navy: [0, 0, 128], - oldlace: [253, 245, 230], - olive: [128, 128, 0], - olivedrab: [107, 142, 35], - orange: [255, 165, 0], - orangered: [255, 69, 0], - orchid: [218, 112, 214], - palegoldenrod: [238, 232, 170], - palegreen: [152, 251, 152], - paleturquoise: [175, 238, 238], - palevioletred: [219, 112, 147], - papayawhip: [255, 239, 213], - peachpuff: [255, 218, 185], - peru: [205, 133, 63], - pink: [255, 192, 203], - plum: [221, 160, 221], - powderblue: [176, 224, 230], - purple: [128, 0, 128], - rebeccapurple: [102, 51, 153], - red: [255, 0, 0], - rosybrown: [188, 143, 143], - royalblue: [65, 105, 225], - saddlebrown: [139, 69, 19], - salmon: [250, 128, 114], - sandybrown: [244, 164, 96], - seagreen: [46, 139, 87], - seashell: [255, 245, 238], - sienna: [160, 82, 45], - silver: [192, 192, 192], - skyblue: [135, 206, 235], - slateblue: [106, 90, 205], - slategray: [112, 128, 144], - slategrey: [112, 128, 144], - snow: [255, 250, 250], - springgreen: [0, 255, 127], - steelblue: [70, 130, 180], - tan: [210, 180, 140], - teal: [0, 128, 128], - thistle: [216, 191, 216], - tomato: [255, 99, 71], - turquoise: [64, 224, 208], - violet: [238, 130, 238], - wheat: [245, 222, 179], - white: [255, 255, 255], - whitesmoke: [245, 245, 245], - yellow: [255, 255, 0], - yellowgreen: [154, 205, 50], - }; - }, - }), - require_conversions = __commonJS({ - "../../node_modules/color-convert/conversions.js"( - exports, - module2, - ) { - var cssKeywords = require_color_name(), - reverseKeywords = {}; - for (let key of Object.keys(cssKeywords)) - reverseKeywords[cssKeywords[key]] = key; - var convert = { - rgb: { channels: 3, labels: "rgb" }, - hsl: { channels: 3, labels: "hsl" }, - hsv: { channels: 3, labels: "hsv" }, - hwb: { channels: 3, labels: "hwb" }, - cmyk: { channels: 4, labels: "cmyk" }, - xyz: { channels: 3, labels: "xyz" }, - lab: { channels: 3, labels: "lab" }, - lch: { channels: 3, labels: "lch" }, - hex: { channels: 1, labels: ["hex"] }, - keyword: { channels: 1, labels: ["keyword"] }, - ansi16: { channels: 1, labels: ["ansi16"] }, - ansi256: { channels: 1, labels: ["ansi256"] }, - hcg: { channels: 3, labels: ["h", "c", "g"] }, - apple: { channels: 3, labels: ["r16", "g16", "b16"] }, - gray: { channels: 1, labels: ["gray"] }, - }; - module2.exports = convert; - for (let model of Object.keys(convert)) { - if (!("channels" in convert[model])) - throw new Error("missing channels property: " + model); - if (!("labels" in convert[model])) - throw new Error("missing channel labels property: " + model); - if (convert[model].labels.length !== convert[model].channels) - throw new Error( - "channel and label counts mismatch: " + model, - ); - let { channels, labels } = convert[model]; - delete convert[model].channels, - delete convert[model].labels, - Object.defineProperty(convert[model], "channels", { - value: channels, - }), - Object.defineProperty(convert[model], "labels", { - value: labels, - }); - } - (convert.rgb.hsl = function (rgb) { - let h2, - s, - r = rgb[0] / 255, - g3 = rgb[1] / 255, - b = rgb[2] / 255, - min = Math.min(r, g3, b), - max = Math.max(r, g3, b), - delta = max - min; - max === min - ? (h2 = 0) - : r === max - ? (h2 = (g3 - b) / delta) - : g3 === max - ? (h2 = 2 + (b - r) / delta) - : b === max && (h2 = 4 + (r - g3) / delta), - (h2 = Math.min(60 * h2, 360)), - h2 < 0 && (h2 += 360); - let l = (min + max) / 2; - return ( - (s = - max === min - ? 0 - : l <= 0.5 - ? delta / (max + min) - : delta / (2 - max - min)), - [h2, 100 * s, 100 * l] - ); - }), - (convert.rgb.hsv = function (rgb) { - let rdif, - gdif, - bdif, - h2, - s, - r = rgb[0] / 255, - g3 = rgb[1] / 255, - b = rgb[2] / 255, - v = Math.max(r, g3, b), - diff2 = v - Math.min(r, g3, b), - diffc = function (c) { - return (v - c) / 6 / diff2 + 0.5; - }; - return ( - 0 === diff2 - ? ((h2 = 0), (s = 0)) - : ((s = diff2 / v), - (rdif = diffc(r)), - (gdif = diffc(g3)), - (bdif = diffc(b)), - r === v - ? (h2 = bdif - gdif) - : g3 === v - ? (h2 = 1 / 3 + rdif - bdif) - : b === v && (h2 = 2 / 3 + gdif - rdif), - h2 < 0 ? (h2 += 1) : h2 > 1 && (h2 -= 1)), - [360 * h2, 100 * s, 100 * v] - ); - }), - (convert.rgb.hwb = function (rgb) { - let r = rgb[0], - g3 = rgb[1], - b = rgb[2], - h2 = convert.rgb.hsl(rgb)[0], - w2 = (1 / 255) * Math.min(r, Math.min(g3, b)); - return ( - (b = 1 - (1 / 255) * Math.max(r, Math.max(g3, b))), - [h2, 100 * w2, 100 * b] - ); - }), - (convert.rgb.cmyk = function (rgb) { - let r = rgb[0] / 255, - g3 = rgb[1] / 255, - b = rgb[2] / 255, - k2 = Math.min(1 - r, 1 - g3, 1 - b); - return [ - 100 * ((1 - r - k2) / (1 - k2) || 0), - 100 * ((1 - g3 - k2) / (1 - k2) || 0), - 100 * ((1 - b - k2) / (1 - k2) || 0), - 100 * k2, - ]; - }), - (convert.rgb.keyword = function (rgb) { - let reversed = reverseKeywords[rgb]; - if (reversed) return reversed; - let currentClosestKeyword, - currentClosestDistance = 1 / 0; - for (let keyword of Object.keys(cssKeywords)) { - let value = cssKeywords[keyword], - distance = - ((y2 = value), - ((x2 = rgb)[0] - y2[0]) ** 2 + - (x2[1] - y2[1]) ** 2 + - (x2[2] - y2[2]) ** 2); - distance < currentClosestDistance && - ((currentClosestDistance = distance), - (currentClosestKeyword = keyword)); - } - var x2, y2; - return currentClosestKeyword; - }), - (convert.keyword.rgb = function (keyword) { - return cssKeywords[keyword]; - }), - (convert.rgb.xyz = function (rgb) { - let r = rgb[0] / 255, - g3 = rgb[1] / 255, - b = rgb[2] / 255; - return ( - (r = - r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92), - (g3 = - g3 > 0.04045 - ? ((g3 + 0.055) / 1.055) ** 2.4 - : g3 / 12.92), - (b = - b > 0.04045 ? ((b + 0.055) / 1.055) ** 2.4 : b / 12.92), - [ - 100 * (0.4124 * r + 0.3576 * g3 + 0.1805 * b), - 100 * (0.2126 * r + 0.7152 * g3 + 0.0722 * b), - 100 * (0.0193 * r + 0.1192 * g3 + 0.9505 * b), - ] - ); - }), - (convert.rgb.lab = function (rgb) { - let xyz = convert.rgb.xyz(rgb), - x2 = xyz[0], - y2 = xyz[1], - z = xyz[2]; - return ( - (x2 /= 95.047), - (y2 /= 100), - (z /= 108.883), - (x2 = - x2 > 0.008856 ? x2 ** (1 / 3) : 7.787 * x2 + 16 / 116), - (y2 = - y2 > 0.008856 ? y2 ** (1 / 3) : 7.787 * y2 + 16 / 116), - (z = z > 0.008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116), - [116 * y2 - 16, 500 * (x2 - y2), 200 * (y2 - z)] - ); - }), - (convert.hsl.rgb = function (hsl) { - let t2, - t3, - val, - h2 = hsl[0] / 360, - s = hsl[1] / 100, - l = hsl[2] / 100; - if (0 === s) return (val = 255 * l), [val, val, val]; - t2 = l < 0.5 ? l * (1 + s) : l + s - l * s; - let t1 = 2 * l - t2, - rgb = [0, 0, 0]; - for (let i = 0; i < 3; i++) - (t3 = h2 + (1 / 3) * -(i - 1)), - t3 < 0 && t3++, - t3 > 1 && t3--, - (val = - 6 * t3 < 1 - ? t1 + 6 * (t2 - t1) * t3 - : 2 * t3 < 1 - ? t2 - : 3 * t3 < 2 - ? t1 + (t2 - t1) * (2 / 3 - t3) * 6 - : t1), - (rgb[i] = 255 * val); - return rgb; - }), - (convert.hsl.hsv = function (hsl) { - let h2 = hsl[0], - s = hsl[1] / 100, - l = hsl[2] / 100, - smin = s, - lmin = Math.max(l, 0.01); - return ( - (l *= 2), - (s *= l <= 1 ? l : 2 - l), - (smin *= lmin <= 1 ? lmin : 2 - lmin), - [ - h2, - 100 * - (0 === l - ? (2 * smin) / (lmin + smin) - : (2 * s) / (l + s)), - 100 * ((l + s) / 2), - ] - ); - }), - (convert.hsv.rgb = function (hsv) { - let h2 = hsv[0] / 60, - s = hsv[1] / 100, - v = hsv[2] / 100, - hi = Math.floor(h2) % 6, - f4 = h2 - Math.floor(h2), - p3 = 255 * v * (1 - s), - q = 255 * v * (1 - s * f4), - t = 255 * v * (1 - s * (1 - f4)); - switch (((v *= 255), hi)) { - case 0: - return [v, t, p3]; - case 1: - return [q, v, p3]; - case 2: - return [p3, v, t]; - case 3: - return [p3, q, v]; - case 4: - return [t, p3, v]; - case 5: - return [v, p3, q]; - } - }), - (convert.hsv.hsl = function (hsv) { - let sl, - l, - h2 = hsv[0], - s = hsv[1] / 100, - v = hsv[2] / 100, - vmin = Math.max(v, 0.01); - l = (2 - s) * v; - let lmin = (2 - s) * vmin; - return ( - (sl = s * vmin), - (sl /= lmin <= 1 ? lmin : 2 - lmin), - (sl = sl || 0), - (l /= 2), - [h2, 100 * sl, 100 * l] - ); - }), - (convert.hwb.rgb = function (hwb) { - let f4, - h2 = hwb[0] / 360, - wh = hwb[1] / 100, - bl = hwb[2] / 100, - ratio = wh + bl; - ratio > 1 && ((wh /= ratio), (bl /= ratio)); - let i = Math.floor(6 * h2), - v = 1 - bl; - (f4 = 6 * h2 - i), 1 & i && (f4 = 1 - f4); - let r, - g3, - b, - n = wh + f4 * (v - wh); - switch (i) { - default: - case 6: - case 0: - (r = v), (g3 = n), (b = wh); - break; - case 1: - (r = n), (g3 = v), (b = wh); - break; - case 2: - (r = wh), (g3 = v), (b = n); - break; - case 3: - (r = wh), (g3 = n), (b = v); - break; - case 4: - (r = n), (g3 = wh), (b = v); - break; - case 5: - (r = v), (g3 = wh), (b = n); - } - return [255 * r, 255 * g3, 255 * b]; - }), - (convert.cmyk.rgb = function (cmyk) { - let c = cmyk[0] / 100, - m2 = cmyk[1] / 100, - y2 = cmyk[2] / 100, - k2 = cmyk[3] / 100; - return [ - 255 * (1 - Math.min(1, c * (1 - k2) + k2)), - 255 * (1 - Math.min(1, m2 * (1 - k2) + k2)), - 255 * (1 - Math.min(1, y2 * (1 - k2) + k2)), - ]; - }), - (convert.xyz.rgb = function (xyz) { - let r, - g3, - b, - x2 = xyz[0] / 100, - y2 = xyz[1] / 100, - z = xyz[2] / 100; - return ( - (r = 3.2406 * x2 + -1.5372 * y2 + -0.4986 * z), - (g3 = -0.9689 * x2 + 1.8758 * y2 + 0.0415 * z), - (b = 0.0557 * x2 + -0.204 * y2 + 1.057 * z), - (r = - r > 0.0031308 - ? 1.055 * r ** (1 / 2.4) - 0.055 - : 12.92 * r), - (g3 = - g3 > 0.0031308 - ? 1.055 * g3 ** (1 / 2.4) - 0.055 - : 12.92 * g3), - (b = - b > 0.0031308 - ? 1.055 * b ** (1 / 2.4) - 0.055 - : 12.92 * b), - (r = Math.min(Math.max(0, r), 1)), - (g3 = Math.min(Math.max(0, g3), 1)), - (b = Math.min(Math.max(0, b), 1)), - [255 * r, 255 * g3, 255 * b] - ); - }), - (convert.xyz.lab = function (xyz) { - let x2 = xyz[0], - y2 = xyz[1], - z = xyz[2]; - return ( - (x2 /= 95.047), - (y2 /= 100), - (z /= 108.883), - (x2 = - x2 > 0.008856 ? x2 ** (1 / 3) : 7.787 * x2 + 16 / 116), - (y2 = - y2 > 0.008856 ? y2 ** (1 / 3) : 7.787 * y2 + 16 / 116), - (z = z > 0.008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116), - [116 * y2 - 16, 500 * (x2 - y2), 200 * (y2 - z)] - ); - }), - (convert.lab.xyz = function (lab) { - let x2, y2, z; - (y2 = (lab[0] + 16) / 116), - (x2 = lab[1] / 500 + y2), - (z = y2 - lab[2] / 200); - let y22 = y2 ** 3, - x22 = x2 ** 3, - z2 = z ** 3; - return ( - (y2 = y22 > 0.008856 ? y22 : (y2 - 16 / 116) / 7.787), - (x2 = x22 > 0.008856 ? x22 : (x2 - 16 / 116) / 7.787), - (z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787), - (x2 *= 95.047), - (y2 *= 100), - (z *= 108.883), - [x2, y2, z] - ); - }), - (convert.lab.lch = function (lab) { - let h2, - l = lab[0], - a2 = lab[1], - b = lab[2]; - return ( - (h2 = (360 * Math.atan2(b, a2)) / 2 / Math.PI), - h2 < 0 && (h2 += 360), - [l, Math.sqrt(a2 * a2 + b * b), h2] - ); - }), - (convert.lch.lab = function (lch) { - let l = lch[0], - c = lch[1], - hr = (lch[2] / 360) * 2 * Math.PI; - return [l, c * Math.cos(hr), c * Math.sin(hr)]; - }), - (convert.rgb.ansi16 = function (args, saturation = null) { - let [r, g3, b] = args, - value = - null === saturation - ? convert.rgb.hsv(args)[2] - : saturation; - if (((value = Math.round(value / 50)), 0 === value)) - return 30; - let ansi = - 30 + - ((Math.round(b / 255) << 2) | - (Math.round(g3 / 255) << 1) | - Math.round(r / 255)); - return 2 === value && (ansi += 60), ansi; - }), - (convert.hsv.ansi16 = function (args) { - return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); - }), - (convert.rgb.ansi256 = function (args) { - let r = args[0], - g3 = args[1], - b = args[2]; - return r === g3 && g3 === b - ? r < 8 - ? 16 - : r > 248 - ? 231 - : Math.round(((r - 8) / 247) * 24) + 232 - : 16 + - 36 * Math.round((r / 255) * 5) + - 6 * Math.round((g3 / 255) * 5) + - Math.round((b / 255) * 5); - }), - (convert.ansi16.rgb = function (args) { - let color = args % 10; - if (0 === color || 7 === color) - return ( - args > 50 && (color += 3.5), - (color = (color / 10.5) * 255), - [color, color, color] - ); - let mult = 0.5 * (1 + ~~(args > 50)); - return [ - (1 & color) * mult * 255, - ((color >> 1) & 1) * mult * 255, - ((color >> 2) & 1) * mult * 255, - ]; - }), - (convert.ansi256.rgb = function (args) { - if (args >= 232) { - let c = 10 * (args - 232) + 8; - return [c, c, c]; - } - let rem; - return ( - (args -= 16), - [ - (Math.floor(args / 36) / 5) * 255, - (Math.floor((rem = args % 36) / 6) / 5) * 255, - ((rem % 6) / 5) * 255, - ] - ); - }), - (convert.rgb.hex = function (args) { - let string = ( - ((255 & Math.round(args[0])) << 16) + - ((255 & Math.round(args[1])) << 8) + - (255 & Math.round(args[2])) - ) - .toString(16) - .toUpperCase(); - return "000000".substring(string.length) + string; - }), - (convert.hex.rgb = function (args) { - let match = args - .toString(16) - .match(/[a-f0-9]{6}|[a-f0-9]{3}/i); - if (!match) return [0, 0, 0]; - let colorString = match[0]; - 3 === match[0].length && - (colorString = colorString - .split("") - .map((char) => char + char) - .join("")); - let integer = parseInt(colorString, 16); - return [ - (integer >> 16) & 255, - (integer >> 8) & 255, - 255 & integer, - ]; - }), - (convert.rgb.hcg = function (rgb) { - let grayscale, - hue, - r = rgb[0] / 255, - g3 = rgb[1] / 255, - b = rgb[2] / 255, - max = Math.max(Math.max(r, g3), b), - min = Math.min(Math.min(r, g3), b), - chroma = max - min; - return ( - (grayscale = chroma < 1 ? min / (1 - chroma) : 0), - (hue = - chroma <= 0 - ? 0 - : max === r - ? ((g3 - b) / chroma) % 6 - : max === g3 - ? 2 + (b - r) / chroma - : 4 + (r - g3) / chroma), - (hue /= 6), - (hue %= 1), - [360 * hue, 100 * chroma, 100 * grayscale] - ); - }), - (convert.hsl.hcg = function (hsl) { - let s = hsl[1] / 100, - l = hsl[2] / 100, - c = l < 0.5 ? 2 * s * l : 2 * s * (1 - l), - f4 = 0; - return ( - c < 1 && (f4 = (l - 0.5 * c) / (1 - c)), - [hsl[0], 100 * c, 100 * f4] - ); - }), - (convert.hsv.hcg = function (hsv) { - let s = hsv[1] / 100, - v = hsv[2] / 100, - c = s * v, - f4 = 0; - return ( - c < 1 && (f4 = (v - c) / (1 - c)), - [hsv[0], 100 * c, 100 * f4] - ); - }), - (convert.hcg.rgb = function (hcg) { - let h2 = hcg[0] / 360, - c = hcg[1] / 100, - g3 = hcg[2] / 100; - if (0 === c) return [255 * g3, 255 * g3, 255 * g3]; - let pure = [0, 0, 0], - hi = (h2 % 1) * 6, - v = hi % 1, - w2 = 1 - v, - mg = 0; - switch (Math.floor(hi)) { - case 0: - (pure[0] = 1), (pure[1] = v), (pure[2] = 0); - break; - case 1: - (pure[0] = w2), (pure[1] = 1), (pure[2] = 0); - break; - case 2: - (pure[0] = 0), (pure[1] = 1), (pure[2] = v); - break; - case 3: - (pure[0] = 0), (pure[1] = w2), (pure[2] = 1); - break; - case 4: - (pure[0] = v), (pure[1] = 0), (pure[2] = 1); - break; - default: - (pure[0] = 1), (pure[1] = 0), (pure[2] = w2); - } - return ( - (mg = (1 - c) * g3), - [ - 255 * (c * pure[0] + mg), - 255 * (c * pure[1] + mg), - 255 * (c * pure[2] + mg), - ] - ); - }), - (convert.hcg.hsv = function (hcg) { - let c = hcg[1] / 100, - v = c + (hcg[2] / 100) * (1 - c), - f4 = 0; - return v > 0 && (f4 = c / v), [hcg[0], 100 * f4, 100 * v]; - }), - (convert.hcg.hsl = function (hcg) { - let c = hcg[1] / 100, - l = (hcg[2] / 100) * (1 - c) + 0.5 * c, - s = 0; - return ( - l > 0 && l < 0.5 - ? (s = c / (2 * l)) - : l >= 0.5 && l < 1 && (s = c / (2 * (1 - l))), - [hcg[0], 100 * s, 100 * l] - ); - }), - (convert.hcg.hwb = function (hcg) { - let c = hcg[1] / 100, - v = c + (hcg[2] / 100) * (1 - c); - return [hcg[0], 100 * (v - c), 100 * (1 - v)]; - }), - (convert.hwb.hcg = function (hwb) { - let w2 = hwb[1] / 100, - v = 1 - hwb[2] / 100, - c = v - w2, - g3 = 0; - return ( - c < 1 && (g3 = (v - c) / (1 - c)), - [hwb[0], 100 * c, 100 * g3] - ); - }), - (convert.apple.rgb = function (apple) { - return [ - (apple[0] / 65535) * 255, - (apple[1] / 65535) * 255, - (apple[2] / 65535) * 255, - ]; - }), - (convert.rgb.apple = function (rgb) { - return [ - (rgb[0] / 255) * 65535, - (rgb[1] / 255) * 65535, - (rgb[2] / 255) * 65535, - ]; - }), - (convert.gray.rgb = function (args) { - return [ - (args[0] / 100) * 255, - (args[0] / 100) * 255, - (args[0] / 100) * 255, - ]; - }), - (convert.gray.hsl = function (args) { - return [0, 0, args[0]]; - }), - (convert.gray.hsv = convert.gray.hsl), - (convert.gray.hwb = function (gray) { - return [0, 100, gray[0]]; - }), - (convert.gray.cmyk = function (gray) { - return [0, 0, 0, gray[0]]; - }), - (convert.gray.lab = function (gray) { - return [gray[0], 0, 0]; - }), - (convert.gray.hex = function (gray) { - let val = 255 & Math.round((gray[0] / 100) * 255), - string = ((val << 16) + (val << 8) + val) - .toString(16) - .toUpperCase(); - return "000000".substring(string.length) + string; - }), - (convert.rgb.gray = function (rgb) { - return [((rgb[0] + rgb[1] + rgb[2]) / 3 / 255) * 100]; - }); - }, - }), - require_route = __commonJS({ - "../../node_modules/color-convert/route.js"(exports, module2) { - var conversions = require_conversions(); - function deriveBFS(fromModel) { - let graph = (function buildGraph() { - let graph = {}, - models = Object.keys(conversions); - for (let len = models.length, i = 0; i < len; i++) - graph[models[i]] = { distance: -1, parent: null }; - return graph; - })(), - queue = [fromModel]; - for (graph[fromModel].distance = 0; queue.length; ) { - let current = queue.pop(), - adjacents = Object.keys(conversions[current]); - for (let len = adjacents.length, i = 0; i < len; i++) { - let adjacent = adjacents[i], - node = graph[adjacent]; - -1 === node.distance && - ((node.distance = graph[current].distance + 1), - (node.parent = current), - queue.unshift(adjacent)); - } - } - return graph; - } - function link(from, to) { - return function (args) { - return to(from(args)); - }; - } - function wrapConversion(toModel, graph) { - let path = [graph[toModel].parent, toModel], - fn3 = conversions[graph[toModel].parent][toModel], - cur = graph[toModel].parent; - for (; graph[cur].parent; ) - path.unshift(graph[cur].parent), - (fn3 = link(conversions[graph[cur].parent][cur], fn3)), - (cur = graph[cur].parent); - return (fn3.conversion = path), fn3; - } - module2.exports = function (fromModel) { - let graph = deriveBFS(fromModel), - conversion = {}, - models = Object.keys(graph); - for (let len = models.length, i = 0; i < len; i++) { - let toModel = models[i]; - null !== graph[toModel].parent && - (conversion[toModel] = wrapConversion(toModel, graph)); - } - return conversion; - }; - }, - }), - require_color_convert = __commonJS({ - "../../node_modules/color-convert/index.js"(exports, module2) { - var conversions = require_conversions(), - route = require_route(), - convert = {}; - Object.keys(conversions).forEach((fromModel) => { - (convert[fromModel] = {}), - Object.defineProperty(convert[fromModel], "channels", { - value: conversions[fromModel].channels, - }), - Object.defineProperty(convert[fromModel], "labels", { - value: conversions[fromModel].labels, - }); - let routes = route(fromModel); - Object.keys(routes).forEach((toModel) => { - let fn3 = routes[toModel]; - (convert[fromModel][toModel] = (function wrapRounded(fn3) { - let wrappedFn = function (...args) { - let arg0 = args[0]; - if (null == arg0) return arg0; - arg0.length > 1 && (args = arg0); - let result = fn3(args); - if ("object" == typeof result) - for (let len = result.length, i = 0; i < len; i++) - result[i] = Math.round(result[i]); - return result; - }; - return ( - "conversion" in fn3 && - (wrappedFn.conversion = fn3.conversion), - wrappedFn - ); - })(fn3)), - (convert[fromModel][toModel].raw = (function wrapRaw(fn3) { - let wrappedFn = function (...args) { - let arg0 = args[0]; - return null == arg0 - ? arg0 - : (arg0.length > 1 && (args = arg0), fn3(args)); - }; - return ( - "conversion" in fn3 && - (wrappedFn.conversion = fn3.conversion), - wrappedFn - ); - })(fn3)); - }); - }), - (module2.exports = convert); - }, - }), - require_ansi_styles = __commonJS({ - "../../node_modules/ansi-styles/index.js"(exports, module2) { - var colorConvert, - wrapAnsi16 = - (fn3, offset) => - (...args) => - `[${fn3(...args) + offset}m`, - wrapAnsi256 = - (fn3, offset) => - (...args) => { - let code = fn3(...args); - return `[${38 + offset};5;${code}m`; - }, - wrapAnsi16m = - (fn3, offset) => - (...args) => { - let rgb = fn3(...args); - return `[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; - }, - ansi2ansi = (n) => n, - rgb2rgb = (r, g3, b) => [r, g3, b], - setLazyProperty = (object, property, get2) => { - Object.defineProperty(object, property, { - get: () => { - let value = get2(); - return ( - Object.defineProperty(object, property, { - value, - enumerable: !0, - configurable: !0, - }), - value - ); - }, - enumerable: !0, - configurable: !0, - }); - }, - makeDynamicStyles = ( - wrap, - targetSpace, - identity, - isBackground, - ) => { - void 0 === colorConvert && - (colorConvert = require_color_convert()); - let offset = isBackground ? 10 : 0, - styles3 = {}; - for (let [sourceSpace, suite] of Object.entries( - colorConvert, - )) { - let name = "ansi16" === sourceSpace ? "ansi" : sourceSpace; - sourceSpace === targetSpace - ? (styles3[name] = wrap(identity, offset)) - : "object" == typeof suite && - (styles3[name] = wrap(suite[targetSpace], offset)); - } - return styles3; - }; - Object.defineProperty(module2, "exports", { - enumerable: !0, - get: function assembleStyles() { - let codes = new Map(), - styles3 = { - modifier: { - reset: [0, 0], - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29], - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - blackBright: [90, 39], - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39], - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49], - }, - }; - (styles3.color.gray = styles3.color.blackBright), - (styles3.bgColor.bgGray = styles3.bgColor.bgBlackBright), - (styles3.color.grey = styles3.color.blackBright), - (styles3.bgColor.bgGrey = styles3.bgColor.bgBlackBright); - for (let [groupName, group] of Object.entries(styles3)) { - for (let [styleName, style] of Object.entries(group)) - (styles3[styleName] = { - open: `[${style[0]}m`, - close: `[${style[1]}m`, - }), - (group[styleName] = styles3[styleName]), - codes.set(style[0], style[1]); - Object.defineProperty(styles3, groupName, { - value: group, - enumerable: !1, - }); - } - return ( - Object.defineProperty(styles3, "codes", { - value: codes, - enumerable: !1, - }), - (styles3.color.close = ""), - (styles3.bgColor.close = ""), - setLazyProperty(styles3.color, "ansi", () => - makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, !1), - ), - setLazyProperty(styles3.color, "ansi256", () => - makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, !1), - ), - setLazyProperty(styles3.color, "ansi16m", () => - makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, !1), - ), - setLazyProperty(styles3.bgColor, "ansi", () => - makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, !0), - ), - setLazyProperty(styles3.bgColor, "ansi256", () => - makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, !0), - ), - setLazyProperty(styles3.bgColor, "ansi16m", () => - makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, !0), - ), - styles3 - ); - }, - }); - }, - }), - require_browser = __commonJS({ - "../../node_modules/supports-color/browser.js"(exports, module2) { - module2.exports = { stdout: !1, stderr: !1 }; - }, - }), - require_util2 = __commonJS({ - "../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"( - exports, - module2, - ) { - module2.exports = { - stringReplaceAll: (string, substring, replacer) => { - let index = string.indexOf(substring); - if (-1 === index) return string; - let substringLength = substring.length, - endIndex = 0, - returnValue = ""; - do { - (returnValue += - string.substr(endIndex, index - endIndex) + - substring + - replacer), - (endIndex = index + substringLength), - (index = string.indexOf(substring, endIndex)); - } while (-1 !== index); - return (returnValue += string.substr(endIndex)), returnValue; - }, - stringEncaseCRLFWithFirstIndex: ( - string, - prefix, - postfix, - index, - ) => { - let endIndex = 0, - returnValue = ""; - do { - let gotCR = "\r" === string[index - 1]; - (returnValue += - string.substr( - endIndex, - (gotCR ? index - 1 : index) - endIndex, - ) + - prefix + - (gotCR ? "\r\n" : "\n") + - postfix), - (endIndex = index + 1), - (index = string.indexOf("\n", endIndex)); - } while (-1 !== index); - return (returnValue += string.substr(endIndex)), returnValue; - }, - }; - }, - }), - require_templates = __commonJS({ - "../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"( - exports, - module2, - ) { - var TEMPLATE_REGEX = - /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi, - STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, - STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, - ESCAPE_REGEX = - /\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi, - ESCAPES = new Map([ - ["n", "\n"], - ["r", "\r"], - ["t", "\t"], - ["b", "\b"], - ["f", "\f"], - ["v", "\v"], - ["0", "\0"], - ["\\", "\\"], - ["e", ""], - ["a", ""], - ]); - function unescape(c) { - let u2 = "u" === c[0], - bracket = "{" === c[1]; - return (u2 && !bracket && 5 === c.length) || - ("x" === c[0] && 3 === c.length) - ? String.fromCharCode(parseInt(c.slice(1), 16)) - : u2 && bracket - ? String.fromCodePoint(parseInt(c.slice(2, -1), 16)) - : ESCAPES.get(c) || c; - } - function parseArguments(name, arguments_) { - let matches3, - results = [], - chunks = arguments_.trim().split(/\s*,\s*/g); - for (let chunk of chunks) { - let number = Number(chunk); - if (Number.isNaN(number)) { - if (!(matches3 = chunk.match(STRING_REGEX))) - throw new Error( - `Invalid Chalk template style argument: ${chunk} (in style '${name}')`, - ); - results.push( - matches3[2].replace( - ESCAPE_REGEX, - (m2, escape4, character) => - escape4 ? unescape(escape4) : character, - ), - ); - } else results.push(number); - } - return results; - } - function parseStyle(style) { - STYLE_REGEX.lastIndex = 0; - let matches3, - results = []; - for (; null !== (matches3 = STYLE_REGEX.exec(style)); ) { - let name = matches3[1]; - if (matches3[2]) { - let args = parseArguments(name, matches3[2]); - results.push([name].concat(args)); - } else results.push([name]); - } - return results; - } - function buildStyle(chalk3, styles3) { - let enabled = {}; - for (let layer of styles3) - for (let style of layer.styles) - enabled[style[0]] = layer.inverse ? null : style.slice(1); - let current = chalk3; - for (let [styleName, styles4] of Object.entries(enabled)) - if (Array.isArray(styles4)) { - if (!(styleName in current)) - throw new Error(`Unknown Chalk style: ${styleName}`); - current = - styles4.length > 0 - ? current[styleName](...styles4) - : current[styleName]; - } - return current; - } - module2.exports = (chalk3, temporary) => { - let styles3 = [], - chunks = [], - chunk = []; - if ( - (temporary.replace( - TEMPLATE_REGEX, - (m2, escapeCharacter, inverse, style, close, character) => { - if (escapeCharacter) - chunk.push(unescape(escapeCharacter)); - else if (style) { - let string = chunk.join(""); - (chunk = []), - chunks.push( - 0 === styles3.length - ? string - : buildStyle(chalk3, styles3)(string), - ), - styles3.push({ inverse, styles: parseStyle(style) }); - } else if (close) { - if (0 === styles3.length) - throw new Error( - "Found extraneous } in Chalk template literal", - ); - chunks.push( - buildStyle(chalk3, styles3)(chunk.join("")), - ), - (chunk = []), - styles3.pop(); - } else chunk.push(character); - }, - ), - chunks.push(chunk.join("")), - styles3.length > 0) - ) { - let errMsg = `Chalk template literal is missing ${styles3.length} closing bracket${1 === styles3.length ? "" : "s"} (\`}\`)`; - throw new Error(errMsg); - } - return chunks.join(""); - }; - }, - }), - require_source = __commonJS({ - "../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"( - exports, - module2, - ) { - var ansiStyles = require_ansi_styles(), - { stdout: stdoutColor, stderr: stderrColor } = - require_browser(), - { stringReplaceAll, stringEncaseCRLFWithFirstIndex } = - require_util2(), - levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"], - styles3 = Object.create(null), - ChalkClass = class { - constructor(options) { - return chalkFactory(options); - } - }, - chalkFactory = (options) => { - let chalk4 = {}; - return ( - ((object, options = {}) => { - if (options.level > 3 || options.level < 0) - throw new Error( - "The `level` option should be an integer from 0 to 3", - ); - let colorLevel = stdoutColor ? stdoutColor.level : 0; - object.level = - void 0 === options.level ? colorLevel : options.level; - })(chalk4, options), - (chalk4.template = (...arguments_) => - chalkTag(chalk4.template, ...arguments_)), - Object.setPrototypeOf(chalk4, Chalk.prototype), - Object.setPrototypeOf(chalk4.template, chalk4), - (chalk4.template.constructor = () => { - throw new Error( - "`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.", - ); - }), - (chalk4.template.Instance = ChalkClass), - chalk4.template - ); - }; - function Chalk(options) { - return chalkFactory(options); - } - for (let [styleName, style] of Object.entries(ansiStyles)) - styles3[styleName] = { - get() { - let builder = createBuilder( - this, - createStyler(style.open, style.close, this._styler), - this._isEmpty, - ); - return ( - Object.defineProperty(this, styleName, { - value: builder, - }), - builder - ); - }, - }; - styles3.visible = { - get() { - let builder = createBuilder(this, this._styler, !0); - return ( - Object.defineProperty(this, "visible", { value: builder }), - builder - ); - }, - }; - var usedModels = [ - "rgb", - "hex", - "keyword", - "hsl", - "hsv", - "hwb", - "ansi", - "ansi256", - ]; - for (let model of usedModels) - styles3[model] = { - get() { - let { level } = this; - return function (...arguments_) { - let styler = createStyler( - ansiStyles.color[levelMapping[level]][model]( - ...arguments_, - ), - ansiStyles.color.close, - this._styler, - ); - return createBuilder(this, styler, this._isEmpty); - }; - }, - }; - for (let model of usedModels) { - styles3["bg" + model[0].toUpperCase() + model.slice(1)] = { - get() { - let { level } = this; - return function (...arguments_) { - let styler = createStyler( - ansiStyles.bgColor[levelMapping[level]][model]( - ...arguments_, - ), - ansiStyles.bgColor.close, - this._styler, - ); - return createBuilder(this, styler, this._isEmpty); - }; - }, - }; - } - var template, - proto = Object.defineProperties(() => {}, { - ...styles3, - level: { - enumerable: !0, - get() { - return this._generator.level; - }, - set(level) { - this._generator.level = level; - }, - }, - }), - createStyler = (open, close, parent) => { - let openAll, closeAll; - return ( - void 0 === parent - ? ((openAll = open), (closeAll = close)) - : ((openAll = parent.openAll + open), - (closeAll = close + parent.closeAll)), - { open, close, openAll, closeAll, parent } - ); - }, - createBuilder = (self2, _styler, _isEmpty) => { - let builder = (...arguments_) => - applyStyle( - builder, - 1 === arguments_.length - ? "" + arguments_[0] - : arguments_.join(" "), - ); - return ( - (builder.__proto__ = proto), - (builder._generator = self2), - (builder._styler = _styler), - (builder._isEmpty = _isEmpty), - builder - ); - }, - applyStyle = (self2, string) => { - if (self2.level <= 0 || !string) - return self2._isEmpty ? "" : string; - let styler = self2._styler; - if (void 0 === styler) return string; - let { openAll, closeAll } = styler; - if (-1 !== string.indexOf("")) - for (; void 0 !== styler; ) - (string = stringReplaceAll( - string, - styler.close, - styler.open, - )), - (styler = styler.parent); - let lfIndex = string.indexOf("\n"); - return ( - -1 !== lfIndex && - (string = stringEncaseCRLFWithFirstIndex( - string, - closeAll, - openAll, - lfIndex, - )), - openAll + string + closeAll - ); - }, - chalkTag = (chalk4, ...strings) => { - let [firstString] = strings; - if (!Array.isArray(firstString)) return strings.join(" "); - let arguments_ = strings.slice(1), - parts = [firstString.raw[0]]; - for (let i = 1; i < firstString.length; i++) - parts.push( - String(arguments_[i - 1]).replace(/[{}\\]/g, "\\$&"), - String(firstString.raw[i]), - ); - return ( - void 0 === template && (template = require_templates()), - template(chalk4, parts.join("")) - ); - }; - Object.defineProperties(Chalk.prototype, styles3); - var chalk3 = Chalk(); - (chalk3.supportsColor = stdoutColor), - (chalk3.stderr = Chalk({ - level: stderrColor ? stderrColor.level : 0, - })), - (chalk3.stderr.supportsColor = stderrColor), - (chalk3.Level = { - None: 0, - Basic: 1, - Ansi256: 2, - TrueColor: 3, - 0: "None", - 1: "Basic", - 2: "Ansi256", - 3: "TrueColor", - }), - (module2.exports = chalk3); - }, - }), - require_listCacheClear = __commonJS({ - "../../node_modules/lodash/_listCacheClear.js"(exports, module2) { - module2.exports = function listCacheClear() { - (this.__data__ = []), (this.size = 0); - }; - }, - }), - require_eq = __commonJS({ - "../../node_modules/lodash/eq.js"(exports, module2) { - module2.exports = function eq2(value, other) { - return value === other || (value != value && other != other); - }; - }, - }), - require_assocIndexOf = __commonJS({ - "../../node_modules/lodash/_assocIndexOf.js"(exports, module2) { - var eq2 = require_eq(); - module2.exports = function assocIndexOf(array, key) { - for (var length = array.length; length--; ) - if (eq2(array[length][0], key)) return length; - return -1; - }; - }, - }), - require_listCacheDelete = __commonJS({ - "../../node_modules/lodash/_listCacheDelete.js"(exports, module2) { - var assocIndexOf = require_assocIndexOf(), - splice = Array.prototype.splice; - module2.exports = function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - return ( - !(index < 0) && - (index == data.length - 1 - ? data.pop() - : splice.call(data, index, 1), - --this.size, - !0) - ); - }; - }, - }), - require_listCacheGet = __commonJS({ - "../../node_modules/lodash/_listCacheGet.js"(exports, module2) { - var assocIndexOf = require_assocIndexOf(); - module2.exports = function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - return index < 0 ? void 0 : data[index][1]; - }; - }, - }), - require_listCacheHas = __commonJS({ - "../../node_modules/lodash/_listCacheHas.js"(exports, module2) { - var assocIndexOf = require_assocIndexOf(); - module2.exports = function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; - }; - }, - }), - require_listCacheSet = __commonJS({ - "../../node_modules/lodash/_listCacheSet.js"(exports, module2) { - var assocIndexOf = require_assocIndexOf(); - module2.exports = function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - return ( - index < 0 - ? (++this.size, data.push([key, value])) - : (data[index][1] = value), - this - ); - }; - }, - }), - require_ListCache = __commonJS({ - "../../node_modules/lodash/_ListCache.js"(exports, module2) { - var listCacheClear = require_listCacheClear(), - listCacheDelete = require_listCacheDelete(), - listCacheGet = require_listCacheGet(), - listCacheHas = require_listCacheHas(), - listCacheSet = require_listCacheSet(); - function ListCache(entries) { - var index = -1, - length = null == entries ? 0 : entries.length; - for (this.clear(); ++index < length; ) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - (ListCache.prototype.clear = listCacheClear), - (ListCache.prototype.delete = listCacheDelete), - (ListCache.prototype.get = listCacheGet), - (ListCache.prototype.has = listCacheHas), - (ListCache.prototype.set = listCacheSet), - (module2.exports = ListCache); - }, - }), - require_stackClear = __commonJS({ - "../../node_modules/lodash/_stackClear.js"(exports, module2) { - var ListCache = require_ListCache(); - module2.exports = function stackClear() { - (this.__data__ = new ListCache()), (this.size = 0); - }; - }, - }), - require_stackDelete = __commonJS({ - "../../node_modules/lodash/_stackDelete.js"(exports, module2) { - module2.exports = function stackDelete(key) { - var data = this.__data__, - result = data.delete(key); - return (this.size = data.size), result; - }; - }, - }), - require_stackGet = __commonJS({ - "../../node_modules/lodash/_stackGet.js"(exports, module2) { - module2.exports = function stackGet(key) { - return this.__data__.get(key); - }; - }, - }), - require_stackHas = __commonJS({ - "../../node_modules/lodash/_stackHas.js"(exports, module2) { - module2.exports = function stackHas(key) { - return this.__data__.has(key); - }; - }, - }), - require_freeGlobal = __commonJS({ - "../../node_modules/lodash/_freeGlobal.js"(exports, module2) { - var freeGlobal = - "object" == typeof __webpack_require__.g && - __webpack_require__.g && - __webpack_require__.g.Object === Object && - __webpack_require__.g; - module2.exports = freeGlobal; - }, - }), - require_root = __commonJS({ - "../../node_modules/lodash/_root.js"(exports, module2) { - var freeGlobal = require_freeGlobal(), - freeSelf = - "object" == typeof self && - self && - self.Object === Object && - self, - root = freeGlobal || freeSelf || Function("return this")(); - module2.exports = root; - }, - }), - require_Symbol = __commonJS({ - "../../node_modules/lodash/_Symbol.js"(exports, module2) { - var Symbol2 = require_root().Symbol; - module2.exports = Symbol2; - }, - }), - require_getRawTag = __commonJS({ - "../../node_modules/lodash/_getRawTag.js"(exports, module2) { - var Symbol2 = require_Symbol(), - objectProto = Object.prototype, - hasOwnProperty = objectProto.hasOwnProperty, - nativeObjectToString = objectProto.toString, - symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0; - module2.exports = function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - try { - value[symToStringTag] = void 0; - var unmasked = !0; - } catch {} - var result = nativeObjectToString.call(value); - return ( - unmasked && - (isOwn - ? (value[symToStringTag] = tag) - : delete value[symToStringTag]), - result - ); - }; - }, - }), - require_objectToString = __commonJS({ - "../../node_modules/lodash/_objectToString.js"(exports, module2) { - var nativeObjectToString = Object.prototype.toString; - module2.exports = function objectToString(value) { - return nativeObjectToString.call(value); - }; - }, - }), - require_baseGetTag = __commonJS({ - "../../node_modules/lodash/_baseGetTag.js"(exports, module2) { - var Symbol2 = require_Symbol(), - getRawTag = require_getRawTag(), - objectToString = require_objectToString(), - symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0; - module2.exports = function baseGetTag(value) { - return null == value - ? void 0 === value - ? "[object Undefined]" - : "[object Null]" - : symToStringTag && symToStringTag in Object(value) - ? getRawTag(value) - : objectToString(value); - }; - }, - }), - require_isObject = __commonJS({ - "../../node_modules/lodash/isObject.js"(exports, module2) { - module2.exports = function isObject2(value) { - var type5 = typeof value; - return ( - null != value && ("object" == type5 || "function" == type5) - ); - }; - }, - }), - require_isFunction = __commonJS({ - "../../node_modules/lodash/isFunction.js"(exports, module2) { - var baseGetTag = require_baseGetTag(), - isObject2 = require_isObject(); - module2.exports = function isFunction(value) { - if (!isObject2(value)) return !1; - var tag = baseGetTag(value); - return ( - "[object Function]" == tag || - "[object GeneratorFunction]" == tag || - "[object AsyncFunction]" == tag || - "[object Proxy]" == tag - ); - }; - }, - }), - require_coreJsData = __commonJS({ - "../../node_modules/lodash/_coreJsData.js"(exports, module2) { - var coreJsData = require_root()["__core-js_shared__"]; - module2.exports = coreJsData; - }, - }), - require_isMasked = __commonJS({ - "../../node_modules/lodash/_isMasked.js"(exports, module2) { - var uid, - coreJsData = require_coreJsData(), - maskSrcKey = (uid = /[^.]+$/.exec( - (coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO) || - "", - )) - ? "Symbol(src)_1." + uid - : ""; - module2.exports = function isMasked(func) { - return !!maskSrcKey && maskSrcKey in func; - }; - }, - }), - require_toSource = __commonJS({ - "../../node_modules/lodash/_toSource.js"(exports, module2) { - var funcToString = Function.prototype.toString; - module2.exports = function toSource(func) { - if (null != func) { - try { - return funcToString.call(func); - } catch {} - try { - return func + ""; - } catch {} - } - return ""; - }; - }, - }), - require_baseIsNative = __commonJS({ - "../../node_modules/lodash/_baseIsNative.js"(exports, module2) { - var isFunction = require_isFunction(), - isMasked = require_isMasked(), - isObject2 = require_isObject(), - toSource = require_toSource(), - reIsHostCtor = /^\[object .+?Constructor\]$/, - funcProto = Function.prototype, - objectProto = Object.prototype, - funcToString = funcProto.toString, - hasOwnProperty = objectProto.hasOwnProperty, - reIsNative = RegExp( - "^" + - funcToString - .call(hasOwnProperty) - .replace(/[\\^$.*+?()[\]{}|]/g, "\\$&") - .replace( - /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, - "$1.*?", - ) + - "$", - ); - module2.exports = function baseIsNative(value) { - return ( - !(!isObject2(value) || isMasked(value)) && - (isFunction(value) ? reIsNative : reIsHostCtor).test( - toSource(value), - ) - ); - }; - }, - }), - require_getValue = __commonJS({ - "../../node_modules/lodash/_getValue.js"(exports, module2) { - module2.exports = function getValue(object, key) { - return object?.[key]; - }; - }, - }), - require_getNative = __commonJS({ - "../../node_modules/lodash/_getNative.js"(exports, module2) { - var baseIsNative = require_baseIsNative(), - getValue = require_getValue(); - module2.exports = function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : void 0; - }; - }, - }), - require_Map = __commonJS({ - "../../node_modules/lodash/_Map.js"(exports, module2) { - var Map2 = require_getNative()(require_root(), "Map"); - module2.exports = Map2; - }, - }), - require_nativeCreate = __commonJS({ - "../../node_modules/lodash/_nativeCreate.js"(exports, module2) { - var nativeCreate = require_getNative()(Object, "create"); - module2.exports = nativeCreate; - }, - }), - require_hashClear = __commonJS({ - "../../node_modules/lodash/_hashClear.js"(exports, module2) { - var nativeCreate = require_nativeCreate(); - module2.exports = function hashClear() { - (this.__data__ = nativeCreate ? nativeCreate(null) : {}), - (this.size = 0); - }; - }, - }), - require_hashDelete = __commonJS({ - "../../node_modules/lodash/_hashDelete.js"(exports, module2) { - module2.exports = function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - return (this.size -= result ? 1 : 0), result; - }; - }, - }), - require_hashGet = __commonJS({ - "../../node_modules/lodash/_hashGet.js"(exports, module2) { - var nativeCreate = require_nativeCreate(), - hasOwnProperty = Object.prototype.hasOwnProperty; - module2.exports = function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return "__lodash_hash_undefined__" === result - ? void 0 - : result; - } - return hasOwnProperty.call(data, key) ? data[key] : void 0; - }; - }, - }), - require_hashHas = __commonJS({ - "../../node_modules/lodash/_hashHas.js"(exports, module2) { - var nativeCreate = require_nativeCreate(), - hasOwnProperty = Object.prototype.hasOwnProperty; - module2.exports = function hashHas(key) { - var data = this.__data__; - return nativeCreate - ? void 0 !== data[key] - : hasOwnProperty.call(data, key); - }; - }, - }), - require_hashSet = __commonJS({ - "../../node_modules/lodash/_hashSet.js"(exports, module2) { - var nativeCreate = require_nativeCreate(); - module2.exports = function hashSet(key, value) { - var data = this.__data__; - return ( - (this.size += this.has(key) ? 0 : 1), - (data[key] = - nativeCreate && void 0 === value - ? "__lodash_hash_undefined__" - : value), - this - ); - }; - }, - }), - require_Hash = __commonJS({ - "../../node_modules/lodash/_Hash.js"(exports, module2) { - var hashClear = require_hashClear(), - hashDelete = require_hashDelete(), - hashGet = require_hashGet(), - hashHas = require_hashHas(), - hashSet = require_hashSet(); - function Hash(entries) { - var index = -1, - length = null == entries ? 0 : entries.length; - for (this.clear(); ++index < length; ) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - (Hash.prototype.clear = hashClear), - (Hash.prototype.delete = hashDelete), - (Hash.prototype.get = hashGet), - (Hash.prototype.has = hashHas), - (Hash.prototype.set = hashSet), - (module2.exports = Hash); - }, - }), - require_mapCacheClear = __commonJS({ - "../../node_modules/lodash/_mapCacheClear.js"(exports, module2) { - var Hash = require_Hash(), - ListCache = require_ListCache(), - Map2 = require_Map(); - module2.exports = function mapCacheClear() { - (this.size = 0), - (this.__data__ = { - hash: new Hash(), - map: new (Map2 || ListCache)(), - string: new Hash(), - }); - }; - }, - }), - require_isKeyable = __commonJS({ - "../../node_modules/lodash/_isKeyable.js"(exports, module2) { - module2.exports = function isKeyable(value) { - var type5 = typeof value; - return "string" == type5 || - "number" == type5 || - "symbol" == type5 || - "boolean" == type5 - ? "__proto__" !== value - : null === value; - }; - }, - }), - require_getMapData = __commonJS({ - "../../node_modules/lodash/_getMapData.js"(exports, module2) { - var isKeyable = require_isKeyable(); - module2.exports = function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data["string" == typeof key ? "string" : "hash"] - : data.map; - }; - }, - }), - require_mapCacheDelete = __commonJS({ - "../../node_modules/lodash/_mapCacheDelete.js"(exports, module2) { - var getMapData = require_getMapData(); - module2.exports = function mapCacheDelete(key) { - var result = getMapData(this, key).delete(key); - return (this.size -= result ? 1 : 0), result; - }; - }, - }), - require_mapCacheGet = __commonJS({ - "../../node_modules/lodash/_mapCacheGet.js"(exports, module2) { - var getMapData = require_getMapData(); - module2.exports = function mapCacheGet(key) { - return getMapData(this, key).get(key); - }; - }, - }), - require_mapCacheHas = __commonJS({ - "../../node_modules/lodash/_mapCacheHas.js"(exports, module2) { - var getMapData = require_getMapData(); - module2.exports = function mapCacheHas(key) { - return getMapData(this, key).has(key); - }; - }, - }), - require_mapCacheSet = __commonJS({ - "../../node_modules/lodash/_mapCacheSet.js"(exports, module2) { - var getMapData = require_getMapData(); - module2.exports = function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; - return ( - data.set(key, value), - (this.size += data.size == size ? 0 : 1), - this - ); - }; - }, - }), - require_MapCache = __commonJS({ - "../../node_modules/lodash/_MapCache.js"(exports, module2) { - var mapCacheClear = require_mapCacheClear(), - mapCacheDelete = require_mapCacheDelete(), - mapCacheGet = require_mapCacheGet(), - mapCacheHas = require_mapCacheHas(), - mapCacheSet = require_mapCacheSet(); - function MapCache(entries) { - var index = -1, - length = null == entries ? 0 : entries.length; - for (this.clear(); ++index < length; ) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - (MapCache.prototype.clear = mapCacheClear), - (MapCache.prototype.delete = mapCacheDelete), - (MapCache.prototype.get = mapCacheGet), - (MapCache.prototype.has = mapCacheHas), - (MapCache.prototype.set = mapCacheSet), - (module2.exports = MapCache); - }, - }), - require_stackSet = __commonJS({ - "../../node_modules/lodash/_stackSet.js"(exports, module2) { - var ListCache = require_ListCache(), - Map2 = require_Map(), - MapCache = require_MapCache(); - module2.exports = function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map2 || pairs.length < 199) - return ( - pairs.push([key, value]), (this.size = ++data.size), this - ); - data = this.__data__ = new MapCache(pairs); - } - return data.set(key, value), (this.size = data.size), this; - }; - }, - }), - require_Stack = __commonJS({ - "../../node_modules/lodash/_Stack.js"(exports, module2) { - var ListCache = require_ListCache(), - stackClear = require_stackClear(), - stackDelete = require_stackDelete(), - stackGet = require_stackGet(), - stackHas = require_stackHas(), - stackSet = require_stackSet(); - function Stack(entries) { - var data = (this.__data__ = new ListCache(entries)); - this.size = data.size; - } - (Stack.prototype.clear = stackClear), - (Stack.prototype.delete = stackDelete), - (Stack.prototype.get = stackGet), - (Stack.prototype.has = stackHas), - (Stack.prototype.set = stackSet), - (module2.exports = Stack); - }, - }), - require_setCacheAdd = __commonJS({ - "../../node_modules/lodash/_setCacheAdd.js"(exports, module2) { - module2.exports = function setCacheAdd(value) { - return ( - this.__data__.set(value, "__lodash_hash_undefined__"), this - ); - }; - }, - }), - require_setCacheHas = __commonJS({ - "../../node_modules/lodash/_setCacheHas.js"(exports, module2) { - module2.exports = function setCacheHas(value) { - return this.__data__.has(value); - }; - }, - }), - require_SetCache = __commonJS({ - "../../node_modules/lodash/_SetCache.js"(exports, module2) { - var MapCache = require_MapCache(), - setCacheAdd = require_setCacheAdd(), - setCacheHas = require_setCacheHas(); - function SetCache(values) { - var index = -1, - length = null == values ? 0 : values.length; - for (this.__data__ = new MapCache(); ++index < length; ) - this.add(values[index]); - } - (SetCache.prototype.add = SetCache.prototype.push = setCacheAdd), - (SetCache.prototype.has = setCacheHas), - (module2.exports = SetCache); - }, - }), - require_arraySome = __commonJS({ - "../../node_modules/lodash/_arraySome.js"(exports, module2) { - module2.exports = function arraySome(array, predicate) { - for ( - var index = -1, length = null == array ? 0 : array.length; - ++index < length; - - ) - if (predicate(array[index], index, array)) return !0; - return !1; - }; - }, - }), - require_cacheHas = __commonJS({ - "../../node_modules/lodash/_cacheHas.js"(exports, module2) { - module2.exports = function cacheHas(cache, key) { - return cache.has(key); - }; - }, - }), - require_equalArrays = __commonJS({ - "../../node_modules/lodash/_equalArrays.js"(exports, module2) { - var SetCache = require_SetCache(), - arraySome = require_arraySome(), - cacheHas = require_cacheHas(); - module2.exports = function equalArrays( - array, - other, - bitmask, - customizer, - equalFunc, - stack, - ) { - var isPartial = 1 & bitmask, - arrLength = array.length, - othLength = other.length; - if ( - arrLength != othLength && - !(isPartial && othLength > arrLength) - ) - return !1; - var arrStacked = stack.get(array), - othStacked = stack.get(other); - if (arrStacked && othStacked) - return arrStacked == other && othStacked == array; - var index = -1, - result = !0, - seen = 2 & bitmask ? new SetCache() : void 0; - for ( - stack.set(array, other), stack.set(other, array); - ++index < arrLength; - - ) { - var arrValue = array[index], - othValue = other[index]; - if (customizer) - var compared = isPartial - ? customizer( - othValue, - arrValue, - index, - other, - array, - stack, - ) - : customizer( - arrValue, - othValue, - index, - array, - other, - stack, - ); - if (void 0 !== compared) { - if (compared) continue; - result = !1; - break; - } - if (seen) { - if ( - !arraySome(other, function (othValue2, othIndex) { - if ( - !cacheHas(seen, othIndex) && - (arrValue === othValue2 || - equalFunc( - arrValue, - othValue2, - bitmask, - customizer, - stack, - )) - ) - return seen.push(othIndex); - }) - ) { - result = !1; - break; - } - } else if ( - arrValue !== othValue && - !equalFunc(arrValue, othValue, bitmask, customizer, stack) - ) { - result = !1; - break; - } - } - return stack.delete(array), stack.delete(other), result; - }; - }, - }), - require_Uint8Array = __commonJS({ - "../../node_modules/lodash/_Uint8Array.js"(exports, module2) { - var Uint8Array2 = require_root().Uint8Array; - module2.exports = Uint8Array2; - }, - }), - require_mapToArray = __commonJS({ - "../../node_modules/lodash/_mapToArray.js"(exports, module2) { - module2.exports = function mapToArray(map) { - var index = -1, - result = Array(map.size); - return ( - map.forEach(function (value, key) { - result[++index] = [key, value]; - }), - result - ); - }; - }, - }), - require_setToArray = __commonJS({ - "../../node_modules/lodash/_setToArray.js"(exports, module2) { - module2.exports = function setToArray(set2) { - var index = -1, - result = Array(set2.size); - return ( - set2.forEach(function (value) { - result[++index] = value; - }), - result - ); - }; - }, - }), - require_equalByTag = __commonJS({ - "../../node_modules/lodash/_equalByTag.js"(exports, module2) { - var Symbol2 = require_Symbol(), - Uint8Array2 = require_Uint8Array(), - eq2 = require_eq(), - equalArrays = require_equalArrays(), - mapToArray = require_mapToArray(), - setToArray = require_setToArray(), - symbolProto = Symbol2 ? Symbol2.prototype : void 0, - symbolValueOf = symbolProto ? symbolProto.valueOf : void 0; - module2.exports = function equalByTag( - object, - other, - tag, - bitmask, - customizer, - equalFunc, - stack, - ) { - switch (tag) { - case "[object DataView]": - if ( - object.byteLength != other.byteLength || - object.byteOffset != other.byteOffset - ) - return !1; - (object = object.buffer), (other = other.buffer); - case "[object ArrayBuffer]": - return !( - object.byteLength != other.byteLength || - !equalFunc( - new Uint8Array2(object), - new Uint8Array2(other), - ) - ); - case "[object Boolean]": - case "[object Date]": - case "[object Number]": - return eq2(+object, +other); - case "[object Error]": - return ( - object.name == other.name && - object.message == other.message - ); - case "[object RegExp]": - case "[object String]": - return object == other + ""; - case "[object Map]": - var convert = mapToArray; - case "[object Set]": - var isPartial = 1 & bitmask; - if ( - (convert || (convert = setToArray), - object.size != other.size && !isPartial) - ) - return !1; - var stacked = stack.get(object); - if (stacked) return stacked == other; - (bitmask |= 2), stack.set(object, other); - var result = equalArrays( - convert(object), - convert(other), - bitmask, - customizer, - equalFunc, - stack, - ); - return stack.delete(object), result; - case "[object Symbol]": - if (symbolValueOf) - return ( - symbolValueOf.call(object) == symbolValueOf.call(other) - ); - } - return !1; - }; - }, - }), - require_arrayPush = __commonJS({ - "../../node_modules/lodash/_arrayPush.js"(exports, module2) { - module2.exports = function arrayPush(array, values) { - for ( - var index = -1, length = values.length, offset = array.length; - ++index < length; - - ) - array[offset + index] = values[index]; - return array; - }; - }, - }), - require_isArray = __commonJS({ - "../../node_modules/lodash/isArray.js"(exports, module2) { - var isArray = Array.isArray; - module2.exports = isArray; - }, - }), - require_baseGetAllKeys = __commonJS({ - "../../node_modules/lodash/_baseGetAllKeys.js"(exports, module2) { - var arrayPush = require_arrayPush(), - isArray = require_isArray(); - module2.exports = function baseGetAllKeys( - object, - keysFunc, - symbolsFunc, - ) { - var result = keysFunc(object); - return isArray(object) - ? result - : arrayPush(result, symbolsFunc(object)); - }; - }, - }), - require_arrayFilter = __commonJS({ - "../../node_modules/lodash/_arrayFilter.js"(exports, module2) { - module2.exports = function arrayFilter(array, predicate) { - for ( - var index = -1, - length = null == array ? 0 : array.length, - resIndex = 0, - result = []; - ++index < length; - - ) { - var value = array[index]; - predicate(value, index, array) && - (result[resIndex++] = value); - } - return result; - }; - }, - }), - require_stubArray = __commonJS({ - "../../node_modules/lodash/stubArray.js"(exports, module2) { - module2.exports = function stubArray() { - return []; - }; - }, - }), - require_getSymbols = __commonJS({ - "../../node_modules/lodash/_getSymbols.js"(exports, module2) { - var arrayFilter = require_arrayFilter(), - stubArray = require_stubArray(), - propertyIsEnumerable = Object.prototype.propertyIsEnumerable, - nativeGetSymbols = Object.getOwnPropertySymbols, - getSymbols = nativeGetSymbols - ? function (object) { - return null == object - ? [] - : ((object = Object(object)), - arrayFilter( - nativeGetSymbols(object), - function (symbol) { - return propertyIsEnumerable.call(object, symbol); - }, - )); - } - : stubArray; - module2.exports = getSymbols; - }, - }), - require_baseTimes = __commonJS({ - "../../node_modules/lodash/_baseTimes.js"(exports, module2) { - module2.exports = function baseTimes(n, iteratee) { - for (var index = -1, result = Array(n); ++index < n; ) - result[index] = iteratee(index); - return result; - }; - }, - }), - require_isObjectLike = __commonJS({ - "../../node_modules/lodash/isObjectLike.js"(exports, module2) { - module2.exports = function isObjectLike(value) { - return null != value && "object" == typeof value; - }; - }, - }), - require_baseIsArguments = __commonJS({ - "../../node_modules/lodash/_baseIsArguments.js"(exports, module2) { - var baseGetTag = require_baseGetTag(), - isObjectLike = require_isObjectLike(); - module2.exports = function baseIsArguments(value) { - return ( - isObjectLike(value) && - "[object Arguments]" == baseGetTag(value) - ); - }; - }, - }), - require_isArguments = __commonJS({ - "../../node_modules/lodash/isArguments.js"(exports, module2) { - var baseIsArguments = require_baseIsArguments(), - isObjectLike = require_isObjectLike(), - objectProto = Object.prototype, - hasOwnProperty = objectProto.hasOwnProperty, - propertyIsEnumerable = objectProto.propertyIsEnumerable, - isArguments = baseIsArguments( - (function () { - return arguments; - })(), - ) - ? baseIsArguments - : function (value) { - return ( - isObjectLike(value) && - hasOwnProperty.call(value, "callee") && - !propertyIsEnumerable.call(value, "callee") - ); - }; - module2.exports = isArguments; - }, - }), - require_stubFalse = __commonJS({ - "../../node_modules/lodash/stubFalse.js"(exports, module2) { - module2.exports = function stubFalse() { - return !1; - }; - }, - }), - require_isBuffer = __commonJS({ - "../../node_modules/lodash/isBuffer.js"(exports, module2) { - var root = require_root(), - stubFalse = require_stubFalse(), - freeExports = - "object" == typeof exports && - exports && - !exports.nodeType && - exports, - freeModule = - freeExports && - "object" == typeof module2 && - module2 && - !module2.nodeType && - module2, - Buffer2 = - freeModule && freeModule.exports === freeExports - ? root.Buffer - : void 0, - isBuffer = (Buffer2 ? Buffer2.isBuffer : void 0) || stubFalse; - module2.exports = isBuffer; - }, - }), - require_isIndex = __commonJS({ - "../../node_modules/lodash/_isIndex.js"(exports, module2) { - var reIsUint = /^(?:0|[1-9]\d*)$/; - module2.exports = function isIndex(value, length) { - var type5 = typeof value; - return ( - !!(length = length ?? 9007199254740991) && - ("number" == type5 || - ("symbol" != type5 && reIsUint.test(value))) && - value > -1 && - value % 1 == 0 && - value < length - ); - }; - }, - }), - require_isLength = __commonJS({ - "../../node_modules/lodash/isLength.js"(exports, module2) { - module2.exports = function isLength(value) { - return ( - "number" == typeof value && - value > -1 && - value % 1 == 0 && - value <= 9007199254740991 - ); - }; - }, - }), - require_baseIsTypedArray = __commonJS({ - "../../node_modules/lodash/_baseIsTypedArray.js"(exports, module2) { - var baseGetTag = require_baseGetTag(), - isLength = require_isLength(), - isObjectLike = require_isObjectLike(), - typedArrayTags = {}; - (typedArrayTags["[object Float32Array]"] = - typedArrayTags["[object Float64Array]"] = - typedArrayTags["[object Int8Array]"] = - typedArrayTags["[object Int16Array]"] = - typedArrayTags["[object Int32Array]"] = - typedArrayTags["[object Uint8Array]"] = - typedArrayTags["[object Uint8ClampedArray]"] = - typedArrayTags["[object Uint16Array]"] = - typedArrayTags["[object Uint32Array]"] = - !0), - (typedArrayTags["[object Arguments]"] = - typedArrayTags["[object Array]"] = - typedArrayTags["[object ArrayBuffer]"] = - typedArrayTags["[object Boolean]"] = - typedArrayTags["[object DataView]"] = - typedArrayTags["[object Date]"] = - typedArrayTags["[object Error]"] = - typedArrayTags["[object Function]"] = - typedArrayTags["[object Map]"] = - typedArrayTags["[object Number]"] = - typedArrayTags["[object Object]"] = - typedArrayTags["[object RegExp]"] = - typedArrayTags["[object Set]"] = - typedArrayTags["[object String]"] = - typedArrayTags["[object WeakMap]"] = - !1), - (module2.exports = function baseIsTypedArray(value) { - return ( - isObjectLike(value) && - isLength(value.length) && - !!typedArrayTags[baseGetTag(value)] - ); - }); - }, - }), - require_baseUnary = __commonJS({ - "../../node_modules/lodash/_baseUnary.js"(exports, module2) { - module2.exports = function baseUnary(func) { - return function (value) { - return func(value); - }; - }; - }, - }), - require_nodeUtil = __commonJS({ - "../../node_modules/lodash/_nodeUtil.js"(exports, module2) { - var freeGlobal = require_freeGlobal(), - freeExports = - "object" == typeof exports && - exports && - !exports.nodeType && - exports, - freeModule = - freeExports && - "object" == typeof module2 && - module2 && - !module2.nodeType && - module2, - freeProcess = - freeModule && - freeModule.exports === freeExports && - freeGlobal.process, - nodeUtil = (function () { - try { - return ( - (freeModule && - freeModule.require && - freeModule.require("util").types) || - (freeProcess && - freeProcess.binding && - freeProcess.binding("util")) - ); - } catch {} - })(); - module2.exports = nodeUtil; - }, - }), - require_isTypedArray = __commonJS({ - "../../node_modules/lodash/isTypedArray.js"(exports, module2) { - var baseIsTypedArray = require_baseIsTypedArray(), - baseUnary = require_baseUnary(), - nodeUtil = require_nodeUtil(), - nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray, - isTypedArray = nodeIsTypedArray - ? baseUnary(nodeIsTypedArray) - : baseIsTypedArray; - module2.exports = isTypedArray; - }, - }), - require_arrayLikeKeys = __commonJS({ - "../../node_modules/lodash/_arrayLikeKeys.js"(exports, module2) { - var baseTimes = require_baseTimes(), - isArguments = require_isArguments(), - isArray = require_isArray(), - isBuffer = require_isBuffer(), - isIndex = require_isIndex(), - isTypedArray = require_isTypedArray(), - hasOwnProperty = Object.prototype.hasOwnProperty; - module2.exports = function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - for (var key in value) - (inherited || hasOwnProperty.call(value, key)) && - (!skipIndexes || - !( - "length" == key || - (isBuff && ("offset" == key || "parent" == key)) || - (isType && - ("buffer" == key || - "byteLength" == key || - "byteOffset" == key)) || - isIndex(key, length) - )) && - result.push(key); - return result; - }; - }, - }), - require_isPrototype = __commonJS({ - "../../node_modules/lodash/_isPrototype.js"(exports, module2) { - var objectProto = Object.prototype; - module2.exports = function isPrototype(value) { - var Ctor = value && value.constructor; - return ( - value === - (("function" == typeof Ctor && Ctor.prototype) || objectProto) - ); - }; - }, - }), - require_overArg = __commonJS({ - "../../node_modules/lodash/_overArg.js"(exports, module2) { - module2.exports = function overArg(func, transform) { - return function (arg) { - return func(transform(arg)); - }; - }; - }, - }), - require_nativeKeys = __commonJS({ - "../../node_modules/lodash/_nativeKeys.js"(exports, module2) { - var nativeKeys = require_overArg()(Object.keys, Object); - module2.exports = nativeKeys; - }, - }), - require_baseKeys = __commonJS({ - "../../node_modules/lodash/_baseKeys.js"(exports, module2) { - var isPrototype = require_isPrototype(), - nativeKeys = require_nativeKeys(), - hasOwnProperty = Object.prototype.hasOwnProperty; - module2.exports = function baseKeys(object) { - if (!isPrototype(object)) return nativeKeys(object); - var result = []; - for (var key in Object(object)) - hasOwnProperty.call(object, key) && - "constructor" != key && - result.push(key); - return result; - }; - }, - }), - require_isArrayLike = __commonJS({ - "../../node_modules/lodash/isArrayLike.js"(exports, module2) { - var isFunction = require_isFunction(), - isLength = require_isLength(); - module2.exports = function isArrayLike(value) { - return ( - null != value && isLength(value.length) && !isFunction(value) - ); - }; - }, - }), - require_keys = __commonJS({ - "../../node_modules/lodash/keys.js"(exports, module2) { - var arrayLikeKeys = require_arrayLikeKeys(), - baseKeys = require_baseKeys(), - isArrayLike = require_isArrayLike(); - module2.exports = function keys2(object) { - return isArrayLike(object) - ? arrayLikeKeys(object) - : baseKeys(object); - }; - }, - }), - require_getAllKeys = __commonJS({ - "../../node_modules/lodash/_getAllKeys.js"(exports, module2) { - var baseGetAllKeys = require_baseGetAllKeys(), - getSymbols = require_getSymbols(), - keys2 = require_keys(); - module2.exports = function getAllKeys(object) { - return baseGetAllKeys(object, keys2, getSymbols); - }; - }, - }), - require_equalObjects = __commonJS({ - "../../node_modules/lodash/_equalObjects.js"(exports, module2) { - var getAllKeys = require_getAllKeys(), - hasOwnProperty = Object.prototype.hasOwnProperty; - module2.exports = function equalObjects( - object, - other, - bitmask, - customizer, - equalFunc, - stack, - ) { - var isPartial = 1 & bitmask, - objProps = getAllKeys(object), - objLength = objProps.length; - if (objLength != getAllKeys(other).length && !isPartial) - return !1; - for (var index = objLength; index--; ) { - var key = objProps[index]; - if ( - !(isPartial - ? key in other - : hasOwnProperty.call(other, key)) - ) - return !1; - } - var objStacked = stack.get(object), - othStacked = stack.get(other); - if (objStacked && othStacked) - return objStacked == other && othStacked == object; - var result = !0; - stack.set(object, other), stack.set(other, object); - for (var skipCtor = isPartial; ++index < objLength; ) { - var objValue = object[(key = objProps[index])], - othValue = other[key]; - if (customizer) - var compared = isPartial - ? customizer( - othValue, - objValue, - key, - other, - object, - stack, - ) - : customizer( - objValue, - othValue, - key, - object, - other, - stack, - ); - if ( - !(void 0 === compared - ? objValue === othValue || - equalFunc( - objValue, - othValue, - bitmask, - customizer, - stack, - ) - : compared) - ) { - result = !1; - break; - } - skipCtor || (skipCtor = "constructor" == key); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - objCtor != othCtor && - "constructor" in object && - "constructor" in other && - !( - "function" == typeof objCtor && - objCtor instanceof objCtor && - "function" == typeof othCtor && - othCtor instanceof othCtor - ) && - (result = !1); - } - return stack.delete(object), stack.delete(other), result; - }; - }, - }), - require_DataView = __commonJS({ - "../../node_modules/lodash/_DataView.js"(exports, module2) { - var DataView2 = require_getNative()(require_root(), "DataView"); - module2.exports = DataView2; - }, - }), - require_Promise = __commonJS({ - "../../node_modules/lodash/_Promise.js"(exports, module2) { - var Promise2 = require_getNative()(require_root(), "Promise"); - module2.exports = Promise2; - }, - }), - require_Set = __commonJS({ - "../../node_modules/lodash/_Set.js"(exports, module2) { - var Set2 = require_getNative()(require_root(), "Set"); - module2.exports = Set2; - }, - }), - require_WeakMap = __commonJS({ - "../../node_modules/lodash/_WeakMap.js"(exports, module2) { - var WeakMap2 = require_getNative()(require_root(), "WeakMap"); - module2.exports = WeakMap2; - }, - }), - require_getTag = __commonJS({ - "../../node_modules/lodash/_getTag.js"(exports, module2) { - var DataView2 = require_DataView(), - Map2 = require_Map(), - Promise2 = require_Promise(), - Set2 = require_Set(), - WeakMap2 = require_WeakMap(), - baseGetTag = require_baseGetTag(), - toSource = require_toSource(), - dataViewCtorString = toSource(DataView2), - mapCtorString = toSource(Map2), - promiseCtorString = toSource(Promise2), - setCtorString = toSource(Set2), - weakMapCtorString = toSource(WeakMap2), - getTag2 = baseGetTag; - ((DataView2 && - "[object DataView]" != - getTag2(new DataView2(new ArrayBuffer(1)))) || - (Map2 && "[object Map]" != getTag2(new Map2())) || - (Promise2 && - "[object Promise]" != getTag2(Promise2.resolve())) || - (Set2 && "[object Set]" != getTag2(new Set2())) || - (WeakMap2 && "[object WeakMap]" != getTag2(new WeakMap2()))) && - (getTag2 = function (value) { - var result = baseGetTag(value), - Ctor = - "[object Object]" == result ? value.constructor : void 0, - ctorString = Ctor ? toSource(Ctor) : ""; - if (ctorString) - switch (ctorString) { - case dataViewCtorString: - return "[object DataView]"; - case mapCtorString: - return "[object Map]"; - case promiseCtorString: - return "[object Promise]"; - case setCtorString: - return "[object Set]"; - case weakMapCtorString: - return "[object WeakMap]"; - } - return result; - }), - (module2.exports = getTag2); - }, - }), - require_baseIsEqualDeep = __commonJS({ - "../../node_modules/lodash/_baseIsEqualDeep.js"(exports, module2) { - var Stack = require_Stack(), - equalArrays = require_equalArrays(), - equalByTag = require_equalByTag(), - equalObjects = require_equalObjects(), - getTag2 = require_getTag(), - isArray = require_isArray(), - isBuffer = require_isBuffer(), - isTypedArray = require_isTypedArray(), - objectTag = "[object Object]", - hasOwnProperty = Object.prototype.hasOwnProperty; - module2.exports = function baseIsEqualDeep( - object, - other, - bitmask, - customizer, - equalFunc, - stack, - ) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? "[object Array]" : getTag2(object), - othTag = othIsArr ? "[object Array]" : getTag2(other), - objIsObj = - (objTag = - "[object Arguments]" == objTag ? objectTag : objTag) == - objectTag, - othIsObj = - (othTag = - "[object Arguments]" == othTag ? objectTag : othTag) == - objectTag, - isSameTag = objTag == othTag; - if (isSameTag && isBuffer(object)) { - if (!isBuffer(other)) return !1; - (objIsArr = !0), (objIsObj = !1); - } - if (isSameTag && !objIsObj) - return ( - stack || (stack = new Stack()), - objIsArr || isTypedArray(object) - ? equalArrays( - object, - other, - bitmask, - customizer, - equalFunc, - stack, - ) - : equalByTag( - object, - other, - objTag, - bitmask, - customizer, - equalFunc, - stack, - ) - ); - if (!(1 & bitmask)) { - var objIsWrapped = - objIsObj && hasOwnProperty.call(object, "__wrapped__"), - othIsWrapped = - othIsObj && hasOwnProperty.call(other, "__wrapped__"); - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; - return ( - stack || (stack = new Stack()), - equalFunc( - objUnwrapped, - othUnwrapped, - bitmask, - customizer, - stack, - ) - ); - } - } - return ( - !!isSameTag && - (stack || (stack = new Stack()), - equalObjects( - object, - other, - bitmask, - customizer, - equalFunc, - stack, - )) - ); - }; - }, - }), - require_baseIsEqual = __commonJS({ - "../../node_modules/lodash/_baseIsEqual.js"(exports, module2) { - var baseIsEqualDeep = require_baseIsEqualDeep(), - isObjectLike = require_isObjectLike(); - module2.exports = function baseIsEqual( - value, - other, - bitmask, - customizer, - stack, - ) { - return ( - value === other || - (null == value || - null == other || - (!isObjectLike(value) && !isObjectLike(other)) - ? value != value && other != other - : baseIsEqualDeep( - value, - other, - bitmask, - customizer, - baseIsEqual, - stack, - )) - ); - }; - }, - }), - require_isEqualWith = __commonJS({ - "../../node_modules/lodash/isEqualWith.js"(exports, module2) { - var baseIsEqual = require_baseIsEqual(); - module2.exports = function isEqualWith2( - value, - other, - customizer, - ) { - var result = (customizer = - "function" == typeof customizer ? customizer : void 0) - ? customizer(value, other) - : void 0; - return void 0 === result - ? baseIsEqual(value, other, void 0, customizer) - : !!result; - }; - }, - }), - require_css_escape = __commonJS({ - "../../node_modules/css.escape/css.escape.js"(exports, module2) { - var root, factory; - (root = - typeof __webpack_require__.g < "u" - ? __webpack_require__.g - : exports), - (factory = function (root) { - if (root.CSS && root.CSS.escape) return root.CSS.escape; - var cssEscape = function (value) { - if (0 == arguments.length) - throw new TypeError("`CSS.escape` requires an argument."); - for ( - var codeUnit, - string = String(value), - length = string.length, - index = -1, - result = "", - firstCodeUnit = string.charCodeAt(0); - ++index < length; - - ) - 0 != (codeUnit = string.charCodeAt(index)) - ? (result += - (codeUnit >= 1 && codeUnit <= 31) || - 127 == codeUnit || - (0 == index && codeUnit >= 48 && codeUnit <= 57) || - (1 == index && - codeUnit >= 48 && - codeUnit <= 57 && - 45 == firstCodeUnit) - ? "\\" + codeUnit.toString(16) + " " - : (0 == index && 1 == length && 45 == codeUnit) || - !( - codeUnit >= 128 || - 45 == codeUnit || - 95 == codeUnit || - (codeUnit >= 48 && codeUnit <= 57) || - (codeUnit >= 65 && codeUnit <= 90) || - (codeUnit >= 97 && codeUnit <= 122) - ) - ? "\\" + string.charAt(index) - : string.charAt(index)) - : (result += "�"); - return result; - }; - return ( - root.CSS || (root.CSS = {}), - (root.CSS.escape = cssEscape), - cssEscape - ); - }), - "object" == typeof exports - ? (module2.exports = factory(root)) - : "function" == typeof define && __webpack_require__.amdO - ? define([], factory.bind(root, root)) - : factory(root); - }, - }), - require_ansi_styles2 = __commonJS({ - "../../node_modules/pretty-format/node_modules/ansi-styles/index.js"( - exports, - module2, - ) { - var wrapAnsi256 = - (offset = 0) => - (code) => - `[${38 + offset};5;${code}m`, - wrapAnsi16m = - (offset = 0) => - (red, green, blue) => - `[${38 + offset};2;${red};${green};${blue}m`; - Object.defineProperty(module2, "exports", { - enumerable: !0, - get: function assembleStyles() { - let codes = new Map(), - styles3 = { - modifier: { - reset: [0, 0], - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - overline: [53, 55], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29], - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - blackBright: [90, 39], - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39], - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49], - }, - }; - (styles3.color.gray = styles3.color.blackBright), - (styles3.bgColor.bgGray = styles3.bgColor.bgBlackBright), - (styles3.color.grey = styles3.color.blackBright), - (styles3.bgColor.bgGrey = styles3.bgColor.bgBlackBright); - for (let [groupName, group] of Object.entries(styles3)) { - for (let [styleName, style] of Object.entries(group)) - (styles3[styleName] = { - open: `[${style[0]}m`, - close: `[${style[1]}m`, - }), - (group[styleName] = styles3[styleName]), - codes.set(style[0], style[1]); - Object.defineProperty(styles3, groupName, { - value: group, - enumerable: !1, - }); - } - return ( - Object.defineProperty(styles3, "codes", { - value: codes, - enumerable: !1, - }), - (styles3.color.close = ""), - (styles3.bgColor.close = ""), - (styles3.color.ansi256 = wrapAnsi256()), - (styles3.color.ansi16m = wrapAnsi16m()), - (styles3.bgColor.ansi256 = wrapAnsi256(10)), - (styles3.bgColor.ansi16m = wrapAnsi16m(10)), - Object.defineProperties(styles3, { - rgbToAnsi256: { - value: (red, green, blue) => - red === green && green === blue - ? red < 8 - ? 16 - : red > 248 - ? 231 - : Math.round(((red - 8) / 247) * 24) + 232 - : 16 + - 36 * Math.round((red / 255) * 5) + - 6 * Math.round((green / 255) * 5) + - Math.round((blue / 255) * 5), - enumerable: !1, - }, - hexToRgb: { - value: (hex3) => { - let matches3 = - /(?[a-f\d]{6}|[a-f\d]{3})/i.exec( - hex3.toString(16), - ); - if (!matches3) return [0, 0, 0]; - let { colorString } = matches3.groups; - 3 === colorString.length && - (colorString = colorString - .split("") - .map((character) => character + character) - .join("")); - let integer = Number.parseInt(colorString, 16); - return [ - (integer >> 16) & 255, - (integer >> 8) & 255, - 255 & integer, - ]; - }, - enumerable: !1, - }, - hexToAnsi256: { - value: (hex3) => - styles3.rgbToAnsi256(...styles3.hexToRgb(hex3)), - enumerable: !1, - }, - }), - styles3 - ); - }, - }); - }, - }), - require_collections = __commonJS({ - "../../node_modules/pretty-format/build/collections.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.printIteratorEntries = function printIteratorEntries2( - iterator, - config3, - indentation, - depth, - refs, - printer2, - separator = ": ", - ) { - let result = "", - current = iterator.next(); - if (!current.done) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (; !current.done; ) { - (result += - indentationNext + - printer2( - current.value[0], - config3, - indentationNext, - depth, - refs, - ) + - separator + - printer2( - current.value[1], - config3, - indentationNext, - depth, - refs, - )), - (current = iterator.next()), - current.done - ? config3.min || (result += ",") - : (result += "," + config3.spacingInner); - } - result += config3.spacingOuter + indentation; - } - return result; - }), - (exports.printIteratorValues = function printIteratorValues2( - iterator, - config3, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - current = iterator.next(); - if (!current.done) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (; !current.done; ) - (result += - indentationNext + - printer2( - current.value, - config3, - indentationNext, - depth, - refs, - )), - (current = iterator.next()), - current.done - ? config3.min || (result += ",") - : (result += "," + config3.spacingInner); - result += config3.spacingOuter + indentation; - } - return result; - }), - (exports.printListItems = function printListItems2( - list, - config3, - indentation, - depth, - refs, - printer2, - ) { - let result = ""; - if (list.length) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (let i = 0; i < list.length; i++) - (result += indentationNext), - i in list && - (result += printer2( - list[i], - config3, - indentationNext, - depth, - refs, - )), - i < list.length - 1 - ? (result += "," + config3.spacingInner) - : config3.min || (result += ","); - result += config3.spacingOuter + indentation; - } - return result; - }), - (exports.printObjectProperties = - function printObjectProperties2( - val, - config3, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - keys2 = ((object, compareKeys) => { - let keys2 = Object.keys(object).sort(compareKeys); - return ( - Object.getOwnPropertySymbols && - Object.getOwnPropertySymbols(object).forEach( - (symbol) => { - Object.getOwnPropertyDescriptor(object, symbol) - .enumerable && keys2.push(symbol); - }, - ), - keys2 - ); - })(val, config3.compareKeys); - if (keys2.length) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (let i = 0; i < keys2.length; i++) { - let key = keys2[i]; - (result += - indentationNext + - printer2(key, config3, indentationNext, depth, refs) + - ": " + - printer2( - val[key], - config3, - indentationNext, - depth, - refs, - )), - i < keys2.length - 1 - ? (result += "," + config3.spacingInner) - : config3.min || (result += ","); - } - result += config3.spacingOuter + indentation; - } - return result; - }); - }, - }), - require_AsymmetricMatcher = __commonJS({ - "../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.test = exports.serialize = exports.default = void 0); - var _collections = require_collections(), - global3 = - typeof globalThis < "u" - ? globalThis - : typeof global3 < "u" - ? global3 - : typeof self < "u" - ? self - : typeof window < "u" - ? window - : Function("return this")(), - Symbol2 = global3["jest-symbol-do-not-touch"] || global3.Symbol, - asymmetricMatcher2 = - "function" == typeof Symbol2 && Symbol2.for - ? Symbol2.for("jest.asymmetricMatcher") - : 1267621, - serialize2 = ( - val, - config3, - indentation, - depth, - refs, - printer2, - ) => { - let stringedValue = val.toString(); - return "ArrayContaining" === stringedValue || - "ArrayNotContaining" === stringedValue - ? ++depth > config3.maxDepth - ? "[" + stringedValue + "]" - : stringedValue + - " [" + - (0, _collections.printListItems)( - val.sample, - config3, - indentation, - depth, - refs, - printer2, - ) + - "]" - : "ObjectContaining" === stringedValue || - "ObjectNotContaining" === stringedValue - ? ++depth > config3.maxDepth - ? "[" + stringedValue + "]" - : stringedValue + - " {" + - (0, _collections.printObjectProperties)( - val.sample, - config3, - indentation, - depth, - refs, - printer2, - ) + - "}" - : "StringMatching" === stringedValue || - "StringNotMatching" === stringedValue || - "StringContaining" === stringedValue || - "StringNotContaining" === stringedValue - ? stringedValue + - " " + - printer2( - val.sample, - config3, - indentation, - depth, - refs, - ) - : val.toAsymmetricMatcher(); - }; - exports.serialize = serialize2; - var test3 = (val) => val && val.$$typeof === asymmetricMatcher2; - exports.test = test3; - var _default2 = { serialize: serialize2, test: test3 }; - exports.default = _default2; - }, - }), - require_ansi_regex = __commonJS({ - "../../node_modules/pretty-format/node_modules/ansi-regex/index.js"( - exports, - module2, - ) { - module2.exports = ({ onlyFirst = !1 } = {}) => { - let pattern = [ - "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", - "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))", - ].join("|"); - return new RegExp(pattern, onlyFirst ? void 0 : "g"); - }; - }, - }), - require_ConvertAnsi = __commonJS({ - "../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.test = exports.serialize = exports.default = void 0); - var _ansiRegex = _interopRequireDefault(require_ansi_regex()), - _ansiStyles = _interopRequireDefault(require_ansi_styles2()); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var test3 = (val) => - "string" == typeof val && - !!val.match((0, _ansiRegex.default)()); - exports.test = test3; - var serialize2 = ( - val, - config3, - indentation, - depth, - refs, - printer2, - ) => - printer2( - val.replace((0, _ansiRegex.default)(), (match) => { - switch (match) { - case _ansiStyles.default.red.close: - case _ansiStyles.default.green.close: - case _ansiStyles.default.cyan.close: - case _ansiStyles.default.gray.close: - case _ansiStyles.default.white.close: - case _ansiStyles.default.yellow.close: - case _ansiStyles.default.bgRed.close: - case _ansiStyles.default.bgGreen.close: - case _ansiStyles.default.bgYellow.close: - case _ansiStyles.default.inverse.close: - case _ansiStyles.default.dim.close: - case _ansiStyles.default.bold.close: - case _ansiStyles.default.reset.open: - case _ansiStyles.default.reset.close: - return ""; - case _ansiStyles.default.red.open: - return ""; - case _ansiStyles.default.green.open: - return ""; - case _ansiStyles.default.cyan.open: - return ""; - case _ansiStyles.default.gray.open: - return ""; - case _ansiStyles.default.white.open: - return ""; - case _ansiStyles.default.yellow.open: - return ""; - case _ansiStyles.default.bgRed.open: - return ""; - case _ansiStyles.default.bgGreen.open: - return ""; - case _ansiStyles.default.bgYellow.open: - return ""; - case _ansiStyles.default.inverse.open: - return ""; - case _ansiStyles.default.dim.open: - return ""; - case _ansiStyles.default.bold.open: - return ""; - default: - return ""; - } - }), - config3, - indentation, - depth, - refs, - ); - exports.serialize = serialize2; - var _default2 = { serialize: serialize2, test: test3 }; - exports.default = _default2; - }, - }), - require_DOMCollection = __commonJS({ - "../../node_modules/pretty-format/build/plugins/DOMCollection.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.test = exports.serialize = exports.default = void 0); - var _collections = require_collections(), - OBJECT_NAMES2 = ["DOMStringMap", "NamedNodeMap"], - ARRAY_REGEXP2 = /^(HTML\w*Collection|NodeList)$/, - test3 = (val) => { - return ( - val && - val.constructor && - !!val.constructor.name && - ((name = val.constructor.name), - -1 !== OBJECT_NAMES2.indexOf(name) || - ARRAY_REGEXP2.test(name)) - ); - var name; - }; - exports.test = test3; - var serialize2 = ( - collection, - config3, - indentation, - depth, - refs, - printer2, - ) => { - let name = collection.constructor.name; - return ++depth > config3.maxDepth - ? "[" + name + "]" - : (config3.min ? "" : name + " ") + - (-1 !== OBJECT_NAMES2.indexOf(name) - ? "{" + - (0, _collections.printObjectProperties)( - ((collection) => - "NamedNodeMap" === collection.constructor.name)( - collection, - ) - ? Array.from(collection).reduce( - (props, attribute) => ( - (props[attribute.name] = attribute.value), - props - ), - {}, - ) - : { ...collection }, - config3, - indentation, - depth, - refs, - printer2, - ) + - "}" - : "[" + - (0, _collections.printListItems)( - Array.from(collection), - config3, - indentation, - depth, - refs, - printer2, - ) + - "]"); - }; - exports.serialize = serialize2; - var _default2 = { serialize: serialize2, test: test3 }; - exports.default = _default2; - }, - }), - require_escapeHTML = __commonJS({ - "../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = function escapeHTML3(str) { - return str.replace(//g, ">"); - }); - }, - }), - require_markup = __commonJS({ - "../../node_modules/pretty-format/build/plugins/lib/markup.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.printText = - exports.printProps = - exports.printElementAsLeaf = - exports.printElement = - exports.printComment = - exports.printChildren = - void 0); - var _escapeHTML = (function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - })(require_escapeHTML()); - exports.printProps = ( - keys2, - props, - config3, - indentation, - depth, - refs, - printer2, - ) => { - let indentationNext = indentation + config3.indent, - colors = config3.colors; - return keys2 - .map((key) => { - let value = props[key], - printed = printer2( - value, - config3, - indentationNext, - depth, - refs, - ); - return ( - "string" != typeof value && - (-1 !== printed.indexOf("\n") && - (printed = - config3.spacingOuter + - indentationNext + - printed + - config3.spacingOuter + - indentation), - (printed = "{" + printed + "}")), - config3.spacingInner + - indentation + - colors.prop.open + - key + - colors.prop.close + - "=" + - colors.value.open + - printed + - colors.value.close - ); - }) - .join(""); - }; - exports.printChildren = ( - children, - config3, - indentation, - depth, - refs, - printer2, - ) => - children - .map( - (child) => - config3.spacingOuter + - indentation + - ("string" == typeof child - ? printText3(child, config3) - : printer2(child, config3, indentation, depth, refs)), - ) - .join(""); - var printText3 = (text, config3) => { - let contentColor = config3.colors.content; - return ( - contentColor.open + - (0, _escapeHTML.default)(text) + - contentColor.close - ); - }; - exports.printText = printText3; - exports.printComment = (comment, config3) => { - let commentColor = config3.colors.comment; - return ( - commentColor.open + - "\x3c!--" + - (0, _escapeHTML.default)(comment) + - "--\x3e" + - commentColor.close - ); - }; - exports.printElement = ( - type5, - printedProps, - printedChildren, - config3, - indentation, - ) => { - let tagColor = config3.colors.tag; - return ( - tagColor.open + - "<" + - type5 + - (printedProps && - tagColor.close + - printedProps + - config3.spacingOuter + - indentation + - tagColor.open) + - (printedChildren - ? ">" + - tagColor.close + - printedChildren + - config3.spacingOuter + - indentation + - tagColor.open + - "" + - tagColor.close - ); - }; - exports.printElementAsLeaf = (type5, config3) => { - let tagColor = config3.colors.tag; - return ( - tagColor.open + - "<" + - type5 + - tagColor.close + - " …" + - tagColor.open + - " />" + - tagColor.close - ); - }; - }, - }), - require_DOMElement = __commonJS({ - "../../node_modules/pretty-format/build/plugins/DOMElement.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.test = exports.serialize = exports.default = void 0); - var _markup = require_markup(), - ELEMENT_REGEXP3 = /^((HTML|SVG)\w*)?Element$/, - test3 = (val) => { - var _val$constructor; - return ( - (null == val || - null === (_val$constructor = val.constructor) || - void 0 === _val$constructor - ? void 0 - : _val$constructor.name) && - ((val) => { - let constructorName = val.constructor.name, - { nodeType, tagName } = val, - isCustomElement3 = - ("string" == typeof tagName && - tagName.includes("-")) || - ((val) => { - try { - return ( - "function" == typeof val.hasAttribute && - val.hasAttribute("is") - ); - } catch { - return !1; - } - })(val); - return ( - (1 === nodeType && - (ELEMENT_REGEXP3.test(constructorName) || - isCustomElement3)) || - (3 === nodeType && "Text" === constructorName) || - (8 === nodeType && "Comment" === constructorName) || - (11 === nodeType && - "DocumentFragment" === constructorName) - ); - })(val) - ); - }; - function nodeIsFragment3(node) { - return 11 === node.nodeType; - } - exports.test = test3; - var serialize2 = ( - node, - config3, - indentation, - depth, - refs, - printer2, - ) => { - if ( - (function nodeIsText3(node) { - return 3 === node.nodeType; - })(node) - ) - return (0, _markup.printText)(node.data, config3); - if ( - (function nodeIsComment3(node) { - return 8 === node.nodeType; - })(node) - ) - return (0, _markup.printComment)(node.data, config3); - let type5 = nodeIsFragment3(node) - ? "DocumentFragment" - : node.tagName.toLowerCase(); - return ++depth > config3.maxDepth - ? (0, _markup.printElementAsLeaf)(type5, config3) - : (0, _markup.printElement)( - type5, - (0, _markup.printProps)( - nodeIsFragment3(node) - ? [] - : Array.from(node.attributes) - .map((attr) => attr.name) - .sort(), - nodeIsFragment3(node) - ? {} - : Array.from(node.attributes).reduce( - (props, attribute) => ( - (props[attribute.name] = attribute.value), props - ), - {}, - ), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - (0, _markup.printChildren)( - Array.prototype.slice.call( - node.childNodes || node.children, - ), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - config3, - indentation, - ); - }; - exports.serialize = serialize2; - var _default2 = { serialize: serialize2, test: test3 }; - exports.default = _default2; - }, - }), - require_Immutable = __commonJS({ - "../../node_modules/pretty-format/build/plugins/Immutable.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.test = exports.serialize = exports.default = void 0); - var _collections = require_collections(), - getImmutableName2 = (name) => "Immutable." + name, - printAsLeaf2 = (name) => "[" + name + "]"; - var printImmutableValues2 = ( - val, - config3, - indentation, - depth, - refs, - printer2, - type5, - ) => - ++depth > config3.maxDepth - ? printAsLeaf2(getImmutableName2(type5)) - : getImmutableName2(type5) + - " [" + - (0, _collections.printIteratorValues)( - val.values(), - config3, - indentation, - depth, - refs, - printer2, - ) + - "]", - serialize2 = ( - val, - config3, - indentation, - depth, - refs, - printer2, - ) => - val["@@__IMMUTABLE_MAP__@@"] - ? (( - val, - config3, - indentation, - depth, - refs, - printer2, - type5, - ) => - ++depth > config3.maxDepth - ? printAsLeaf2(getImmutableName2(type5)) - : getImmutableName2(type5) + - " {" + - (0, _collections.printIteratorEntries)( - val.entries(), - config3, - indentation, - depth, - refs, - printer2, - ) + - "}")( - val, - config3, - indentation, - depth, - refs, - printer2, - val["@@__IMMUTABLE_ORDERED__@@"] ? "OrderedMap" : "Map", - ) - : val["@@__IMMUTABLE_LIST__@@"] - ? printImmutableValues2( - val, - config3, - indentation, - depth, - refs, - printer2, - "List", - ) - : val["@@__IMMUTABLE_SET__@@"] - ? printImmutableValues2( - val, - config3, - indentation, - depth, - refs, - printer2, - val["@@__IMMUTABLE_ORDERED__@@"] - ? "OrderedSet" - : "Set", - ) - : val["@@__IMMUTABLE_STACK__@@"] - ? printImmutableValues2( - val, - config3, - indentation, - depth, - refs, - printer2, - "Stack", - ) - : val["@@__IMMUTABLE_SEQ__@@"] - ? (( - val, - config3, - indentation, - depth, - refs, - printer2, - ) => { - let name = getImmutableName2("Seq"); - return ++depth > config3.maxDepth - ? printAsLeaf2(name) - : val["@@__IMMUTABLE_KEYED__@@"] - ? name + - " {" + - (val._iter || val._object - ? (0, - _collections.printIteratorEntries)( - val.entries(), - config3, - indentation, - depth, - refs, - printer2, - ) - : "…") + - "}" - : name + - " [" + - (val._iter || - val._array || - val._collection || - val._iterable - ? (0, _collections.printIteratorValues)( - val.values(), - config3, - indentation, - depth, - refs, - printer2, - ) - : "…") + - "]"; - })( - val, - config3, - indentation, - depth, - refs, - printer2, - ) - : (( - val, - config3, - indentation, - depth, - refs, - printer2, - ) => { - let name = getImmutableName2( - val._name || "Record", - ); - return ++depth > config3.maxDepth - ? printAsLeaf2(name) - : name + - " {" + - (0, _collections.printIteratorEntries)( - (function getRecordEntries2(val) { - let i = 0; - return { - next() { - if (i < val._keys.length) { - let key = val._keys[i++]; - return { - done: !1, - value: [key, val.get(key)], - }; - } - return { - done: !0, - value: void 0, - }; - }, - }; - })(val), - config3, - indentation, - depth, - refs, - printer2, - ) + - "}"; - })( - val, - config3, - indentation, - depth, - refs, - printer2, - ); - exports.serialize = serialize2; - var test3 = (val) => - val && - (!0 === val["@@__IMMUTABLE_ITERABLE__@@"] || - !0 === val["@@__IMMUTABLE_RECORD__@@"]); - exports.test = test3; - var _default2 = { serialize: serialize2, test: test3 }; - exports.default = _default2; - }, - }), - require_react_is_development = __commonJS({ - "../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"( - exports, - ) { - !(function () { - var REACT_ELEMENT_TYPE = 60103, - REACT_PORTAL_TYPE = 60106, - REACT_FRAGMENT_TYPE = 60107, - REACT_STRICT_MODE_TYPE = 60108, - REACT_PROFILER_TYPE = 60114, - REACT_PROVIDER_TYPE = 60109, - REACT_CONTEXT_TYPE = 60110, - REACT_FORWARD_REF_TYPE = 60112, - REACT_SUSPENSE_TYPE = 60113, - REACT_SUSPENSE_LIST_TYPE = 60120, - REACT_MEMO_TYPE = 60115, - REACT_LAZY_TYPE = 60116, - REACT_BLOCK_TYPE = 60121, - REACT_SERVER_BLOCK_TYPE = 60122, - REACT_FUNDAMENTAL_TYPE = 60117, - REACT_DEBUG_TRACING_MODE_TYPE = 60129, - REACT_LEGACY_HIDDEN_TYPE = 60131; - if ("function" == typeof Symbol && Symbol.for) { - var symbolFor = Symbol.for; - (REACT_ELEMENT_TYPE = symbolFor("react.element")), - (REACT_PORTAL_TYPE = symbolFor("react.portal")), - (REACT_FRAGMENT_TYPE = symbolFor("react.fragment")), - (REACT_STRICT_MODE_TYPE = symbolFor("react.strict_mode")), - (REACT_PROFILER_TYPE = symbolFor("react.profiler")), - (REACT_PROVIDER_TYPE = symbolFor("react.provider")), - (REACT_CONTEXT_TYPE = symbolFor("react.context")), - (REACT_FORWARD_REF_TYPE = symbolFor("react.forward_ref")), - (REACT_SUSPENSE_TYPE = symbolFor("react.suspense")), - (REACT_SUSPENSE_LIST_TYPE = symbolFor( - "react.suspense_list", - )), - (REACT_MEMO_TYPE = symbolFor("react.memo")), - (REACT_LAZY_TYPE = symbolFor("react.lazy")), - (REACT_BLOCK_TYPE = symbolFor("react.block")), - (REACT_SERVER_BLOCK_TYPE = symbolFor("react.server.block")), - (REACT_FUNDAMENTAL_TYPE = symbolFor("react.fundamental")), - symbolFor("react.scope"), - symbolFor("react.opaque.id"), - (REACT_DEBUG_TRACING_MODE_TYPE = symbolFor( - "react.debug_trace_mode", - )), - symbolFor("react.offscreen"), - (REACT_LEGACY_HIDDEN_TYPE = symbolFor( - "react.legacy_hidden", - )); - } - function typeOf(object) { - if ("object" == typeof object && null !== object) { - var $$typeof = object.$$typeof; - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type5 = object.type; - switch (type5) { - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - case REACT_SUSPENSE_LIST_TYPE: - return type5; - default: - var $$typeofType = type5 && type5.$$typeof; - switch ($$typeofType) { - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - default: - return $$typeof; - } - } - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - } - var ContextConsumer = REACT_CONTEXT_TYPE, - ContextProvider = REACT_PROVIDER_TYPE, - Element2 = REACT_ELEMENT_TYPE, - ForwardRef = REACT_FORWARD_REF_TYPE, - Fragment = REACT_FRAGMENT_TYPE, - Lazy = REACT_LAZY_TYPE, - Memo = REACT_MEMO_TYPE, - Portal = REACT_PORTAL_TYPE, - Profiler = REACT_PROFILER_TYPE, - StrictMode = REACT_STRICT_MODE_TYPE, - Suspense = REACT_SUSPENSE_TYPE, - hasWarnedAboutDeprecatedIsAsyncMode = !1, - hasWarnedAboutDeprecatedIsConcurrentMode = !1; - (exports.ContextConsumer = ContextConsumer), - (exports.ContextProvider = ContextProvider), - (exports.Element = Element2), - (exports.ForwardRef = ForwardRef), - (exports.Fragment = Fragment), - (exports.Lazy = Lazy), - (exports.Memo = Memo), - (exports.Portal = Portal), - (exports.Profiler = Profiler), - (exports.StrictMode = StrictMode), - (exports.Suspense = Suspense), - (exports.isAsyncMode = function isAsyncMode(object) { - return ( - hasWarnedAboutDeprecatedIsAsyncMode || - ((hasWarnedAboutDeprecatedIsAsyncMode = !0), - console.warn( - "The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (exports.isConcurrentMode = function isConcurrentMode( - object, - ) { - return ( - hasWarnedAboutDeprecatedIsConcurrentMode || - ((hasWarnedAboutDeprecatedIsConcurrentMode = !0), - console.warn( - "The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (exports.isContextConsumer = function isContextConsumer( - object, - ) { - return typeOf(object) === REACT_CONTEXT_TYPE; - }), - (exports.isContextProvider = function isContextProvider( - object, - ) { - return typeOf(object) === REACT_PROVIDER_TYPE; - }), - (exports.isElement = function isElement5(object) { - return ( - "object" == typeof object && - null !== object && - object.$$typeof === REACT_ELEMENT_TYPE - ); - }), - (exports.isForwardRef = function isForwardRef(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; - }), - (exports.isFragment = function isFragment(object) { - return typeOf(object) === REACT_FRAGMENT_TYPE; - }), - (exports.isLazy = function isLazy(object) { - return typeOf(object) === REACT_LAZY_TYPE; - }), - (exports.isMemo = function isMemo(object) { - return typeOf(object) === REACT_MEMO_TYPE; - }), - (exports.isPortal = function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; - }), - (exports.isProfiler = function isProfiler(object) { - return typeOf(object) === REACT_PROFILER_TYPE; - }), - (exports.isStrictMode = function isStrictMode(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; - }), - (exports.isSuspense = function isSuspense(object) { - return typeOf(object) === REACT_SUSPENSE_TYPE; - }), - (exports.isValidElementType = function isValidElementType( - type5, - ) { - return !( - "string" != typeof type5 && - "function" != typeof type5 && - type5 !== REACT_FRAGMENT_TYPE && - type5 !== REACT_PROFILER_TYPE && - type5 !== REACT_DEBUG_TRACING_MODE_TYPE && - type5 !== REACT_STRICT_MODE_TYPE && - type5 !== REACT_SUSPENSE_TYPE && - type5 !== REACT_SUSPENSE_LIST_TYPE && - type5 !== REACT_LEGACY_HIDDEN_TYPE && - ("object" != typeof type5 || - null === type5 || - (type5.$$typeof !== REACT_LAZY_TYPE && - type5.$$typeof !== REACT_MEMO_TYPE && - type5.$$typeof !== REACT_PROVIDER_TYPE && - type5.$$typeof !== REACT_CONTEXT_TYPE && - type5.$$typeof !== REACT_FORWARD_REF_TYPE && - type5.$$typeof !== REACT_FUNDAMENTAL_TYPE && - type5.$$typeof !== REACT_BLOCK_TYPE && - type5[0] !== REACT_SERVER_BLOCK_TYPE)) - ); - }), - (exports.typeOf = typeOf); - })(); - }, - }), - require_react_is = __commonJS({ - "../../node_modules/pretty-format/node_modules/react-is/index.js"( - exports, - module2, - ) { - module2.exports = require_react_is_development(); - }, - }), - require_ReactElement = __commonJS({ - "../../node_modules/pretty-format/build/plugins/ReactElement.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.test = exports.serialize = exports.default = void 0); - var ReactIs = (function _interopRequireWildcard( - obj, - nodeInterop, - ) { - if (!nodeInterop && obj && obj.__esModule) return obj; - if ( - null === obj || - ("object" != typeof obj && "function" != typeof obj) - ) - return { default: obj }; - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) return cache.get(obj); - var newObj = {}, - hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) - if ( - "default" !== key && - Object.prototype.hasOwnProperty.call(obj, key) - ) { - var desc = hasPropertyDescriptor - ? Object.getOwnPropertyDescriptor(obj, key) - : null; - desc && (desc.get || desc.set) - ? Object.defineProperty(newObj, key, desc) - : (newObj[key] = obj[key]); - } - return ( - (newObj.default = obj), - cache && cache.set(obj, newObj), - newObj - ); - })(require_react_is()), - _markup = require_markup(); - function _getRequireWildcardCache(nodeInterop) { - if ("function" != typeof WeakMap) return null; - var cacheBabelInterop = new WeakMap(), - cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop2) { - return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); - } - var getChildren2 = (arg, children = []) => ( - Array.isArray(arg) - ? arg.forEach((item) => { - getChildren2(item, children); - }) - : null != arg && !1 !== arg && children.push(arg), - children - ), - getType4 = (element) => { - let type5 = element.type; - if ("string" == typeof type5) return type5; - if ("function" == typeof type5) - return type5.displayName || type5.name || "Unknown"; - if (ReactIs.isFragment(element)) return "React.Fragment"; - if (ReactIs.isSuspense(element)) return "React.Suspense"; - if ("object" == typeof type5 && null !== type5) { - if (ReactIs.isContextProvider(element)) - return "Context.Provider"; - if (ReactIs.isContextConsumer(element)) - return "Context.Consumer"; - if (ReactIs.isForwardRef(element)) { - if (type5.displayName) return type5.displayName; - let functionName = - type5.render.displayName || type5.render.name || ""; - return "" !== functionName - ? "ForwardRef(" + functionName + ")" - : "ForwardRef"; - } - if (ReactIs.isMemo(element)) { - let functionName = - type5.displayName || - type5.type.displayName || - type5.type.name || - ""; - return "" !== functionName - ? "Memo(" + functionName + ")" - : "Memo"; - } - } - return "UNDEFINED"; - }, - serialize2 = ( - element, - config3, - indentation, - depth, - refs, - printer2, - ) => - ++depth > config3.maxDepth - ? (0, _markup.printElementAsLeaf)( - getType4(element), - config3, - ) - : (0, _markup.printElement)( - getType4(element), - (0, _markup.printProps)( - ((element) => { - let { props } = element; - return Object.keys(props) - .filter( - (key) => - "children" !== key && void 0 !== props[key], - ) - .sort(); - })(element), - element.props, - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - (0, _markup.printChildren)( - getChildren2(element.props.children), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - config3, - indentation, - ); - exports.serialize = serialize2; - var test3 = (val) => null != val && ReactIs.isElement(val); - exports.test = test3; - var _default2 = { serialize: serialize2, test: test3 }; - exports.default = _default2; - }, - }), - require_ReactTestComponent = __commonJS({ - "../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"( - exports, - ) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.test = exports.serialize = exports.default = void 0); - var _markup = require_markup(), - global3 = - typeof globalThis < "u" - ? globalThis - : typeof global3 < "u" - ? global3 - : typeof self < "u" - ? self - : typeof window < "u" - ? window - : Function("return this")(), - Symbol2 = global3["jest-symbol-do-not-touch"] || global3.Symbol, - testSymbol2 = - "function" == typeof Symbol2 && Symbol2.for - ? Symbol2.for("react.test.json") - : 245830487, - serialize2 = ( - object, - config3, - indentation, - depth, - refs, - printer2, - ) => - ++depth > config3.maxDepth - ? (0, _markup.printElementAsLeaf)(object.type, config3) - : (0, _markup.printElement)( - object.type, - object.props - ? (0, _markup.printProps)( - ((object) => { - let { props } = object; - return props - ? Object.keys(props) - .filter((key) => void 0 !== props[key]) - .sort() - : []; - })(object), - object.props, - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ) - : "", - object.children - ? (0, _markup.printChildren)( - object.children, - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ) - : "", - config3, - indentation, - ); - exports.serialize = serialize2; - var test3 = (val) => val && val.$$typeof === testSymbol2; - exports.test = test3; - var _default2 = { serialize: serialize2, test: test3 }; - exports.default = _default2; - }, - }), - require_build = __commonJS({ - "../../node_modules/pretty-format/build/index.js"(exports) { - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.default = exports.DEFAULT_OPTIONS = void 0), - (exports.format = format4), - (exports.plugins = void 0); - var _ansiStyles = _interopRequireDefault(require_ansi_styles2()), - _collections = require_collections(), - _AsymmetricMatcher = _interopRequireDefault( - require_AsymmetricMatcher(), - ), - _ConvertAnsi = _interopRequireDefault(require_ConvertAnsi()), - _DOMCollection = _interopRequireDefault( - require_DOMCollection(), - ), - _DOMElement = _interopRequireDefault(require_DOMElement()), - _Immutable = _interopRequireDefault(require_Immutable()), - _ReactElement = _interopRequireDefault(require_ReactElement()), - _ReactTestComponent = _interopRequireDefault( - require_ReactTestComponent(), - ); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - var toString4 = Object.prototype.toString, - toISOString2 = Date.prototype.toISOString, - errorToString2 = Error.prototype.toString, - regExpToString2 = RegExp.prototype.toString, - getConstructorName3 = (val) => - ("function" == typeof val.constructor && - val.constructor.name) || - "Object", - SYMBOL_REGEXP2 = /^Symbol\((.*)\)(.*)$/, - NEWLINE_REGEXP2 = /\n/gi, - PrettyFormatPluginError2 = class extends Error { - constructor(message, stack) { - super(message), - (this.stack = stack), - (this.name = this.constructor.name); - } - }; - function printFunction2(val, printFunctionName) { - return printFunctionName - ? "[Function " + (val.name || "anonymous") + "]" - : "[Function]"; - } - function printSymbol2(val) { - return String(val).replace(SYMBOL_REGEXP2, "Symbol($1)"); - } - function printError2(val) { - return "[" + errorToString2.call(val) + "]"; - } - function printBasicValue2( - val, - printFunctionName, - escapeRegex, - escapeString, - ) { - if (!0 === val || !1 === val) return "" + val; - if (void 0 === val) return "undefined"; - if (null === val) return "null"; - let typeOf = typeof val; - if ("number" === typeOf) - return (function printNumber2(val) { - return Object.is(val, -0) ? "-0" : String(val); - })(val); - if ("bigint" === typeOf) - return (function printBigInt2(val) { - return `${val}n`; - })(val); - if ("string" === typeOf) - return escapeString - ? '"' + val.replace(/"|\\/g, "\\$&") + '"' - : '"' + val + '"'; - if ("function" === typeOf) - return printFunction2(val, printFunctionName); - if ("symbol" === typeOf) return printSymbol2(val); - let toStringed = toString4.call(val); - return "[object WeakMap]" === toStringed - ? "WeakMap {}" - : "[object WeakSet]" === toStringed - ? "WeakSet {}" - : "[object Function]" === toStringed || - "[object GeneratorFunction]" === toStringed - ? printFunction2(val, printFunctionName) - : "[object Symbol]" === toStringed - ? printSymbol2(val) - : "[object Date]" === toStringed - ? isNaN(+val) - ? "Date { NaN }" - : toISOString2.call(val) - : "[object Error]" === toStringed - ? printError2(val) - : "[object RegExp]" === toStringed - ? escapeRegex - ? regExpToString2 - .call(val) - .replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") - : regExpToString2.call(val) - : val instanceof Error - ? printError2(val) - : null; - } - function printComplexValue2( - val, - config3, - indentation, - depth, - refs, - hasCalledToJSON, - ) { - if (-1 !== refs.indexOf(val)) return "[Circular]"; - (refs = refs.slice()).push(val); - let hitMaxDepth = ++depth > config3.maxDepth, - min = config3.min; - if ( - config3.callToJSON && - !hitMaxDepth && - val.toJSON && - "function" == typeof val.toJSON && - !hasCalledToJSON - ) - return printer2( - val.toJSON(), - config3, - indentation, - depth, - refs, - !0, - ); - let toStringed = toString4.call(val); - return "[object Arguments]" === toStringed - ? hitMaxDepth - ? "[Arguments]" - : (min ? "" : "Arguments ") + - "[" + - (0, _collections.printListItems)( - val, - config3, - indentation, - depth, - refs, - printer2, - ) + - "]" - : (function isToStringedArrayType2(toStringed) { - return ( - "[object Array]" === toStringed || - "[object ArrayBuffer]" === toStringed || - "[object DataView]" === toStringed || - "[object Float32Array]" === toStringed || - "[object Float64Array]" === toStringed || - "[object Int8Array]" === toStringed || - "[object Int16Array]" === toStringed || - "[object Int32Array]" === toStringed || - "[object Uint8Array]" === toStringed || - "[object Uint8ClampedArray]" === toStringed || - "[object Uint16Array]" === toStringed || - "[object Uint32Array]" === toStringed - ); - })(toStringed) - ? hitMaxDepth - ? "[" + val.constructor.name + "]" - : (min || - (!config3.printBasicPrototype && - "Array" === val.constructor.name) - ? "" - : val.constructor.name + " ") + - "[" + - (0, _collections.printListItems)( - val, - config3, - indentation, - depth, - refs, - printer2, - ) + - "]" - : "[object Map]" === toStringed - ? hitMaxDepth - ? "[Map]" - : "Map {" + - (0, _collections.printIteratorEntries)( - val.entries(), - config3, - indentation, - depth, - refs, - printer2, - " => ", - ) + - "}" - : "[object Set]" === toStringed - ? hitMaxDepth - ? "[Set]" - : "Set {" + - (0, _collections.printIteratorValues)( - val.values(), - config3, - indentation, - depth, - refs, - printer2, - ) + - "}" - : hitMaxDepth || - ((val) => typeof window < "u" && val === window)( - val, - ) - ? "[" + getConstructorName3(val) + "]" - : (min || - (!config3.printBasicPrototype && - "Object" === getConstructorName3(val)) - ? "" - : getConstructorName3(val) + " ") + - "{" + - (0, _collections.printObjectProperties)( - val, - config3, - indentation, - depth, - refs, - printer2, - ) + - "}"; - } - function printPlugin2( - plugin2, - val, - config3, - indentation, - depth, - refs, - ) { - let printed; - try { - printed = (function isNewPlugin2(plugin2) { - return null != plugin2.serialize; - })(plugin2) - ? plugin2.serialize( - val, - config3, - indentation, - depth, - refs, - printer2, - ) - : plugin2.print( - val, - (valChild) => - printer2(valChild, config3, indentation, depth, refs), - (str) => { - let indentationNext = indentation + config3.indent; - return ( - indentationNext + - str.replace(NEWLINE_REGEXP2, "\n" + indentationNext) - ); - }, - { - edgeSpacing: config3.spacingOuter, - min: config3.min, - spacing: config3.spacingInner, - }, - config3.colors, - ); - } catch (error) { - throw new PrettyFormatPluginError2( - error.message, - error.stack, - ); - } - if ("string" != typeof printed) - throw new Error( - `pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`, - ); - return printed; - } - function findPlugin2(plugins4, val) { - for (let p3 = 0; p3 < plugins4.length; p3++) - try { - if (plugins4[p3].test(val)) return plugins4[p3]; - } catch (error) { - throw new PrettyFormatPluginError2( - error.message, - error.stack, - ); - } - return null; - } - function printer2( - val, - config3, - indentation, - depth, - refs, - hasCalledToJSON, - ) { - let plugin2 = findPlugin2(config3.plugins, val); - if (null !== plugin2) - return printPlugin2( - plugin2, - val, - config3, - indentation, - depth, - refs, - ); - let basicResult = printBasicValue2( - val, - config3.printFunctionName, - config3.escapeRegex, - config3.escapeString, - ); - return null !== basicResult - ? basicResult - : printComplexValue2( - val, - config3, - indentation, - depth, - refs, - hasCalledToJSON, - ); - } - var DEFAULT_THEME2 = { - comment: "gray", - content: "reset", - prop: "yellow", - tag: "cyan", - value: "green", - }, - DEFAULT_THEME_KEYS2 = Object.keys(DEFAULT_THEME2), - DEFAULT_OPTIONS2 = { - callToJSON: !0, - compareKeys: void 0, - escapeRegex: !1, - escapeString: !0, - highlight: !1, - indent: 2, - maxDepth: 1 / 0, - min: !1, - plugins: [], - printBasicPrototype: !0, - printFunctionName: !0, - theme: DEFAULT_THEME2, - }; - exports.DEFAULT_OPTIONS = DEFAULT_OPTIONS2; - var getColorsHighlight2 = (options) => - DEFAULT_THEME_KEYS2.reduce((colors, key) => { - let value = - options.theme && void 0 !== options.theme[key] - ? options.theme[key] - : DEFAULT_THEME2[key], - color = value && _ansiStyles.default[value]; - if ( - !color || - "string" != typeof color.close || - "string" != typeof color.open - ) - throw new Error( - `pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`, - ); - return (colors[key] = color), colors; - }, Object.create(null)), - getPrintFunctionName2 = (options) => - options && void 0 !== options.printFunctionName - ? options.printFunctionName - : DEFAULT_OPTIONS2.printFunctionName, - getEscapeRegex2 = (options) => - options && void 0 !== options.escapeRegex - ? options.escapeRegex - : DEFAULT_OPTIONS2.escapeRegex, - getEscapeString2 = (options) => - options && void 0 !== options.escapeString - ? options.escapeString - : DEFAULT_OPTIONS2.escapeString, - getConfig4 = (options) => { - var _options$printBasicPr, indent; - return { - callToJSON: - options && void 0 !== options.callToJSON - ? options.callToJSON - : DEFAULT_OPTIONS2.callToJSON, - colors: - options && options.highlight - ? getColorsHighlight2(options) - : DEFAULT_THEME_KEYS2.reduce( - (colors, key) => ( - (colors[key] = { close: "", open: "" }), colors - ), - Object.create(null), - ), - compareKeys: - options && "function" == typeof options.compareKeys - ? options.compareKeys - : DEFAULT_OPTIONS2.compareKeys, - escapeRegex: getEscapeRegex2(options), - escapeString: getEscapeString2(options), - indent: - options && options.min - ? "" - : ((indent = - options && void 0 !== options.indent - ? options.indent - : DEFAULT_OPTIONS2.indent), - new Array(indent + 1).join(" ")), - maxDepth: - options && void 0 !== options.maxDepth - ? options.maxDepth - : DEFAULT_OPTIONS2.maxDepth, - min: - options && void 0 !== options.min - ? options.min - : DEFAULT_OPTIONS2.min, - plugins: - options && void 0 !== options.plugins - ? options.plugins - : DEFAULT_OPTIONS2.plugins, - printBasicPrototype: - null === - (_options$printBasicPr = - options?.printBasicPrototype) || - void 0 === _options$printBasicPr || - _options$printBasicPr, - printFunctionName: getPrintFunctionName2(options), - spacingInner: options && options.min ? " " : "\n", - spacingOuter: options && options.min ? "" : "\n", - }; - }; - function format4(val, options) { - if ( - options && - ((function validateOptions2(options) { - if ( - (Object.keys(options).forEach((key) => { - if (!DEFAULT_OPTIONS2.hasOwnProperty(key)) - throw new Error( - `pretty-format: Unknown option "${key}".`, - ); - }), - options.min && - void 0 !== options.indent && - 0 !== options.indent) - ) - throw new Error( - 'pretty-format: Options "min" and "indent" cannot be used together.', - ); - if (void 0 !== options.theme) { - if (null === options.theme) - throw new Error( - 'pretty-format: Option "theme" must not be null.', - ); - if ("object" != typeof options.theme) - throw new Error( - `pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`, - ); - } - })(options), - options.plugins) - ) { - let plugin2 = findPlugin2(options.plugins, val); - if (null !== plugin2) - return printPlugin2( - plugin2, - val, - getConfig4(options), - "", - 0, - [], - ); - } - let basicResult = printBasicValue2( - val, - getPrintFunctionName2(options), - getEscapeRegex2(options), - getEscapeString2(options), - ); - return null !== basicResult - ? basicResult - : printComplexValue2(val, getConfig4(options), "", 0, []); - } - var plugins3 = { - AsymmetricMatcher: _AsymmetricMatcher.default, - ConvertAnsi: _ConvertAnsi.default, - DOMCollection: _DOMCollection.default, - DOMElement: _DOMElement.default, - Immutable: _Immutable.default, - ReactElement: _ReactElement.default, - ReactTestComponent: _ReactTestComponent.default, - }; - exports.plugins = plugins3; - var _default2 = format4; - exports.default = _default2; - }, - }), - require_lz_string = __commonJS({ - "../../node_modules/lz-string/libs/lz-string.js"(exports, module2) { - var LZString = (function () { - var f4 = String.fromCharCode, - keyStrBase64 = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", - keyStrUriSafe = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", - baseReverseDic = {}; - function getBaseValue(alphabet, character) { - if (!baseReverseDic[alphabet]) { - baseReverseDic[alphabet] = {}; - for (var i = 0; i < alphabet.length; i++) - baseReverseDic[alphabet][alphabet.charAt(i)] = i; - } - return baseReverseDic[alphabet][character]; - } - var LZString2 = { - compressToBase64: function (input2) { - if (null == input2) return ""; - var res = LZString2._compress(input2, 6, function (a2) { - return keyStrBase64.charAt(a2); - }); - switch (res.length % 4) { - default: - case 0: - return res; - case 1: - return res + "==="; - case 2: - return res + "=="; - case 3: - return res + "="; - } - }, - decompressFromBase64: function (input2) { - return null == input2 - ? "" - : "" == input2 - ? null - : LZString2._decompress( - input2.length, - 32, - function (index) { - return getBaseValue( - keyStrBase64, - input2.charAt(index), - ); - }, - ); - }, - compressToUTF16: function (input2) { - return null == input2 - ? "" - : LZString2._compress(input2, 15, function (a2) { - return f4(a2 + 32); - }) + " "; - }, - decompressFromUTF16: function (compressed) { - return null == compressed - ? "" - : "" == compressed - ? null - : LZString2._decompress( - compressed.length, - 16384, - function (index) { - return compressed.charCodeAt(index) - 32; - }, - ); - }, - compressToUint8Array: function (uncompressed) { - for ( - var compressed = LZString2.compress(uncompressed), - buf = new Uint8Array(2 * compressed.length), - i = 0, - TotalLen = compressed.length; - i < TotalLen; - i++ - ) { - var current_value = compressed.charCodeAt(i); - (buf[2 * i] = current_value >>> 8), - (buf[2 * i + 1] = current_value % 256); - } - return buf; - }, - decompressFromUint8Array: function (compressed) { - if (null == compressed) - return LZString2.decompress(compressed); - for ( - var buf = new Array(compressed.length / 2), - i = 0, - TotalLen = buf.length; - i < TotalLen; - i++ - ) - buf[i] = 256 * compressed[2 * i] + compressed[2 * i + 1]; - var result = []; - return ( - buf.forEach(function (c) { - result.push(f4(c)); - }), - LZString2.decompress(result.join("")) - ); - }, - compressToEncodedURIComponent: function (input2) { - return null == input2 - ? "" - : LZString2._compress(input2, 6, function (a2) { - return keyStrUriSafe.charAt(a2); - }); - }, - decompressFromEncodedURIComponent: function (input2) { - return null == input2 - ? "" - : "" == input2 - ? null - : ((input2 = input2.replace(/ /g, "+")), - LZString2._decompress( - input2.length, - 32, - function (index) { - return getBaseValue( - keyStrUriSafe, - input2.charAt(index), - ); - }, - )); - }, - compress: function (uncompressed) { - return LZString2._compress(uncompressed, 16, function (a2) { - return f4(a2); - }); - }, - _compress: function ( - uncompressed, - bitsPerChar, - getCharFromInt, - ) { - if (null == uncompressed) return ""; - var i, - value, - ii, - context_dictionary = {}, - context_dictionaryToCreate = {}, - context_c = "", - context_wc = "", - context_w = "", - context_enlargeIn = 2, - context_dictSize = 3, - context_numBits = 2, - context_data = [], - context_data_val = 0, - context_data_position = 0; - for (ii = 0; ii < uncompressed.length; ii += 1) - if ( - ((context_c = uncompressed.charAt(ii)), - Object.prototype.hasOwnProperty.call( - context_dictionary, - context_c, - ) || - ((context_dictionary[context_c] = context_dictSize++), - (context_dictionaryToCreate[context_c] = !0)), - (context_wc = context_w + context_c), - Object.prototype.hasOwnProperty.call( - context_dictionary, - context_wc, - )) - ) - context_w = context_wc; - else { - if ( - Object.prototype.hasOwnProperty.call( - context_dictionaryToCreate, - context_w, - ) - ) { - if (context_w.charCodeAt(0) < 256) { - for (i = 0; i < context_numBits; i++) - (context_data_val <<= 1), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++; - for ( - value = context_w.charCodeAt(0), i = 0; - i < 8; - i++ - ) - (context_data_val = - (context_data_val << 1) | (1 & value)), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value >>= 1); - } else { - for (value = 1, i = 0; i < context_numBits; i++) - (context_data_val = - (context_data_val << 1) | value), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value = 0); - for ( - value = context_w.charCodeAt(0), i = 0; - i < 16; - i++ - ) - (context_data_val = - (context_data_val << 1) | (1 & value)), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value >>= 1); - } - 0 == --context_enlargeIn && - ((context_enlargeIn = Math.pow(2, context_numBits)), - context_numBits++), - delete context_dictionaryToCreate[context_w]; - } else - for ( - value = context_dictionary[context_w], i = 0; - i < context_numBits; - i++ - ) - (context_data_val = - (context_data_val << 1) | (1 & value)), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value >>= 1); - 0 == --context_enlargeIn && - ((context_enlargeIn = Math.pow(2, context_numBits)), - context_numBits++), - (context_dictionary[context_wc] = context_dictSize++), - (context_w = String(context_c)); - } - if ("" !== context_w) { - if ( - Object.prototype.hasOwnProperty.call( - context_dictionaryToCreate, - context_w, - ) - ) { - if (context_w.charCodeAt(0) < 256) { - for (i = 0; i < context_numBits; i++) - (context_data_val <<= 1), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++; - for ( - value = context_w.charCodeAt(0), i = 0; - i < 8; - i++ - ) - (context_data_val = - (context_data_val << 1) | (1 & value)), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value >>= 1); - } else { - for (value = 1, i = 0; i < context_numBits; i++) - (context_data_val = - (context_data_val << 1) | value), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value = 0); - for ( - value = context_w.charCodeAt(0), i = 0; - i < 16; - i++ - ) - (context_data_val = - (context_data_val << 1) | (1 & value)), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value >>= 1); - } - 0 == --context_enlargeIn && - ((context_enlargeIn = Math.pow(2, context_numBits)), - context_numBits++), - delete context_dictionaryToCreate[context_w]; - } else - for ( - value = context_dictionary[context_w], i = 0; - i < context_numBits; - i++ - ) - (context_data_val = - (context_data_val << 1) | (1 & value)), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push( - getCharFromInt(context_data_val), - ), - (context_data_val = 0)) - : context_data_position++, - (value >>= 1); - 0 == --context_enlargeIn && - ((context_enlargeIn = Math.pow(2, context_numBits)), - context_numBits++); - } - for (value = 2, i = 0; i < context_numBits; i++) - (context_data_val = - (context_data_val << 1) | (1 & value)), - context_data_position == bitsPerChar - 1 - ? ((context_data_position = 0), - context_data.push(getCharFromInt(context_data_val)), - (context_data_val = 0)) - : context_data_position++, - (value >>= 1); - for (;;) { - if ( - ((context_data_val <<= 1), - context_data_position == bitsPerChar - 1) - ) { - context_data.push(getCharFromInt(context_data_val)); - break; - } - context_data_position++; - } - return context_data.join(""); - }, - decompress: function (compressed) { - return null == compressed - ? "" - : "" == compressed - ? null - : LZString2._decompress( - compressed.length, - 32768, - function (index) { - return compressed.charCodeAt(index); - }, - ); - }, - _decompress: function (length, resetValue, getNextValue) { - var i, - w2, - bits, - resb, - maxpower, - power, - c, - dictionary = [], - enlargeIn = 4, - dictSize = 4, - numBits = 3, - entry = "", - result = [], - data = { - val: getNextValue(0), - position: resetValue, - index: 1, - }; - for (i = 0; i < 3; i += 1) dictionary[i] = i; - for ( - bits = 0, maxpower = Math.pow(2, 2), power = 1; - power != maxpower; - - ) - (resb = data.val & data.position), - (data.position >>= 1), - 0 == data.position && - ((data.position = resetValue), - (data.val = getNextValue(data.index++))), - (bits |= (resb > 0 ? 1 : 0) * power), - (power <<= 1); - switch (bits) { - case 0: - for ( - bits = 0, maxpower = Math.pow(2, 8), power = 1; - power != maxpower; - - ) - (resb = data.val & data.position), - (data.position >>= 1), - 0 == data.position && - ((data.position = resetValue), - (data.val = getNextValue(data.index++))), - (bits |= (resb > 0 ? 1 : 0) * power), - (power <<= 1); - c = f4(bits); - break; - case 1: - for ( - bits = 0, maxpower = Math.pow(2, 16), power = 1; - power != maxpower; - - ) - (resb = data.val & data.position), - (data.position >>= 1), - 0 == data.position && - ((data.position = resetValue), - (data.val = getNextValue(data.index++))), - (bits |= (resb > 0 ? 1 : 0) * power), - (power <<= 1); - c = f4(bits); - break; - case 2: - return ""; - } - for (dictionary[3] = c, w2 = c, result.push(c); ; ) { - if (data.index > length) return ""; - for ( - bits = 0, maxpower = Math.pow(2, numBits), power = 1; - power != maxpower; - - ) - (resb = data.val & data.position), - (data.position >>= 1), - 0 == data.position && - ((data.position = resetValue), - (data.val = getNextValue(data.index++))), - (bits |= (resb > 0 ? 1 : 0) * power), - (power <<= 1); - switch ((c = bits)) { - case 0: - for ( - bits = 0, maxpower = Math.pow(2, 8), power = 1; - power != maxpower; - - ) - (resb = data.val & data.position), - (data.position >>= 1), - 0 == data.position && - ((data.position = resetValue), - (data.val = getNextValue(data.index++))), - (bits |= (resb > 0 ? 1 : 0) * power), - (power <<= 1); - (dictionary[dictSize++] = f4(bits)), - (c = dictSize - 1), - enlargeIn--; - break; - case 1: - for ( - bits = 0, maxpower = Math.pow(2, 16), power = 1; - power != maxpower; - - ) - (resb = data.val & data.position), - (data.position >>= 1), - 0 == data.position && - ((data.position = resetValue), - (data.val = getNextValue(data.index++))), - (bits |= (resb > 0 ? 1 : 0) * power), - (power <<= 1); - (dictionary[dictSize++] = f4(bits)), - (c = dictSize - 1), - enlargeIn--; - break; - case 2: - return result.join(""); - } - if ( - (0 == enlargeIn && - ((enlargeIn = Math.pow(2, numBits)), numBits++), - dictionary[c]) - ) - entry = dictionary[c]; - else { - if (c !== dictSize) return null; - entry = w2 + w2.charAt(0); - } - result.push(entry), - (dictionary[dictSize++] = w2 + entry.charAt(0)), - (w2 = entry), - 0 == --enlargeIn && - ((enlargeIn = Math.pow(2, numBits)), numBits++); - } - }, - }; - return LZString2; - })(); - "function" == typeof define && __webpack_require__.amdO - ? define(function () { - return LZString; - }) - : typeof module2 < "u" && null != module2 - ? (module2.exports = LZString) - : typeof angular < "u" && - null != angular && - angular - .module("LZString", []) - .factory("LZString", function () { - return LZString; - }); - }, - }), - __defProp2 = Object.defineProperty, - __getOwnPropNames2 = Object.getOwnPropertyNames, - __name = (target, value) => - __defProp2(target, "name", { value, configurable: !0 }), - __export2 = (target, all) => { - for (var name in all) - __defProp2(target, name, { get: all[name], enumerable: !0 }); - }, - require_util = - ((cb = { "(disabled):util"() {} }), - function () { - return ( - mod || - (0, cb[__getOwnPropNames2(cb)[0]])( - (mod = { exports: {} }).exports, - mod, - ), - mod.exports - ); - }), - utils_exports = {}; - __export2(utils_exports, { - addChainableMethod: () => addChainableMethod, - addLengthGuard: () => addLengthGuard, - addMethod: () => addMethod, - addProperty: () => addProperty, - checkError: () => check_error_exports, - compareByInspect: () => compareByInspect, - eql: () => deep_eql_default, - expectTypes: () => expectTypes, - flag: () => flag, - getActual: () => getActual, - getMessage: () => getMessage2, - getName: () => getName, - getOperator: () => getOperator, - getOwnEnumerableProperties: () => getOwnEnumerableProperties, - getOwnEnumerablePropertySymbols: () => - getOwnEnumerablePropertySymbols, - getPathInfo: () => getPathInfo, - hasProperty: () => hasProperty, - inspect: () => inspect2, - isNaN: () => isNaN22, - isProxyEnabled: () => isProxyEnabled, - isRegExp: () => isRegExp2, - objDisplay: () => objDisplay, - overwriteChainableMethod: () => overwriteChainableMethod, - overwriteMethod: () => overwriteMethod, - overwriteProperty: () => overwriteProperty, - proxify: () => proxify, - test: () => test, - transferFlags: () => transferFlags, - type: () => type, - }); - var check_error_exports = {}; - function isErrorInstance(obj) { - return ( - obj instanceof Error || - "[object Error]" === Object.prototype.toString.call(obj) - ); - } - function isRegExp(obj) { - return "[object RegExp]" === Object.prototype.toString.call(obj); - } - function compatibleInstance(thrown, errorLike) { - return isErrorInstance(errorLike) && thrown === errorLike; - } - function compatibleConstructor(thrown, errorLike) { - return isErrorInstance(errorLike) - ? thrown.constructor === errorLike.constructor || - thrown instanceof errorLike.constructor - : !( - ("object" != typeof errorLike && - "function" != typeof errorLike) || - !errorLike.prototype - ) && - (thrown.constructor === errorLike || - thrown instanceof errorLike); - } - function compatibleMessage(thrown, errMatcher) { - let comparisonString = - "string" == typeof thrown ? thrown : thrown.message; - return isRegExp(errMatcher) - ? errMatcher.test(comparisonString) - : "string" == typeof errMatcher && - -1 !== comparisonString.indexOf(errMatcher); - } - function getConstructorName(errorLike) { - let constructorName = errorLike; - return ( - isErrorInstance(errorLike) - ? (constructorName = errorLike.constructor.name) - : "function" == typeof errorLike && - ((constructorName = errorLike.name), - "" === constructorName && - (constructorName = new errorLike().name || constructorName)), - constructorName - ); - } - function getMessage(errorLike) { - let msg = ""; - return ( - errorLike && errorLike.message - ? (msg = errorLike.message) - : "string" == typeof errorLike && (msg = errorLike), - msg - ); - } - function flag(obj, key, value) { - var flags = obj.__flags || (obj.__flags = Object.create(null)); - if (3 !== arguments.length) return flags[key]; - flags[key] = value; - } - function test(obj, args) { - var negate = flag(obj, "negate"), - expr = args[0]; - return negate ? !expr : expr; - } - function type(obj) { - if (typeof obj > "u") return "undefined"; - if (null === obj) return "null"; - let stringTag = obj[Symbol.toStringTag]; - return "string" == typeof stringTag - ? stringTag - : Object.prototype.toString.call(obj).slice(8, -1); - } - __export2(check_error_exports, { - compatibleConstructor: () => compatibleConstructor, - compatibleInstance: () => compatibleInstance, - compatibleMessage: () => compatibleMessage, - getConstructorName: () => getConstructorName, - getMessage: () => getMessage, - }), - __name(isErrorInstance, "isErrorInstance"), - __name(isRegExp, "isRegExp"), - __name(compatibleInstance, "compatibleInstance"), - __name(compatibleConstructor, "compatibleConstructor"), - __name(compatibleMessage, "compatibleMessage"), - __name(getConstructorName, "getConstructorName"), - __name(getMessage, "getMessage"), - __name(flag, "flag"), - __name(test, "test"), - __name(type, "type"); - var _a, - canElideFrames = "captureStackTrace" in Error, - AssertionError = - ((_a = class extends Error { - message; - get name() { - return "AssertionError"; - } - get ok() { - return !1; - } - constructor(message = "Unspecified AssertionError", props, ssf) { - super(message), - (this.message = message), - canElideFrames && Error.captureStackTrace(this, ssf || _a); - for (let key in props) key in this || (this[key] = props[key]); - } - toJSON(stack) { - return { - ...this, - name: this.name, - message: this.message, - ok: !1, - stack: !1 !== stack ? this.stack : void 0, - }; - } - }), - __name(_a, "AssertionError"), - _a); - function expectTypes(obj, types) { - var flagMsg = flag(obj, "message"), - ssfi = flag(obj, "ssfi"); - (flagMsg = flagMsg ? flagMsg + ": " : ""), - (obj = flag(obj, "object")), - (types = types.map(function (t) { - return t.toLowerCase(); - })).sort(); - var str = types - .map(function (t, index) { - var art = ~["a", "e", "i", "o", "u"].indexOf(t.charAt(0)) - ? "an" - : "a"; - return ( - (types.length > 1 && index === types.length - 1 - ? "or " - : "") + - art + - " " + - t - ); - }) - .join(", "), - objType = type(obj).toLowerCase(); - if ( - !types.some(function (expected) { - return objType === expected; - }) - ) - throw new AssertionError( - flagMsg + - "object tested must be " + - str + - ", but " + - objType + - " given", - void 0, - ssfi, - ); - } - function getActual(obj, args) { - return args.length > 4 ? args[4] : obj._obj; - } - __name(expectTypes, "expectTypes"), __name(getActual, "getActual"); - var ansiColors = { - bold: ["1", "22"], - dim: ["2", "22"], - italic: ["3", "23"], - underline: ["4", "24"], - inverse: ["7", "27"], - hidden: ["8", "28"], - strike: ["9", "29"], - black: ["30", "39"], - red: ["31", "39"], - green: ["32", "39"], - yellow: ["33", "39"], - blue: ["34", "39"], - magenta: ["35", "39"], - cyan: ["36", "39"], - white: ["37", "39"], - brightblack: ["30;1", "39"], - brightred: ["31;1", "39"], - brightgreen: ["32;1", "39"], - brightyellow: ["33;1", "39"], - brightblue: ["34;1", "39"], - brightmagenta: ["35;1", "39"], - brightcyan: ["36;1", "39"], - brightwhite: ["37;1", "39"], - grey: ["90", "39"], - }, - styles = { - special: "cyan", - number: "yellow", - bigint: "yellow", - boolean: "yellow", - undefined: "grey", - null: "bold", - string: "green", - symbol: "green", - date: "magenta", - regexp: "red", - }, - truncator = "…"; - function colorise(value, styleType) { - let color = - ansiColors[styles[styleType]] || ansiColors[styleType] || ""; - return color - ? `[${color[0]}m${String(value)}[${color[1]}m` - : String(value); - } - function normaliseOptions( - { - showHidden = !1, - depth = 2, - colors = !1, - customInspect = !0, - showProxy = !1, - maxArrayLength = 1 / 0, - breakLength = 1 / 0, - seen = [], - truncate: truncate22 = 1 / 0, - stylize = String, - } = {}, - inspect32, - ) { - let options = { - showHidden: !!showHidden, - depth: Number(depth), - colors: !!colors, - customInspect: !!customInspect, - showProxy: !!showProxy, - maxArrayLength: Number(maxArrayLength), - breakLength: Number(breakLength), - truncate: Number(truncate22), - seen, - inspect: inspect32, - stylize, - }; - return options.colors && (options.stylize = colorise), options; - } - function truncate(string, length, tail = truncator) { - string = String(string); - let tailLength = tail.length, - stringLength = string.length; - return tailLength > length && stringLength > tailLength - ? tail - : stringLength > length && stringLength > tailLength - ? `${string.slice(0, length - tailLength)}${tail}` - : string; - } - function inspectList(list, options, inspectItem, separator = ", ") { - inspectItem = inspectItem || options.inspect; - let size = list.length; - if (0 === size) return ""; - let originalLength = options.truncate, - output = "", - peek = "", - truncated = ""; - for (let i = 0; i < size; i += 1) { - let last = i + 1 === list.length, - secondToLast = i + 2 === list.length; - truncated = `${truncator}(${list.length - i})`; - let value = list[i]; - options.truncate = - originalLength - output.length - (last ? 0 : separator.length); - let string = - peek || inspectItem(value, options) + (last ? "" : separator), - nextLength = output.length + string.length, - truncatedLength = nextLength + truncated.length; - if ( - (last && - nextLength > originalLength && - output.length + truncated.length <= originalLength) || - (!last && !secondToLast && truncatedLength > originalLength) || - ((peek = last - ? "" - : inspectItem(list[i + 1], options) + - (secondToLast ? "" : separator)), - !last && - secondToLast && - truncatedLength > originalLength && - nextLength + peek.length > originalLength) - ) - break; - if ( - ((output += string), - !last && - !secondToLast && - nextLength + peek.length >= originalLength) - ) { - truncated = `${truncator}(${list.length - i - 1})`; - break; - } - truncated = ""; - } - return `${output}${truncated}`; - } - function quoteComplexKey(key) { - return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) - ? key - : JSON.stringify(key) - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - } - function inspectProperty([key, value], options) { - return ( - (options.truncate -= 2), - "string" == typeof key - ? (key = quoteComplexKey(key)) - : "number" != typeof key && - (key = `[${options.inspect(key, options)}]`), - (options.truncate -= key.length), - `${key}: ${(value = options.inspect(value, options))}` - ); - } - function inspectArray(array, options) { - let nonIndexProperties = Object.keys(array).slice(array.length); - if (!array.length && !nonIndexProperties.length) return "[]"; - options.truncate -= 4; - let listContents = inspectList(array, options); - options.truncate -= listContents.length; - let propertyContents = ""; - return ( - nonIndexProperties.length && - (propertyContents = inspectList( - nonIndexProperties.map((key) => [key, array[key]]), - options, - inspectProperty, - )), - `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]` - ); - } - __name(colorise, "colorise"), - __name(normaliseOptions, "normaliseOptions"), - __name(truncate, "truncate"), - __name(inspectList, "inspectList"), - __name(quoteComplexKey, "quoteComplexKey"), - __name(inspectProperty, "inspectProperty"), - __name(inspectArray, "inspectArray"); - var getArrayName = __name( - (array) => - "function" == typeof Buffer && array instanceof Buffer - ? "Buffer" - : array[Symbol.toStringTag] - ? array[Symbol.toStringTag] - : array.constructor.name, - "getArrayName", - ); - function inspectTypedArray(array, options) { - let name = getArrayName(array); - options.truncate -= name.length + 4; - let nonIndexProperties = Object.keys(array).slice(array.length); - if (!array.length && !nonIndexProperties.length) return `${name}[]`; - let output = ""; - for (let i = 0; i < array.length; i++) { - let string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`; - if ( - ((options.truncate -= string.length), - array[i] !== array.length && options.truncate <= 3) - ) { - output += `${truncator}(${array.length - array[i] + 1})`; - break; - } - output += string; - } - let propertyContents = ""; - return ( - nonIndexProperties.length && - (propertyContents = inspectList( - nonIndexProperties.map((key) => [key, array[key]]), - options, - inspectProperty, - )), - `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]` - ); - } - function inspectDate(dateObject, options) { - let stringRepresentation = dateObject.toJSON(); - if (null === stringRepresentation) return "Invalid Date"; - let split = stringRepresentation.split("T"), - date = split[0]; - return options.stylize( - `${date}T${truncate(split[1], options.truncate - date.length - 1)}`, - "date", - ); - } - function inspectFunction(func, options) { - let functionType = func[Symbol.toStringTag] || "Function", - name = func.name; - return name - ? options.stylize( - `[${functionType} ${truncate(name, options.truncate - 11)}]`, - "special", - ) - : options.stylize(`[${functionType}]`, "special"); - } - function inspectMapEntry([key, value], options) { - return ( - (options.truncate -= 4), - (key = options.inspect(key, options)), - (options.truncate -= key.length), - `${key} => ${(value = options.inspect(value, options))}` - ); - } - function mapToEntries(map) { - let entries = []; - return ( - map.forEach((value, key) => { - entries.push([key, value]); - }), - entries - ); - } - function inspectMap(map, options) { - return map.size - 1 <= 0 - ? "Map{}" - : ((options.truncate -= 7), - `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`); - } - __name(inspectTypedArray, "inspectTypedArray"), - __name(inspectDate, "inspectDate"), - __name(inspectFunction, "inspectFunction"), - __name(inspectMapEntry, "inspectMapEntry"), - __name(mapToEntries, "mapToEntries"), - __name(inspectMap, "inspectMap"); - var isNaN2 = Number.isNaN || ((i) => i != i); - function inspectNumber(number, options) { - return isNaN2(number) - ? options.stylize("NaN", "number") - : number === 1 / 0 - ? options.stylize("Infinity", "number") - : number === -1 / 0 - ? options.stylize("-Infinity", "number") - : 0 === number - ? options.stylize(1 / number == 1 / 0 ? "+0" : "-0", "number") - : options.stylize( - truncate(String(number), options.truncate), - "number", - ); - } - function inspectBigInt(number, options) { - let nums = truncate(number.toString(), options.truncate - 1); - return ( - nums !== truncator && (nums += "n"), options.stylize(nums, "bigint") - ); - } - function inspectRegExp(value, options) { - let flags = value.toString().split("/")[2], - sourceLength = options.truncate - (2 + flags.length), - source = value.source; - return options.stylize( - `/${truncate(source, sourceLength)}/${flags}`, - "regexp", - ); - } - function arrayFromSet(set2) { - let values = []; - return ( - set2.forEach((value) => { - values.push(value); - }), - values - ); - } - function inspectSet(set2, options) { - return 0 === set2.size - ? "Set{}" - : ((options.truncate -= 7), - `Set{ ${inspectList(arrayFromSet(set2), options)} }`); - } - __name(inspectNumber, "inspectNumber"), - __name(inspectBigInt, "inspectBigInt"), - __name(inspectRegExp, "inspectRegExp"), - __name(arrayFromSet, "arrayFromSet"), - __name(inspectSet, "inspectSet"); - var stringEscapeChars = new RegExp( - "['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", - "g", - ), - escapeCharacters = { - "\b": "\\b", - "\t": "\\t", - "\n": "\\n", - "\f": "\\f", - "\r": "\\r", - "'": "\\'", - "\\": "\\\\", - }; - function escape(char) { - return ( - escapeCharacters[char] || - `\\u${`0000${char.charCodeAt(0).toString(16)}`.slice(-4)}` - ); - } - function inspectString(string, options) { - return ( - stringEscapeChars.test(string) && - (string = string.replace(stringEscapeChars, escape)), - options.stylize( - `'${truncate(string, options.truncate - 2)}'`, - "string", - ) - ); - } - function inspectSymbol(value) { - return "description" in Symbol.prototype - ? value.description - ? `Symbol(${value.description})` - : "Symbol()" - : value.toString(); - } - __name(escape, "escape"), - __name(inspectString, "inspectString"), - __name(inspectSymbol, "inspectSymbol"); - var getPromiseValue = __name(() => "Promise{…}", "getPromiseValue"); - try { - let { getPromiseDetails, kPending, kRejected } = - process.binding("util"); - Array.isArray(getPromiseDetails(Promise.resolve())) && - (getPromiseValue = __name((value, options) => { - let [state, innerValue] = getPromiseDetails(value); - return state === kPending - ? "Promise{}" - : `Promise${state === kRejected ? "!" : ""}{${options.inspect(innerValue, options)}}`; - }, "getPromiseValue")); - } catch {} - var promise_default = getPromiseValue; - function inspectObject(object, options) { - let properties = Object.getOwnPropertyNames(object), - symbols = Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(object) - : []; - if (0 === properties.length && 0 === symbols.length) return "{}"; - if ( - ((options.truncate -= 4), - (options.seen = options.seen || []), - options.seen.indexOf(object) >= 0) - ) - return "[Circular]"; - options.seen.push(object); - let propertyContents = inspectList( - properties.map((key) => [key, object[key]]), - options, - inspectProperty, - ), - symbolContents = inspectList( - symbols.map((key) => [key, object[key]]), - options, - inspectProperty, - ); - options.seen.pop(); - let sep = ""; - return ( - propertyContents && symbolContents && (sep = ", "), - `{ ${propertyContents}${sep}${symbolContents} }` - ); - } - __name(inspectObject, "inspectObject"); - var toStringTag = - !!(typeof Symbol < "u" && Symbol.toStringTag) && Symbol.toStringTag; - function inspectClass(value, options) { - let name = ""; - return ( - toStringTag && toStringTag in value && (name = value[toStringTag]), - (name = name || value.constructor.name), - (!name || "_class" === name) && (name = ""), - (options.truncate -= name.length), - `${name}${inspectObject(value, options)}` - ); - } - function inspectArguments(args, options) { - return 0 === args.length - ? "Arguments[]" - : ((options.truncate -= 13), - `Arguments[ ${inspectList(args, options)} ]`); - } - __name(inspectClass, "inspectClass"), - __name(inspectArguments, "inspectArguments"); - var errorKeys = [ - "stack", - "line", - "column", - "name", - "message", - "fileName", - "lineNumber", - "columnNumber", - "number", - "description", - ]; - function inspectObject2(error, options) { - let properties = Object.getOwnPropertyNames(error).filter( - (key) => -1 === errorKeys.indexOf(key), - ), - name = error.name; - options.truncate -= name.length; - let message = ""; - "string" == typeof error.message - ? (message = truncate(error.message, options.truncate)) - : properties.unshift("message"), - (message = message ? `: ${message}` : ""), - (options.truncate -= message.length + 5); - let propertyContents = inspectList( - properties.map((key) => [key, error[key]]), - options, - inspectProperty, - ); - return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`; - } - function inspectAttribute([key, value], options) { - return ( - (options.truncate -= 3), - value - ? `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}` - : `${options.stylize(String(key), "yellow")}` - ); - } - function inspectHTMLCollection(collection, options) { - return inspectList(collection, options, inspectHTML, "\n"); - } - function inspectHTML(element, options) { - let properties = element.getAttributeNames(), - name = element.tagName.toLowerCase(), - head = options.stylize(`<${name}`, "special"), - headClose = options.stylize(">", "special"), - tail = options.stylize(``, "special"); - options.truncate -= 2 * name.length + 5; - let propertyContents = ""; - properties.length > 0 && - ((propertyContents += " "), - (propertyContents += inspectList( - properties.map((key) => [key, element.getAttribute(key)]), - options, - inspectAttribute, - " ", - ))), - (options.truncate -= propertyContents.length); - let truncate22 = options.truncate, - children = inspectHTMLCollection(element.children, options); - return ( - children && - children.length > truncate22 && - (children = `${truncator}(${element.children.length})`), - `${head}${propertyContents}${headClose}${children}${tail}` - ); - } - __name(inspectObject2, "inspectObject"), - __name(inspectAttribute, "inspectAttribute"), - __name(inspectHTMLCollection, "inspectHTMLCollection"), - __name(inspectHTML, "inspectHTML"); - var chaiInspect = - "function" == typeof Symbol && "function" == typeof Symbol.for - ? Symbol.for("chai/inspect") - : "@@chai/inspect", - nodeInspect = !1; - try { - let nodeUtil = require_util(); - nodeInspect = !!nodeUtil.inspect && nodeUtil.inspect.custom; - } catch { - nodeInspect = !1; - } - var constructorMap = new WeakMap(), - stringTagMap = {}, - baseTypesMap = { - undefined: (value, options) => - options.stylize("undefined", "undefined"), - null: (value, options) => options.stylize("null", "null"), - boolean: (value, options) => - options.stylize(String(value), "boolean"), - Boolean: (value, options) => - options.stylize(String(value), "boolean"), - number: inspectNumber, - Number: inspectNumber, - bigint: inspectBigInt, - BigInt: inspectBigInt, - string: inspectString, - String: inspectString, - function: inspectFunction, - Function: inspectFunction, - symbol: inspectSymbol, - Symbol: inspectSymbol, - Array: inspectArray, - Date: inspectDate, - Map: inspectMap, - Set: inspectSet, - RegExp: inspectRegExp, - Promise: promise_default, - WeakSet: (value, options) => - options.stylize("WeakSet{…}", "special"), - WeakMap: (value, options) => - options.stylize("WeakMap{…}", "special"), - Arguments: inspectArguments, - Int8Array: inspectTypedArray, - Uint8Array: inspectTypedArray, - Uint8ClampedArray: inspectTypedArray, - Int16Array: inspectTypedArray, - Uint16Array: inspectTypedArray, - Int32Array: inspectTypedArray, - Uint32Array: inspectTypedArray, - Float32Array: inspectTypedArray, - Float64Array: inspectTypedArray, - Generator: () => "", - DataView: () => "", - ArrayBuffer: () => "", - Error: inspectObject2, - HTMLCollection: inspectHTMLCollection, - NodeList: inspectHTMLCollection, - }, - inspectCustom = __name( - (value, options, type32) => - chaiInspect in value && "function" == typeof value[chaiInspect] - ? value[chaiInspect](options) - : nodeInspect && - nodeInspect in value && - "function" == typeof value[nodeInspect] - ? value[nodeInspect](options.depth, options) - : "inspect" in value && "function" == typeof value.inspect - ? value.inspect(options.depth, options) - : "constructor" in value && - constructorMap.has(value.constructor) - ? constructorMap.get(value.constructor)(value, options) - : stringTagMap[type32] - ? stringTagMap[type32](value, options) - : "", - "inspectCustom", - ), - toString = Object.prototype.toString; - function inspect(value, opts = {}) { - let options = normaliseOptions(opts, inspect), - { customInspect } = options, - type32 = null === value ? "null" : typeof value; - if ( - ("object" === type32 && - (type32 = toString.call(value).slice(8, -1)), - type32 in baseTypesMap) - ) - return baseTypesMap[type32](value, options); - if (customInspect && value) { - let output = inspectCustom(value, options, type32); - if (output) - return "string" == typeof output - ? output - : inspect(output, options); - } - let proto = !!value && Object.getPrototypeOf(value); - return proto === Object.prototype || null === proto - ? inspectObject(value, options) - : value && - "function" == typeof HTMLElement && - value instanceof HTMLElement - ? inspectHTML(value, options) - : "constructor" in value - ? value.constructor !== Object - ? inspectClass(value, options) - : inspectObject(value, options) - : value === Object(value) - ? inspectObject(value, options) - : options.stylize(String(value), type32); - } - __name(inspect, "inspect"); - var config = { - includeStack: !1, - showDiff: !0, - truncateThreshold: 40, - useProxy: !0, - proxyExcludedKeys: ["then", "catch", "inspect", "toJSON"], - deepEqual: null, - }; - function inspect2(obj, showHidden, depth, colors) { - return inspect(obj, { - colors, - depth: typeof depth > "u" ? 2 : depth, - showHidden, - truncate: config.truncateThreshold - ? config.truncateThreshold - : 1 / 0, - }); - } - function objDisplay(obj) { - var str = inspect2(obj), - type32 = Object.prototype.toString.call(obj); - if ( - config.truncateThreshold && - str.length >= config.truncateThreshold - ) { - if ("[object Function]" === type32) - return obj.name && "" !== obj.name - ? "[Function: " + obj.name + "]" - : "[Function]"; - if ("[object Array]" === type32) - return "[ Array(" + obj.length + ") ]"; - if ("[object Object]" === type32) { - var keys2 = Object.keys(obj); - return ( - "{ Object (" + - (keys2.length > 2 - ? keys2.splice(0, 2).join(", ") + ", ..." - : keys2.join(", ")) + - ") }" - ); - } - return str; - } - return str; - } - function getMessage2(obj, args) { - var negate = flag(obj, "negate"), - val = flag(obj, "object"), - expected = args[3], - actual = getActual(obj, args), - msg = negate ? args[2] : args[1], - flagMsg = flag(obj, "message"); - return ( - "function" == typeof msg && (msg = msg()), - (msg = (msg = msg || "") - .replace(/#\{this\}/g, function () { - return objDisplay(val); - }) - .replace(/#\{act\}/g, function () { - return objDisplay(actual); - }) - .replace(/#\{exp\}/g, function () { - return objDisplay(expected); - })), - flagMsg ? flagMsg + ": " + msg : msg - ); - } - function transferFlags(assertion, object, includeAll) { - var flags = - assertion.__flags || (assertion.__flags = Object.create(null)); - for (var flag3 in (object.__flags || - (object.__flags = Object.create(null)), - (includeAll = 3 !== arguments.length || includeAll), - flags)) - (includeAll || - ("object" !== flag3 && - "ssfi" !== flag3 && - "lockSsfi" !== flag3 && - "message" != flag3)) && - (object.__flags[flag3] = flags[flag3]); - } - function type2(obj) { - if (typeof obj > "u") return "undefined"; - if (null === obj) return "null"; - let stringTag = obj[Symbol.toStringTag]; - return "string" == typeof stringTag - ? stringTag - : Object.prototype.toString.call(obj).slice(8, -1); - } - function FakeMap() { - this._key = "chai/deep-eql__" + Math.random() + Date.now(); - } - __name(inspect2, "inspect"), - __name(objDisplay, "objDisplay"), - __name(getMessage2, "getMessage"), - __name(transferFlags, "transferFlags"), - __name(type2, "type"), - __name(FakeMap, "FakeMap"), - (FakeMap.prototype = { - get: __name(function (key) { - return key[this._key]; - }, "get"), - set: __name(function (key, value) { - Object.isExtensible(key) && - Object.defineProperty(key, this._key, { - value, - configurable: !0, - }); - }, "set"), - }); - var MemoizeMap = "function" == typeof WeakMap ? WeakMap : FakeMap; - function memoizeCompare(leftHandOperand, rightHandOperand, memoizeMap) { - if ( - !memoizeMap || - isPrimitive(leftHandOperand) || - isPrimitive(rightHandOperand) - ) - return null; - var leftHandMap = memoizeMap.get(leftHandOperand); - if (leftHandMap) { - var result = leftHandMap.get(rightHandOperand); - if ("boolean" == typeof result) return result; - } - return null; - } - function memoizeSet( - leftHandOperand, - rightHandOperand, - memoizeMap, - result, - ) { - if ( - memoizeMap && - !isPrimitive(leftHandOperand) && - !isPrimitive(rightHandOperand) - ) { - var leftHandMap = memoizeMap.get(leftHandOperand); - leftHandMap - ? leftHandMap.set(rightHandOperand, result) - : ((leftHandMap = new MemoizeMap()).set(rightHandOperand, result), - memoizeMap.set(leftHandOperand, leftHandMap)); - } - } - __name(memoizeCompare, "memoizeCompare"), - __name(memoizeSet, "memoizeSet"); - var deep_eql_default = deepEqual; - function deepEqual(leftHandOperand, rightHandOperand, options) { - if (options && options.comparator) - return extensiveDeepEqual( - leftHandOperand, - rightHandOperand, - options, - ); - var simpleResult = simpleEqual(leftHandOperand, rightHandOperand); - return null !== simpleResult - ? simpleResult - : extensiveDeepEqual(leftHandOperand, rightHandOperand, options); - } - function simpleEqual(leftHandOperand, rightHandOperand) { - return leftHandOperand === rightHandOperand - ? 0 !== leftHandOperand || - 1 / leftHandOperand == 1 / rightHandOperand - : (leftHandOperand != leftHandOperand && - rightHandOperand != rightHandOperand) || - (!isPrimitive(leftHandOperand) && - !isPrimitive(rightHandOperand) && - null); - } - function extensiveDeepEqual( - leftHandOperand, - rightHandOperand, - options, - ) { - (options = options || {}).memoize = - !1 !== options.memoize && (options.memoize || new MemoizeMap()); - var comparator = options && options.comparator, - memoizeResultLeft = memoizeCompare( - leftHandOperand, - rightHandOperand, - options.memoize, - ); - if (null !== memoizeResultLeft) return memoizeResultLeft; - var memoizeResultRight = memoizeCompare( - rightHandOperand, - leftHandOperand, - options.memoize, - ); - if (null !== memoizeResultRight) return memoizeResultRight; - if (comparator) { - var comparatorResult = comparator( - leftHandOperand, - rightHandOperand, - ); - if (!1 === comparatorResult || !0 === comparatorResult) - return ( - memoizeSet( - leftHandOperand, - rightHandOperand, - options.memoize, - comparatorResult, - ), - comparatorResult - ); - var simpleResult = simpleEqual(leftHandOperand, rightHandOperand); - if (null !== simpleResult) return simpleResult; - } - var leftHandType = type2(leftHandOperand); - if (leftHandType !== type2(rightHandOperand)) - return ( - memoizeSet( - leftHandOperand, - rightHandOperand, - options.memoize, - !1, - ), - !1 - ); - memoizeSet(leftHandOperand, rightHandOperand, options.memoize, !0); - var result = extensiveDeepEqualByType( - leftHandOperand, - rightHandOperand, - leftHandType, - options, - ); - return ( - memoizeSet( - leftHandOperand, - rightHandOperand, - options.memoize, - result, - ), - result - ); - } - function extensiveDeepEqualByType( - leftHandOperand, - rightHandOperand, - leftHandType, - options, - ) { - switch (leftHandType) { - case "String": - case "Number": - case "Boolean": - case "Date": - return deepEqual( - leftHandOperand.valueOf(), - rightHandOperand.valueOf(), - ); - case "Promise": - case "Symbol": - case "function": - case "WeakMap": - case "WeakSet": - return leftHandOperand === rightHandOperand; - case "Error": - return keysEqual( - leftHandOperand, - rightHandOperand, - ["name", "message", "code"], - options, - ); - case "Arguments": - case "Int8Array": - case "Uint8Array": - case "Uint8ClampedArray": - case "Int16Array": - case "Uint16Array": - case "Int32Array": - case "Uint32Array": - case "Float32Array": - case "Float64Array": - case "Array": - return iterableEqual(leftHandOperand, rightHandOperand, options); - case "RegExp": - return regexpEqual(leftHandOperand, rightHandOperand); - case "Generator": - return generatorEqual(leftHandOperand, rightHandOperand, options); - case "DataView": - return iterableEqual( - new Uint8Array(leftHandOperand.buffer), - new Uint8Array(rightHandOperand.buffer), - options, - ); - case "ArrayBuffer": - return iterableEqual( - new Uint8Array(leftHandOperand), - new Uint8Array(rightHandOperand), - options, - ); - case "Set": - case "Map": - return entriesEqual(leftHandOperand, rightHandOperand, options); - case "Temporal.PlainDate": - case "Temporal.PlainTime": - case "Temporal.PlainDateTime": - case "Temporal.Instant": - case "Temporal.ZonedDateTime": - case "Temporal.PlainYearMonth": - case "Temporal.PlainMonthDay": - return leftHandOperand.equals(rightHandOperand); - case "Temporal.Duration": - return ( - leftHandOperand.total("nanoseconds") === - rightHandOperand.total("nanoseconds") - ); - case "Temporal.TimeZone": - case "Temporal.Calendar": - return leftHandOperand.toString() === rightHandOperand.toString(); - default: - return objectEqual(leftHandOperand, rightHandOperand, options); - } - } - function regexpEqual(leftHandOperand, rightHandOperand) { - return leftHandOperand.toString() === rightHandOperand.toString(); - } - function entriesEqual(leftHandOperand, rightHandOperand, options) { - if (leftHandOperand.size !== rightHandOperand.size) return !1; - if (0 === leftHandOperand.size) return !0; - var leftHandItems = [], - rightHandItems = []; - return ( - leftHandOperand.forEach( - __name(function (key, value) { - leftHandItems.push([key, value]); - }, "gatherEntries"), - ), - rightHandOperand.forEach( - __name(function (key, value) { - rightHandItems.push([key, value]); - }, "gatherEntries"), - ), - iterableEqual(leftHandItems.sort(), rightHandItems.sort(), options) - ); - } - function iterableEqual(leftHandOperand, rightHandOperand, options) { - var length = leftHandOperand.length; - if (length !== rightHandOperand.length) return !1; - if (0 === length) return !0; - for (var index = -1; ++index < length; ) - if ( - !1 === - deepEqual( - leftHandOperand[index], - rightHandOperand[index], - options, - ) - ) - return !1; - return !0; - } - function generatorEqual(leftHandOperand, rightHandOperand, options) { - return iterableEqual( - getGeneratorEntries(leftHandOperand), - getGeneratorEntries(rightHandOperand), - options, - ); - } - function hasIteratorFunction(target) { - return ( - typeof Symbol < "u" && - "object" == typeof target && - typeof Symbol.iterator < "u" && - "function" == typeof target[Symbol.iterator] - ); - } - function getIteratorEntries(target) { - if (hasIteratorFunction(target)) - try { - return getGeneratorEntries(target[Symbol.iterator]()); - } catch { - return []; - } - return []; - } - function getGeneratorEntries(generator) { - for ( - var generatorResult = generator.next(), - accumulator = [generatorResult.value]; - !1 === generatorResult.done; - - ) - (generatorResult = generator.next()), - accumulator.push(generatorResult.value); - return accumulator; - } - function getEnumerableKeys(target) { - var keys2 = []; - for (var key in target) keys2.push(key); - return keys2; - } - function getEnumerableSymbols(target) { - for ( - var keys2 = [], - allKeys = Object.getOwnPropertySymbols(target), - i = 0; - i < allKeys.length; - i += 1 - ) { - var key = allKeys[i]; - Object.getOwnPropertyDescriptor(target, key).enumerable && - keys2.push(key); - } - return keys2; - } - function keysEqual(leftHandOperand, rightHandOperand, keys2, options) { - var length = keys2.length; - if (0 === length) return !0; - for (var i = 0; i < length; i += 1) - if ( - !1 === - deepEqual( - leftHandOperand[keys2[i]], - rightHandOperand[keys2[i]], - options, - ) - ) - return !1; - return !0; - } - function objectEqual(leftHandOperand, rightHandOperand, options) { - var leftHandKeys = getEnumerableKeys(leftHandOperand), - rightHandKeys = getEnumerableKeys(rightHandOperand), - leftHandSymbols = getEnumerableSymbols(leftHandOperand), - rightHandSymbols = getEnumerableSymbols(rightHandOperand); - if ( - ((leftHandKeys = leftHandKeys.concat(leftHandSymbols)), - (rightHandKeys = rightHandKeys.concat(rightHandSymbols)), - leftHandKeys.length && leftHandKeys.length === rightHandKeys.length) - ) - return ( - !1 !== - iterableEqual( - mapSymbols(leftHandKeys).sort(), - mapSymbols(rightHandKeys).sort(), - ) && - keysEqual( - leftHandOperand, - rightHandOperand, - leftHandKeys, - options, - ) - ); - var leftHandEntries = getIteratorEntries(leftHandOperand), - rightHandEntries = getIteratorEntries(rightHandOperand); - return leftHandEntries.length && - leftHandEntries.length === rightHandEntries.length - ? (leftHandEntries.sort(), - rightHandEntries.sort(), - iterableEqual(leftHandEntries, rightHandEntries, options)) - : 0 === leftHandKeys.length && - 0 === leftHandEntries.length && - 0 === rightHandKeys.length && - 0 === rightHandEntries.length; - } - function isPrimitive(value) { - return null === value || "object" != typeof value; - } - function mapSymbols(arr) { - return arr.map( - __name(function (entry) { - return "symbol" == typeof entry ? entry.toString() : entry; - }, "mapSymbol"), - ); - } - function hasProperty(obj, name) { - return !(typeof obj > "u" || null === obj) && name in Object(obj); - } - function parsePath(path) { - return path - .replace(/([^\\])\[/g, "$1.[") - .match(/(\\\.|[^.]+?)+/g) - .map((value) => { - if ( - "constructor" === value || - "__proto__" === value || - "prototype" === value - ) - return {}; - let mArr = /^\[(\d+)\]$/.exec(value), - parsed = null; - return ( - (parsed = mArr - ? { i: parseFloat(mArr[1]) } - : { p: value.replace(/\\([.[\]])/g, "$1") }), - parsed - ); - }); - } - function internalGetPathValue(obj, parsed, pathDepth) { - let temporaryValue = obj, - res = null; - pathDepth = typeof pathDepth > "u" ? parsed.length : pathDepth; - for (let i = 0; i < pathDepth; i++) { - let part = parsed[i]; - temporaryValue && - ((temporaryValue = - typeof part.p > "u" - ? temporaryValue[part.i] - : temporaryValue[part.p]), - i === pathDepth - 1 && (res = temporaryValue)); - } - return res; - } - function getPathInfo(obj, path) { - let parsed = parsePath(path), - last = parsed[parsed.length - 1], - info = { - parent: - parsed.length > 1 - ? internalGetPathValue(obj, parsed, parsed.length - 1) - : obj, - name: last.p || last.i, - value: internalGetPathValue(obj, parsed), - }; - return (info.exists = hasProperty(info.parent, info.name)), info; - } - function Assertion(obj, msg, ssfi, lockSsfi) { - return ( - flag(this, "ssfi", ssfi || Assertion), - flag(this, "lockSsfi", lockSsfi), - flag(this, "object", obj), - flag(this, "message", msg), - flag(this, "eql", config.deepEqual || deep_eql_default), - proxify(this) - ); - } - function isProxyEnabled() { - return config.useProxy && typeof Proxy < "u" && typeof Reflect < "u"; - } - function addProperty(ctx, name, getter) { - (getter = void 0 === getter ? function () {} : getter), - Object.defineProperty(ctx, name, { - get: __name(function propertyGetter() { - !isProxyEnabled() && - !flag(this, "lockSsfi") && - flag(this, "ssfi", propertyGetter); - var result = getter.call(this); - if (void 0 !== result) return result; - var newAssertion = new Assertion(); - return transferFlags(this, newAssertion), newAssertion; - }, "propertyGetter"), - configurable: !0, - }); - } - __name(deepEqual, "deepEqual"), - __name(simpleEqual, "simpleEqual"), - __name(extensiveDeepEqual, "extensiveDeepEqual"), - __name(extensiveDeepEqualByType, "extensiveDeepEqualByType"), - __name(regexpEqual, "regexpEqual"), - __name(entriesEqual, "entriesEqual"), - __name(iterableEqual, "iterableEqual"), - __name(generatorEqual, "generatorEqual"), - __name(hasIteratorFunction, "hasIteratorFunction"), - __name(getIteratorEntries, "getIteratorEntries"), - __name(getGeneratorEntries, "getGeneratorEntries"), - __name(getEnumerableKeys, "getEnumerableKeys"), - __name(getEnumerableSymbols, "getEnumerableSymbols"), - __name(keysEqual, "keysEqual"), - __name(objectEqual, "objectEqual"), - __name(isPrimitive, "isPrimitive"), - __name(mapSymbols, "mapSymbols"), - __name(hasProperty, "hasProperty"), - __name(parsePath, "parsePath"), - __name(internalGetPathValue, "internalGetPathValue"), - __name(getPathInfo, "getPathInfo"), - __name(Assertion, "Assertion"), - Object.defineProperty(Assertion, "includeStack", { - get: function () { - return ( - console.warn( - "Assertion.includeStack is deprecated, use chai.config.includeStack instead.", - ), - config.includeStack - ); - }, - set: function (value) { - console.warn( - "Assertion.includeStack is deprecated, use chai.config.includeStack instead.", - ), - (config.includeStack = value); - }, - }), - Object.defineProperty(Assertion, "showDiff", { - get: function () { - return ( - console.warn( - "Assertion.showDiff is deprecated, use chai.config.showDiff instead.", - ), - config.showDiff - ); - }, - set: function (value) { - console.warn( - "Assertion.showDiff is deprecated, use chai.config.showDiff instead.", - ), - (config.showDiff = value); - }, - }), - (Assertion.addProperty = function (name, fn3) { - addProperty(this.prototype, name, fn3); - }), - (Assertion.addMethod = function (name, fn3) { - addMethod(this.prototype, name, fn3); - }), - (Assertion.addChainableMethod = function ( - name, - fn3, - chainingBehavior, - ) { - addChainableMethod(this.prototype, name, fn3, chainingBehavior); - }), - (Assertion.overwriteProperty = function (name, fn3) { - overwriteProperty(this.prototype, name, fn3); - }), - (Assertion.overwriteMethod = function (name, fn3) { - overwriteMethod(this.prototype, name, fn3); - }), - (Assertion.overwriteChainableMethod = function ( - name, - fn3, - chainingBehavior, - ) { - overwriteChainableMethod( - this.prototype, - name, - fn3, - chainingBehavior, - ); - }), - (Assertion.prototype.assert = function ( - expr, - msg, - negateMsg, - expected, - _actual, - showDiff, - ) { - var ok = test(this, arguments); - if ( - (!1 !== showDiff && (showDiff = !0), - void 0 === expected && void 0 === _actual && (showDiff = !1), - !0 !== config.showDiff && (showDiff = !1), - !ok) - ) { - msg = getMessage2(this, arguments); - var assertionErrorObjectProperties = { - actual: getActual(this, arguments), - expected, - showDiff, - }, - operator = getOperator(this, arguments); - throw ( - (operator && - (assertionErrorObjectProperties.operator = operator), - new AssertionError( - msg, - assertionErrorObjectProperties, - config.includeStack ? this.assert : flag(this, "ssfi"), - )) - ); - } - }), - Object.defineProperty(Assertion.prototype, "_obj", { - get: function () { - return flag(this, "object"); - }, - set: function (val) { - flag(this, "object", val); - }, - }), - __name(isProxyEnabled, "isProxyEnabled"), - __name(addProperty, "addProperty"); - var fnLengthDesc = Object.getOwnPropertyDescriptor( - function () {}, - "length", - ); - function addLengthGuard(fn3, assertionName, isChainable) { - return ( - fnLengthDesc.configurable && - Object.defineProperty(fn3, "length", { - get: function () { - throw Error( - isChainable - ? "Invalid Chai property: " + - assertionName + - '.length. Due to a compatibility issue, "length" cannot directly follow "' + - assertionName + - '". Use "' + - assertionName + - '.lengthOf" instead.' - : "Invalid Chai property: " + - assertionName + - '.length. See docs for proper usage of "' + - assertionName + - '".', - ); - }, - }), - fn3 - ); - } - function getProperties(object) { - var result = Object.getOwnPropertyNames(object); - function addProperty2(property) { - -1 === result.indexOf(property) && result.push(property); - } - __name(addProperty2, "addProperty"); - for (var proto = Object.getPrototypeOf(object); null !== proto; ) - Object.getOwnPropertyNames(proto).forEach(addProperty2), - (proto = Object.getPrototypeOf(proto)); - return result; - } - __name(addLengthGuard, "addLengthGuard"), - __name(getProperties, "getProperties"); - var builtins = ["__flags", "__methods", "_obj", "assert"]; - function proxify(obj, nonChainableMethodName) { - return isProxyEnabled() - ? new Proxy(obj, { - get: __name(function proxyGetter(target, property) { - if ( - "string" == typeof property && - -1 === config.proxyExcludedKeys.indexOf(property) && - !Reflect.has(target, property) - ) { - if (nonChainableMethodName) - throw Error( - "Invalid Chai property: " + - nonChainableMethodName + - "." + - property + - '. See docs for proper usage of "' + - nonChainableMethodName + - '".', - ); - var suggestion = null, - suggestionDistance = 4; - throw ( - (getProperties(target).forEach(function (prop) { - if ( - !Object.prototype.hasOwnProperty(prop) && - -1 === builtins.indexOf(prop) - ) { - var dist = stringDistanceCapped( - property, - prop, - suggestionDistance, - ); - dist < suggestionDistance && - ((suggestion = prop), (suggestionDistance = dist)); - } - }), - Error( - null !== suggestion - ? "Invalid Chai property: " + - property + - '. Did you mean "' + - suggestion + - '"?' - : "Invalid Chai property: " + property, - )) - ); - } - return ( - -1 === builtins.indexOf(property) && - !flag(target, "lockSsfi") && - flag(target, "ssfi", proxyGetter), - Reflect.get(target, property) - ); - }, "proxyGetter"), - }) - : obj; - } - function stringDistanceCapped(strA, strB, cap) { - if (Math.abs(strA.length - strB.length) >= cap) return cap; - for (var memo = [], i = 0; i <= strA.length; i++) - (memo[i] = Array(strB.length + 1).fill(0)), (memo[i][0] = i); - for (var j = 0; j < strB.length; j++) memo[0][j] = j; - for (i = 1; i <= strA.length; i++) { - var ch = strA.charCodeAt(i - 1); - for (j = 1; j <= strB.length; j++) - Math.abs(i - j) >= cap - ? (memo[i][j] = cap) - : (memo[i][j] = Math.min( - memo[i - 1][j] + 1, - memo[i][j - 1] + 1, - memo[i - 1][j - 1] + - (ch === strB.charCodeAt(j - 1) ? 0 : 1), - )); - } - return memo[strA.length][strB.length]; - } - function addMethod(ctx, name, method) { - var methodWrapper = __name(function () { - flag(this, "lockSsfi") || flag(this, "ssfi", methodWrapper); - var result = method.apply(this, arguments); - if (void 0 !== result) return result; - var newAssertion = new Assertion(); - return transferFlags(this, newAssertion), newAssertion; - }, "methodWrapper"); - addLengthGuard(methodWrapper, name, !1), - (ctx[name] = proxify(methodWrapper, name)); - } - function overwriteProperty(ctx, name, getter) { - var _get = Object.getOwnPropertyDescriptor(ctx, name), - _super = __name(function () {}, "_super"); - _get && "function" == typeof _get.get && (_super = _get.get), - Object.defineProperty(ctx, name, { - get: __name(function overwritingPropertyGetter() { - !isProxyEnabled() && - !flag(this, "lockSsfi") && - flag(this, "ssfi", overwritingPropertyGetter); - var origLockSsfi = flag(this, "lockSsfi"); - flag(this, "lockSsfi", !0); - var result = getter(_super).call(this); - if ((flag(this, "lockSsfi", origLockSsfi), void 0 !== result)) - return result; - var newAssertion = new Assertion(); - return transferFlags(this, newAssertion), newAssertion; - }, "overwritingPropertyGetter"), - configurable: !0, - }); - } - function overwriteMethod(ctx, name, method) { - var _method = ctx[name], - _super = __name(function () { - throw new Error(name + " is not a function"); - }, "_super"); - _method && "function" == typeof _method && (_super = _method); - var overwritingMethodWrapper = __name(function () { - flag(this, "lockSsfi") || - flag(this, "ssfi", overwritingMethodWrapper); - var origLockSsfi = flag(this, "lockSsfi"); - flag(this, "lockSsfi", !0); - var result = method(_super).apply(this, arguments); - if ((flag(this, "lockSsfi", origLockSsfi), void 0 !== result)) - return result; - var newAssertion = new Assertion(); - return transferFlags(this, newAssertion), newAssertion; - }, "overwritingMethodWrapper"); - addLengthGuard(overwritingMethodWrapper, name, !1), - (ctx[name] = proxify(overwritingMethodWrapper, name)); - } - __name(proxify, "proxify"), - __name(stringDistanceCapped, "stringDistanceCapped"), - __name(addMethod, "addMethod"), - __name(overwriteProperty, "overwriteProperty"), - __name(overwriteMethod, "overwriteMethod"); - var canSetPrototype = "function" == typeof Object.setPrototypeOf, - testFn = __name(function () {}, "testFn"), - excludeNames = Object.getOwnPropertyNames(testFn).filter( - function (name) { - var propDesc = Object.getOwnPropertyDescriptor(testFn, name); - return "object" != typeof propDesc || !propDesc.configurable; - }, - ), - call = Function.prototype.call, - apply = Function.prototype.apply; - function addChainableMethod(ctx, name, method, chainingBehavior) { - "function" != typeof chainingBehavior && - (chainingBehavior = __name(function () {}, "chainingBehavior")); - var chainableBehavior = { method, chainingBehavior }; - ctx.__methods || (ctx.__methods = {}), - (ctx.__methods[name] = chainableBehavior), - Object.defineProperty(ctx, name, { - get: __name(function () { - chainableBehavior.chainingBehavior.call(this); - var chainableMethodWrapper = __name(function () { - flag(this, "lockSsfi") || - flag(this, "ssfi", chainableMethodWrapper); - var result = chainableBehavior.method.apply(this, arguments); - if (void 0 !== result) return result; - var newAssertion = new Assertion(); - return transferFlags(this, newAssertion), newAssertion; - }, "chainableMethodWrapper"); - if ( - (addLengthGuard(chainableMethodWrapper, name, !0), - canSetPrototype) - ) { - var prototype = Object.create(this); - (prototype.call = call), - (prototype.apply = apply), - Object.setPrototypeOf(chainableMethodWrapper, prototype); - } else { - Object.getOwnPropertyNames(ctx).forEach( - function (asserterName) { - if (-1 === excludeNames.indexOf(asserterName)) { - var pd = Object.getOwnPropertyDescriptor( - ctx, - asserterName, - ); - Object.defineProperty( - chainableMethodWrapper, - asserterName, - pd, - ); - } - }, - ); - } - return ( - transferFlags(this, chainableMethodWrapper), - proxify(chainableMethodWrapper) - ); - }, "chainableMethodGetter"), - configurable: !0, - }); - } - function overwriteChainableMethod(ctx, name, method, chainingBehavior) { - var chainableBehavior = ctx.__methods[name], - _chainingBehavior = chainableBehavior.chainingBehavior; - chainableBehavior.chainingBehavior = __name(function () { - var result = chainingBehavior(_chainingBehavior).call(this); - if (void 0 !== result) return result; - var newAssertion = new Assertion(); - return transferFlags(this, newAssertion), newAssertion; - }, "overwritingChainableMethodGetter"); - var _method = chainableBehavior.method; - chainableBehavior.method = __name(function () { - var result = method(_method).apply(this, arguments); - if (void 0 !== result) return result; - var newAssertion = new Assertion(); - return transferFlags(this, newAssertion), newAssertion; - }, "overwritingChainableMethodWrapper"); - } - function compareByInspect(a2, b) { - return inspect2(a2) < inspect2(b) ? -1 : 1; - } - function getOwnEnumerablePropertySymbols(obj) { - return "function" != typeof Object.getOwnPropertySymbols - ? [] - : Object.getOwnPropertySymbols(obj).filter(function (sym) { - return Object.getOwnPropertyDescriptor(obj, sym).enumerable; - }); - } - function getOwnEnumerableProperties(obj) { - return Object.keys(obj).concat(getOwnEnumerablePropertySymbols(obj)); - } - function _isNaN(value) { - return value != value; - } - __name(addChainableMethod, "addChainableMethod"), - __name(overwriteChainableMethod, "overwriteChainableMethod"), - __name(compareByInspect, "compareByInspect"), - __name( - getOwnEnumerablePropertySymbols, - "getOwnEnumerablePropertySymbols", - ), - __name(getOwnEnumerableProperties, "getOwnEnumerableProperties"), - __name(_isNaN, "_isNaN"); - var isNaN22 = Number.isNaN || _isNaN; - function isObjectType(obj) { - var objectType = type(obj); - return -1 !== ["Array", "Object", "Function"].indexOf(objectType); - } - function getOperator(obj, args) { - var operator = flag(obj, "operator"), - negate = flag(obj, "negate"), - expected = args[3], - msg = negate ? args[2] : args[1]; - if (operator) return operator; - if ( - ("function" == typeof msg && (msg = msg()), - (msg = msg || "") && !/\shave\s/.test(msg)) - ) { - var isObject2 = isObjectType(expected); - return /\snot\s/.test(msg) - ? isObject2 - ? "notDeepStrictEqual" - : "notStrictEqual" - : isObject2 - ? "deepStrictEqual" - : "strictEqual"; - } - } - function getName(fn3) { - return fn3.name; - } - function isRegExp2(obj) { - return "[object RegExp]" === Object.prototype.toString.call(obj); - } - __name(isObjectType, "isObjectType"), - __name(getOperator, "getOperator"), - __name(getName, "getName"), - __name(isRegExp2, "isRegExp"); - var { flag: flag2 } = utils_exports; - [ - "to", - "be", - "been", - "is", - "and", - "has", - "have", - "with", - "that", - "which", - "at", - "of", - "same", - "but", - "does", - "still", - "also", - ].forEach(function (chain) { - Assertion.addProperty(chain); - }), - Assertion.addProperty("not", function () { - flag2(this, "negate", !0); - }), - Assertion.addProperty("deep", function () { - flag2(this, "deep", !0); - }), - Assertion.addProperty("nested", function () { - flag2(this, "nested", !0); - }), - Assertion.addProperty("own", function () { - flag2(this, "own", !0); - }), - Assertion.addProperty("ordered", function () { - flag2(this, "ordered", !0); - }), - Assertion.addProperty("any", function () { - flag2(this, "any", !0), flag2(this, "all", !1); - }), - Assertion.addProperty("all", function () { - flag2(this, "all", !0), flag2(this, "any", !1); - }); - var functionTypes = { - function: [ - "function", - "asyncfunction", - "generatorfunction", - "asyncgeneratorfunction", - ], - asyncfunction: ["asyncfunction", "asyncgeneratorfunction"], - generatorfunction: ["generatorfunction", "asyncgeneratorfunction"], - asyncgeneratorfunction: ["asyncgeneratorfunction"], - }; - function an(type32, msg) { - msg && flag2(this, "message", msg), (type32 = type32.toLowerCase()); - var obj = flag2(this, "object"), - article = ~["a", "e", "i", "o", "u"].indexOf(type32.charAt(0)) - ? "an " - : "a "; - let detectedType = type(obj).toLowerCase(); - functionTypes.function.includes(type32) - ? this.assert( - functionTypes[type32].includes(detectedType), - "expected #{this} to be " + article + type32, - "expected #{this} not to be " + article + type32, - ) - : this.assert( - type32 === detectedType, - "expected #{this} to be " + article + type32, - "expected #{this} not to be " + article + type32, - ); - } - function SameValueZero(a2, b) { - return (isNaN22(a2) && isNaN22(b)) || a2 === b; - } - function includeChainingBehavior() { - flag2(this, "contains", !0); - } - function include(val, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"), - objType = type(obj).toLowerCase(), - flagMsg = flag2(this, "message"), - negate = flag2(this, "negate"), - ssfi = flag2(this, "ssfi"), - isDeep = flag2(this, "deep"), - descriptor = isDeep ? "deep " : "", - isEql = isDeep ? flag2(this, "eql") : SameValueZero; - flagMsg = flagMsg ? flagMsg + ": " : ""; - var included = !1; - switch (objType) { - case "string": - included = -1 !== obj.indexOf(val); - break; - case "weakset": - if (isDeep) - throw new AssertionError( - flagMsg + "unable to use .deep.include with WeakSet", - void 0, - ssfi, - ); - included = obj.has(val); - break; - case "map": - obj.forEach(function (item) { - included = included || isEql(item, val); - }); - break; - case "set": - isDeep - ? obj.forEach(function (item) { - included = included || isEql(item, val); - }) - : (included = obj.has(val)); - break; - case "array": - included = isDeep - ? obj.some(function (item) { - return isEql(item, val); - }) - : -1 !== obj.indexOf(val); - break; - default: - if (val !== Object(val)) - throw new AssertionError( - flagMsg + - "the given combination of arguments (" + - objType + - " and " + - type(val).toLowerCase() + - ") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a " + - type(val).toLowerCase(), - void 0, - ssfi, - ); - var props = Object.keys(val), - firstErr = null, - numErrs = 0; - if ( - (props.forEach(function (prop) { - var propAssertion = new Assertion(obj); - if ( - (transferFlags(this, propAssertion, !0), - flag2(propAssertion, "lockSsfi", !0), - negate && 1 !== props.length) - ) - try { - propAssertion.property(prop, val[prop]); - } catch (err) { - if ( - !check_error_exports.compatibleConstructor( - err, - AssertionError, - ) - ) - throw err; - null === firstErr && (firstErr = err), numErrs++; - } - else propAssertion.property(prop, val[prop]); - }, this), - negate && props.length > 1 && numErrs === props.length) - ) - throw firstErr; - return; - } - this.assert( - included, - "expected #{this} to " + descriptor + "include " + inspect2(val), - "expected #{this} to not " + - descriptor + - "include " + - inspect2(val), - ); - } - function assertExist() { - var val = flag2(this, "object"); - this.assert( - null != val, - "expected #{this} to exist", - "expected #{this} to not exist", - ); - } - function checkArguments() { - var type32 = type(flag2(this, "object")); - this.assert( - "Arguments" === type32, - "expected #{this} to be arguments but got " + type32, - "expected #{this} to not be arguments", - ); - } - function assertEqual(val, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"); - if (flag2(this, "deep")) { - var prevLockSsfi = flag2(this, "lockSsfi"); - flag2(this, "lockSsfi", !0), - this.eql(val), - flag2(this, "lockSsfi", prevLockSsfi); - } else - this.assert( - val === obj, - "expected #{this} to equal #{exp}", - "expected #{this} to not equal #{exp}", - val, - this._obj, - !0, - ); - } - function assertEql(obj, msg) { - msg && flag2(this, "message", msg); - var eql = flag2(this, "eql"); - this.assert( - eql(obj, flag2(this, "object")), - "expected #{this} to deeply equal #{exp}", - "expected #{this} to not deeply equal #{exp}", - obj, - this._obj, - !0, - ); - } - function assertAbove(n, msg) { - msg && flag2(this, "message", msg); - var errorMessage, - obj = flag2(this, "object"), - doLength = flag2(this, "doLength"), - flagMsg = flag2(this, "message"), - msgPrefix = flagMsg ? flagMsg + ": " : "", - ssfi = flag2(this, "ssfi"), - objType = type(obj).toLowerCase(), - nType = type(n).toLowerCase(), - shouldThrow = !0; - if ( - (doLength && - "map" !== objType && - "set" !== objType && - new Assertion(obj, flagMsg, ssfi, !0).to.have.property("length"), - doLength || "date" !== objType || "date" === nType) - ) - if ("number" === nType || (!doLength && "number" !== objType)) - if (doLength || "date" === objType || "number" === objType) - shouldThrow = !1; - else { - errorMessage = - msgPrefix + - "expected " + - ("string" === objType ? "'" + obj + "'" : obj) + - " to be a number or a date"; - } - else - errorMessage = - msgPrefix + "the argument to above must be a number"; - else - errorMessage = msgPrefix + "the argument to above must be a date"; - if (shouldThrow) throw new AssertionError(errorMessage, void 0, ssfi); - if (doLength) { - var itemsCount, - descriptor = "length"; - "map" === objType || "set" === objType - ? ((descriptor = "size"), (itemsCount = obj.size)) - : (itemsCount = obj.length), - this.assert( - itemsCount > n, - "expected #{this} to have a " + - descriptor + - " above #{exp} but got #{act}", - "expected #{this} to not have a " + - descriptor + - " above #{exp}", - n, - itemsCount, - ); - } else - this.assert( - obj > n, - "expected #{this} to be above #{exp}", - "expected #{this} to be at most #{exp}", - n, - ); - } - function assertLeast(n, msg) { - msg && flag2(this, "message", msg); - var errorMessage, - obj = flag2(this, "object"), - doLength = flag2(this, "doLength"), - flagMsg = flag2(this, "message"), - msgPrefix = flagMsg ? flagMsg + ": " : "", - ssfi = flag2(this, "ssfi"), - objType = type(obj).toLowerCase(), - nType = type(n).toLowerCase(), - shouldThrow = !0; - if ( - (doLength && - "map" !== objType && - "set" !== objType && - new Assertion(obj, flagMsg, ssfi, !0).to.have.property("length"), - doLength || "date" !== objType || "date" === nType) - ) - if ("number" === nType || (!doLength && "number" !== objType)) - if (doLength || "date" === objType || "number" === objType) - shouldThrow = !1; - else { - errorMessage = - msgPrefix + - "expected " + - ("string" === objType ? "'" + obj + "'" : obj) + - " to be a number or a date"; - } - else - errorMessage = - msgPrefix + "the argument to least must be a number"; - else - errorMessage = msgPrefix + "the argument to least must be a date"; - if (shouldThrow) throw new AssertionError(errorMessage, void 0, ssfi); - if (doLength) { - var itemsCount, - descriptor = "length"; - "map" === objType || "set" === objType - ? ((descriptor = "size"), (itemsCount = obj.size)) - : (itemsCount = obj.length), - this.assert( - itemsCount >= n, - "expected #{this} to have a " + - descriptor + - " at least #{exp} but got #{act}", - "expected #{this} to have a " + descriptor + " below #{exp}", - n, - itemsCount, - ); - } else - this.assert( - obj >= n, - "expected #{this} to be at least #{exp}", - "expected #{this} to be below #{exp}", - n, - ); - } - function assertBelow(n, msg) { - msg && flag2(this, "message", msg); - var errorMessage, - obj = flag2(this, "object"), - doLength = flag2(this, "doLength"), - flagMsg = flag2(this, "message"), - msgPrefix = flagMsg ? flagMsg + ": " : "", - ssfi = flag2(this, "ssfi"), - objType = type(obj).toLowerCase(), - nType = type(n).toLowerCase(), - shouldThrow = !0; - if ( - (doLength && - "map" !== objType && - "set" !== objType && - new Assertion(obj, flagMsg, ssfi, !0).to.have.property("length"), - doLength || "date" !== objType || "date" === nType) - ) - if ("number" === nType || (!doLength && "number" !== objType)) - if (doLength || "date" === objType || "number" === objType) - shouldThrow = !1; - else { - errorMessage = - msgPrefix + - "expected " + - ("string" === objType ? "'" + obj + "'" : obj) + - " to be a number or a date"; - } - else - errorMessage = - msgPrefix + "the argument to below must be a number"; - else - errorMessage = msgPrefix + "the argument to below must be a date"; - if (shouldThrow) throw new AssertionError(errorMessage, void 0, ssfi); - if (doLength) { - var itemsCount, - descriptor = "length"; - "map" === objType || "set" === objType - ? ((descriptor = "size"), (itemsCount = obj.size)) - : (itemsCount = obj.length), - this.assert( - itemsCount < n, - "expected #{this} to have a " + - descriptor + - " below #{exp} but got #{act}", - "expected #{this} to not have a " + - descriptor + - " below #{exp}", - n, - itemsCount, - ); - } else - this.assert( - obj < n, - "expected #{this} to be below #{exp}", - "expected #{this} to be at least #{exp}", - n, - ); - } - function assertMost(n, msg) { - msg && flag2(this, "message", msg); - var errorMessage, - obj = flag2(this, "object"), - doLength = flag2(this, "doLength"), - flagMsg = flag2(this, "message"), - msgPrefix = flagMsg ? flagMsg + ": " : "", - ssfi = flag2(this, "ssfi"), - objType = type(obj).toLowerCase(), - nType = type(n).toLowerCase(), - shouldThrow = !0; - if ( - (doLength && - "map" !== objType && - "set" !== objType && - new Assertion(obj, flagMsg, ssfi, !0).to.have.property("length"), - doLength || "date" !== objType || "date" === nType) - ) - if ("number" === nType || (!doLength && "number" !== objType)) - if (doLength || "date" === objType || "number" === objType) - shouldThrow = !1; - else { - errorMessage = - msgPrefix + - "expected " + - ("string" === objType ? "'" + obj + "'" : obj) + - " to be a number or a date"; - } - else - errorMessage = - msgPrefix + "the argument to most must be a number"; - else errorMessage = msgPrefix + "the argument to most must be a date"; - if (shouldThrow) throw new AssertionError(errorMessage, void 0, ssfi); - if (doLength) { - var itemsCount, - descriptor = "length"; - "map" === objType || "set" === objType - ? ((descriptor = "size"), (itemsCount = obj.size)) - : (itemsCount = obj.length), - this.assert( - itemsCount <= n, - "expected #{this} to have a " + - descriptor + - " at most #{exp} but got #{act}", - "expected #{this} to have a " + descriptor + " above #{exp}", - n, - itemsCount, - ); - } else - this.assert( - obj <= n, - "expected #{this} to be at most #{exp}", - "expected #{this} to be above #{exp}", - n, - ); - } - function assertInstanceOf(constructor, msg) { - msg && flag2(this, "message", msg); - var target = flag2(this, "object"), - ssfi = flag2(this, "ssfi"), - flagMsg = flag2(this, "message"); - try { - var isInstanceOf = target instanceof constructor; - } catch (err) { - throw err instanceof TypeError - ? new AssertionError( - (flagMsg = flagMsg ? flagMsg + ": " : "") + - "The instanceof assertion needs a constructor but " + - type(constructor) + - " was given.", - void 0, - ssfi, - ) - : err; - } - var name = getName(constructor); - null == name && (name = "an unnamed constructor"), - this.assert( - isInstanceOf, - "expected #{this} to be an instance of " + name, - "expected #{this} to not be an instance of " + name, - ); - } - function assertProperty(name, val, msg) { - msg && flag2(this, "message", msg); - var isNested = flag2(this, "nested"), - isOwn = flag2(this, "own"), - flagMsg = flag2(this, "message"), - obj = flag2(this, "object"), - ssfi = flag2(this, "ssfi"), - nameType = typeof name; - if (((flagMsg = flagMsg ? flagMsg + ": " : ""), isNested)) { - if ("string" !== nameType) - throw new AssertionError( - flagMsg + - "the argument to property must be a string when using nested syntax", - void 0, - ssfi, - ); - } else if ( - "string" !== nameType && - "number" !== nameType && - "symbol" !== nameType - ) - throw new AssertionError( - flagMsg + - "the argument to property must be a string, number, or symbol", - void 0, - ssfi, - ); - if (isNested && isOwn) - throw new AssertionError( - flagMsg + 'The "nested" and "own" flags cannot be combined.', - void 0, - ssfi, - ); - if (null == obj) - throw new AssertionError( - flagMsg + "Target cannot be null or undefined.", - void 0, - ssfi, - ); - var hasProperty2, - isDeep = flag2(this, "deep"), - negate = flag2(this, "negate"), - pathInfo = isNested ? getPathInfo(obj, name) : null, - value = isNested ? pathInfo.value : obj[name], - isEql = isDeep ? flag2(this, "eql") : (val1, val2) => val1 === val2, - descriptor = ""; - isDeep && (descriptor += "deep "), - isOwn && (descriptor += "own "), - isNested && (descriptor += "nested "), - (descriptor += "property "), - (hasProperty2 = isOwn - ? Object.prototype.hasOwnProperty.call(obj, name) - : isNested - ? pathInfo.exists - : hasProperty(obj, name)), - (!negate || 1 === arguments.length) && - this.assert( - hasProperty2, - "expected #{this} to have " + descriptor + inspect2(name), - "expected #{this} to not have " + descriptor + inspect2(name), - ), - arguments.length > 1 && - this.assert( - hasProperty2 && isEql(val, value), - "expected #{this} to have " + - descriptor + - inspect2(name) + - " of #{exp}, but got #{act}", - "expected #{this} to not have " + - descriptor + - inspect2(name) + - " of #{act}", - val, - value, - ), - flag2(this, "object", value); - } - function assertOwnProperty(name, value, msg) { - flag2(this, "own", !0), assertProperty.apply(this, arguments); - } - function assertOwnPropertyDescriptor(name, descriptor, msg) { - "string" == typeof descriptor && - ((msg = descriptor), (descriptor = null)), - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"), - actualDescriptor = Object.getOwnPropertyDescriptor( - Object(obj), - name, - ), - eql = flag2(this, "eql"); - actualDescriptor && descriptor - ? this.assert( - eql(descriptor, actualDescriptor), - "expected the own property descriptor for " + - inspect2(name) + - " on #{this} to match " + - inspect2(descriptor) + - ", got " + - inspect2(actualDescriptor), - "expected the own property descriptor for " + - inspect2(name) + - " on #{this} to not match " + - inspect2(descriptor), - descriptor, - actualDescriptor, - !0, - ) - : this.assert( - actualDescriptor, - "expected #{this} to have an own property descriptor for " + - inspect2(name), - "expected #{this} to not have an own property descriptor for " + - inspect2(name), - ), - flag2(this, "object", actualDescriptor); - } - function assertLengthChain() { - flag2(this, "doLength", !0); - } - function assertLength(n, msg) { - msg && flag2(this, "message", msg); - var itemsCount, - obj = flag2(this, "object"), - objType = type(obj).toLowerCase(), - flagMsg = flag2(this, "message"), - ssfi = flag2(this, "ssfi"), - descriptor = "length"; - switch (objType) { - case "map": - case "set": - (descriptor = "size"), (itemsCount = obj.size); - break; - default: - new Assertion(obj, flagMsg, ssfi, !0).to.have.property("length"), - (itemsCount = obj.length); - } - this.assert( - itemsCount == n, - "expected #{this} to have a " + - descriptor + - " of #{exp} but got #{act}", - "expected #{this} to not have a " + descriptor + " of #{act}", - n, - itemsCount, - ); - } - function assertMatch(re, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"); - this.assert( - re.exec(obj), - "expected #{this} to match " + re, - "expected #{this} not to match " + re, - ); - } - function assertKeys(keys2) { - var str, - actual, - obj = flag2(this, "object"), - objType = type(obj), - keysType = type(keys2), - ssfi = flag2(this, "ssfi"), - isDeep = flag2(this, "deep"), - deepStr = "", - ok = !0, - flagMsg = flag2(this, "message"), - mixedArgsMsg = - (flagMsg = flagMsg ? flagMsg + ": " : "") + - "when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments"; - if ("Map" === objType || "Set" === objType) - (deepStr = isDeep ? "deeply " : ""), - (actual = []), - obj.forEach(function (val, key) { - actual.push(key); - }), - "Array" !== keysType && - (keys2 = Array.prototype.slice.call(arguments)); - else { - switch (((actual = getOwnEnumerableProperties(obj)), keysType)) { - case "Array": - if (arguments.length > 1) - throw new AssertionError(mixedArgsMsg, void 0, ssfi); - break; - case "Object": - if (arguments.length > 1) - throw new AssertionError(mixedArgsMsg, void 0, ssfi); - keys2 = Object.keys(keys2); - break; - default: - keys2 = Array.prototype.slice.call(arguments); - } - keys2 = keys2.map(function (val) { - return "symbol" == typeof val ? val : String(val); - }); - } - if (!keys2.length) - throw new AssertionError(flagMsg + "keys required", void 0, ssfi); - var len = keys2.length, - any = flag2(this, "any"), - all = flag2(this, "all"), - expected = keys2, - isEql = isDeep ? flag2(this, "eql") : (val1, val2) => val1 === val2; - if ( - (!any && !all && (all = !0), - any && - (ok = expected.some(function (expectedKey) { - return actual.some(function (actualKey) { - return isEql(expectedKey, actualKey); - }); - })), - all && - ((ok = expected.every(function (expectedKey) { - return actual.some(function (actualKey) { - return isEql(expectedKey, actualKey); - }); - })), - flag2(this, "contains") || - (ok = ok && keys2.length == actual.length)), - len > 1) - ) { - var last = (keys2 = keys2.map(function (key) { - return inspect2(key); - })).pop(); - all && (str = keys2.join(", ") + ", and " + last), - any && (str = keys2.join(", ") + ", or " + last); - } else str = inspect2(keys2[0]); - (str = (len > 1 ? "keys " : "key ") + str), - (str = (flag2(this, "contains") ? "contain " : "have ") + str), - this.assert( - ok, - "expected #{this} to " + deepStr + str, - "expected #{this} to not " + deepStr + str, - expected.slice(0).sort(compareByInspect), - actual.sort(compareByInspect), - !0, - ); - } - function assertThrows(errorLike, errMsgMatcher, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"), - ssfi = flag2(this, "ssfi"), - flagMsg = flag2(this, "message"), - negate = flag2(this, "negate") || !1; - new Assertion(obj, flagMsg, ssfi, !0).is.a("function"), - (isRegExp2(errorLike) || "string" == typeof errorLike) && - ((errMsgMatcher = errorLike), (errorLike = null)); - let caughtErr, - errorWasThrown = !1; - try { - obj(); - } catch (err) { - (errorWasThrown = !0), (caughtErr = err); - } - var everyArgIsUndefined = - void 0 === errorLike && void 0 === errMsgMatcher, - everyArgIsDefined = !(!errorLike || !errMsgMatcher), - errorLikeFail = !1, - errMsgMatcherFail = !1; - if (everyArgIsUndefined || (!everyArgIsUndefined && !negate)) { - var errorLikeString = "an error"; - errorLike instanceof Error - ? (errorLikeString = "#{exp}") - : errorLike && - (errorLikeString = - check_error_exports.getConstructorName(errorLike)); - let actual = caughtErr; - if (caughtErr instanceof Error) actual = caughtErr.toString(); - else if ("string" == typeof caughtErr) actual = caughtErr; - else if ( - caughtErr && - ("object" == typeof caughtErr || "function" == typeof caughtErr) - ) - try { - actual = check_error_exports.getConstructorName(caughtErr); - } catch {} - this.assert( - errorWasThrown, - "expected #{this} to throw " + errorLikeString, - "expected #{this} to not throw an error but #{act} was thrown", - errorLike && errorLike.toString(), - actual, - ); - } - if (errorLike && caughtErr) { - if (errorLike instanceof Error) - check_error_exports.compatibleInstance(caughtErr, errorLike) === - negate && - (everyArgIsDefined && negate - ? (errorLikeFail = !0) - : this.assert( - negate, - "expected #{this} to throw #{exp} but #{act} was thrown", - "expected #{this} to not throw #{exp}" + - (caughtErr && !negate ? " but #{act} was thrown" : ""), - errorLike.toString(), - caughtErr.toString(), - )); - check_error_exports.compatibleConstructor(caughtErr, errorLike) === - negate && - (everyArgIsDefined && negate - ? (errorLikeFail = !0) - : this.assert( - negate, - "expected #{this} to throw #{exp} but #{act} was thrown", - "expected #{this} to not throw #{exp}" + - (caughtErr ? " but #{act} was thrown" : ""), - errorLike instanceof Error - ? errorLike.toString() - : errorLike && - check_error_exports.getConstructorName(errorLike), - caughtErr instanceof Error - ? caughtErr.toString() - : caughtErr && - check_error_exports.getConstructorName(caughtErr), - )); - } - if (caughtErr && null != errMsgMatcher) { - var placeholder = "including"; - isRegExp2(errMsgMatcher) && (placeholder = "matching"), - check_error_exports.compatibleMessage( - caughtErr, - errMsgMatcher, - ) === negate && - (everyArgIsDefined && negate - ? (errMsgMatcherFail = !0) - : this.assert( - negate, - "expected #{this} to throw error " + - placeholder + - " #{exp} but got #{act}", - "expected #{this} to throw error not " + - placeholder + - " #{exp}", - errMsgMatcher, - check_error_exports.getMessage(caughtErr), - )); - } - errorLikeFail && - errMsgMatcherFail && - this.assert( - negate, - "expected #{this} to throw #{exp} but #{act} was thrown", - "expected #{this} to not throw #{exp}" + - (caughtErr ? " but #{act} was thrown" : ""), - errorLike instanceof Error - ? errorLike.toString() - : errorLike && - check_error_exports.getConstructorName(errorLike), - caughtErr instanceof Error - ? caughtErr.toString() - : caughtErr && - check_error_exports.getConstructorName(caughtErr), - ), - flag2(this, "object", caughtErr); - } - function respondTo(method, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"), - itself = flag2(this, "itself"), - context = - "function" != typeof obj || itself - ? obj[method] - : obj.prototype[method]; - this.assert( - "function" == typeof context, - "expected #{this} to respond to " + inspect2(method), - "expected #{this} to not respond to " + inspect2(method), - ); - } - function satisfy(matcher, msg) { - msg && flag2(this, "message", msg); - var result = matcher(flag2(this, "object")); - this.assert( - result, - "expected #{this} to satisfy " + objDisplay(matcher), - "expected #{this} to not satisfy" + objDisplay(matcher), - !flag2(this, "negate"), - result, - ); - } - function closeTo(expected, delta, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"), - flagMsg = flag2(this, "message"), - ssfi = flag2(this, "ssfi"); - if ( - (new Assertion(obj, flagMsg, ssfi, !0).is.a("number"), - "number" != typeof expected || "number" != typeof delta) - ) - throw new AssertionError( - (flagMsg = flagMsg ? flagMsg + ": " : "") + - "the arguments to closeTo or approximately must be numbers" + - (void 0 === delta ? ", and a delta is required" : ""), - void 0, - ssfi, - ); - this.assert( - Math.abs(obj - expected) <= delta, - "expected #{this} to be close to " + expected + " +/- " + delta, - "expected #{this} not to be close to " + expected + " +/- " + delta, - ); - } - function isSubsetOf(_subset, _superset, cmp, contains, ordered) { - let superset = Array.from(_superset), - subset = Array.from(_subset); - if (!contains) { - if (subset.length !== superset.length) return !1; - superset = superset.slice(); - } - return subset.every(function (elem, idx) { - if (ordered) - return cmp ? cmp(elem, superset[idx]) : elem === superset[idx]; - if (!cmp) { - var matchIdx = superset.indexOf(elem); - return ( - -1 !== matchIdx && - (contains || superset.splice(matchIdx, 1), !0) - ); - } - return superset.some(function (elem2, matchIdx2) { - return ( - !!cmp(elem, elem2) && - (contains || superset.splice(matchIdx2, 1), !0) - ); - }); - }); - } - function oneOf(list, msg) { - msg && flag2(this, "message", msg); - var expected = flag2(this, "object"), - flagMsg = flag2(this, "message"), - ssfi = flag2(this, "ssfi"), - contains = flag2(this, "contains"), - isDeep = flag2(this, "deep"), - eql = flag2(this, "eql"); - new Assertion(list, flagMsg, ssfi, !0).to.be.an("array"), - contains - ? this.assert( - list.some(function (possibility) { - return expected.indexOf(possibility) > -1; - }), - "expected #{this} to contain one of #{exp}", - "expected #{this} to not contain one of #{exp}", - list, - expected, - ) - : isDeep - ? this.assert( - list.some(function (possibility) { - return eql(expected, possibility); - }), - "expected #{this} to deeply equal one of #{exp}", - "expected #{this} to deeply equal one of #{exp}", - list, - expected, - ) - : this.assert( - list.indexOf(expected) > -1, - "expected #{this} to be one of #{exp}", - "expected #{this} to not be one of #{exp}", - list, - expected, - ); - } - function assertChanges(subject, prop, msg) { - msg && flag2(this, "message", msg); - var initial, - fn3 = flag2(this, "object"), - flagMsg = flag2(this, "message"), - ssfi = flag2(this, "ssfi"); - new Assertion(fn3, flagMsg, ssfi, !0).is.a("function"), - prop - ? (new Assertion(subject, flagMsg, ssfi, !0).to.have.property( - prop, - ), - (initial = subject[prop])) - : (new Assertion(subject, flagMsg, ssfi, !0).is.a("function"), - (initial = subject())), - fn3(); - var final = null == prop ? subject() : subject[prop], - msgObj = null == prop ? initial : "." + prop; - flag2(this, "deltaMsgObj", msgObj), - flag2(this, "initialDeltaValue", initial), - flag2(this, "finalDeltaValue", final), - flag2(this, "deltaBehavior", "change"), - flag2(this, "realDelta", final !== initial), - this.assert( - initial !== final, - "expected " + msgObj + " to change", - "expected " + msgObj + " to not change", - ); - } - function assertIncreases(subject, prop, msg) { - msg && flag2(this, "message", msg); - var initial, - fn3 = flag2(this, "object"), - flagMsg = flag2(this, "message"), - ssfi = flag2(this, "ssfi"); - new Assertion(fn3, flagMsg, ssfi, !0).is.a("function"), - prop - ? (new Assertion(subject, flagMsg, ssfi, !0).to.have.property( - prop, - ), - (initial = subject[prop])) - : (new Assertion(subject, flagMsg, ssfi, !0).is.a("function"), - (initial = subject())), - new Assertion(initial, flagMsg, ssfi, !0).is.a("number"), - fn3(); - var final = null == prop ? subject() : subject[prop], - msgObj = null == prop ? initial : "." + prop; - flag2(this, "deltaMsgObj", msgObj), - flag2(this, "initialDeltaValue", initial), - flag2(this, "finalDeltaValue", final), - flag2(this, "deltaBehavior", "increase"), - flag2(this, "realDelta", final - initial), - this.assert( - final - initial > 0, - "expected " + msgObj + " to increase", - "expected " + msgObj + " to not increase", - ); - } - function assertDecreases(subject, prop, msg) { - msg && flag2(this, "message", msg); - var initial, - fn3 = flag2(this, "object"), - flagMsg = flag2(this, "message"), - ssfi = flag2(this, "ssfi"); - new Assertion(fn3, flagMsg, ssfi, !0).is.a("function"), - prop - ? (new Assertion(subject, flagMsg, ssfi, !0).to.have.property( - prop, - ), - (initial = subject[prop])) - : (new Assertion(subject, flagMsg, ssfi, !0).is.a("function"), - (initial = subject())), - new Assertion(initial, flagMsg, ssfi, !0).is.a("number"), - fn3(); - var final = null == prop ? subject() : subject[prop], - msgObj = null == prop ? initial : "." + prop; - flag2(this, "deltaMsgObj", msgObj), - flag2(this, "initialDeltaValue", initial), - flag2(this, "finalDeltaValue", final), - flag2(this, "deltaBehavior", "decrease"), - flag2(this, "realDelta", initial - final), - this.assert( - final - initial < 0, - "expected " + msgObj + " to decrease", - "expected " + msgObj + " to not decrease", - ); - } - function assertDelta(delta, msg) { - msg && flag2(this, "message", msg); - var expression, - msgObj = flag2(this, "deltaMsgObj"), - initial = flag2(this, "initialDeltaValue"), - final = flag2(this, "finalDeltaValue"), - behavior2 = flag2(this, "deltaBehavior"), - realDelta = flag2(this, "realDelta"); - (expression = - "change" === behavior2 - ? Math.abs(final - initial) === Math.abs(delta) - : realDelta === Math.abs(delta)), - this.assert( - expression, - "expected " + msgObj + " to " + behavior2 + " by " + delta, - "expected " + msgObj + " to not " + behavior2 + " by " + delta, - ); - } - function expect(val, message) { - return new Assertion(val, message); - } - __name(an, "an"), - Assertion.addChainableMethod("an", an), - Assertion.addChainableMethod("a", an), - __name(SameValueZero, "SameValueZero"), - __name(includeChainingBehavior, "includeChainingBehavior"), - __name(include, "include"), - Assertion.addChainableMethod( - "include", - include, - includeChainingBehavior, - ), - Assertion.addChainableMethod( - "contain", - include, - includeChainingBehavior, - ), - Assertion.addChainableMethod( - "contains", - include, - includeChainingBehavior, - ), - Assertion.addChainableMethod( - "includes", - include, - includeChainingBehavior, - ), - Assertion.addProperty("ok", function () { - this.assert( - flag2(this, "object"), - "expected #{this} to be truthy", - "expected #{this} to be falsy", - ); - }), - Assertion.addProperty("true", function () { - this.assert( - !0 === flag2(this, "object"), - "expected #{this} to be true", - "expected #{this} to be false", - !flag2(this, "negate"), - ); - }), - Assertion.addProperty("callable", function () { - let val = flag2(this, "object"), - ssfi = flag2(this, "ssfi"), - message = flag2(this, "message"), - msg = message ? `${message}: ` : "", - negate = flag2(this, "negate"), - assertionMessage = negate - ? `${msg}expected ${inspect2(val)} not to be a callable function` - : `${msg}expected ${inspect2(val)} to be a callable function`, - isCallable3 = [ - "Function", - "AsyncFunction", - "GeneratorFunction", - "AsyncGeneratorFunction", - ].includes(type(val)); - if ((isCallable3 && negate) || (!isCallable3 && !negate)) - throw new AssertionError(assertionMessage, void 0, ssfi); - }), - Assertion.addProperty("false", function () { - this.assert( - !1 === flag2(this, "object"), - "expected #{this} to be false", - "expected #{this} to be true", - !!flag2(this, "negate"), - ); - }), - Assertion.addProperty("null", function () { - this.assert( - null === flag2(this, "object"), - "expected #{this} to be null", - "expected #{this} not to be null", - ); - }), - Assertion.addProperty("undefined", function () { - this.assert( - void 0 === flag2(this, "object"), - "expected #{this} to be undefined", - "expected #{this} not to be undefined", - ); - }), - Assertion.addProperty("NaN", function () { - this.assert( - isNaN22(flag2(this, "object")), - "expected #{this} to be NaN", - "expected #{this} not to be NaN", - ); - }), - __name(assertExist, "assertExist"), - Assertion.addProperty("exist", assertExist), - Assertion.addProperty("exists", assertExist), - Assertion.addProperty("empty", function () { - var itemsCount, - val = flag2(this, "object"), - ssfi = flag2(this, "ssfi"), - flagMsg = flag2(this, "message"); - switch ( - ((flagMsg = flagMsg ? flagMsg + ": " : ""), - type(val).toLowerCase()) - ) { - case "array": - case "string": - itemsCount = val.length; - break; - case "map": - case "set": - itemsCount = val.size; - break; - case "weakmap": - case "weakset": - throw new AssertionError( - flagMsg + ".empty was passed a weak collection", - void 0, - ssfi, - ); - case "function": - var msg = - flagMsg + ".empty was passed a function " + getName(val); - throw new AssertionError(msg.trim(), void 0, ssfi); - default: - if (val !== Object(val)) - throw new AssertionError( - flagMsg + - ".empty was passed non-string primitive " + - inspect2(val), - void 0, - ssfi, - ); - itemsCount = Object.keys(val).length; - } - this.assert( - 0 === itemsCount, - "expected #{this} to be empty", - "expected #{this} not to be empty", - ); - }), - __name(checkArguments, "checkArguments"), - Assertion.addProperty("arguments", checkArguments), - Assertion.addProperty("Arguments", checkArguments), - __name(assertEqual, "assertEqual"), - Assertion.addMethod("equal", assertEqual), - Assertion.addMethod("equals", assertEqual), - Assertion.addMethod("eq", assertEqual), - __name(assertEql, "assertEql"), - Assertion.addMethod("eql", assertEql), - Assertion.addMethod("eqls", assertEql), - __name(assertAbove, "assertAbove"), - Assertion.addMethod("above", assertAbove), - Assertion.addMethod("gt", assertAbove), - Assertion.addMethod("greaterThan", assertAbove), - __name(assertLeast, "assertLeast"), - Assertion.addMethod("least", assertLeast), - Assertion.addMethod("gte", assertLeast), - Assertion.addMethod("greaterThanOrEqual", assertLeast), - __name(assertBelow, "assertBelow"), - Assertion.addMethod("below", assertBelow), - Assertion.addMethod("lt", assertBelow), - Assertion.addMethod("lessThan", assertBelow), - __name(assertMost, "assertMost"), - Assertion.addMethod("most", assertMost), - Assertion.addMethod("lte", assertMost), - Assertion.addMethod("lessThanOrEqual", assertMost), - Assertion.addMethod("within", function (start, finish, msg) { - msg && flag2(this, "message", msg); - var errorMessage, - obj = flag2(this, "object"), - doLength = flag2(this, "doLength"), - flagMsg = flag2(this, "message"), - msgPrefix = flagMsg ? flagMsg + ": " : "", - ssfi = flag2(this, "ssfi"), - objType = type(obj).toLowerCase(), - startType = type(start).toLowerCase(), - finishType = type(finish).toLowerCase(), - shouldThrow = !0, - range = - "date" === startType && "date" === finishType - ? start.toISOString() + ".." + finish.toISOString() - : start + ".." + finish; - if ( - (doLength && - "map" !== objType && - "set" !== objType && - new Assertion(obj, flagMsg, ssfi, !0).to.have.property( - "length", - ), - doLength || - "date" !== objType || - ("date" === startType && "date" === finishType)) - ) - if ( - ("number" === startType && "number" === finishType) || - (!doLength && "number" !== objType) - ) - if (doLength || "date" === objType || "number" === objType) - shouldThrow = !1; - else { - errorMessage = - msgPrefix + - "expected " + - ("string" === objType ? "'" + obj + "'" : obj) + - " to be a number or a date"; - } - else - errorMessage = - msgPrefix + "the arguments to within must be numbers"; - else - errorMessage = - msgPrefix + "the arguments to within must be dates"; - if (shouldThrow) - throw new AssertionError(errorMessage, void 0, ssfi); - if (doLength) { - var itemsCount, - descriptor = "length"; - "map" === objType || "set" === objType - ? ((descriptor = "size"), (itemsCount = obj.size)) - : (itemsCount = obj.length), - this.assert( - itemsCount >= start && itemsCount <= finish, - "expected #{this} to have a " + - descriptor + - " within " + - range, - "expected #{this} to not have a " + - descriptor + - " within " + - range, - ); - } else - this.assert( - obj >= start && obj <= finish, - "expected #{this} to be within " + range, - "expected #{this} to not be within " + range, - ); - }), - __name(assertInstanceOf, "assertInstanceOf"), - Assertion.addMethod("instanceof", assertInstanceOf), - Assertion.addMethod("instanceOf", assertInstanceOf), - __name(assertProperty, "assertProperty"), - Assertion.addMethod("property", assertProperty), - __name(assertOwnProperty, "assertOwnProperty"), - Assertion.addMethod("ownProperty", assertOwnProperty), - Assertion.addMethod("haveOwnProperty", assertOwnProperty), - __name(assertOwnPropertyDescriptor, "assertOwnPropertyDescriptor"), - Assertion.addMethod( - "ownPropertyDescriptor", - assertOwnPropertyDescriptor, - ), - Assertion.addMethod( - "haveOwnPropertyDescriptor", - assertOwnPropertyDescriptor, - ), - __name(assertLengthChain, "assertLengthChain"), - __name(assertLength, "assertLength"), - Assertion.addChainableMethod( - "length", - assertLength, - assertLengthChain, - ), - Assertion.addChainableMethod( - "lengthOf", - assertLength, - assertLengthChain, - ), - __name(assertMatch, "assertMatch"), - Assertion.addMethod("match", assertMatch), - Assertion.addMethod("matches", assertMatch), - Assertion.addMethod("string", function (str, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"); - new Assertion( - obj, - flag2(this, "message"), - flag2(this, "ssfi"), - !0, - ).is.a("string"), - this.assert( - ~obj.indexOf(str), - "expected #{this} to contain " + inspect2(str), - "expected #{this} to not contain " + inspect2(str), - ); - }), - __name(assertKeys, "assertKeys"), - Assertion.addMethod("keys", assertKeys), - Assertion.addMethod("key", assertKeys), - __name(assertThrows, "assertThrows"), - Assertion.addMethod("throw", assertThrows), - Assertion.addMethod("throws", assertThrows), - Assertion.addMethod("Throw", assertThrows), - __name(respondTo, "respondTo"), - Assertion.addMethod("respondTo", respondTo), - Assertion.addMethod("respondsTo", respondTo), - Assertion.addProperty("itself", function () { - flag2(this, "itself", !0); - }), - __name(satisfy, "satisfy"), - Assertion.addMethod("satisfy", satisfy), - Assertion.addMethod("satisfies", satisfy), - __name(closeTo, "closeTo"), - Assertion.addMethod("closeTo", closeTo), - Assertion.addMethod("approximately", closeTo), - __name(isSubsetOf, "isSubsetOf"), - Assertion.addMethod("members", function (subset, msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"), - flagMsg = flag2(this, "message"), - ssfi = flag2(this, "ssfi"); - new Assertion(obj, flagMsg, ssfi, !0).to.be.iterable, - new Assertion(subset, flagMsg, ssfi, !0).to.be.iterable; - var subject, - failMsg, - failNegateMsg, - contains = flag2(this, "contains"), - ordered = flag2(this, "ordered"); - contains - ? ((failMsg = - "expected #{this} to be " + - (subject = ordered ? "an ordered superset" : "a superset") + - " of #{exp}"), - (failNegateMsg = - "expected #{this} to not be " + subject + " of #{exp}")) - : ((failMsg = - "expected #{this} to have the same " + - (subject = ordered ? "ordered members" : "members") + - " as #{exp}"), - (failNegateMsg = - "expected #{this} to not have the same " + - subject + - " as #{exp}")); - var cmp = flag2(this, "deep") ? flag2(this, "eql") : void 0; - this.assert( - isSubsetOf(subset, obj, cmp, contains, ordered), - failMsg, - failNegateMsg, - subset, - obj, - !0, - ); - }), - Assertion.addProperty("iterable", function (msg) { - msg && flag2(this, "message", msg); - var obj = flag2(this, "object"); - this.assert( - null != obj && obj[Symbol.iterator], - "expected #{this} to be an iterable", - "expected #{this} to not be an iterable", - obj, - ); - }), - __name(oneOf, "oneOf"), - Assertion.addMethod("oneOf", oneOf), - __name(assertChanges, "assertChanges"), - Assertion.addMethod("change", assertChanges), - Assertion.addMethod("changes", assertChanges), - __name(assertIncreases, "assertIncreases"), - Assertion.addMethod("increase", assertIncreases), - Assertion.addMethod("increases", assertIncreases), - __name(assertDecreases, "assertDecreases"), - Assertion.addMethod("decrease", assertDecreases), - Assertion.addMethod("decreases", assertDecreases), - __name(assertDelta, "assertDelta"), - Assertion.addMethod("by", assertDelta), - Assertion.addProperty("extensible", function () { - var obj = flag2(this, "object"), - isExtensible = obj === Object(obj) && Object.isExtensible(obj); - this.assert( - isExtensible, - "expected #{this} to be extensible", - "expected #{this} to not be extensible", - ); - }), - Assertion.addProperty("sealed", function () { - var obj = flag2(this, "object"), - isSealed = obj !== Object(obj) || Object.isSealed(obj); - this.assert( - isSealed, - "expected #{this} to be sealed", - "expected #{this} to not be sealed", - ); - }), - Assertion.addProperty("frozen", function () { - var obj = flag2(this, "object"), - isFrozen = obj !== Object(obj) || Object.isFrozen(obj); - this.assert( - isFrozen, - "expected #{this} to be frozen", - "expected #{this} to not be frozen", - ); - }), - Assertion.addProperty("finite", function (msg) { - var obj = flag2(this, "object"); - this.assert( - "number" == typeof obj && isFinite(obj), - "expected #{this} to be a finite number", - "expected #{this} to not be a finite number", - ); - }), - __name(expect, "expect"), - (expect.fail = function (actual, expected, message, operator) { - throw ( - (arguments.length < 2 && ((message = actual), (actual = void 0)), - new AssertionError( - (message = message || "expect.fail()"), - { actual, expected, operator }, - expect.fail, - )) - ); - }); - var should_exports = {}; - function loadShould() { - function shouldGetter() { - return this instanceof String || - this instanceof Number || - this instanceof Boolean || - ("function" == typeof Symbol && this instanceof Symbol) || - ("function" == typeof BigInt && this instanceof BigInt) - ? new Assertion(this.valueOf(), null, shouldGetter) - : new Assertion(this, null, shouldGetter); - } - function shouldSetter(value) { - Object.defineProperty(this, "should", { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }); - } - __name(shouldGetter, "shouldGetter"), - __name(shouldSetter, "shouldSetter"), - Object.defineProperty(Object.prototype, "should", { - set: shouldSetter, - get: shouldGetter, - configurable: !0, - }); - var should2 = { - fail: function (actual, expected, message, operator) { - throw ( - (arguments.length < 2 && - ((message = actual), (actual = void 0)), - new AssertionError( - (message = message || "should.fail()"), - { actual, expected, operator }, - should2.fail, - )) - ); - }, - equal: function (actual, expected, message) { - new Assertion(actual, message).to.equal(expected); - }, - Throw: function (fn3, errt, errs, msg) { - new Assertion(fn3, msg).to.Throw(errt, errs); - }, - exist: function (val, msg) { - new Assertion(val, msg).to.exist; - }, - not: {}, - }; - return ( - (should2.not.equal = function (actual, expected, msg) { - new Assertion(actual, msg).to.not.equal(expected); - }), - (should2.not.Throw = function (fn3, errt, errs, msg) { - new Assertion(fn3, msg).to.not.Throw(errt, errs); - }), - (should2.not.exist = function (val, msg) { - new Assertion(val, msg).to.not.exist; - }), - (should2.throw = should2.Throw), - (should2.not.throw = should2.not.Throw), - should2 - ); - } - __export2(should_exports, { - Should: () => Should, - should: () => should, - }), - __name(loadShould, "loadShould"); - var should = loadShould, - Should = loadShould; - function assert(express, errmsg) { - new Assertion(null, null, assert, !0).assert( - express, - errmsg, - "[ negation message unavailable ]", - ); - } - __name(assert, "assert"), - (assert.fail = function (actual, expected, message, operator) { - throw ( - (arguments.length < 2 && ((message = actual), (actual = void 0)), - new AssertionError( - (message = message || "assert.fail()"), - { actual, expected, operator }, - assert.fail, - )) - ); - }), - (assert.isOk = function (val, msg) { - new Assertion(val, msg, assert.isOk, !0).is.ok; - }), - (assert.isNotOk = function (val, msg) { - new Assertion(val, msg, assert.isNotOk, !0).is.not.ok; - }), - (assert.equal = function (act, exp, msg) { - var test22 = new Assertion(act, msg, assert.equal, !0); - test22.assert( - exp == flag(test22, "object"), - "expected #{this} to equal #{exp}", - "expected #{this} to not equal #{act}", - exp, - act, - !0, - ); - }), - (assert.notEqual = function (act, exp, msg) { - var test22 = new Assertion(act, msg, assert.notEqual, !0); - test22.assert( - exp != flag(test22, "object"), - "expected #{this} to not equal #{exp}", - "expected #{this} to equal #{act}", - exp, - act, - !0, - ); - }), - (assert.strictEqual = function (act, exp, msg) { - new Assertion(act, msg, assert.strictEqual, !0).to.equal(exp); - }), - (assert.notStrictEqual = function (act, exp, msg) { - new Assertion(act, msg, assert.notStrictEqual, !0).to.not.equal( - exp, - ); - }), - (assert.deepEqual = assert.deepStrictEqual = - function (act, exp, msg) { - new Assertion(act, msg, assert.deepEqual, !0).to.eql(exp); - }), - (assert.notDeepEqual = function (act, exp, msg) { - new Assertion(act, msg, assert.notDeepEqual, !0).to.not.eql(exp); - }), - (assert.isAbove = function (val, abv, msg) { - new Assertion(val, msg, assert.isAbove, !0).to.be.above(abv); - }), - (assert.isAtLeast = function (val, atlst, msg) { - new Assertion(val, msg, assert.isAtLeast, !0).to.be.least(atlst); - }), - (assert.isBelow = function (val, blw, msg) { - new Assertion(val, msg, assert.isBelow, !0).to.be.below(blw); - }), - (assert.isAtMost = function (val, atmst, msg) { - new Assertion(val, msg, assert.isAtMost, !0).to.be.most(atmst); - }), - (assert.isTrue = function (val, msg) { - new Assertion(val, msg, assert.isTrue, !0).is.true; - }), - (assert.isNotTrue = function (val, msg) { - new Assertion(val, msg, assert.isNotTrue, !0).to.not.equal(!0); - }), - (assert.isFalse = function (val, msg) { - new Assertion(val, msg, assert.isFalse, !0).is.false; - }), - (assert.isNotFalse = function (val, msg) { - new Assertion(val, msg, assert.isNotFalse, !0).to.not.equal(!1); - }), - (assert.isNull = function (val, msg) { - new Assertion(val, msg, assert.isNull, !0).to.equal(null); - }), - (assert.isNotNull = function (val, msg) { - new Assertion(val, msg, assert.isNotNull, !0).to.not.equal(null); - }), - (assert.isNaN = function (val, msg) { - new Assertion(val, msg, assert.isNaN, !0).to.be.NaN; - }), - (assert.isNotNaN = function (value, message) { - new Assertion(value, message, assert.isNotNaN, !0).not.to.be.NaN; - }), - (assert.exists = function (val, msg) { - new Assertion(val, msg, assert.exists, !0).to.exist; - }), - (assert.notExists = function (val, msg) { - new Assertion(val, msg, assert.notExists, !0).to.not.exist; - }), - (assert.isUndefined = function (val, msg) { - new Assertion(val, msg, assert.isUndefined, !0).to.equal(void 0); - }), - (assert.isDefined = function (val, msg) { - new Assertion(val, msg, assert.isDefined, !0).to.not.equal(void 0); - }), - (assert.isCallable = function (value, message) { - new Assertion(value, message, assert.isCallable, !0).is.callable; - }), - (assert.isNotCallable = function (value, message) { - new Assertion(value, message, assert.isNotCallable, !0).is.not - .callable; - }), - (assert.isObject = function (val, msg) { - new Assertion(val, msg, assert.isObject, !0).to.be.a("object"); - }), - (assert.isNotObject = function (val, msg) { - new Assertion(val, msg, assert.isNotObject, !0).to.not.be.a( - "object", - ); - }), - (assert.isArray = function (val, msg) { - new Assertion(val, msg, assert.isArray, !0).to.be.an("array"); - }), - (assert.isNotArray = function (val, msg) { - new Assertion(val, msg, assert.isNotArray, !0).to.not.be.an( - "array", - ); - }), - (assert.isString = function (val, msg) { - new Assertion(val, msg, assert.isString, !0).to.be.a("string"); - }), - (assert.isNotString = function (val, msg) { - new Assertion(val, msg, assert.isNotString, !0).to.not.be.a( - "string", - ); - }), - (assert.isNumber = function (val, msg) { - new Assertion(val, msg, assert.isNumber, !0).to.be.a("number"); - }), - (assert.isNotNumber = function (val, msg) { - new Assertion(val, msg, assert.isNotNumber, !0).to.not.be.a( - "number", - ); - }), - (assert.isFinite = function (val, msg) { - new Assertion(val, msg, assert.isFinite, !0).to.be.finite; - }), - (assert.isBoolean = function (val, msg) { - new Assertion(val, msg, assert.isBoolean, !0).to.be.a("boolean"); - }), - (assert.isNotBoolean = function (val, msg) { - new Assertion(val, msg, assert.isNotBoolean, !0).to.not.be.a( - "boolean", - ); - }), - (assert.typeOf = function (val, type32, msg) { - new Assertion(val, msg, assert.typeOf, !0).to.be.a(type32); - }), - (assert.notTypeOf = function (value, type32, message) { - new Assertion(value, message, assert.notTypeOf, !0).to.not.be.a( - type32, - ); - }), - (assert.instanceOf = function (val, type32, msg) { - new Assertion(val, msg, assert.instanceOf, !0).to.be.instanceOf( - type32, - ); - }), - (assert.notInstanceOf = function (val, type32, msg) { - new Assertion( - val, - msg, - assert.notInstanceOf, - !0, - ).to.not.be.instanceOf(type32); - }), - (assert.include = function (exp, inc, msg) { - new Assertion(exp, msg, assert.include, !0).include(inc); - }), - (assert.notInclude = function (exp, inc, msg) { - new Assertion(exp, msg, assert.notInclude, !0).not.include(inc); - }), - (assert.deepInclude = function (exp, inc, msg) { - new Assertion(exp, msg, assert.deepInclude, !0).deep.include(inc); - }), - (assert.notDeepInclude = function (exp, inc, msg) { - new Assertion(exp, msg, assert.notDeepInclude, !0).not.deep.include( - inc, - ); - }), - (assert.nestedInclude = function (exp, inc, msg) { - new Assertion(exp, msg, assert.nestedInclude, !0).nested.include( - inc, - ); - }), - (assert.notNestedInclude = function (exp, inc, msg) { - new Assertion( - exp, - msg, - assert.notNestedInclude, - !0, - ).not.nested.include(inc); - }), - (assert.deepNestedInclude = function (exp, inc, msg) { - new Assertion( - exp, - msg, - assert.deepNestedInclude, - !0, - ).deep.nested.include(inc); - }), - (assert.notDeepNestedInclude = function (exp, inc, msg) { - new Assertion( - exp, - msg, - assert.notDeepNestedInclude, - !0, - ).not.deep.nested.include(inc); - }), - (assert.ownInclude = function (exp, inc, msg) { - new Assertion(exp, msg, assert.ownInclude, !0).own.include(inc); - }), - (assert.notOwnInclude = function (exp, inc, msg) { - new Assertion(exp, msg, assert.notOwnInclude, !0).not.own.include( - inc, - ); - }), - (assert.deepOwnInclude = function (exp, inc, msg) { - new Assertion(exp, msg, assert.deepOwnInclude, !0).deep.own.include( - inc, - ); - }), - (assert.notDeepOwnInclude = function (exp, inc, msg) { - new Assertion( - exp, - msg, - assert.notDeepOwnInclude, - !0, - ).not.deep.own.include(inc); - }), - (assert.match = function (exp, re, msg) { - new Assertion(exp, msg, assert.match, !0).to.match(re); - }), - (assert.notMatch = function (exp, re, msg) { - new Assertion(exp, msg, assert.notMatch, !0).to.not.match(re); - }), - (assert.property = function (obj, prop, msg) { - new Assertion(obj, msg, assert.property, !0).to.have.property(prop); - }), - (assert.notProperty = function (obj, prop, msg) { - new Assertion( - obj, - msg, - assert.notProperty, - !0, - ).to.not.have.property(prop); - }), - (assert.propertyVal = function (obj, prop, val, msg) { - new Assertion(obj, msg, assert.propertyVal, !0).to.have.property( - prop, - val, - ); - }), - (assert.notPropertyVal = function (obj, prop, val, msg) { - new Assertion( - obj, - msg, - assert.notPropertyVal, - !0, - ).to.not.have.property(prop, val); - }), - (assert.deepPropertyVal = function (obj, prop, val, msg) { - new Assertion( - obj, - msg, - assert.deepPropertyVal, - !0, - ).to.have.deep.property(prop, val); - }), - (assert.notDeepPropertyVal = function (obj, prop, val, msg) { - new Assertion( - obj, - msg, - assert.notDeepPropertyVal, - !0, - ).to.not.have.deep.property(prop, val); - }), - (assert.ownProperty = function (obj, prop, msg) { - new Assertion( - obj, - msg, - assert.ownProperty, - !0, - ).to.have.own.property(prop); - }), - (assert.notOwnProperty = function (obj, prop, msg) { - new Assertion( - obj, - msg, - assert.notOwnProperty, - !0, - ).to.not.have.own.property(prop); - }), - (assert.ownPropertyVal = function (obj, prop, value, msg) { - new Assertion( - obj, - msg, - assert.ownPropertyVal, - !0, - ).to.have.own.property(prop, value); - }), - (assert.notOwnPropertyVal = function (obj, prop, value, msg) { - new Assertion( - obj, - msg, - assert.notOwnPropertyVal, - !0, - ).to.not.have.own.property(prop, value); - }), - (assert.deepOwnPropertyVal = function (obj, prop, value, msg) { - new Assertion( - obj, - msg, - assert.deepOwnPropertyVal, - !0, - ).to.have.deep.own.property(prop, value); - }), - (assert.notDeepOwnPropertyVal = function (obj, prop, value, msg) { - new Assertion( - obj, - msg, - assert.notDeepOwnPropertyVal, - !0, - ).to.not.have.deep.own.property(prop, value); - }), - (assert.nestedProperty = function (obj, prop, msg) { - new Assertion( - obj, - msg, - assert.nestedProperty, - !0, - ).to.have.nested.property(prop); - }), - (assert.notNestedProperty = function (obj, prop, msg) { - new Assertion( - obj, - msg, - assert.notNestedProperty, - !0, - ).to.not.have.nested.property(prop); - }), - (assert.nestedPropertyVal = function (obj, prop, val, msg) { - new Assertion( - obj, - msg, - assert.nestedPropertyVal, - !0, - ).to.have.nested.property(prop, val); - }), - (assert.notNestedPropertyVal = function (obj, prop, val, msg) { - new Assertion( - obj, - msg, - assert.notNestedPropertyVal, - !0, - ).to.not.have.nested.property(prop, val); - }), - (assert.deepNestedPropertyVal = function (obj, prop, val, msg) { - new Assertion( - obj, - msg, - assert.deepNestedPropertyVal, - !0, - ).to.have.deep.nested.property(prop, val); - }), - (assert.notDeepNestedPropertyVal = function (obj, prop, val, msg) { - new Assertion( - obj, - msg, - assert.notDeepNestedPropertyVal, - !0, - ).to.not.have.deep.nested.property(prop, val); - }), - (assert.lengthOf = function (exp, len, msg) { - new Assertion(exp, msg, assert.lengthOf, !0).to.have.lengthOf(len); - }), - (assert.hasAnyKeys = function (obj, keys2, msg) { - new Assertion(obj, msg, assert.hasAnyKeys, !0).to.have.any.keys( - keys2, - ); - }), - (assert.hasAllKeys = function (obj, keys2, msg) { - new Assertion(obj, msg, assert.hasAllKeys, !0).to.have.all.keys( - keys2, - ); - }), - (assert.containsAllKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.containsAllKeys, - !0, - ).to.contain.all.keys(keys2); - }), - (assert.doesNotHaveAnyKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.doesNotHaveAnyKeys, - !0, - ).to.not.have.any.keys(keys2); - }), - (assert.doesNotHaveAllKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.doesNotHaveAllKeys, - !0, - ).to.not.have.all.keys(keys2); - }), - (assert.hasAnyDeepKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.hasAnyDeepKeys, - !0, - ).to.have.any.deep.keys(keys2); - }), - (assert.hasAllDeepKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.hasAllDeepKeys, - !0, - ).to.have.all.deep.keys(keys2); - }), - (assert.containsAllDeepKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.containsAllDeepKeys, - !0, - ).to.contain.all.deep.keys(keys2); - }), - (assert.doesNotHaveAnyDeepKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.doesNotHaveAnyDeepKeys, - !0, - ).to.not.have.any.deep.keys(keys2); - }), - (assert.doesNotHaveAllDeepKeys = function (obj, keys2, msg) { - new Assertion( - obj, - msg, - assert.doesNotHaveAllDeepKeys, - !0, - ).to.not.have.all.deep.keys(keys2); - }), - (assert.throws = function (fn3, errorLike, errMsgMatcher, msg) { - return ( - ("string" == typeof errorLike || errorLike instanceof RegExp) && - ((errMsgMatcher = errorLike), (errorLike = null)), - flag( - new Assertion(fn3, msg, assert.throws, !0).to.throw( - errorLike, - errMsgMatcher, - ), - "object", - ) - ); - }), - (assert.doesNotThrow = function ( - fn3, - errorLike, - errMsgMatcher, - message, - ) { - ("string" == typeof errorLike || errorLike instanceof RegExp) && - ((errMsgMatcher = errorLike), (errorLike = null)), - new Assertion(fn3, message, assert.doesNotThrow, !0).to.not.throw( - errorLike, - errMsgMatcher, - ); - }), - (assert.operator = function (val, operator, val2, msg) { - var ok; - switch (operator) { - case "==": - ok = val == val2; - break; - case "===": - ok = val === val2; - break; - case ">": - ok = val > val2; - break; - case ">=": - ok = val >= val2; - break; - case "<": - ok = val < val2; - break; - case "<=": - ok = val <= val2; - break; - case "!=": - ok = val != val2; - break; - case "!==": - ok = val !== val2; - break; - default: - throw new AssertionError( - (msg = msg && msg + ": ") + - 'Invalid operator "' + - operator + - '"', - void 0, - assert.operator, - ); - } - var test22 = new Assertion(ok, msg, assert.operator, !0); - test22.assert( - !0 === flag(test22, "object"), - "expected " + - inspect2(val) + - " to be " + - operator + - " " + - inspect2(val2), - "expected " + - inspect2(val) + - " to not be " + - operator + - " " + - inspect2(val2), - ); - }), - (assert.closeTo = function (act, exp, delta, msg) { - new Assertion(act, msg, assert.closeTo, !0).to.be.closeTo( - exp, - delta, - ); - }), - (assert.approximately = function (act, exp, delta, msg) { - new Assertion( - act, - msg, - assert.approximately, - !0, - ).to.be.approximately(exp, delta); - }), - (assert.sameMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.sameMembers, - !0, - ).to.have.same.members(set2); - }), - (assert.notSameMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.notSameMembers, - !0, - ).to.not.have.same.members(set2); - }), - (assert.sameDeepMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.sameDeepMembers, - !0, - ).to.have.same.deep.members(set2); - }), - (assert.notSameDeepMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.notSameDeepMembers, - !0, - ).to.not.have.same.deep.members(set2); - }), - (assert.sameOrderedMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.sameOrderedMembers, - !0, - ).to.have.same.ordered.members(set2); - }), - (assert.notSameOrderedMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.notSameOrderedMembers, - !0, - ).to.not.have.same.ordered.members(set2); - }), - (assert.sameDeepOrderedMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.sameDeepOrderedMembers, - !0, - ).to.have.same.deep.ordered.members(set2); - }), - (assert.notSameDeepOrderedMembers = function (set1, set2, msg) { - new Assertion( - set1, - msg, - assert.notSameDeepOrderedMembers, - !0, - ).to.not.have.same.deep.ordered.members(set2); - }), - (assert.includeMembers = function (superset, subset, msg) { - new Assertion( - superset, - msg, - assert.includeMembers, - !0, - ).to.include.members(subset); - }), - (assert.notIncludeMembers = function (superset, subset, msg) { - new Assertion( - superset, - msg, - assert.notIncludeMembers, - !0, - ).to.not.include.members(subset); - }), - (assert.includeDeepMembers = function (superset, subset, msg) { - new Assertion( - superset, - msg, - assert.includeDeepMembers, - !0, - ).to.include.deep.members(subset); - }), - (assert.notIncludeDeepMembers = function (superset, subset, msg) { - new Assertion( - superset, - msg, - assert.notIncludeDeepMembers, - !0, - ).to.not.include.deep.members(subset); - }), - (assert.includeOrderedMembers = function (superset, subset, msg) { - new Assertion( - superset, - msg, - assert.includeOrderedMembers, - !0, - ).to.include.ordered.members(subset); - }), - (assert.notIncludeOrderedMembers = function (superset, subset, msg) { - new Assertion( - superset, - msg, - assert.notIncludeOrderedMembers, - !0, - ).to.not.include.ordered.members(subset); - }), - (assert.includeDeepOrderedMembers = function (superset, subset, msg) { - new Assertion( - superset, - msg, - assert.includeDeepOrderedMembers, - !0, - ).to.include.deep.ordered.members(subset); - }), - (assert.notIncludeDeepOrderedMembers = function ( - superset, - subset, - msg, - ) { - new Assertion( - superset, - msg, - assert.notIncludeDeepOrderedMembers, - !0, - ).to.not.include.deep.ordered.members(subset); - }), - (assert.oneOf = function (inList, list, msg) { - new Assertion(inList, msg, assert.oneOf, !0).to.be.oneOf(list); - }), - (assert.isIterable = function (obj, msg) { - if (null == obj || !obj[Symbol.iterator]) - throw ( - ((msg = msg - ? `${msg} expected ${inspect2(obj)} to be an iterable` - : `expected ${inspect2(obj)} to be an iterable`), - new AssertionError(msg, void 0, assert.isIterable)) - ); - }), - (assert.changes = function (fn3, obj, prop, msg) { - 3 === arguments.length && - "function" == typeof obj && - ((msg = prop), (prop = null)), - new Assertion(fn3, msg, assert.changes, !0).to.change(obj, prop); - }), - (assert.changesBy = function (fn3, obj, prop, delta, msg) { - if (4 === arguments.length && "function" == typeof obj) { - var tmpMsg = delta; - (delta = prop), (msg = tmpMsg); - } else 3 === arguments.length && ((delta = prop), (prop = null)); - new Assertion(fn3, msg, assert.changesBy, !0).to - .change(obj, prop) - .by(delta); - }), - (assert.doesNotChange = function (fn3, obj, prop, msg) { - return ( - 3 === arguments.length && - "function" == typeof obj && - ((msg = prop), (prop = null)), - new Assertion(fn3, msg, assert.doesNotChange, !0).to.not.change( - obj, - prop, - ) - ); - }), - (assert.changesButNotBy = function (fn3, obj, prop, delta, msg) { - if (4 === arguments.length && "function" == typeof obj) { - var tmpMsg = delta; - (delta = prop), (msg = tmpMsg); - } else 3 === arguments.length && ((delta = prop), (prop = null)); - new Assertion(fn3, msg, assert.changesButNotBy, !0).to - .change(obj, prop) - .but.not.by(delta); - }), - (assert.increases = function (fn3, obj, prop, msg) { - return ( - 3 === arguments.length && - "function" == typeof obj && - ((msg = prop), (prop = null)), - new Assertion(fn3, msg, assert.increases, !0).to.increase( - obj, - prop, - ) - ); - }), - (assert.increasesBy = function (fn3, obj, prop, delta, msg) { - if (4 === arguments.length && "function" == typeof obj) { - var tmpMsg = delta; - (delta = prop), (msg = tmpMsg); - } else 3 === arguments.length && ((delta = prop), (prop = null)); - new Assertion(fn3, msg, assert.increasesBy, !0).to - .increase(obj, prop) - .by(delta); - }), - (assert.doesNotIncrease = function (fn3, obj, prop, msg) { - return ( - 3 === arguments.length && - "function" == typeof obj && - ((msg = prop), (prop = null)), - new Assertion( - fn3, - msg, - assert.doesNotIncrease, - !0, - ).to.not.increase(obj, prop) - ); - }), - (assert.increasesButNotBy = function (fn3, obj, prop, delta, msg) { - if (4 === arguments.length && "function" == typeof obj) { - var tmpMsg = delta; - (delta = prop), (msg = tmpMsg); - } else 3 === arguments.length && ((delta = prop), (prop = null)); - new Assertion(fn3, msg, assert.increasesButNotBy, !0).to - .increase(obj, prop) - .but.not.by(delta); - }), - (assert.decreases = function (fn3, obj, prop, msg) { - return ( - 3 === arguments.length && - "function" == typeof obj && - ((msg = prop), (prop = null)), - new Assertion(fn3, msg, assert.decreases, !0).to.decrease( - obj, - prop, - ) - ); - }), - (assert.decreasesBy = function (fn3, obj, prop, delta, msg) { - if (4 === arguments.length && "function" == typeof obj) { - var tmpMsg = delta; - (delta = prop), (msg = tmpMsg); - } else 3 === arguments.length && ((delta = prop), (prop = null)); - new Assertion(fn3, msg, assert.decreasesBy, !0).to - .decrease(obj, prop) - .by(delta); - }), - (assert.doesNotDecrease = function (fn3, obj, prop, msg) { - return ( - 3 === arguments.length && - "function" == typeof obj && - ((msg = prop), (prop = null)), - new Assertion( - fn3, - msg, - assert.doesNotDecrease, - !0, - ).to.not.decrease(obj, prop) - ); - }), - (assert.doesNotDecreaseBy = function (fn3, obj, prop, delta, msg) { - if (4 === arguments.length && "function" == typeof obj) { - var tmpMsg = delta; - (delta = prop), (msg = tmpMsg); - } else 3 === arguments.length && ((delta = prop), (prop = null)); - return new Assertion(fn3, msg, assert.doesNotDecreaseBy, !0).to.not - .decrease(obj, prop) - .by(delta); - }), - (assert.decreasesButNotBy = function (fn3, obj, prop, delta, msg) { - if (4 === arguments.length && "function" == typeof obj) { - var tmpMsg = delta; - (delta = prop), (msg = tmpMsg); - } else 3 === arguments.length && ((delta = prop), (prop = null)); - new Assertion(fn3, msg, assert.decreasesButNotBy, !0).to - .decrease(obj, prop) - .but.not.by(delta); - }), - (assert.ifError = function (val) { - if (val) throw val; - }), - (assert.isExtensible = function (obj, msg) { - new Assertion(obj, msg, assert.isExtensible, !0).to.be.extensible; - }), - (assert.isNotExtensible = function (obj, msg) { - new Assertion(obj, msg, assert.isNotExtensible, !0).to.not.be - .extensible; - }), - (assert.isSealed = function (obj, msg) { - new Assertion(obj, msg, assert.isSealed, !0).to.be.sealed; - }), - (assert.isNotSealed = function (obj, msg) { - new Assertion(obj, msg, assert.isNotSealed, !0).to.not.be.sealed; - }), - (assert.isFrozen = function (obj, msg) { - new Assertion(obj, msg, assert.isFrozen, !0).to.be.frozen; - }), - (assert.isNotFrozen = function (obj, msg) { - new Assertion(obj, msg, assert.isNotFrozen, !0).to.not.be.frozen; - }), - (assert.isEmpty = function (val, msg) { - new Assertion(val, msg, assert.isEmpty, !0).to.be.empty; - }), - (assert.isNotEmpty = function (val, msg) { - new Assertion(val, msg, assert.isNotEmpty, !0).to.not.be.empty; - }), - __name(function alias(name, as) { - return (assert[as] = assert[name]), alias; - }, "alias")("isOk", "ok")("isNotOk", "notOk")("throws", "throw")( - "throws", - "Throw", - )("isExtensible", "extensible")("isNotExtensible", "notExtensible")( - "isSealed", - "sealed", - )("isNotSealed", "notSealed")("isFrozen", "frozen")( - "isNotFrozen", - "notFrozen", - )("isEmpty", "empty")("isNotEmpty", "notEmpty")( - "isCallable", - "isFunction", - )("isNotCallable", "isNotFunction"); - var used = []; - function use(fn3) { - let exports = { - AssertionError, - util: utils_exports, - config, - expect, - assert, - Assertion, - ...should_exports, - }; - return ( - ~used.indexOf(fn3) || (fn3(exports, utils_exports), used.push(fn3)), - exports - ); - } - __name(use, "use"); - var matchers_exports = {}; - __export(matchers_exports, { - toBeChecked: () => toBeChecked, - toBeDisabled: () => toBeDisabled, - toBeEmpty: () => toBeEmpty, - toBeEmptyDOMElement: () => toBeEmptyDOMElement, - toBeEnabled: () => toBeEnabled, - toBeInTheDOM: () => toBeInTheDOM, - toBeInTheDocument: () => toBeInTheDocument, - toBeInvalid: () => toBeInvalid, - toBePartiallyChecked: () => toBePartiallyChecked, - toBeRequired: () => toBeRequired, - toBeValid: () => toBeValid, - toBeVisible: () => toBeVisible, - toContainElement: () => toContainElement, - toContainHTML: () => toContainHTML, - toHaveAccessibleDescription: () => toHaveAccessibleDescription, - toHaveAccessibleErrorMessage: () => toHaveAccessibleErrorMessage, - toHaveAccessibleName: () => toHaveAccessibleName, - toHaveAttribute: () => toHaveAttribute, - toHaveClass: () => toHaveClass, - toHaveDescription: () => toHaveDescription, - toHaveDisplayValue: () => toHaveDisplayValue, - toHaveErrorMessage: () => toHaveErrorMessage, - toHaveFocus: () => toHaveFocus, - toHaveFormValues: () => toHaveFormValues, - toHaveRole: () => toHaveRole, - toHaveStyle: () => toHaveStyle, - toHaveTextContent: () => toHaveTextContent, - toHaveValue: () => toHaveValue, - }); - var import_redent = __toESM(require_redent(), 1); - function $parcel$defineInteropFlag(a2) { - Object.defineProperty(a2, "__esModule", { - value: !0, - configurable: !0, - }); - } - function $parcel$export(e, n, v, s) { - Object.defineProperty(e, n, { - get: v, - set: s, - enumerable: !0, - configurable: !0, - }); - } - var $009ddb00d3ec72b8$exports = {}; - $parcel$defineInteropFlag($009ddb00d3ec72b8$exports), - $parcel$export( - $009ddb00d3ec72b8$exports, - "default", - () => $009ddb00d3ec72b8$export$2e2bcd8739ae039, - ); - var $009ddb00d3ec72b8$export$2e2bcd8739ae039 = class extends Error { - constructor(filename, msg, lineno, column, css) { - super(filename + ":" + lineno + ":" + column + ": " + msg), - (this.reason = msg), - (this.filename = filename), - (this.line = lineno), - (this.column = column), - (this.source = css); - } - }, - $0865a9fb4cc365fe$exports = {}; - $parcel$defineInteropFlag($0865a9fb4cc365fe$exports), - $parcel$export( - $0865a9fb4cc365fe$exports, - "default", - () => $0865a9fb4cc365fe$export$2e2bcd8739ae039, - ); - var $b2e137848b48cf4f$export$9be5dd6e61d5d73a, - CssTypes, - $0865a9fb4cc365fe$export$2e2bcd8739ae039 = class { - constructor(start, end, source) { - (this.start = start), (this.end = end), (this.source = source); - } - }; - $parcel$export( - {}, - "CssTypes", - () => $b2e137848b48cf4f$export$9be5dd6e61d5d73a, - ), - ((CssTypes = - $b2e137848b48cf4f$export$9be5dd6e61d5d73a || - ($b2e137848b48cf4f$export$9be5dd6e61d5d73a = {})).stylesheet = - "stylesheet"), - (CssTypes.rule = "rule"), - (CssTypes.declaration = "declaration"), - (CssTypes.comment = "comment"), - (CssTypes.container = "container"), - (CssTypes.charset = "charset"), - (CssTypes.document = "document"), - (CssTypes.customMedia = "custom-media"), - (CssTypes.fontFace = "font-face"), - (CssTypes.host = "host"), - (CssTypes.import = "import"), - (CssTypes.keyframes = "keyframes"), - (CssTypes.keyframe = "keyframe"), - (CssTypes.layer = "layer"), - (CssTypes.media = "media"), - (CssTypes.namespace = "namespace"), - (CssTypes.page = "page"), - (CssTypes.startingStyle = "starting-style"), - (CssTypes.supports = "supports"); - var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g; - function $d708735ed1303b43$var$trim(str) { - return str ? str.trim() : ""; - } - function $d708735ed1303b43$var$addParent(obj, parent) { - let isNode = obj && "string" == typeof obj.type, - childParent = isNode ? obj : parent; - for (let k2 in obj) { - let value = obj[k2]; - Array.isArray(value) - ? value.forEach((v) => { - $d708735ed1303b43$var$addParent(v, childParent); - }) - : value && - "object" == typeof value && - $d708735ed1303b43$var$addParent(value, childParent); - } - return ( - isNode && - Object.defineProperty(obj, "parent", { - configurable: !0, - writable: !0, - enumerable: !1, - value: parent || null, - }), - obj - ); - } - var $149c1bd638913645$export$98e6a39c04603d36 = (css, options) => { - options = options || {}; - let lineno = 1, - column = 1; - function position() { - let start = { line: lineno, column }; - return function (node) { - return ( - (node.position = new $0865a9fb4cc365fe$export$2e2bcd8739ae039( - start, - { line: lineno, column }, - options?.source || "", - )), - whitespace(), - node - ); - }; - } - let errorsList = []; - function error(msg) { - let err = new $009ddb00d3ec72b8$export$2e2bcd8739ae039( - options?.source || "", - msg, - lineno, - column, - css, - ); - if (!options?.silent) throw err; - errorsList.push(err); - } - function open() { - return match(/^{\s*/); - } - function close() { - return match(/^}/); - } - function rules() { - let node, - rules2 = []; - for ( - whitespace(), comments(rules2); - css.length && - "}" !== css.charAt(0) && - (node = atrule() || rule()); - - ) - node && (rules2.push(node), comments(rules2)); - return rules2; - } - function match(re) { - let m2 = re.exec(css); - if (!m2) return; - let str = m2[0]; - return ( - (function updatePosition(str) { - let lines = str.match(/\n/g); - lines && (lineno += lines.length); - let i = str.lastIndexOf("\n"); - column = ~i ? str.length - i : column + str.length; - })(str), - (css = css.slice(str.length)), - m2 - ); - } - function whitespace() { - match(/^\s*/); - } - function comments(rules2) { - let c; - for (rules2 = rules2 || []; (c = comment()); ) - c && rules2.push(c); - return rules2; - } - function comment() { - let pos = position(); - if ("/" !== css.charAt(0) || "*" !== css.charAt(1)) return; - let m2 = match(/^\/\*[^]*?\*\//); - return m2 - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment, - comment: m2[0].slice(2, -2), - }) - : error("End of comment missing"); - } - function findClosingParenthese(str, start, depth) { - let ptr = start + 1, - found = !1, - closeParentheses = str.indexOf(")", ptr); - for (; !found && -1 !== closeParentheses; ) { - let nextParentheses = str.indexOf("(", ptr); - -1 !== nextParentheses && nextParentheses < closeParentheses - ? ((ptr = - findClosingParenthese(str, nextParentheses + 1) + 1), - (closeParentheses = str.indexOf(")", ptr))) - : (found = !0); - } - return found && -1 !== closeParentheses ? closeParentheses : -1; - } - function selector() { - let m2 = match(/^([^{]+)/); - if (!m2) return; - let res = $d708735ed1303b43$var$trim(m2[0]).replace( - $d708735ed1303b43$var$commentre, - "", - ); - if (-1 === res.indexOf(",")) return [res]; - let ptr = 0, - startParentheses = res.indexOf("(", ptr); - for (; -1 !== startParentheses; ) { - let closeParentheses = findClosingParenthese( - res, - startParentheses, - ); - if (-1 === closeParentheses) break; - (ptr = closeParentheses + 1), - (res = - res.substring(0, startParentheses) + - res - .substring(startParentheses, closeParentheses) - .replace(/,/g, "‌") + - res.substring(closeParentheses)), - (startParentheses = res.indexOf("(", ptr)); - } - return ( - (res = res.replace(/("|')(?:\\\1|.)*?\1/g, (m3) => - m3.replace(/,/g, "‌"), - )), - res - .split(",") - .map((s) => - $d708735ed1303b43$var$trim(s.replace(/\u200C/g, ",")), - ) - ); - } - function declaration() { - let pos = position(), - propMatch = match(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/); - if (!propMatch) return; - let propValue = $d708735ed1303b43$var$trim(propMatch[0]); - if (!match(/^:\s*/)) return error("property missing ':'"); - let val = match( - /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, - ), - ret = pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration, - property: propValue.replace( - $d708735ed1303b43$var$commentre, - "", - ), - value: val - ? $d708735ed1303b43$var$trim(val[0]).replace( - $d708735ed1303b43$var$commentre, - "", - ) - : "", - }); - return match(/^[;\s]*/), ret; - } - function declarations() { - let decl, - decls = []; - if (!open()) return error("missing '{'"); - for (comments(decls); (decl = declaration()); ) - decl && (decls.push(decl), comments(decls)); - return close() ? decls : error("missing '}'"); - } - function keyframe() { - let m2, - vals = [], - pos = position(); - for (; (m2 = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/)); ) - vals.push(m2[1]), match(/^,\s*/); - if (vals.length) - return pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe, - values: vals, - declarations: declarations() || [], - }); - } - let atimport = _compileAtrule("import"), - atcharset = _compileAtrule("charset"), - atnamespace = _compileAtrule("namespace"); - function _compileAtrule(name) { - let re = new RegExp( - "^@" + - name + - "\\s*((?::?[^;'\"]|\"(?:\\\\\"|[^\"])*?\"|'(?:\\\\'|[^'])*?')+)(?:;|$)", - ); - return function () { - let pos = position(), - m2 = match(re); - if (!m2) return; - let ret = { type: name }; - return (ret[name] = m2[1].trim()), pos(ret); - }; - } - function atrule() { - if ("@" === css[0]) - return ( - (function atkeyframes() { - let pos = position(), - m1 = match(/^@([-\w]+)?keyframes\s*/); - if (!m1) return; - let vendor = m1[1], - m2 = match(/^([-\w]+)\s*/); - if (!m2) return error("@keyframes missing name"); - let name = m2[1]; - if (!open()) return error("@keyframes missing '{'"); - let frame, - frames = comments(); - for (; (frame = keyframe()); ) - frames.push(frame), (frames = frames.concat(comments())); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes, - name, - vendor, - keyframes: frames, - }) - : error("@keyframes missing '}'"); - })() || - (function atmedia() { - let pos = position(), - m2 = match(/^@media *([^{]+)/); - if (!m2) return; - let media = $d708735ed1303b43$var$trim(m2[1]); - if (!open()) return error("@media missing '{'"); - let style = comments().concat(rules()); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.media, - media, - rules: style, - }) - : error("@media missing '}'"); - })() || - (function atcustommedia() { - let pos = position(), - m2 = match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/); - if (m2) - return pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia, - name: $d708735ed1303b43$var$trim(m2[1]), - media: $d708735ed1303b43$var$trim(m2[2]), - }); - })() || - (function atsupports() { - let pos = position(), - m2 = match(/^@supports *([^{]+)/); - if (!m2) return; - let supports = $d708735ed1303b43$var$trim(m2[1]); - if (!open()) return error("@supports missing '{'"); - let style = comments().concat(rules()); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports, - supports, - rules: style, - }) - : error("@supports missing '}'"); - })() || - atimport() || - atcharset() || - atnamespace() || - (function atdocument() { - let pos = position(), - m2 = match(/^@([-\w]+)?document *([^{]+)/); - if (!m2) return; - let vendor = $d708735ed1303b43$var$trim(m2[1]), - doc = $d708735ed1303b43$var$trim(m2[2]); - if (!open()) return error("@document missing '{'"); - let style = comments().concat(rules()); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.document, - document: doc, - vendor, - rules: style, - }) - : error("@document missing '}'"); - })() || - (function atpage() { - let pos = position(); - if (!match(/^@page */)) return; - let sel = selector() || []; - if (!open()) return error("@page missing '{'"); - let decl, - decls = comments(); - for (; (decl = declaration()); ) - decls.push(decl), (decls = decls.concat(comments())); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.page, - selectors: sel, - declarations: decls, - }) - : error("@page missing '}'"); - })() || - (function athost() { - let pos = position(); - if (!match(/^@host\s*/)) return; - if (!open()) return error("@host missing '{'"); - let style = comments().concat(rules()); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.host, - rules: style, - }) - : error("@host missing '}'"); - })() || - (function atfontface() { - let pos = position(); - if (!match(/^@font-face\s*/)) return; - if (!open()) return error("@font-face missing '{'"); - let decl, - decls = comments(); - for (; (decl = declaration()); ) - decls.push(decl), (decls = decls.concat(comments())); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace, - declarations: decls, - }) - : error("@font-face missing '}'"); - })() || - (function atcontainer() { - let pos = position(), - m2 = match(/^@container *([^{]+)/); - if (!m2) return; - let container = $d708735ed1303b43$var$trim(m2[1]); - if (!open()) return error("@container missing '{'"); - let style = comments().concat(rules()); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.container, - container, - rules: style, - }) - : error("@container missing '}'"); - })() || - (function atstartingstyle() { - let pos = position(); - if (!match(/^@starting-style\s*/)) return; - if (!open()) return error("@starting-style missing '{'"); - let style = comments().concat(rules()); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.startingStyle, - rules: style, - }) - : error("@starting-style missing '}'"); - })() || - (function atlayer() { - let pos = position(), - m2 = match(/^@layer *([^{;@]+)/); - if (!m2) return; - let layer = $d708735ed1303b43$var$trim(m2[1]); - if (!open()) - return ( - match(/^[;\s]*/), - pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer, - layer, - }) - ); - let style = comments().concat(rules()); - return close() - ? pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer, - layer, - rules: style, - }) - : error("@layer missing '}'"); - })() - ); - } - function rule() { - let pos = position(), - sel = selector(); - return sel - ? (comments(), - pos({ - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule, - selectors: sel, - declarations: declarations() || [], - })) - : error("selector missing"); - } - return $d708735ed1303b43$var$addParent( - (function stylesheet() { - let rulesList = rules(); - return { - type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet, - stylesheet: { - source: options?.source, - rules: rulesList, - parsingErrors: errorsList, - }, - }; - })(), - ); - }, - toStr = Object.prototype.toString; - function isCallable(fn3) { - return ( - "function" == typeof fn3 || "[object Function]" === toStr.call(fn3) - ); - } - var maxSafeInteger = Math.pow(2, 53) - 1; - function toLength(value) { - var len = (function toInteger(value) { - var number = Number(value); - return isNaN(number) - ? 0 - : 0 !== number && isFinite(number) - ? (number > 0 ? 1 : -1) * Math.floor(Math.abs(number)) - : number; - })(value); - return Math.min(Math.max(len, 0), maxSafeInteger); - } - function arrayFrom(arrayLike, mapFn) { - var C3 = Array, - items = Object(arrayLike); - if (null == arrayLike) - throw new TypeError( - "Array.from requires an array-like object - not null or undefined", - ); - if (typeof mapFn < "u" && !isCallable(mapFn)) - throw new TypeError( - "Array.from: when provided, the second argument must be a function", - ); - for ( - var kValue, - len = toLength(items.length), - A = isCallable(C3) ? Object(new C3(len)) : new Array(len), - k2 = 0; - k2 < len; - - ) - (kValue = items[k2]), - (A[k2] = mapFn ? mapFn(kValue, k2) : kValue), - (k2 += 1); - return (A.length = len), A; - } - function _typeof(o) { - return (_typeof = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (o2) { - return typeof o2; - } - : function (o2) { - return o2 && - "function" == typeof Symbol && - o2.constructor === Symbol && - o2 !== Symbol.prototype - ? "symbol" - : typeof o2; - })(o); - } - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - (descriptor.enumerable = descriptor.enumerable || !1), - (descriptor.configurable = !0), - "value" in descriptor && (descriptor.writable = !0), - Object.defineProperty( - target, - _toPropertyKey(descriptor.key), - descriptor, - ); - } - } - function _toPropertyKey(arg) { - var key = (function _toPrimitive(input2, hint) { - if ("object" !== _typeof(input2) || null === input2) return input2; - var prim = input2[Symbol.toPrimitive]; - if (void 0 !== prim) { - var res = prim.call(input2, hint || "default"); - if ("object" !== _typeof(res)) return res; - throw new TypeError( - "@@toPrimitive must return a primitive value.", - ); - } - return ("string" === hint ? String : Number)(input2); - })(arg, "string"); - return "symbol" === _typeof(key) ? key : String(key); - } - var SetLike = (function () { - function SetLike3() { - var items = - arguments.length > 0 && void 0 !== arguments[0] - ? arguments[0] - : []; - (function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) - throw new TypeError("Cannot call a class as a function"); - })(this, SetLike3), - (function _defineProperty(obj, key, value) { - return ( - (key = _toPropertyKey(key)) in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - })(this, "items", void 0), - (this.items = items); - } - return ( - (function _createClass(Constructor, protoProps, staticProps) { - return ( - protoProps && - _defineProperties(Constructor.prototype, protoProps), - staticProps && _defineProperties(Constructor, staticProps), - Object.defineProperty(Constructor, "prototype", { - writable: !1, - }), - Constructor - ); - })(SetLike3, [ - { - key: "add", - value: function (value) { - return ( - !1 === this.has(value) && this.items.push(value), this - ); - }, - }, - { - key: "clear", - value: function () { - this.items = []; - }, - }, - { - key: "delete", - value: function (value) { - var previousLength = this.items.length; - return ( - (this.items = this.items.filter(function (item) { - return item !== value; - })), - previousLength !== this.items.length - ); - }, - }, - { - key: "forEach", - value: function (callbackfn) { - var _this = this; - this.items.forEach(function (item) { - callbackfn(item, item, _this); - }); - }, - }, - { - key: "has", - value: function (value) { - return -1 !== this.items.indexOf(value); - }, - }, - { - key: "size", - get: function () { - return this.items.length; - }, - }, - ]), - SetLike3 - ); - })(), - SetLike_default = typeof Set > "u" ? Set : SetLike; - function getLocalName(element) { - var _element$localName; - return null !== (_element$localName = element.localName) && - void 0 !== _element$localName - ? _element$localName - : element.tagName.toLowerCase(); - } - var localNameToRoleMappings = { - article: "article", - aside: "complementary", - button: "button", - datalist: "listbox", - dd: "definition", - details: "group", - dialog: "dialog", - dt: "term", - fieldset: "group", - figure: "figure", - form: "form", - footer: "contentinfo", - h1: "heading", - h2: "heading", - h3: "heading", - h4: "heading", - h5: "heading", - h6: "heading", - header: "banner", - hr: "separator", - html: "document", - legend: "legend", - li: "listitem", - math: "math", - main: "main", - menu: "list", - nav: "navigation", - ol: "list", - optgroup: "group", - option: "option", - output: "status", - progress: "progressbar", - section: "region", - summary: "button", - table: "table", - tbody: "rowgroup", - textarea: "textbox", - tfoot: "rowgroup", - td: "cell", - th: "columnheader", - thead: "rowgroup", - tr: "row", - ul: "list", - }, - prohibitedAttributes = { - caption: new Set(["aria-label", "aria-labelledby"]), - code: new Set(["aria-label", "aria-labelledby"]), - deletion: new Set(["aria-label", "aria-labelledby"]), - emphasis: new Set(["aria-label", "aria-labelledby"]), - generic: new Set([ - "aria-label", - "aria-labelledby", - "aria-roledescription", - ]), - insertion: new Set(["aria-label", "aria-labelledby"]), - none: new Set(["aria-label", "aria-labelledby"]), - paragraph: new Set(["aria-label", "aria-labelledby"]), - presentation: new Set(["aria-label", "aria-labelledby"]), - strong: new Set(["aria-label", "aria-labelledby"]), - subscript: new Set(["aria-label", "aria-labelledby"]), - superscript: new Set(["aria-label", "aria-labelledby"]), - }; - function ignorePresentationalRole(element, implicitRole) { - return (function hasGlobalAriaAttributes(element, role) { - return [ - "aria-atomic", - "aria-busy", - "aria-controls", - "aria-current", - "aria-description", - "aria-describedby", - "aria-details", - "aria-dropeffect", - "aria-flowto", - "aria-grabbed", - "aria-hidden", - "aria-keyshortcuts", - "aria-label", - "aria-labelledby", - "aria-live", - "aria-owns", - "aria-relevant", - "aria-roledescription", - ].some(function (attributeName) { - var _prohibitedAttributes; - return ( - element.hasAttribute(attributeName) && - !( - null !== - (_prohibitedAttributes = prohibitedAttributes[role]) && - void 0 !== _prohibitedAttributes && - _prohibitedAttributes.has(attributeName) - ) - ); - }); - })(element, implicitRole); - } - function getRole(element) { - var explicitRole = (function getExplicitRole(element) { - var role = element.getAttribute("role"); - if (null !== role) { - var explicitRole = role.trim().split(" ")[0]; - if (explicitRole.length > 0) return explicitRole; - } - return null; - })(element); - if ( - null === explicitRole || - -1 !== presentationRoles.indexOf(explicitRole) - ) { - var implicitRole = (function getImplicitRole(element) { - var mappedByTag = localNameToRoleMappings[getLocalName(element)]; - if (void 0 !== mappedByTag) return mappedByTag; - switch (getLocalName(element)) { - case "a": - case "area": - case "link": - if (element.hasAttribute("href")) return "link"; - break; - case "img": - return "" !== element.getAttribute("alt") || - ignorePresentationalRole(element, "img") - ? "img" - : "presentation"; - case "input": - var type5 = element.type; - switch (type5) { - case "button": - case "image": - case "reset": - case "submit": - return "button"; - case "checkbox": - case "radio": - return type5; - case "range": - return "slider"; - case "email": - case "tel": - case "text": - case "url": - return element.hasAttribute("list") - ? "combobox" - : "textbox"; - case "search": - return element.hasAttribute("list") - ? "combobox" - : "searchbox"; - case "number": - return "spinbutton"; - default: - return null; - } - case "select": - return element.hasAttribute("multiple") || element.size > 1 - ? "listbox" - : "combobox"; - } - return null; - })(element); - if ( - -1 === presentationRoles.indexOf(explicitRole || "") || - ignorePresentationalRole(element, implicitRole || "") - ) - return implicitRole; - } - return explicitRole; - } - var presentationRoles = ["presentation", "none"]; - function isElement(node) { - return null !== node && node.nodeType === node.ELEMENT_NODE; - } - function isHTMLTableCaptionElement(node) { - return isElement(node) && "caption" === getLocalName(node); - } - function isHTMLInputElement(node) { - return isElement(node) && "input" === getLocalName(node); - } - function isHTMLLegendElement(node) { - return isElement(node) && "legend" === getLocalName(node); - } - function isSVGTitleElement(node) { - return ( - (function isSVGElement(node) { - return isElement(node) && void 0 !== node.ownerSVGElement; - })(node) && "title" === getLocalName(node) - ); - } - function queryIdRefs(node, attributeName) { - if (isElement(node) && node.hasAttribute(attributeName)) { - var ids = node.getAttribute(attributeName).split(" "), - root = node.getRootNode ? node.getRootNode() : node.ownerDocument; - return ids - .map(function (id) { - return root.getElementById(id); - }) - .filter(function (element) { - return null !== element; - }); - } - return []; - } - function hasAnyConcreteRoles(node, roles3) { - return !!isElement(node) && -1 !== roles3.indexOf(getRole(node)); - } - function hasAbstractRole(node, role) { - if (!isElement(node)) return !1; - if ("range" === role) - return hasAnyConcreteRoles(node, [ - "meter", - "progressbar", - "scrollbar", - "slider", - "spinbutton", - ]); - throw new TypeError( - "No knowledge about abstract role '".concat( - role, - "'. This is likely a bug :(", - ), - ); - } - function querySelectorAllSubtree(element, selectors) { - var elements = arrayFrom(element.querySelectorAll(selectors)); - return ( - queryIdRefs(element, "aria-owns").forEach(function (root) { - elements.push.apply( - elements, - arrayFrom(root.querySelectorAll(selectors)), - ); - }), - elements - ); - } - function querySelectedOptions(listbox) { - return (function isHTMLSelectElement(node) { - return isElement(node) && "select" === getLocalName(node); - })(listbox) - ? listbox.selectedOptions || - querySelectorAllSubtree(listbox, "[selected]") - : querySelectorAllSubtree(listbox, '[aria-selected="true"]'); - } - function getValueOfTextbox(element) { - return isHTMLInputElement(element) || - (function isHTMLTextAreaElement(node) { - return isElement(node) && "textarea" === getLocalName(node); - })(element) - ? element.value - : element.textContent || ""; - } - function getTextualContent(declaration) { - var content = declaration.getPropertyValue("content"); - return /^["'].*["']$/.test(content) ? content.slice(1, -1) : ""; - } - function isLabelableElement(element) { - var localName = getLocalName(element); - return ( - "button" === localName || - ("input" === localName && - "hidden" !== element.getAttribute("type")) || - "meter" === localName || - "output" === localName || - "progress" === localName || - "select" === localName || - "textarea" === localName - ); - } - function findLabelableElement(element) { - if (isLabelableElement(element)) return element; - var labelableElement = null; - return ( - element.childNodes.forEach(function (childNode) { - if (null === labelableElement && isElement(childNode)) { - var descendantLabelableElement = - findLabelableElement(childNode); - null !== descendantLabelableElement && - (labelableElement = descendantLabelableElement); - } - }), - labelableElement - ); - } - function getControlOfLabel(label) { - if (void 0 !== label.control) return label.control; - var htmlFor = label.getAttribute("for"); - return null !== htmlFor - ? label.ownerDocument.getElementById(htmlFor) - : findLabelableElement(label); - } - function computeTextAlternative(root) { - var options = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : {}, - consultedNodes = new SetLike_default(), - window2 = (function safeWindow(node) { - var defaultView = ( - null === node.ownerDocument ? node : node.ownerDocument - ).defaultView; - if (null === defaultView) - throw new TypeError("no window available"); - return defaultView; - })(root), - _options$compute = options.compute, - compute = void 0 === _options$compute ? "name" : _options$compute, - _options$computedStyl = options.computedStyleSupportsPseudoElements, - computedStyleSupportsPseudoElements = - void 0 === _options$computedStyl - ? void 0 !== options.getComputedStyle - : _options$computedStyl, - _options$getComputedS = options.getComputedStyle, - getComputedStyle = - void 0 === _options$getComputedS - ? window2.getComputedStyle.bind(window2) - : _options$getComputedS, - _options$hidden = options.hidden, - hidden = void 0 !== _options$hidden && _options$hidden; - function computeMiscTextAlternative(node, context) { - var accumulatedText = ""; - if (isElement(node) && computedStyleSupportsPseudoElements) { - var beforeContent = getTextualContent( - getComputedStyle(node, "::before"), - ); - accumulatedText = "" - .concat(beforeContent, " ") - .concat(accumulatedText); - } - if ( - (((function isHTMLSlotElement(node) { - return isElement(node) && "slot" === getLocalName(node); - })(node) - ? (function getSlotContents(slot) { - var assignedNodes = slot.assignedNodes(); - return 0 === assignedNodes.length - ? arrayFrom(slot.childNodes) - : assignedNodes; - })(node) - : arrayFrom(node.childNodes).concat( - queryIdRefs(node, "aria-owns"), - ) - ).forEach(function (child) { - var result = computeTextAlternative3(child, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - recursion: !0, - }), - separator = - "inline" !== - (isElement(child) - ? getComputedStyle(child).getPropertyValue("display") - : "inline") - ? " " - : ""; - accumulatedText += "" - .concat(separator) - .concat(result) - .concat(separator); - }), - isElement(node) && computedStyleSupportsPseudoElements) - ) { - var afterContent = getTextualContent( - getComputedStyle(node, "::after"), - ); - accumulatedText = "" - .concat(accumulatedText, " ") - .concat(afterContent); - } - return accumulatedText.trim(); - } - function useAttribute(element, attributeName) { - var attribute = element.getAttributeNode(attributeName); - return null === attribute || - consultedNodes.has(attribute) || - "" === attribute.value.trim() - ? null - : (consultedNodes.add(attribute), attribute.value); - } - function computeElementTextAlternative(node) { - if (!isElement(node)) return null; - if ( - (function isHTMLFieldSetElement(node) { - return isElement(node) && "fieldset" === getLocalName(node); - })(node) - ) { - consultedNodes.add(node); - for ( - var children = arrayFrom(node.childNodes), i = 0; - i < children.length; - i += 1 - ) { - var child = children[i]; - if (isHTMLLegendElement(child)) - return computeTextAlternative3(child, { - isEmbeddedInLabel: !1, - isReferenced: !1, - recursion: !1, - }); - } - } else if ( - (function isHTMLTableElement(node) { - return isElement(node) && "table" === getLocalName(node); - })(node) - ) { - consultedNodes.add(node); - for ( - var _children = arrayFrom(node.childNodes), _i = 0; - _i < _children.length; - _i += 1 - ) { - var _child = _children[_i]; - if (isHTMLTableCaptionElement(_child)) - return computeTextAlternative3(_child, { - isEmbeddedInLabel: !1, - isReferenced: !1, - recursion: !1, - }); - } - } else { - if ( - (function isSVGSVGElement(node) { - return isElement(node) && "svg" === getLocalName(node); - })(node) - ) { - consultedNodes.add(node); - for ( - var _children2 = arrayFrom(node.childNodes), _i2 = 0; - _i2 < _children2.length; - _i2 += 1 - ) { - var _child2 = _children2[_i2]; - if (isSVGTitleElement(_child2)) return _child2.textContent; - } - return null; - } - if ( - "img" === getLocalName(node) || - "area" === getLocalName(node) - ) { - var nameFromAlt = useAttribute(node, "alt"); - if (null !== nameFromAlt) return nameFromAlt; - } else if ( - (function isHTMLOptGroupElement(node) { - return isElement(node) && "optgroup" === getLocalName(node); - })(node) - ) { - var nameFromLabel = useAttribute(node, "label"); - if (null !== nameFromLabel) return nameFromLabel; - } - } - if ( - isHTMLInputElement(node) && - ("button" === node.type || - "submit" === node.type || - "reset" === node.type) - ) { - var nameFromValue = useAttribute(node, "value"); - if (null !== nameFromValue) return nameFromValue; - if ("submit" === node.type) return "Submit"; - if ("reset" === node.type) return "Reset"; - } - var labels = (function getLabels(element) { - var labelsProperty = element.labels; - return null === labelsProperty - ? labelsProperty - : void 0 !== labelsProperty - ? arrayFrom(labelsProperty) - : isLabelableElement(element) - ? arrayFrom( - element.ownerDocument.querySelectorAll("label"), - ).filter(function (label) { - return getControlOfLabel(label) === element; - }) - : null; - })(node); - if (null !== labels && 0 !== labels.length) - return ( - consultedNodes.add(node), - arrayFrom(labels) - .map(function (element) { - return computeTextAlternative3(element, { - isEmbeddedInLabel: !0, - isReferenced: !1, - recursion: !0, - }); - }) - .filter(function (label) { - return label.length > 0; - }) - .join(" ") - ); - if (isHTMLInputElement(node) && "image" === node.type) { - var _nameFromAlt = useAttribute(node, "alt"); - if (null !== _nameFromAlt) return _nameFromAlt; - var nameFromTitle = useAttribute(node, "title"); - return null !== nameFromTitle ? nameFromTitle : "Submit Query"; - } - if (hasAnyConcreteRoles(node, ["button"])) { - var nameFromSubTree = computeMiscTextAlternative(node, { - isEmbeddedInLabel: !1, - isReferenced: !1, - }); - if ("" !== nameFromSubTree) return nameFromSubTree; - } - return null; - } - function computeTextAlternative3(current, context) { - if (consultedNodes.has(current)) return ""; - if ( - !hidden && - (function isHidden(node, getComputedStyleImplementation) { - if (!isElement(node)) return !1; - if ( - node.hasAttribute("hidden") || - "true" === node.getAttribute("aria-hidden") - ) - return !0; - var style = getComputedStyleImplementation(node); - return ( - "none" === style.getPropertyValue("display") || - "hidden" === style.getPropertyValue("visibility") - ); - })(current, getComputedStyle) && - !context.isReferenced - ) - return consultedNodes.add(current), ""; - var labelAttributeNode = isElement(current) - ? current.getAttributeNode("aria-labelledby") - : null, - labelElements = - null === labelAttributeNode || - consultedNodes.has(labelAttributeNode) - ? [] - : queryIdRefs(current, "aria-labelledby"); - if ( - "name" === compute && - !context.isReferenced && - labelElements.length > 0 - ) - return ( - consultedNodes.add(labelAttributeNode), - labelElements - .map(function (element) { - return computeTextAlternative3(element, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !0, - recursion: !1, - }); - }) - .join(" ") - ); - var skipToStep2E = - context.recursion && - (function isControl(node) { - return ( - hasAnyConcreteRoles(node, [ - "button", - "combobox", - "listbox", - "textbox", - ]) || hasAbstractRole(node, "range") - ); - })(current) && - "name" === compute; - if (!skipToStep2E) { - var ariaLabel = ( - (isElement(current) && current.getAttribute("aria-label")) || - "" - ).trim(); - if ("" !== ariaLabel && "name" === compute) - return consultedNodes.add(current), ariaLabel; - if ( - !(function isMarkedPresentational(node) { - return hasAnyConcreteRoles(node, presentationRoles); - })(current) - ) { - var elementTextAlternative = - computeElementTextAlternative(current); - if (null !== elementTextAlternative) - return consultedNodes.add(current), elementTextAlternative; - } - } - if (hasAnyConcreteRoles(current, ["menu"])) - return consultedNodes.add(current), ""; - if ( - skipToStep2E || - context.isEmbeddedInLabel || - context.isReferenced - ) { - if (hasAnyConcreteRoles(current, ["combobox", "listbox"])) { - consultedNodes.add(current); - var selectedOptions = querySelectedOptions(current); - return 0 === selectedOptions.length - ? isHTMLInputElement(current) - ? current.value - : "" - : arrayFrom(selectedOptions) - .map(function (selectedOption) { - return computeTextAlternative3(selectedOption, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - recursion: !0, - }); - }) - .join(" "); - } - if (hasAbstractRole(current, "range")) - return ( - consultedNodes.add(current), - current.hasAttribute("aria-valuetext") - ? current.getAttribute("aria-valuetext") - : current.hasAttribute("aria-valuenow") - ? current.getAttribute("aria-valuenow") - : current.getAttribute("value") || "" - ); - if (hasAnyConcreteRoles(current, ["textbox"])) - return consultedNodes.add(current), getValueOfTextbox(current); - } - if ( - (function allowsNameFromContent(node) { - return hasAnyConcreteRoles(node, [ - "button", - "cell", - "checkbox", - "columnheader", - "gridcell", - "heading", - "label", - "legend", - "link", - "menuitem", - "menuitemcheckbox", - "menuitemradio", - "option", - "radio", - "row", - "rowheader", - "switch", - "tab", - "tooltip", - "treeitem", - ]); - })(current) || - (isElement(current) && context.isReferenced) || - (function isNativeHostLanguageTextAlternativeElement(node) { - return isHTMLTableCaptionElement(node); - })(current) - ) { - var accumulatedText2F = computeMiscTextAlternative(current, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - }); - if ("" !== accumulatedText2F) - return consultedNodes.add(current), accumulatedText2F; - } - if (current.nodeType === current.TEXT_NODE) - return consultedNodes.add(current), current.textContent || ""; - if (context.recursion) - return ( - consultedNodes.add(current), - computeMiscTextAlternative(current, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - }) - ); - var tooltipAttributeValue = (function computeTooltipAttributeValue( - node, - ) { - return isElement(node) ? useAttribute(node, "title") : null; - })(current); - return null !== tooltipAttributeValue - ? (consultedNodes.add(current), tooltipAttributeValue) - : (consultedNodes.add(current), ""); - } - return (function asFlatString(s) { - return s.trim().replace(/\s\s+/g, " "); - })( - computeTextAlternative3(root, { - isEmbeddedInLabel: !1, - isReferenced: "description" === compute, - recursion: !1, - }), - ); - } - function _typeof2(o) { - return (_typeof2 = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (o2) { - return typeof o2; - } - : function (o2) { - return o2 && - "function" == typeof Symbol && - o2.constructor === Symbol && - o2 !== Symbol.prototype - ? "symbol" - : typeof o2; - })(o); - } - function ownKeys(e, r) { - var t = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - r && - (o = o.filter(function (r2) { - return Object.getOwnPropertyDescriptor(e, r2).enumerable; - })), - t.push.apply(t, o); - } - return t; - } - function _objectSpread(e) { - for (var r = 1; r < arguments.length; r++) { - var t = null != arguments[r] ? arguments[r] : {}; - r % 2 - ? ownKeys(Object(t), !0).forEach(function (r2) { - var obj, key, value; - (obj = e), - (key = r2), - (value = t[r2]), - (key = (function _toPropertyKey2(arg) { - var key = (function _toPrimitive2(input2, hint) { - if ("object" !== _typeof2(input2) || null === input2) - return input2; - var prim = input2[Symbol.toPrimitive]; - if (void 0 !== prim) { - var res = prim.call(input2, hint || "default"); - if ("object" !== _typeof2(res)) return res; - throw new TypeError( - "@@toPrimitive must return a primitive value.", - ); - } - return ("string" === hint ? String : Number)(input2); - })(arg, "string"); - return "symbol" === _typeof2(key) ? key : String(key); - })(key)) in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - e, - Object.getOwnPropertyDescriptors(t), - ) - : ownKeys(Object(t)).forEach(function (r2) { - Object.defineProperty( - e, - r2, - Object.getOwnPropertyDescriptor(t, r2), - ); - }); - } - return e; - } - function computeAccessibleName(root) { - var options = - arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; - return (function prohibitsNaming(node) { - return hasAnyConcreteRoles(node, [ - "caption", - "code", - "deletion", - "emphasis", - "generic", - "insertion", - "none", - "paragraph", - "presentation", - "strong", - "subscript", - "superscript", - ]); - })(root) - ? "" - : computeTextAlternative(root, options); - } - var import_aria_query = __toESM(require_lib(), 1), - import_chalk = __toESM(require_source(), 1), - import_isEqualWith = __toESM(require_isEqualWith(), 1), - import_css = __toESM(require_css_escape(), 1), - GenericTypeError = class extends Error { - constructor(expectedString, received, matcherFn, context) { - super(), - Error.captureStackTrace && - Error.captureStackTrace(this, matcherFn); - let withType = ""; - try { - withType = context.utils.printWithType( - "Received", - received, - context.utils.printReceived, - ); - } catch {} - this.message = [ - context.utils.matcherHint( - `${context.isNot ? ".not" : ""}.${matcherFn.name}`, - "received", - "", - ), - "", - `${context.utils.RECEIVED_COLOR("received")} value must ${expectedString}.`, - withType, - ].join("\n"); - } - }, - HtmlElementTypeError = class extends GenericTypeError { - constructor(...args) { - super("be an HTMLElement or an SVGElement", ...args); - } - }, - NodeTypeError = class extends GenericTypeError { - constructor(...args) { - super("be a Node", ...args); - } - }; - function checkHasWindow(htmlElement, ErrorClass, ...args) { - if ( - !htmlElement || - !htmlElement.ownerDocument || - !htmlElement.ownerDocument.defaultView - ) - throw new ErrorClass(htmlElement, ...args); - } - function checkHtmlElement(htmlElement, ...args) { - checkHasWindow(htmlElement, HtmlElementTypeError, ...args); - let window2 = htmlElement.ownerDocument.defaultView; - if ( - !( - htmlElement instanceof window2.HTMLElement || - htmlElement instanceof window2.SVGElement - ) - ) - throw new HtmlElementTypeError(htmlElement, ...args); - } - var InvalidCSSError = class extends Error { - constructor(received, matcherFn, context) { - super(), - Error.captureStackTrace && - Error.captureStackTrace(this, matcherFn), - (this.message = [ - received.message, - "", - context.utils.RECEIVED_COLOR("Failing css:"), - context.utils.RECEIVED_COLOR(`${received.css}`), - ].join("\n")); - } - }; - function display(context, value) { - return "string" == typeof value - ? value - : context.utils.stringify(value); - } - function getMessage3( - context, - matcher, - expectedLabel, - expectedValue, - receivedLabel, - receivedValue, - ) { - return [ - `${matcher}\n`, - `${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0, import_redent.default)(display(context, expectedValue), 2))}`, - `${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0, import_redent.default)(display(context, receivedValue), 2))}`, - ].join("\n"); - } - function deprecate(name, replacementText) { - console.warn( - `Warning: ${name} has been deprecated and will be removed in future updates.`, - replacementText, - ); - } - function normalize(text) { - return text.replace(/\s+/g, " ").trim(); - } - function getTag(element) { - return element.tagName && element.tagName.toLowerCase(); - } - var rolesSupportingValues = [ - "meter", - "progressbar", - "slider", - "spinbutton", - ]; - function getSingleElementValue(element) { - if (element) - switch (element.tagName.toLowerCase()) { - case "input": - return (function getInputValue(inputElement) { - switch (inputElement.type) { - case "number": - return "" === inputElement.value - ? null - : Number(inputElement.value); - case "checkbox": - return inputElement.checked; - default: - return inputElement.value; - } - })(element); - case "select": - return (function getSelectValue({ multiple, options }) { - let selectedOptions = [...options].filter( - (option) => option.selected, - ); - return multiple - ? [...selectedOptions].map((opt) => opt.value) - : 0 !== selectedOptions.length - ? selectedOptions[0].value - : void 0; - })(element); - default: - return ( - element.value ?? - (function getAccessibleValue(element) { - if ( - rolesSupportingValues.includes( - element.getAttribute("role"), - ) - ) - return Number(element.getAttribute("aria-valuenow")); - })(element) - ); - } - } - function compareArraysAsSet(arr1, arr2) { - if (Array.isArray(arr1) && Array.isArray(arr2)) - return [...new Set(arr1)].every((v) => new Set(arr2).has(v)); - } - function toBeInTheDOM(element, container) { - return ( - deprecate( - "toBeInTheDOM", - "Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container.", - ), - element && checkHtmlElement(element, toBeInTheDOM, this), - container && checkHtmlElement(container, toBeInTheDOM, this), - { - pass: container ? container.contains(element) : !!element, - message: () => - [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeInTheDOM", - "element", - "", - ), - "", - "Received:", - ` ${this.utils.printReceived(element && element.cloneNode(!1))}`, - ].join("\n"), - } - ); - } - function toBeInTheDocument(element) { - (null !== element || !this.isNot) && - checkHtmlElement(element, toBeInTheDocument, this); - let pass = - null !== element && - element.ownerDocument === element.getRootNode({ composed: !0 }), - errorFound = () => - `expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`; - return { - pass, - message: () => - [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeInTheDocument", - "element", - "", - ), - "", - this.utils.RECEIVED_COLOR( - this.isNot - ? errorFound() - : "element could not be found in the document", - ), - ].join("\n"), - }; - } - function toBeEmpty(element) { - return ( - deprecate( - "toBeEmpty", - "Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.", - ), - checkHtmlElement(element, toBeEmpty, this), - { - pass: "" === element.innerHTML, - message: () => - [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeEmpty", - "element", - "", - ), - "", - "Received:", - ` ${this.utils.printReceived(element.innerHTML)}`, - ].join("\n"), - } - ); - } - function toBeEmptyDOMElement(element) { - return ( - checkHtmlElement(element, toBeEmptyDOMElement, this), - { - pass: isEmptyElement(element), - message: () => - [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeEmptyDOMElement", - "element", - "", - ), - "", - "Received:", - ` ${this.utils.printReceived(element.innerHTML)}`, - ].join("\n"), - } - ); - } - function isEmptyElement(element) { - return ( - 0 === - [...element.childNodes].filter((node) => 8 !== node.nodeType).length - ); - } - function toContainElement(container, element) { - return ( - checkHtmlElement(container, toContainElement, this), - null !== element && - checkHtmlElement(element, toContainElement, this), - { - pass: container.contains(element), - message: () => - [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toContainElement", - "element", - "element", - ), - "", - this.utils.RECEIVED_COLOR( - `${this.utils.stringify(container.cloneNode(!1))} ${this.isNot ? "contains:" : "does not contain:"} ${this.utils.stringify(element && element.cloneNode(!1))}\n `, - ), - ].join("\n"), - } - ); - } - function getNormalizedHtml(container, htmlText) { - let div = container.ownerDocument.createElement("div"); - return (div.innerHTML = htmlText), div.innerHTML; - } - function toContainHTML(container, htmlText) { - if ( - (checkHtmlElement(container, toContainHTML, this), - "string" != typeof htmlText) - ) - throw new Error( - `.toContainHTML() expects a string value, got ${htmlText}`, - ); - return { - pass: container.outerHTML.includes( - getNormalizedHtml(container, htmlText), - ), - message: () => - [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toContainHTML", - "element", - "", - ), - "Expected:", - ` ${this.utils.EXPECTED_COLOR(htmlText)}`, - "Received:", - ` ${this.utils.printReceived(container.cloneNode(!0))}`, - ].join("\n"), - }; - } - function toHaveTextContent( - node, - checkWith, - options = { normalizeWhitespace: !0 }, - ) { - !(function checkNode(node, ...args) { - if ( - (checkHasWindow(node, NodeTypeError, ...args), - !(node instanceof node.ownerDocument.defaultView.Node)) - ) - throw new NodeTypeError(node, ...args); - })(node, toHaveTextContent, this); - let textContent = options.normalizeWhitespace - ? normalize(node.textContent) - : node.textContent.replace(/\u00a0/g, " "), - checkingWithEmptyString = "" !== textContent && "" === checkWith; - return { - pass: - !checkingWithEmptyString && - ((textToMatch = textContent), - (matcher = checkWith), - matcher instanceof RegExp - ? matcher.test(textToMatch) - : textToMatch.includes(String(matcher))), - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveTextContent", - "element", - "", - ), - checkingWithEmptyString - ? "Checking with empty string will always match, use .toBeEmptyDOMElement() instead" - : `Expected element ${to} have text content`, - checkWith, - "Received", - textContent, - ); - }, - }; - var textToMatch, matcher; - } - function toHaveAccessibleDescription( - htmlElement, - expectedAccessibleDescription, - ) { - checkHtmlElement(htmlElement, toHaveAccessibleDescription, this); - let actualAccessibleDescription = - (function computeAccessibleDescription(root) { - var options = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : {}, - description = queryIdRefs(root, "aria-describedby") - .map(function (element) { - return computeTextAlternative( - element, - _objectSpread( - _objectSpread({}, options), - {}, - { compute: "description" }, - ), - ); - }) - .join(" "); - if ("" === description) { - var ariaDescription = root.getAttribute("aria-description"); - description = null === ariaDescription ? "" : ariaDescription; - } - if ("" === description) { - var title = root.getAttribute("title"); - description = null === title ? "" : title; - } - return description; - })(htmlElement), - pass = !1; - return ( - (pass = - 1 === arguments.length - ? "" !== actualAccessibleDescription - : expectedAccessibleDescription instanceof RegExp - ? expectedAccessibleDescription.test( - actualAccessibleDescription, - ) - : this.equals( - actualAccessibleDescription, - expectedAccessibleDescription, - )), - { - pass, - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - `${this.isNot ? ".not" : ""}.${toHaveAccessibleDescription.name}`, - "element", - "", - ), - `Expected element ${to} have accessible description`, - expectedAccessibleDescription, - "Received", - actualAccessibleDescription, - ); - }, - } - ); - } - var ariaInvalidName = "aria-invalid", - validStates = ["false"]; - function toHaveAccessibleErrorMessage( - htmlElement, - expectedAccessibleErrorMessage, - ) { - checkHtmlElement(htmlElement, toHaveAccessibleErrorMessage, this); - let to = this.isNot ? "not to" : "to", - method = this.isNot - ? ".not.toHaveAccessibleErrorMessage" - : ".toHaveAccessibleErrorMessage", - errormessageId = htmlElement.getAttribute("aria-errormessage"); - if (errormessageId && /\s+/.test(errormessageId)) - return { - pass: !1, - message: () => - getMessage3( - this, - this.utils.matcherHint(method, "element"), - "Expected element's `aria-errormessage` attribute to be empty or a single, valid ID", - "", - "Received", - `aria-errormessage="${errormessageId}"`, - ), - }; - let ariaInvalidVal = htmlElement.getAttribute(ariaInvalidName); - if ( - !htmlElement.hasAttribute(ariaInvalidName) || - validStates.includes(ariaInvalidVal) - ) - return { - pass: !1, - message: () => - getMessage3( - this, - this.utils.matcherHint(method, "element"), - "Expected element to be marked as invalid with attribute", - `${ariaInvalidName}="${String(!0)}"`, - "Received", - htmlElement.hasAttribute("aria-invalid") - ? `${ariaInvalidName}="${htmlElement.getAttribute(ariaInvalidName)}` - : null, - ), - }; - let error = normalize( - htmlElement.ownerDocument.getElementById(errormessageId) - ?.textContent ?? "", - ); - return { - pass: - void 0 === expectedAccessibleErrorMessage - ? !!error - : expectedAccessibleErrorMessage instanceof RegExp - ? expectedAccessibleErrorMessage.test(error) - : this.equals(error, expectedAccessibleErrorMessage), - message: () => - getMessage3( - this, - this.utils.matcherHint(method, "element"), - `Expected element ${to} have accessible error message`, - expectedAccessibleErrorMessage ?? "", - "Received", - error, - ), - }; - } - var elementRoleList = (function buildElementRoleList(elementRolesMap) { - function getSelectorSpecificity({ attributes = [] }) { - return attributes.length; - } - function match(element) { - let { attributes = [] } = element, - typeTextIndex = attributes.findIndex( - (attribute) => - attribute.value && - "type" === attribute.name && - "text" === attribute.value, - ); - typeTextIndex >= 0 && - (attributes = [ - ...attributes.slice(0, typeTextIndex), - ...attributes.slice(typeTextIndex + 1), - ]); - let selector = (function makeElementSelector({ name, attributes }) { - return `${name}${attributes.map(({ name: attributeName, value, constraints = [] }) => (-1 !== constraints.indexOf("undefined") ? `:not([${attributeName}])` : value ? `[${attributeName}="${value}"]` : `[${attributeName}]`)).join("")}`; - })({ ...element, attributes }); - return (node) => - !(typeTextIndex >= 0 && "text" !== node.type) && - node.matches(selector); - } - let result = []; - for (let [element, roles3] of elementRolesMap.entries()) - result = [ - ...result, - { - match: match(element), - roles: Array.from(roles3), - specificity: getSelectorSpecificity(element), - }, - ]; - return result.sort(function bySelectorSpecificity( - { specificity: leftSpecificity }, - { specificity: rightSpecificity }, - ) { - return rightSpecificity - leftSpecificity; - }); - })(import_aria_query.elementRoles); - function toHaveRole(htmlElement, expectedRole) { - checkHtmlElement(htmlElement, toHaveRole, this); - let actualRoles = (function getExplicitOrImplicitRoles(htmlElement) { - return htmlElement.hasAttribute("role") - ? htmlElement.getAttribute("role").split(" ").filter(Boolean) - : (function getImplicitAriaRoles(currentNode) { - for (let { match, roles: roles3 } of elementRoleList) - if (match(currentNode)) return [...roles3]; - return []; - })(htmlElement); - })(htmlElement); - return { - pass: actualRoles.some((el) => el === expectedRole), - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - `${this.isNot ? ".not" : ""}.${toHaveRole.name}`, - "element", - "", - ), - `Expected element ${to} have role`, - expectedRole, - "Received", - actualRoles.join(", "), - ); - }, - }; - } - function toHaveAccessibleName(htmlElement, expectedAccessibleName) { - checkHtmlElement(htmlElement, toHaveAccessibleName, this); - let actualAccessibleName = computeAccessibleName(htmlElement), - pass = !1; - return ( - (pass = - 1 === arguments.length - ? "" !== actualAccessibleName - : expectedAccessibleName instanceof RegExp - ? expectedAccessibleName.test(actualAccessibleName) - : this.equals(actualAccessibleName, expectedAccessibleName)), - { - pass, - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - `${this.isNot ? ".not" : ""}.${toHaveAccessibleName.name}`, - "element", - "", - ), - `Expected element ${to} have accessible name`, - expectedAccessibleName, - "Received", - actualAccessibleName, - ); - }, - } - ); - } - function printAttribute(stringify2, name, value) { - return void 0 === value ? name : `${name}=${stringify2(value)}`; - } - function getAttributeComment(stringify2, name, value) { - return void 0 === value - ? `element.hasAttribute(${stringify2(name)})` - : `element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`; - } - function toHaveAttribute(htmlElement, name, expectedValue) { - checkHtmlElement(htmlElement, toHaveAttribute, this); - let isExpectedValuePresent = void 0 !== expectedValue, - hasAttribute = htmlElement.hasAttribute(name), - receivedValue = htmlElement.getAttribute(name); - return { - pass: isExpectedValuePresent - ? hasAttribute && this.equals(receivedValue, expectedValue) - : hasAttribute, - message: () => { - let to = this.isNot ? "not to" : "to", - receivedAttribute = hasAttribute - ? printAttribute(this.utils.stringify, name, receivedValue) - : null; - return getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveAttribute", - "element", - this.utils.printExpected(name), - { - secondArgument: isExpectedValuePresent - ? this.utils.printExpected(expectedValue) - : void 0, - comment: getAttributeComment( - this.utils.stringify, - name, - expectedValue, - ), - }, - ), - `Expected the element ${to} have attribute`, - printAttribute(this.utils.stringify, name, expectedValue), - "Received", - receivedAttribute, - ); - }, - }; - } - function splitClassNames(str) { - return str ? str.split(/\s+/).filter((s) => s.length > 0) : []; - } - function isSubset$1(subset, superset) { - return subset.every((strOrRegexp) => - "string" == typeof strOrRegexp - ? superset.includes(strOrRegexp) - : superset.some((className) => strOrRegexp.test(className)), - ); - } - function toHaveClass(htmlElement, ...params) { - checkHtmlElement(htmlElement, toHaveClass, this); - let { expectedClassNames, options } = - (function getExpectedClassNamesAndOptions(params) { - let expectedClassNames, - options, - lastParam = params.pop(); - return ( - "object" != typeof lastParam || lastParam instanceof RegExp - ? ((expectedClassNames = params.concat(lastParam)), - (options = { exact: !1 })) - : ((expectedClassNames = params), (options = lastParam)), - { expectedClassNames, options } - ); - })(params), - received = splitClassNames(htmlElement.getAttribute("class")), - expected = expectedClassNames.reduce( - (acc, className) => - acc.concat( - "string" != typeof className && className - ? className - : splitClassNames(className), - ), - [], - ), - hasRegExp = expected.some( - (className) => className instanceof RegExp, - ); - if (options.exact && hasRegExp) - throw new Error( - "Exact option does not support RegExp expected class names", - ); - return options.exact - ? { - pass: - isSubset$1(expected, received) && - expected.length === received.length, - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveClass", - "element", - this.utils.printExpected(expected.join(" ")), - ), - `Expected the element ${to} have EXACTLY defined classes`, - expected.join(" "), - "Received", - received.join(" "), - ); - }, - } - : expected.length > 0 - ? { - pass: isSubset$1(expected, received), - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveClass", - "element", - this.utils.printExpected(expected.join(" ")), - ), - `Expected the element ${to} have class`, - expected.join(" "), - "Received", - received.join(" "), - ); - }, - } - : { - pass: !!this.isNot && received.length > 0, - message: () => - this.isNot - ? getMessage3( - this, - this.utils.matcherHint( - ".not.toHaveClass", - "element", - "", - ), - "Expected the element to have classes", - "(none)", - "Received", - received.join(" "), - ) - : [ - this.utils.matcherHint(".toHaveClass", "element"), - "At least one expected class must be provided.", - ].join("\n"), - }; - } - function printoutStyles(styles3) { - return Object.keys(styles3) - .sort() - .map((prop) => `${prop}: ${styles3[prop]};`) - .join("\n"); - } - function expectedDiff(diffFn, expected, computedStyles) { - let received = Array.from(computedStyles) - .filter((prop) => void 0 !== expected[prop]) - .reduce( - (obj, prop) => - Object.assign(obj, { - [prop]: computedStyles.getPropertyValue(prop), - }), - {}, - ); - return diffFn( - printoutStyles(expected), - printoutStyles(received), - ).replace(`${import_chalk.default.red("+ Received")}\n`, ""); - } - function toHaveStyle(htmlElement, css) { - checkHtmlElement(htmlElement, toHaveStyle, this); - let parsedCSS = - "object" == typeof css - ? css - : (function parseCSS(css, ...args) { - let ast = $149c1bd638913645$export$98e6a39c04603d36( - `selector { ${css} }`, - { silent: !0 }, - ).stylesheet; - if (ast.parsingErrors && ast.parsingErrors.length > 0) { - let { reason, line } = ast.parsingErrors[0]; - throw new InvalidCSSError( - { - css, - message: `Syntax error parsing expected css: ${reason} on line: ${line}`, - }, - ...args, - ); - } - return ast.rules[0].declarations - .filter((d2) => "declaration" === d2.type) - .reduce( - (obj, { property, value }) => - Object.assign(obj, { [property]: value }), - {}, - ); - })(css, toHaveStyle, this), - { getComputedStyle } = htmlElement.ownerDocument.defaultView, - expected = (function getStyleDeclaration(document2, css) { - let styles3 = {}, - copy3 = document2.createElement("div"); - return ( - Object.keys(css).forEach((property) => { - (copy3.style[property] = css[property]), - (styles3[property] = copy3.style[property]); - }), - styles3 - ); - })(htmlElement.ownerDocument, parsedCSS), - received = getComputedStyle(htmlElement); - return { - pass: - ((styles3 = expected), - (computedStyle = received), - !!Object.keys(styles3).length && - Object.entries(styles3).every(([prop, value]) => { - let isCustomProperty = prop.startsWith("--"), - spellingVariants = [prop]; - return ( - isCustomProperty || - spellingVariants.push(prop.toLowerCase()), - spellingVariants.some( - (name) => - computedStyle[name] === value || - computedStyle.getPropertyValue(name) === value, - ) - ); - })), - message: () => { - let matcher = (this.isNot ? ".not" : "") + ".toHaveStyle"; - return [ - this.utils.matcherHint(matcher, "element", ""), - expectedDiff(this.utils.diff, expected, received), - ].join("\n\n"); - }, - }; - var styles3, computedStyle; - } - function toHaveFocus(element) { - return ( - checkHtmlElement(element, toHaveFocus, this), - { - pass: element.ownerDocument.activeElement === element, - message: () => - [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveFocus", - "element", - "", - ), - "", - ...(this.isNot - ? [ - "Received element is focused:", - ` ${this.utils.printReceived(element)}`, - ] - : [ - "Expected element with focus:", - ` ${this.utils.printExpected(element)}`, - "Received element with focus:", - ` ${this.utils.printReceived(element.ownerDocument.activeElement)}`, - ]), - ].join("\n"), - } - ); - } - function getFormValue(container, name) { - let elements = [ - ...container.querySelectorAll( - `[name="${(0, import_css.default)(name)}"]`, - ), - ]; - if (0 !== elements.length) { - if (1 === elements.length) - return getSingleElementValue(elements[0]); - return (function getMultiElementValue(elements) { - let types = [...new Set(elements.map((element) => element.type))]; - if (1 !== types.length) - throw new Error( - "Multiple form elements with the same name must be of the same type", - ); - switch (types[0]) { - case "radio": { - let theChosenOne = elements.find((radio) => radio.checked); - return theChosenOne ? theChosenOne.value : void 0; - } - case "checkbox": - return elements - .filter((checkbox) => checkbox.checked) - .map((checkbox) => checkbox.value); - default: - return elements.map((element) => element.value); - } - })(elements); - } - } - function getPureName(name) { - return /\[\]$/.test(name) ? name.slice(0, -2) : name; - } - function toHaveFormValues(formElement, expectedValues) { - if ( - (checkHtmlElement(formElement, toHaveFormValues, this), - !formElement.elements) - ) - throw new Error( - "toHaveFormValues must be called on a form or a fieldset", - ); - let formValues = (function getAllFormValues(container) { - return Array.from(container.elements) - .map((element) => element.name) - .reduce( - (obj, name) => ({ - ...obj, - [getPureName(name)]: getFormValue(container, name), - }), - {}, - ); - })(formElement); - return { - pass: Object.entries(expectedValues).every( - ([name, expectedValue]) => - (0, import_isEqualWith.default)( - formValues[name], - expectedValue, - compareArraysAsSet, - ), - ), - message: () => { - let to = this.isNot ? "not to" : "to", - matcher = (this.isNot ? ".not" : "") + ".toHaveFormValues", - commonKeyValues = Object.keys(formValues) - .filter((key) => expectedValues.hasOwnProperty(key)) - .reduce( - (obj, key) => ({ ...obj, [key]: formValues[key] }), - {}, - ); - return [ - this.utils.matcherHint(matcher, "element", ""), - `Expected the element ${to} have form values`, - this.utils.diff(expectedValues, commonKeyValues), - ].join("\n\n"); - }, - }; - } - function isElementVisible(element, previousElement) { - return ( - (function isStyleVisible(element) { - let { getComputedStyle } = element.ownerDocument.defaultView, - { - display: display2, - visibility, - opacity, - } = getComputedStyle(element); - return ( - "none" !== display2 && - "hidden" !== visibility && - "collapse" !== visibility && - "0" !== opacity && - 0 !== opacity - ); - })(element) && - (function isAttributeVisible(element, previousElement) { - let detailsVisibility; - return ( - (detailsVisibility = previousElement - ? "DETAILS" !== element.nodeName || - "SUMMARY" === previousElement.nodeName || - element.hasAttribute("open") - : "DETAILS" !== element.nodeName || - element.hasAttribute("open")), - !element.hasAttribute("hidden") && detailsVisibility - ); - })(element, previousElement) && - (!element.parentElement || - isElementVisible(element.parentElement, element)) - ); - } - function toBeVisible(element) { - checkHtmlElement(element, toBeVisible, this); - let isInDocument = - element.ownerDocument === element.getRootNode({ composed: !0 }), - isVisible2 = isInDocument && isElementVisible(element); - return { - pass: isVisible2, - message: () => { - let is = isVisible2 ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeVisible", - "element", - "", - ), - "", - `Received element ${is} visible${isInDocument ? "" : " (element is not in the document)"}:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - var FORM_TAGS$2 = [ - "fieldset", - "input", - "select", - "optgroup", - "option", - "button", - "textarea", - ]; - function isElementDisabledByParent(element, parent) { - return ( - isElementDisabled(parent) && - !(function isFirstLegendChildOfFieldset(element, parent) { - return ( - "legend" === getTag(element) && - "fieldset" === getTag(parent) && - element.isSameNode( - Array.from(parent.children).find( - (child) => "legend" === getTag(child), - ), - ) - ); - })(element, parent) - ); - } - function canElementBeDisabled(element) { - let tag = getTag(element); - return ( - FORM_TAGS$2.includes(tag) || - (function isCustomElement(tag) { - return tag.includes("-"); - })(tag) - ); - } - function isElementDisabled(element) { - return ( - canElementBeDisabled(element) && element.hasAttribute("disabled") - ); - } - function isAncestorDisabled(element) { - let parent = element.parentElement; - return ( - !!parent && - (isElementDisabledByParent(element, parent) || - isAncestorDisabled(parent)) - ); - } - function isElementOrAncestorDisabled(element) { - return ( - canElementBeDisabled(element) && - (isElementDisabled(element) || isAncestorDisabled(element)) - ); - } - function toBeDisabled(element) { - checkHtmlElement(element, toBeDisabled, this); - let isDisabled3 = isElementOrAncestorDisabled(element); - return { - pass: isDisabled3, - message: () => { - let is = isDisabled3 ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeDisabled", - "element", - "", - ), - "", - `Received element ${is} disabled:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - function toBeEnabled(element) { - checkHtmlElement(element, toBeEnabled, this); - let isEnabled = !isElementOrAncestorDisabled(element); - return { - pass: isEnabled, - message: () => { - let is = isEnabled ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeEnabled", - "element", - "", - ), - "", - `Received element ${is} enabled:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - var FORM_TAGS$1 = ["select", "textarea"], - ARIA_FORM_TAGS = ["input", "select", "textarea"], - UNSUPPORTED_INPUT_TYPES = [ - "color", - "hidden", - "range", - "submit", - "image", - "reset", - ], - SUPPORTED_ARIA_ROLES = [ - "checkbox", - "combobox", - "gridcell", - "listbox", - "radiogroup", - "spinbutton", - "textbox", - "tree", - ]; - function toBeRequired(element) { - checkHtmlElement(element, toBeRequired, this); - let isRequired = - (function isRequiredOnFormTagsExceptInput(element) { - return ( - FORM_TAGS$1.includes(getTag(element)) && - element.hasAttribute("required") - ); - })(element) || - (function isRequiredOnSupportedInput(element) { - return ( - "input" === getTag(element) && - element.hasAttribute("required") && - ((element.hasAttribute("type") && - !UNSUPPORTED_INPUT_TYPES.includes( - element.getAttribute("type"), - )) || - !element.hasAttribute("type")) - ); - })(element) || - (function isElementRequiredByARIA(element) { - return ( - element.hasAttribute("aria-required") && - "true" === element.getAttribute("aria-required") && - (ARIA_FORM_TAGS.includes(getTag(element)) || - (element.hasAttribute("role") && - SUPPORTED_ARIA_ROLES.includes( - element.getAttribute("role"), - ))) - ); - })(element); - return { - pass: isRequired, - message: () => { - let is = isRequired ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeRequired", - "element", - "", - ), - "", - `Received element ${is} required:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - var FORM_TAGS = ["form", "input", "select", "textarea"]; - function isElementInvalid(element) { - let isHaveAriaInvalid = (function isElementHavingAriaInvalid( - element, - ) { - return ( - element.hasAttribute("aria-invalid") && - "false" !== element.getAttribute("aria-invalid") - ); - })(element); - return (function isSupportsValidityMethod(element) { - return FORM_TAGS.includes(getTag(element)); - })(element) - ? isHaveAriaInvalid || !element.checkValidity() - : isHaveAriaInvalid; - } - function toBeInvalid(element) { - checkHtmlElement(element, toBeInvalid, this); - let isInvalid = isElementInvalid(element); - return { - pass: isInvalid, - message: () => { - let is = isInvalid ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeInvalid", - "element", - "", - ), - "", - `Received element ${is} currently invalid:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - function toBeValid(element) { - checkHtmlElement(element, toBeValid, this); - let isValid = !isElementInvalid(element); - return { - pass: isValid, - message: () => { - let is = isValid ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeValid", - "element", - "", - ), - "", - `Received element ${is} currently valid:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - function toHaveValue(htmlElement, expectedValue) { - if ( - (checkHtmlElement(htmlElement, toHaveValue, this), - "input" === htmlElement.tagName.toLowerCase() && - ["checkbox", "radio"].includes(htmlElement.type)) - ) - throw new Error( - "input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead", - ); - let receivedValue = getSingleElementValue(htmlElement), - expectsValue = void 0 !== expectedValue, - expectedTypedValue = expectedValue, - receivedTypedValue = receivedValue; - return ( - expectedValue == receivedValue && - expectedValue !== receivedValue && - ((expectedTypedValue = `${expectedValue} (${typeof expectedValue})`), - (receivedTypedValue = `${receivedValue} (${typeof receivedValue})`)), - { - pass: expectsValue - ? (0, import_isEqualWith.default)( - receivedValue, - expectedValue, - compareArraysAsSet, - ) - : !!receivedValue, - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveValue", - "element", - expectedValue, - ), - `Expected the element ${to} have value`, - expectsValue ? expectedTypedValue : "(any)", - "Received", - receivedTypedValue, - ); - }, - } - ); - } - function toHaveDisplayValue(htmlElement, expectedValue) { - checkHtmlElement(htmlElement, toHaveDisplayValue, this); - let tagName = htmlElement.tagName.toLowerCase(); - if (!["select", "input", "textarea"].includes(tagName)) - throw new Error( - ".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.", - ); - if ( - "input" === tagName && - ["radio", "checkbox"].includes(htmlElement.type) - ) - throw new Error( - `.toHaveDisplayValue() currently does not support input[type="${htmlElement.type}"], try with another matcher instead.`, - ); - let values = (function getValues(tagName, htmlElement) { - return "select" === tagName - ? Array.from(htmlElement) - .filter((option) => option.selected) - .map((option) => option.textContent) - : [htmlElement.value]; - })(tagName, htmlElement), - expectedValues = (function getExpectedValues(expectedValue) { - return expectedValue instanceof Array - ? expectedValue - : [expectedValue]; - })(expectedValue), - numberOfMatchesWithValues = expectedValues.filter((expected) => - values.some((value) => - expected instanceof RegExp - ? expected.test(value) - : this.equals(value, String(expected)), - ), - ).length, - matchedWithAllValues = numberOfMatchesWithValues === values.length, - matchedWithAllExpectedValues = - numberOfMatchesWithValues === expectedValues.length; - return { - pass: matchedWithAllValues && matchedWithAllExpectedValues, - message: () => - getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveDisplayValue", - "element", - "", - ), - `Expected element ${this.isNot ? "not " : ""}to have display value`, - expectedValue, - "Received", - values, - ), - }; - } - function toBeChecked(element) { - checkHtmlElement(element, toBeChecked, this); - let isValidInput = () => - "input" === element.tagName.toLowerCase() && - ["checkbox", "radio"].includes(element.type); - if ( - !( - isValidInput() || - (roleSupportsChecked(element.getAttribute("role")) && - ["true", "false"].includes( - element.getAttribute("aria-checked"), - )) - ) - ) - return { - pass: !1, - message: () => - `only inputs with type="checkbox" or type="radio" or elements with ${(function supportedRolesSentence() { - return (function toSentence( - array, - { wordConnector = ", ", lastWordConnector = " and " } = {}, - ) { - return [ - array.slice(0, -1).join(wordConnector), - array[array.length - 1], - ].join(array.length > 1 ? lastWordConnector : ""); - })( - (function supportedRoles() { - return import_aria_query.roles - .keys() - .filter(roleSupportsChecked); - })().map((role) => `role="${role}"`), - { lastWordConnector: " or " }, - ); - })()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`, - }; - let isChecked = () => - isValidInput() - ? element.checked - : "true" === element.getAttribute("aria-checked"); - return { - pass: isChecked(), - message: () => { - let is = isChecked() ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBeChecked", - "element", - "", - ), - "", - `Received element ${is} checked:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - function roleSupportsChecked(role) { - return ( - void 0 !== import_aria_query.roles.get(role)?.props["aria-checked"] - ); - } - function toBePartiallyChecked(element) { - checkHtmlElement(element, toBePartiallyChecked, this); - let isValidInput = () => - "input" === element.tagName.toLowerCase() && - "checkbox" === element.type; - if (!isValidInput() && "checkbox" !== element.getAttribute("role")) - return { - pass: !1, - message: () => - 'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead', - }; - let isPartiallyChecked = () => { - let isAriaMixed = "mixed" === element.getAttribute("aria-checked"); - return (isValidInput() && element.indeterminate) || isAriaMixed; - }; - return { - pass: isPartiallyChecked(), - message: () => { - let is = isPartiallyChecked() ? "is" : "is not"; - return [ - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toBePartiallyChecked", - "element", - "", - ), - "", - `Received element ${is} partially checked:`, - ` ${this.utils.printReceived(element.cloneNode(!1))}`, - ].join("\n"); - }, - }; - } - function toHaveDescription(htmlElement, checkWith) { - deprecate( - "toHaveDescription", - "Please use toHaveAccessibleDescription.", - ), - checkHtmlElement(htmlElement, toHaveDescription, this); - let expectsDescription = void 0 !== checkWith, - descriptionIDs = ( - htmlElement.getAttribute("aria-describedby") || "" - ) - .split(/\s+/) - .filter(Boolean), - description = ""; - if (descriptionIDs.length > 0) { - let document2 = htmlElement.ownerDocument, - descriptionEls = descriptionIDs - .map((descriptionID) => document2.getElementById(descriptionID)) - .filter(Boolean); - description = normalize( - descriptionEls.map((el) => el.textContent).join(" "), - ); - } - return { - pass: expectsDescription - ? checkWith instanceof RegExp - ? checkWith.test(description) - : this.equals(description, checkWith) - : !!description, - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveDescription", - "element", - "", - ), - `Expected the element ${to} have description`, - this.utils.printExpected(checkWith), - "Received", - this.utils.printReceived(description), - ); - }, - }; - } - function toHaveErrorMessage(htmlElement, checkWith) { - if ( - (deprecate( - "toHaveErrorMessage", - "Please use toHaveAccessibleErrorMessage.", - ), - checkHtmlElement(htmlElement, toHaveErrorMessage, this), - !htmlElement.hasAttribute("aria-invalid") || - "false" === htmlElement.getAttribute("aria-invalid")) - ) { - let not = this.isNot ? ".not" : ""; - return { - pass: !1, - message: () => - getMessage3( - this, - this.utils.matcherHint( - `${not}.toHaveErrorMessage`, - "element", - "", - ), - "Expected the element to have invalid state indicated by", - 'aria-invalid="true"', - "Received", - htmlElement.hasAttribute("aria-invalid") - ? `aria-invalid="${htmlElement.getAttribute("aria-invalid")}"` - : this.utils.printReceived(""), - ), - }; - } - let expectsErrorMessage = void 0 !== checkWith, - errormessageIDs = ( - htmlElement.getAttribute("aria-errormessage") || "" - ) - .split(/\s+/) - .filter(Boolean), - errormessage = ""; - if (errormessageIDs.length > 0) { - let document2 = htmlElement.ownerDocument, - errormessageEls = errormessageIDs - .map((errormessageID) => - document2.getElementById(errormessageID), - ) - .filter(Boolean); - errormessage = normalize( - errormessageEls.map((el) => el.textContent).join(" "), - ); - } - return { - pass: expectsErrorMessage - ? checkWith instanceof RegExp - ? checkWith.test(errormessage) - : this.equals(errormessage, checkWith) - : !!errormessage, - message: () => { - let to = this.isNot ? "not to" : "to"; - return getMessage3( - this, - this.utils.matcherHint( - (this.isNot ? ".not" : "") + ".toHaveErrorMessage", - "element", - "", - ), - `Expected the element ${to} have error message`, - this.utils.printExpected(checkWith), - "Received", - this.utils.printReceived(errormessage), - ); - }, - }; - } - function assertTypes(value, name, types) { - let receivedType = typeof value; - if (!types.includes(receivedType)) - throw new TypeError( - `${name} value must be ${types.join(" or ")}, received "${receivedType}"`, - ); - } - function isObject(item) { - return ( - null != item && "object" == typeof item && !Array.isArray(item) - ); - } - function getType(value) { - return Object.prototype.toString.apply(value).slice(8, -1); - } - function getOwnProperties(obj) { - let ownProps = new Set(); - return (function isFinalObj(obj) { - return ( - obj === Object.prototype || - obj === Function.prototype || - obj === RegExp.prototype - ); - })(obj) - ? [] - : ((function collectOwnProperties(obj, collector) { - let collect = - "function" == typeof collector - ? collector - : (key) => collector.add(key); - Object.getOwnPropertyNames(obj).forEach(collect), - Object.getOwnPropertySymbols(obj).forEach(collect); - })(obj, ownProps), - Array.from(ownProps)); - } - __toESM(require_redent(), 1), - __toESM(require_lib(), 1), - __toESM(require_source(), 1), - __toESM(require_isEqualWith(), 1), - __toESM(require_css_escape(), 1); - var defaultCloneOptions = { forceWritable: !1 }; - function deepClone(val, options = defaultCloneOptions) { - return clone(val, new WeakMap(), options); - } - function clone(val, seen, options = defaultCloneOptions) { - let k2, out; - if (seen.has(val)) return seen.get(val); - if (Array.isArray(val)) { - for (out = Array((k2 = val.length)), seen.set(val, out); k2--; ) - out[k2] = clone(val[k2], seen, options); - return out; - } - if ("[object Object]" === Object.prototype.toString.call(val)) { - (out = Object.create(Object.getPrototypeOf(val))), - seen.set(val, out); - let props = getOwnProperties(val); - for (let k22 of props) { - let descriptor = Object.getOwnPropertyDescriptor(val, k22); - if (!descriptor) continue; - let cloned = clone(val[k22], seen, options); - options.forceWritable - ? Object.defineProperty(out, k22, { - enumerable: descriptor.enumerable, - configurable: !0, - writable: !0, - value: cloned, - }) - : "get" in descriptor - ? Object.defineProperty(out, k22, { - ...descriptor, - get: () => cloned, - }) - : Object.defineProperty(out, k22, { - ...descriptor, - value: cloned, - }); - } - return out; - } - return val; - } - var ansiColors2 = { - bold: ["1", "22"], - dim: ["2", "22"], - italic: ["3", "23"], - underline: ["4", "24"], - inverse: ["7", "27"], - hidden: ["8", "28"], - strike: ["9", "29"], - black: ["30", "39"], - red: ["31", "39"], - green: ["32", "39"], - yellow: ["33", "39"], - blue: ["34", "39"], - magenta: ["35", "39"], - cyan: ["36", "39"], - white: ["37", "39"], - brightblack: ["30;1", "39"], - brightred: ["31;1", "39"], - brightgreen: ["32;1", "39"], - brightyellow: ["33;1", "39"], - brightblue: ["34;1", "39"], - brightmagenta: ["35;1", "39"], - brightcyan: ["36;1", "39"], - brightwhite: ["37;1", "39"], - grey: ["90", "39"], - }, - styles2 = { - special: "cyan", - number: "yellow", - bigint: "yellow", - boolean: "yellow", - undefined: "grey", - null: "bold", - string: "green", - symbol: "green", - date: "magenta", - regexp: "red", - }; - function colorise2(value, styleType) { - let color = - ansiColors2[styles2[styleType]] || ansiColors2[styleType] || ""; - return color - ? `[${color[0]}m${String(value)}[${color[1]}m` - : String(value); - } - function truncate2(string, length, tail = "…") { - string = String(string); - let tailLength = tail.length, - stringLength = string.length; - if (tailLength > length && stringLength > tailLength) return tail; - if (stringLength > length && stringLength > tailLength) { - let end = length - tailLength; - return ( - end > 0 && - (function isHighSurrogate(char) { - return char >= "\ud800" && char <= "\udbff"; - })(string[end - 1]) && - (end -= 1), - `${string.slice(0, end)}${tail}` - ); - } - return string; - } - function inspectList2(list, options, inspectItem, separator = ", ") { - inspectItem = inspectItem || options.inspect; - let size = list.length; - if (0 === size) return ""; - let originalLength = options.truncate, - output = "", - peek = "", - truncated = ""; - for (let i = 0; i < size; i += 1) { - let last = i + 1 === list.length, - secondToLast = i + 2 === list.length; - truncated = `…(${list.length - i})`; - let value = list[i]; - options.truncate = - originalLength - output.length - (last ? 0 : separator.length); - let string = - peek || inspectItem(value, options) + (last ? "" : separator), - nextLength = output.length + string.length, - truncatedLength = nextLength + truncated.length; - if ( - (last && - nextLength > originalLength && - output.length + truncated.length <= originalLength) || - (!last && !secondToLast && truncatedLength > originalLength) || - ((peek = last - ? "" - : inspectItem(list[i + 1], options) + - (secondToLast ? "" : separator)), - !last && - secondToLast && - truncatedLength > originalLength && - nextLength + peek.length > originalLength) - ) - break; - if ( - ((output += string), - !last && - !secondToLast && - nextLength + peek.length >= originalLength) - ) { - truncated = `…(${list.length - i - 1})`; - break; - } - truncated = ""; - } - return `${output}${truncated}`; - } - function inspectProperty2([key, value], options) { - return ( - (options.truncate -= 2), - "string" == typeof key - ? (key = (function quoteComplexKey2(key) { - return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) - ? key - : JSON.stringify(key) - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - })(key)) - : "number" != typeof key && - (key = `[${options.inspect(key, options)}]`), - (options.truncate -= key.length), - `${key}: ${(value = options.inspect(value, options))}` - ); - } - function inspectTypedArray2(array, options) { - let name = ((array) => - "function" == typeof Buffer && array instanceof Buffer - ? "Buffer" - : array[Symbol.toStringTag] - ? array[Symbol.toStringTag] - : array.constructor.name)(array); - options.truncate -= name.length + 4; - let nonIndexProperties = Object.keys(array).slice(array.length); - if (!array.length && !nonIndexProperties.length) return `${name}[]`; - let output = ""; - for (let i = 0; i < array.length; i++) { - let string = `${options.stylize(truncate2(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`; - if ( - ((options.truncate -= string.length), - array[i] !== array.length && options.truncate <= 3) - ) { - output += `…(${array.length - array[i] + 1})`; - break; - } - output += string; - } - let propertyContents = ""; - return ( - nonIndexProperties.length && - (propertyContents = inspectList2( - nonIndexProperties.map((key) => [key, array[key]]), - options, - inspectProperty2, - )), - `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]` - ); - } - function inspectFunction2(func, options) { - let functionType = func[Symbol.toStringTag] || "Function", - name = func.name; - return name - ? options.stylize( - `[${functionType} ${truncate2(name, options.truncate - 11)}]`, - "special", - ) - : options.stylize(`[${functionType}]`, "special"); - } - function inspectMapEntry2([key, value], options) { - return ( - (options.truncate -= 4), - (key = options.inspect(key, options)), - (options.truncate -= key.length), - `${key} => ${(value = options.inspect(value, options))}` - ); - } - var isNaN3 = Number.isNaN || ((i) => i != i); - function inspectNumber2(number, options) { - return isNaN3(number) - ? options.stylize("NaN", "number") - : number === 1 / 0 - ? options.stylize("Infinity", "number") - : number === -1 / 0 - ? options.stylize("-Infinity", "number") - : 0 === number - ? options.stylize(1 / number == 1 / 0 ? "+0" : "-0", "number") - : options.stylize( - truncate2(String(number), options.truncate), - "number", - ); - } - function inspectBigInt2(number, options) { - let nums = truncate2(number.toString(), options.truncate - 1); - return "…" !== nums && (nums += "n"), options.stylize(nums, "bigint"); - } - var stringEscapeChars2 = new RegExp( - "['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", - "g", - ), - escapeCharacters2 = { - "\b": "\\b", - "\t": "\\t", - "\n": "\\n", - "\f": "\\f", - "\r": "\\r", - "'": "\\'", - "\\": "\\\\", - }; - function escape3(char) { - return ( - escapeCharacters2[char] || - `\\u${`0000${char.charCodeAt(0).toString(16)}`.slice(-4)}` - ); - } - function inspectString2(string, options) { - return ( - stringEscapeChars2.test(string) && - (string = string.replace(stringEscapeChars2, escape3)), - options.stylize( - `'${truncate2(string, options.truncate - 2)}'`, - "string", - ) - ); - } - function inspectSymbol2(value) { - return "description" in Symbol.prototype - ? value.description - ? `Symbol(${value.description})` - : "Symbol()" - : value.toString(); - } - var getPromiseValue2 = () => "Promise{…}"; - try { - let { getPromiseDetails, kPending, kRejected } = - process.binding("util"); - Array.isArray(getPromiseDetails(Promise.resolve())) && - (getPromiseValue2 = (value, options) => { - let [state, innerValue] = getPromiseDetails(value); - return state === kPending - ? "Promise{}" - : `Promise${state === kRejected ? "!" : ""}{${options.inspect(innerValue, options)}}`; - }); - } catch {} - var promise_default2 = getPromiseValue2; - function inspectObject3(object, options) { - let properties = Object.getOwnPropertyNames(object), - symbols = Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(object) - : []; - if (0 === properties.length && 0 === symbols.length) return "{}"; - if ( - ((options.truncate -= 4), - (options.seen = options.seen || []), - options.seen.indexOf(object) >= 0) - ) - return "[Circular]"; - options.seen.push(object); - let propertyContents = inspectList2( - properties.map((key) => [key, object[key]]), - options, - inspectProperty2, - ), - symbolContents = inspectList2( - symbols.map((key) => [key, object[key]]), - options, - inspectProperty2, - ); - options.seen.pop(); - let sep = ""; - return ( - propertyContents && symbolContents && (sep = ", "), - `{ ${propertyContents}${sep}${symbolContents} }` - ); - } - var toStringTag2 = - !!(typeof Symbol < "u" && Symbol.toStringTag) && Symbol.toStringTag; - var errorKeys2 = [ - "stack", - "line", - "column", - "name", - "message", - "fileName", - "lineNumber", - "columnNumber", - "number", - "description", - ]; - function inspectAttribute2([key, value], options) { - return ( - (options.truncate -= 3), - value - ? `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}` - : `${options.stylize(String(key), "yellow")}` - ); - } - function inspectHTMLCollection2(collection, options) { - return inspectList2(collection, options, inspectHTML2, "\n"); - } - function inspectHTML2(element, options) { - let properties = element.getAttributeNames(), - name = element.tagName.toLowerCase(), - head = options.stylize(`<${name}`, "special"), - headClose = options.stylize(">", "special"), - tail = options.stylize(``, "special"); - options.truncate -= 2 * name.length + 5; - let propertyContents = ""; - properties.length > 0 && - ((propertyContents += " "), - (propertyContents += inspectList2( - properties.map((key) => [key, element.getAttribute(key)]), - options, - inspectAttribute2, - " ", - ))), - (options.truncate -= propertyContents.length); - let truncate3 = options.truncate, - children = inspectHTMLCollection2(element.children, options); - return ( - children && - children.length > truncate3 && - (children = `…(${element.children.length})`), - `${head}${propertyContents}${headClose}${children}${tail}` - ); - } - var chaiInspect2 = - "function" == typeof Symbol && "function" == typeof Symbol.for - ? Symbol.for("chai/inspect") - : "@@chai/inspect", - nodeInspect2 = !1; - try { - let nodeUtil = __require("util"); - nodeInspect2 = !!nodeUtil.inspect && nodeUtil.inspect.custom; - } catch { - nodeInspect2 = !1; - } - var constructorMap2 = new WeakMap(), - stringTagMap2 = {}, - baseTypesMap2 = { - undefined: (value, options) => - options.stylize("undefined", "undefined"), - null: (value, options) => options.stylize("null", "null"), - boolean: (value, options) => - options.stylize(String(value), "boolean"), - Boolean: (value, options) => - options.stylize(String(value), "boolean"), - number: inspectNumber2, - Number: inspectNumber2, - bigint: inspectBigInt2, - BigInt: inspectBigInt2, - string: inspectString2, - String: inspectString2, - function: inspectFunction2, - Function: inspectFunction2, - symbol: inspectSymbol2, - Symbol: inspectSymbol2, - Array: function inspectArray2(array, options) { - let nonIndexProperties = Object.keys(array).slice(array.length); - if (!array.length && !nonIndexProperties.length) return "[]"; - options.truncate -= 4; - let listContents = inspectList2(array, options); - options.truncate -= listContents.length; - let propertyContents = ""; - return ( - nonIndexProperties.length && - (propertyContents = inspectList2( - nonIndexProperties.map((key) => [key, array[key]]), - options, - inspectProperty2, - )), - `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]` - ); - }, - Date: function inspectDate2(dateObject, options) { - let stringRepresentation = dateObject.toJSON(); - if (null === stringRepresentation) return "Invalid Date"; - let split = stringRepresentation.split("T"), - date = split[0]; - return options.stylize( - `${date}T${truncate2(split[1], options.truncate - date.length - 1)}`, - "date", - ); - }, - Map: function inspectMap2(map, options) { - return map.size - 1 <= 0 - ? "Map{}" - : ((options.truncate -= 7), - `Map{ ${inspectList2( - (function mapToEntries2(map) { - let entries = []; - return ( - map.forEach((value, key) => { - entries.push([key, value]); - }), - entries - ); - })(map), - options, - inspectMapEntry2, - )} }`); - }, - Set: function inspectSet2(set2, options) { - return 0 === set2.size - ? "Set{}" - : ((options.truncate -= 7), - `Set{ ${inspectList2( - (function arrayFromSet2(set2) { - let values = []; - return ( - set2.forEach((value) => { - values.push(value); - }), - values - ); - })(set2), - options, - )} }`); - }, - RegExp: function inspectRegExp2(value, options) { - let flags = value.toString().split("/")[2], - sourceLength = options.truncate - (2 + flags.length), - source = value.source; - return options.stylize( - `/${truncate2(source, sourceLength)}/${flags}`, - "regexp", - ); - }, - Promise: promise_default2, - WeakSet: (value, options) => - options.stylize("WeakSet{…}", "special"), - WeakMap: (value, options) => - options.stylize("WeakMap{…}", "special"), - Arguments: function inspectArguments2(args, options) { - return 0 === args.length - ? "Arguments[]" - : ((options.truncate -= 13), - `Arguments[ ${inspectList2(args, options)} ]`); - }, - Int8Array: inspectTypedArray2, - Uint8Array: inspectTypedArray2, - Uint8ClampedArray: inspectTypedArray2, - Int16Array: inspectTypedArray2, - Uint16Array: inspectTypedArray2, - Int32Array: inspectTypedArray2, - Uint32Array: inspectTypedArray2, - Float32Array: inspectTypedArray2, - Float64Array: inspectTypedArray2, - Generator: () => "", - DataView: () => "", - ArrayBuffer: () => "", - Error: function inspectObject4(error, options) { - let properties = Object.getOwnPropertyNames(error).filter( - (key) => -1 === errorKeys2.indexOf(key), - ), - name = error.name; - options.truncate -= name.length; - let message = ""; - "string" == typeof error.message - ? (message = truncate2(error.message, options.truncate)) - : properties.unshift("message"), - (message = message ? `: ${message}` : ""), - (options.truncate -= message.length + 5); - let propertyContents = inspectList2( - properties.map((key) => [key, error[key]]), - options, - inspectProperty2, - ); - return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`; - }, - HTMLCollection: inspectHTMLCollection2, - NodeList: inspectHTMLCollection2, - }, - toString2 = Object.prototype.toString; - function inspect3(value, opts = {}) { - let options = (function normaliseOptions2( - { - showHidden = !1, - depth = 2, - colors = !1, - customInspect = !0, - showProxy = !1, - maxArrayLength = 1 / 0, - breakLength = 1 / 0, - seen = [], - truncate: truncate3 = 1 / 0, - stylize = String, - } = {}, - inspect5, - ) { - let options = { - showHidden: !!showHidden, - depth: Number(depth), - colors: !!colors, - customInspect: !!customInspect, - showProxy: !!showProxy, - maxArrayLength: Number(maxArrayLength), - breakLength: Number(breakLength), - truncate: Number(truncate3), - seen, - inspect: inspect5, - stylize, - }; - return options.colors && (options.stylize = colorise2), options; - })(opts, inspect3), - { customInspect } = options, - type5 = null === value ? "null" : typeof value; - if ( - ("object" === type5 && (type5 = toString2.call(value).slice(8, -1)), - type5 in baseTypesMap2) - ) - return baseTypesMap2[type5](value, options); - if (customInspect && value) { - let output = ((value, options, type5) => - chaiInspect2 in value && "function" == typeof value[chaiInspect2] - ? value[chaiInspect2](options) - : nodeInspect2 && - nodeInspect2 in value && - "function" == typeof value[nodeInspect2] - ? value[nodeInspect2](options.depth, options) - : "inspect" in value && "function" == typeof value.inspect - ? value.inspect(options.depth, options) - : "constructor" in value && - constructorMap2.has(value.constructor) - ? constructorMap2.get(value.constructor)(value, options) - : stringTagMap2[type5] - ? stringTagMap2[type5](value, options) - : "")(value, options, type5); - if (output) - return "string" == typeof output - ? output - : inspect3(output, options); - } - let proto = !!value && Object.getPrototypeOf(value); - return proto === Object.prototype || null === proto - ? inspectObject3(value, options) - : value && - "function" == typeof HTMLElement && - value instanceof HTMLElement - ? inspectHTML2(value, options) - : "constructor" in value - ? value.constructor !== Object - ? (function inspectClass2(value, options) { - let name = ""; - return ( - toStringTag2 && - toStringTag2 in value && - (name = value[toStringTag2]), - (name = name || value.constructor.name), - (!name || "_class" === name) && - (name = ""), - (options.truncate -= name.length), - `${name}${inspectObject3(value, options)}` - ); - })(value, options) - : inspectObject3(value, options) - : value === Object(value) - ? inspectObject3(value, options) - : options.stylize(String(value), type5); - } - var h = Object.entries({ - reset: [0, 0], - bold: [1, 22, ""], - dim: [2, 22, ""], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29], - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - blackBright: [90, 39], - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39], - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49], - }); - function a(n) { - return String(n); - } - (a.open = ""), (a.close = ""); - var f2 = (function p(n = !1) { - let e = (function C(n = !1) { - let e = typeof process < "u" ? process : void 0, - i = e?.env || {}, - g3 = e?.argv || []; - return ( - (!("NO_COLOR" in i || g3.includes("--no-color")) && - ("FORCE_COLOR" in i || - g3.includes("--color") || - "win32" === e?.platform || - (n && "dumb" !== i.TERM) || - "CI" in i)) || - (typeof window < "u" && !!window.chrome) - ); - })(n), - g3 = (r, t, c = r) => { - let o = (l) => { - let s = String(l), - b = s.indexOf(t, r.length); - return ~b - ? r + - ((r, t, c, o) => { - let l = "", - s = 0; - do { - (l += r.substring(s, o) + c), - (s = o + t.length), - (o = r.indexOf(t, s)); - } while (~o); - return l + r.substring(s); - })(s, t, c, b) + - t - : r + s + t; - }; - return (o.open = r), (o.close = t), o; - }, - u2 = { isColorSupported: e }, - d2 = (r) => `[${r}m`; - for (let [r, t] of h) u2[r] = e ? g3(d2(t[0]), d2(t[1]), t[2]) : a; - return u2; - })(!1); - function printIteratorEntries( - iterator, - config3, - indentation, - depth, - refs, - printer2, - separator = ": ", - ) { - let result = "", - width = 0, - current = iterator.next(); - if (!current.done) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (; !current.done; ) { - if (((result += indentationNext), width++ === config3.maxWidth)) { - result += "…"; - break; - } - (result += - printer2( - current.value[0], - config3, - indentationNext, - depth, - refs, - ) + - separator + - printer2( - current.value[1], - config3, - indentationNext, - depth, - refs, - )), - (current = iterator.next()), - current.done - ? config3.min || (result += ",") - : (result += `,${config3.spacingInner}`); - } - result += config3.spacingOuter + indentation; - } - return result; - } - function printIteratorValues( - iterator, - config3, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - width = 0, - current = iterator.next(); - if (!current.done) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (; !current.done; ) { - if (((result += indentationNext), width++ === config3.maxWidth)) { - result += "…"; - break; - } - (result += printer2( - current.value, - config3, - indentationNext, - depth, - refs, - )), - (current = iterator.next()), - current.done - ? config3.min || (result += ",") - : (result += `,${config3.spacingInner}`); - } - result += config3.spacingOuter + indentation; - } - return result; - } - function printListItems( - list, - config3, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - isDataView = (l) => l instanceof DataView, - length = isDataView( - (list = list instanceof ArrayBuffer ? new DataView(list) : list), - ) - ? list.byteLength - : list.length; - if (length > 0) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (let i = 0; i < length; i++) { - if (((result += indentationNext), i === config3.maxWidth)) { - result += "…"; - break; - } - (isDataView(list) || i in list) && - (result += printer2( - isDataView(list) ? list.getInt8(i) : list[i], - config3, - indentationNext, - depth, - refs, - )), - i < length - 1 - ? (result += `,${config3.spacingInner}`) - : config3.min || (result += ","); - } - result += config3.spacingOuter + indentation; - } - return result; - } - function printObjectProperties( - val, - config3, - indentation, - depth, - refs, - printer2, - ) { - let result = "", - keys2 = (function getKeysOfEnumerableProperties( - object, - compareKeys, - ) { - let rawKeys = Object.keys(object), - keys2 = - null === compareKeys ? rawKeys : rawKeys.sort(compareKeys); - if (Object.getOwnPropertySymbols) - for (let symbol of Object.getOwnPropertySymbols(object)) - Object.getOwnPropertyDescriptor(object, symbol).enumerable && - keys2.push(symbol); - return keys2; - })(val, config3.compareKeys); - if (keys2.length > 0) { - result += config3.spacingOuter; - let indentationNext = indentation + config3.indent; - for (let i = 0; i < keys2.length; i++) { - let key = keys2[i]; - (result += `${indentationNext + printer2(key, config3, indentationNext, depth, refs)}: ${printer2(val[key], config3, indentationNext, depth, refs)}`), - i < keys2.length - 1 - ? (result += `,${config3.spacingInner}`) - : config3.min || (result += ","); - } - result += config3.spacingOuter + indentation; - } - return result; - } - var asymmetricMatcher = - "function" == typeof Symbol && Symbol.for - ? Symbol.for("jest.asymmetricMatcher") - : 1267621, - plugin$5 = { - serialize: (val, config3, indentation, depth, refs, printer2) => { - let stringedValue = val.toString(); - if ( - "ArrayContaining" === stringedValue || - "ArrayNotContaining" === stringedValue - ) - return ++depth > config3.maxDepth - ? `[${stringedValue}]` - : `${stringedValue + " "}[${printListItems(val.sample, config3, indentation, depth, refs, printer2)}]`; - if ( - "ObjectContaining" === stringedValue || - "ObjectNotContaining" === stringedValue - ) - return ++depth > config3.maxDepth - ? `[${stringedValue}]` - : `${stringedValue + " "}{${printObjectProperties(val.sample, config3, indentation, depth, refs, printer2)}}`; - if ( - "StringMatching" === stringedValue || - "StringNotMatching" === stringedValue || - "StringContaining" === stringedValue || - "StringNotContaining" === stringedValue - ) - return ( - stringedValue + - " " + - printer2(val.sample, config3, indentation, depth, refs) - ); - if ("function" != typeof val.toAsymmetricMatcher) - throw new TypeError( - `Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`, - ); - return val.toAsymmetricMatcher(); - }, - test: (val) => val && val.$$typeof === asymmetricMatcher, - }, - OBJECT_NAMES = new Set(["DOMStringMap", "NamedNodeMap"]), - ARRAY_REGEXP = /^(?:HTML\w*Collection|NodeList)$/; - var plugin$4 = { - serialize: ( - collection, - config3, - indentation, - depth, - refs, - printer2, - ) => { - let name = collection.constructor.name; - return ++depth > config3.maxDepth - ? `[${name}]` - : (config3.min ? "" : name + " ") + - (OBJECT_NAMES.has(name) - ? `{${printObjectProperties( - (function isNamedNodeMap(collection) { - return "NamedNodeMap" === collection.constructor.name; - })(collection) - ? [...collection].reduce( - (props, attribute) => ( - (props[attribute.name] = attribute.value), props - ), - {}, - ) - : { ...collection }, - config3, - indentation, - depth, - refs, - printer2, - )}}` - : `[${printListItems([...collection], config3, indentation, depth, refs, printer2)}]`); - }, - test: (val) => - val && - val.constructor && - !!val.constructor.name && - (function testName(name) { - return OBJECT_NAMES.has(name) || ARRAY_REGEXP.test(name); - })(val.constructor.name), - }; - function escapeHTML(str) { - return str.replaceAll("<", "<").replaceAll(">", ">"); - } - function printProps( - keys2, - props, - config3, - indentation, - depth, - refs, - printer2, - ) { - let indentationNext = indentation + config3.indent, - colors = config3.colors; - return keys2 - .map((key) => { - let value = props[key], - printed = printer2( - value, - config3, - indentationNext, - depth, - refs, - ); - return ( - "string" != typeof value && - (printed.includes("\n") && - (printed = - config3.spacingOuter + - indentationNext + - printed + - config3.spacingOuter + - indentation), - (printed = `{${printed}}`)), - `${config3.spacingInner + indentation + colors.prop.open + key + colors.prop.close}=${colors.value.open}${printed}${colors.value.close}` - ); - }) - .join(""); - } - function printChildren( - children, - config3, - indentation, - depth, - refs, - printer2, - ) { - return children - .map( - (child) => - config3.spacingOuter + - indentation + - ("string" == typeof child - ? printText(child, config3) - : printer2(child, config3, indentation, depth, refs)), - ) - .join(""); - } - function printText(text, config3) { - let contentColor = config3.colors.content; - return contentColor.open + escapeHTML(text) + contentColor.close; - } - function printElement( - type5, - printedProps, - printedChildren, - config3, - indentation, - ) { - let tagColor = config3.colors.tag; - return `${tagColor.open}<${type5}${printedProps && tagColor.close + printedProps + config3.spacingOuter + indentation + tagColor.open}${printedChildren ? `>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`; - } - function printElementAsLeaf(type5, config3) { - let tagColor = config3.colors.tag; - return `${tagColor.open}<${type5}${tagColor.close} …${tagColor.open} />${tagColor.close}`; - } - var ELEMENT_REGEXP = /^(?:(?:HTML|SVG)\w*)?Element$/; - function nodeIsFragment(node) { - return 11 === node.nodeType; - } - var plugin$3 = { - serialize: (node, config3, indentation, depth, refs, printer2) => { - if ( - (function nodeIsText(node) { - return 3 === node.nodeType; - })(node) - ) - return printText(node.data, config3); - if ( - (function nodeIsComment(node) { - return 8 === node.nodeType; - })(node) - ) - return (function printComment(comment, config3) { - let commentColor = config3.colors.comment; - return `${commentColor.open}\x3c!--${escapeHTML(comment)}--\x3e${commentColor.close}`; - })(node.data, config3); - let type5 = nodeIsFragment(node) - ? "DocumentFragment" - : node.tagName.toLowerCase(); - return ++depth > config3.maxDepth - ? printElementAsLeaf(type5, config3) - : printElement( - type5, - printProps( - nodeIsFragment(node) - ? [] - : Array.from( - node.attributes, - (attr) => attr.name, - ).sort(), - nodeIsFragment(node) - ? {} - : [...node.attributes].reduce( - (props, attribute) => ( - (props[attribute.name] = attribute.value), props - ), - {}, - ), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - printChildren( - Array.prototype.slice.call( - node.childNodes || node.children, - ), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - config3, - indentation, - ); - }, - test: (val) => { - var _a2; - return ( - (null == (_a2 = val?.constructor) ? void 0 : _a2.name) && - (function testNode(val) { - let constructorName = val.constructor.name, - { nodeType, tagName } = val, - isCustomElement3 = - ("string" == typeof tagName && tagName.includes("-")) || - (function testHasAttribute(val) { - try { - return ( - "function" == typeof val.hasAttribute && - val.hasAttribute("is") - ); - } catch { - return !1; - } - })(val); - return ( - (1 === nodeType && - (ELEMENT_REGEXP.test(constructorName) || - isCustomElement3)) || - (3 === nodeType && "Text" === constructorName) || - (8 === nodeType && "Comment" === constructorName) || - (11 === nodeType && "DocumentFragment" === constructorName) - ); - })(val) - ); - }, - }, - getImmutableName = (name) => `Immutable.${name}`, - printAsLeaf = (name) => `[${name}]`; - function printImmutableValues( - val, - config3, - indentation, - depth, - refs, - printer2, - type5, - ) { - return ++depth > config3.maxDepth - ? printAsLeaf(getImmutableName(type5)) - : `${getImmutableName(type5) + " "}[${printIteratorValues(val.values(), config3, indentation, depth, refs, printer2)}]`; - } - var hasRequiredReactIs_development, - plugin$2 = { - serialize: (val, config3, indentation, depth, refs, printer2) => - val["@@__IMMUTABLE_MAP__@@"] - ? (function printImmutableEntries( - val, - config3, - indentation, - depth, - refs, - printer2, - type5, - ) { - return ++depth > config3.maxDepth - ? printAsLeaf(getImmutableName(type5)) - : `${getImmutableName(type5) + " "}{${printIteratorEntries(val.entries(), config3, indentation, depth, refs, printer2)}}`; - })( - val, - config3, - indentation, - depth, - refs, - printer2, - val["@@__IMMUTABLE_ORDERED__@@"] ? "OrderedMap" : "Map", - ) - : val["@@__IMMUTABLE_LIST__@@"] - ? printImmutableValues( - val, - config3, - indentation, - depth, - refs, - printer2, - "List", - ) - : val["@@__IMMUTABLE_SET__@@"] - ? printImmutableValues( - val, - config3, - indentation, - depth, - refs, - printer2, - val["@@__IMMUTABLE_ORDERED__@@"] ? "OrderedSet" : "Set", - ) - : val["@@__IMMUTABLE_STACK__@@"] - ? printImmutableValues( - val, - config3, - indentation, - depth, - refs, - printer2, - "Stack", - ) - : val["@@__IMMUTABLE_SEQ__@@"] - ? (function printImmutableSeq( - val, - config3, - indentation, - depth, - refs, - printer2, - ) { - let name = getImmutableName("Seq"); - return ++depth > config3.maxDepth - ? printAsLeaf(name) - : val["@@__IMMUTABLE_KEYED__@@"] - ? `${name + " "}{${val._iter || val._object ? printIteratorEntries(val.entries(), config3, indentation, depth, refs, printer2) : "…"}}` - : `${name + " "}[${val._iter || val._array || val._collection || val._iterable ? printIteratorValues(val.values(), config3, indentation, depth, refs, printer2) : "…"}]`; - })(val, config3, indentation, depth, refs, printer2) - : (function printImmutableRecord( - val, - config3, - indentation, - depth, - refs, - printer2, - ) { - let name = getImmutableName(val._name || "Record"); - return ++depth > config3.maxDepth - ? printAsLeaf(name) - : `${name + " "}{${printIteratorEntries( - (function getRecordEntries(val) { - let i = 0; - return { - next() { - if (i < val._keys.length) { - let key = val._keys[i++]; - return { - done: !1, - value: [key, val.get(key)], - }; - } - return { done: !0, value: void 0 }; - }, - }; - })(val), - config3, - indentation, - depth, - refs, - printer2, - )}}`; - })(val, config3, indentation, depth, refs, printer2), - test: (val) => - val && - (!0 === val["@@__IMMUTABLE_ITERABLE__@@"] || - !0 === val["@@__IMMUTABLE_RECORD__@@"]), - }, - reactIs = { exports: {} }, - reactIs_development = {}; - reactIs.exports = (function requireReactIs_development() { - return ( - hasRequiredReactIs_development || - ((hasRequiredReactIs_development = 1), - (function () { - var REACT_MODULE_REFERENCE, - REACT_ELEMENT_TYPE = Symbol.for("react.element"), - REACT_PORTAL_TYPE = Symbol.for("react.portal"), - REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), - REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), - REACT_PROFILER_TYPE = Symbol.for("react.profiler"), - REACT_PROVIDER_TYPE = Symbol.for("react.provider"), - REACT_CONTEXT_TYPE = Symbol.for("react.context"), - REACT_SERVER_CONTEXT_TYPE = Symbol.for( - "react.server_context", - ), - REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), - REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), - REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), - REACT_MEMO_TYPE = Symbol.for("react.memo"), - REACT_LAZY_TYPE = Symbol.for("react.lazy"), - REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"); - function typeOf(object) { - if ("object" == typeof object && null !== object) { - var $$typeof = object.$$typeof; - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type5 = object.type; - switch (type5) { - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - case REACT_SUSPENSE_LIST_TYPE: - return type5; - default: - var $$typeofType = type5 && type5.$$typeof; - switch ($$typeofType) { - case REACT_SERVER_CONTEXT_TYPE: - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - default: - return $$typeof; - } - } - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - } - REACT_MODULE_REFERENCE = Symbol.for("react.module.reference"); - var ContextConsumer = REACT_CONTEXT_TYPE, - ContextProvider = REACT_PROVIDER_TYPE, - Element2 = REACT_ELEMENT_TYPE, - ForwardRef = REACT_FORWARD_REF_TYPE, - Fragment = REACT_FRAGMENT_TYPE, - Lazy = REACT_LAZY_TYPE, - Memo = REACT_MEMO_TYPE, - Portal = REACT_PORTAL_TYPE, - Profiler = REACT_PROFILER_TYPE, - StrictMode = REACT_STRICT_MODE_TYPE, - Suspense = REACT_SUSPENSE_TYPE, - SuspenseList = REACT_SUSPENSE_LIST_TYPE, - hasWarnedAboutDeprecatedIsAsyncMode = !1, - hasWarnedAboutDeprecatedIsConcurrentMode = !1; - (reactIs_development.ContextConsumer = ContextConsumer), - (reactIs_development.ContextProvider = ContextProvider), - (reactIs_development.Element = Element2), - (reactIs_development.ForwardRef = ForwardRef), - (reactIs_development.Fragment = Fragment), - (reactIs_development.Lazy = Lazy), - (reactIs_development.Memo = Memo), - (reactIs_development.Portal = Portal), - (reactIs_development.Profiler = Profiler), - (reactIs_development.StrictMode = StrictMode), - (reactIs_development.Suspense = Suspense), - (reactIs_development.SuspenseList = SuspenseList), - (reactIs_development.isAsyncMode = function isAsyncMode( - object, - ) { - return ( - hasWarnedAboutDeprecatedIsAsyncMode || - ((hasWarnedAboutDeprecatedIsAsyncMode = !0), - console.warn( - "The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (reactIs_development.isConcurrentMode = - function isConcurrentMode(object) { - return ( - hasWarnedAboutDeprecatedIsConcurrentMode || - ((hasWarnedAboutDeprecatedIsConcurrentMode = !0), - console.warn( - "The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - }), - (reactIs_development.isContextConsumer = - function isContextConsumer(object) { - return typeOf(object) === REACT_CONTEXT_TYPE; - }), - (reactIs_development.isContextProvider = - function isContextProvider(object) { - return typeOf(object) === REACT_PROVIDER_TYPE; - }), - (reactIs_development.isElement = function isElement5(object) { - return ( - "object" == typeof object && - null !== object && - object.$$typeof === REACT_ELEMENT_TYPE - ); - }), - (reactIs_development.isForwardRef = function isForwardRef( - object, - ) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; - }), - (reactIs_development.isFragment = function isFragment( - object, - ) { - return typeOf(object) === REACT_FRAGMENT_TYPE; - }), - (reactIs_development.isLazy = function isLazy(object) { - return typeOf(object) === REACT_LAZY_TYPE; - }), - (reactIs_development.isMemo = function isMemo(object) { - return typeOf(object) === REACT_MEMO_TYPE; - }), - (reactIs_development.isPortal = function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; - }), - (reactIs_development.isProfiler = function isProfiler( - object, - ) { - return typeOf(object) === REACT_PROFILER_TYPE; - }), - (reactIs_development.isStrictMode = function isStrictMode( - object, - ) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; - }), - (reactIs_development.isSuspense = function isSuspense( - object, - ) { - return typeOf(object) === REACT_SUSPENSE_TYPE; - }), - (reactIs_development.isSuspenseList = function isSuspenseList( - object, - ) { - return typeOf(object) === REACT_SUSPENSE_LIST_TYPE; - }), - (reactIs_development.isValidElementType = - function isValidElementType(type5) { - return !( - "string" != typeof type5 && - "function" != typeof type5 && - type5 !== REACT_FRAGMENT_TYPE && - type5 !== REACT_PROFILER_TYPE && - type5 !== REACT_STRICT_MODE_TYPE && - type5 !== REACT_SUSPENSE_TYPE && - type5 !== REACT_SUSPENSE_LIST_TYPE && - type5 !== REACT_OFFSCREEN_TYPE && - ("object" != typeof type5 || - null === type5 || - (type5.$$typeof !== REACT_LAZY_TYPE && - type5.$$typeof !== REACT_MEMO_TYPE && - type5.$$typeof !== REACT_PROVIDER_TYPE && - type5.$$typeof !== REACT_CONTEXT_TYPE && - type5.$$typeof !== REACT_FORWARD_REF_TYPE && - type5.$$typeof !== REACT_MODULE_REFERENCE && - void 0 === type5.getModuleId)) - ); - }), - (reactIs_development.typeOf = typeOf); - })()), - reactIs_development - ); - })(); - var reactIsExports = reactIs.exports; - function getChildren(arg, children = []) { - if (Array.isArray(arg)) - for (let item of arg) getChildren(item, children); - else null != arg && !1 !== arg && "" !== arg && children.push(arg); - return children; - } - function getType2(element) { - let type5 = element.type; - if ("string" == typeof type5) return type5; - if ("function" == typeof type5) - return type5.displayName || type5.name || "Unknown"; - if (reactIsExports.isFragment(element)) return "React.Fragment"; - if (reactIsExports.isSuspense(element)) return "React.Suspense"; - if ("object" == typeof type5 && null !== type5) { - if (reactIsExports.isContextProvider(element)) - return "Context.Provider"; - if (reactIsExports.isContextConsumer(element)) - return "Context.Consumer"; - if (reactIsExports.isForwardRef(element)) { - if (type5.displayName) return type5.displayName; - let functionName = - type5.render.displayName || type5.render.name || ""; - return "" === functionName - ? "ForwardRef" - : `ForwardRef(${functionName})`; - } - if (reactIsExports.isMemo(element)) { - let functionName = - type5.displayName || - type5.type.displayName || - type5.type.name || - ""; - return "" === functionName ? "Memo" : `Memo(${functionName})`; - } - } - return "UNDEFINED"; - } - var plugin$1 = { - serialize: ( - element, - config3, - indentation, - depth, - refs, - printer2, - ) => - ++depth > config3.maxDepth - ? printElementAsLeaf(getType2(element), config3) - : printElement( - getType2(element), - printProps( - (function getPropKeys$1(element) { - let { props } = element; - return Object.keys(props) - .filter( - (key) => - "children" !== key && void 0 !== props[key], - ) - .sort(); - })(element), - element.props, - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - printChildren( - getChildren(element.props.children), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - config3, - indentation, - ), - test: (val) => null != val && reactIsExports.isElement(val), - }, - testSymbol = - "function" == typeof Symbol && Symbol.for - ? Symbol.for("react.test.json") - : 245830487; - var plugin = { - serialize: (object, config3, indentation, depth, refs, printer2) => - ++depth > config3.maxDepth - ? printElementAsLeaf(object.type, config3) - : printElement( - object.type, - object.props - ? printProps( - (function getPropKeys(object) { - let { props } = object; - return props - ? Object.keys(props) - .filter((key) => void 0 !== props[key]) - .sort() - : []; - })(object), - object.props, - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ) - : "", - object.children - ? printChildren( - object.children, - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ) - : "", - config3, - indentation, - ), - test: (val) => val && val.$$typeof === testSymbol, - }, - toString3 = Object.prototype.toString, - toISOString = Date.prototype.toISOString, - errorToString = Error.prototype.toString, - regExpToString = RegExp.prototype.toString; - function getConstructorName2(val) { - return ( - ("function" == typeof val.constructor && val.constructor.name) || - "Object" - ); - } - var SYMBOL_REGEXP = /^Symbol\((.*)\)(.*)$/, - NEWLINE_REGEXP = /\n/g, - PrettyFormatPluginError = class extends Error { - constructor(message, stack) { - super(message), - (this.stack = stack), - (this.name = this.constructor.name); - } - }; - function printFunction(val, printFunctionName) { - return printFunctionName - ? `[Function ${val.name || "anonymous"}]` - : "[Function]"; - } - function printSymbol(val) { - return String(val).replace(SYMBOL_REGEXP, "Symbol($1)"); - } - function printError(val) { - return `[${errorToString.call(val)}]`; - } - function printBasicValue( - val, - printFunctionName, - escapeRegex, - escapeString, - ) { - if (!0 === val || !1 === val) return `${val}`; - if (void 0 === val) return "undefined"; - if (null === val) return "null"; - let typeOf = typeof val; - if ("number" === typeOf) - return (function printNumber(val) { - return Object.is(val, -0) ? "-0" : String(val); - })(val); - if ("bigint" === typeOf) - return (function printBigInt(val) { - return `${val}n`; - })(val); - if ("string" === typeOf) - return escapeString - ? `"${val.replaceAll(/"|\\/g, "\\$&")}"` - : `"${val}"`; - if ("function" === typeOf) - return printFunction(val, printFunctionName); - if ("symbol" === typeOf) return printSymbol(val); - let toStringed = toString3.call(val); - return "[object WeakMap]" === toStringed - ? "WeakMap {}" - : "[object WeakSet]" === toStringed - ? "WeakSet {}" - : "[object Function]" === toStringed || - "[object GeneratorFunction]" === toStringed - ? printFunction(val, printFunctionName) - : "[object Symbol]" === toStringed - ? printSymbol(val) - : "[object Date]" === toStringed - ? Number.isNaN(+val) - ? "Date { NaN }" - : toISOString.call(val) - : "[object Error]" === toStringed - ? printError(val) - : "[object RegExp]" === toStringed - ? escapeRegex - ? regExpToString - .call(val) - .replaceAll(/[$()*+.?[\\\]^{|}]/g, "\\$&") - : regExpToString.call(val) - : val instanceof Error - ? printError(val) - : null; - } - function printComplexValue( - val, - config3, - indentation, - depth, - refs, - hasCalledToJSON, - ) { - if (refs.includes(val)) return "[Circular]"; - (refs = [...refs]).push(val); - let hitMaxDepth = ++depth > config3.maxDepth, - min = config3.min; - if ( - config3.callToJSON && - !hitMaxDepth && - val.toJSON && - "function" == typeof val.toJSON && - !hasCalledToJSON - ) - return printer(val.toJSON(), config3, indentation, depth, refs, !0); - let toStringed = toString3.call(val); - return "[object Arguments]" === toStringed - ? hitMaxDepth - ? "[Arguments]" - : `${min ? "" : "Arguments "}[${printListItems(val, config3, indentation, depth, refs, printer)}]` - : (function isToStringedArrayType(toStringed) { - return ( - "[object Array]" === toStringed || - "[object ArrayBuffer]" === toStringed || - "[object DataView]" === toStringed || - "[object Float32Array]" === toStringed || - "[object Float64Array]" === toStringed || - "[object Int8Array]" === toStringed || - "[object Int16Array]" === toStringed || - "[object Int32Array]" === toStringed || - "[object Uint8Array]" === toStringed || - "[object Uint8ClampedArray]" === toStringed || - "[object Uint16Array]" === toStringed || - "[object Uint32Array]" === toStringed - ); - })(toStringed) - ? hitMaxDepth - ? `[${val.constructor.name}]` - : `${min || (!config3.printBasicPrototype && "Array" === val.constructor.name) ? "" : `${val.constructor.name} `}[${printListItems(val, config3, indentation, depth, refs, printer)}]` - : "[object Map]" === toStringed - ? hitMaxDepth - ? "[Map]" - : `Map {${printIteratorEntries(val.entries(), config3, indentation, depth, refs, printer, " => ")}}` - : "[object Set]" === toStringed - ? hitMaxDepth - ? "[Set]" - : `Set {${printIteratorValues(val.values(), config3, indentation, depth, refs, printer)}}` - : hitMaxDepth || - (function isWindow(val) { - return typeof window < "u" && val === window; - })(val) - ? `[${getConstructorName2(val)}]` - : `${min || (!config3.printBasicPrototype && "Object" === getConstructorName2(val)) ? "" : `${getConstructorName2(val)} `}{${printObjectProperties(val, config3, indentation, depth, refs, printer)}}`; - } - function printPlugin(plugin2, val, config3, indentation, depth, refs) { - let printed; - try { - printed = (function isNewPlugin(plugin2) { - return null != plugin2.serialize; - })(plugin2) - ? plugin2.serialize( - val, - config3, - indentation, - depth, - refs, - printer, - ) - : plugin2.print( - val, - (valChild) => - printer(valChild, config3, indentation, depth, refs), - (str) => { - let indentationNext = indentation + config3.indent; - return ( - indentationNext + - str.replaceAll(NEWLINE_REGEXP, `\n${indentationNext}`) - ); - }, - { - edgeSpacing: config3.spacingOuter, - min: config3.min, - spacing: config3.spacingInner, - }, - config3.colors, - ); - } catch (error) { - throw new PrettyFormatPluginError(error.message, error.stack); - } - if ("string" != typeof printed) - throw new TypeError( - `pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`, - ); - return printed; - } - function findPlugin(plugins22, val) { - for (let plugin2 of plugins22) - try { - if (plugin2.test(val)) return plugin2; - } catch (error) { - throw new PrettyFormatPluginError(error.message, error.stack); - } - return null; - } - function printer( - val, - config3, - indentation, - depth, - refs, - hasCalledToJSON, - ) { - let plugin2 = findPlugin(config3.plugins, val); - if (null !== plugin2) - return printPlugin(plugin2, val, config3, indentation, depth, refs); - let basicResult = printBasicValue( - val, - config3.printFunctionName, - config3.escapeRegex, - config3.escapeString, - ); - return null !== basicResult - ? basicResult - : printComplexValue( - val, - config3, - indentation, - depth, - refs, - hasCalledToJSON, - ); - } - var DEFAULT_THEME = { - comment: "gray", - content: "reset", - prop: "yellow", - tag: "cyan", - value: "green", - }, - DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME), - DEFAULT_OPTIONS = { - callToJSON: !0, - compareKeys: void 0, - escapeRegex: !1, - escapeString: !0, - highlight: !1, - indent: 2, - maxDepth: Number.POSITIVE_INFINITY, - maxWidth: Number.POSITIVE_INFINITY, - min: !1, - plugins: [], - printBasicPrototype: !0, - printFunctionName: !0, - theme: DEFAULT_THEME, - }; - function getPrintFunctionName(options) { - return ( - options?.printFunctionName ?? DEFAULT_OPTIONS.printFunctionName - ); - } - function getEscapeRegex(options) { - return options?.escapeRegex ?? DEFAULT_OPTIONS.escapeRegex; - } - function getEscapeString(options) { - return options?.escapeString ?? DEFAULT_OPTIONS.escapeString; - } - function getConfig(options) { - return { - callToJSON: options?.callToJSON ?? DEFAULT_OPTIONS.callToJSON, - colors: options?.highlight - ? DEFAULT_THEME_KEYS.reduce((colors, key) => { - let value = DEFAULT_THEME[key], - color = value && f2[value]; - if ( - !color || - "string" != typeof color.close || - "string" != typeof color.open - ) - throw new Error( - `pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`, - ); - return (colors[key] = color), colors; - }, Object.create(null)) - : DEFAULT_THEME_KEYS.reduce( - (colors, key) => ( - (colors[key] = { close: "", open: "" }), colors - ), - Object.create(null), - ), - compareKeys: - "function" == typeof options?.compareKeys || - null === options?.compareKeys - ? options.compareKeys - : DEFAULT_OPTIONS.compareKeys, - escapeRegex: getEscapeRegex(options), - escapeString: getEscapeString(options), - indent: options?.min - ? "" - : ((indent = options?.indent ?? DEFAULT_OPTIONS.indent), - Array.from({ length: indent + 1 }).join(" ")), - maxDepth: options?.maxDepth ?? DEFAULT_OPTIONS.maxDepth, - maxWidth: options?.maxWidth ?? DEFAULT_OPTIONS.maxWidth, - min: options?.min ?? DEFAULT_OPTIONS.min, - plugins: options?.plugins ?? DEFAULT_OPTIONS.plugins, - printBasicPrototype: options?.printBasicPrototype ?? !0, - printFunctionName: getPrintFunctionName(options), - spacingInner: options?.min ? " " : "\n", - spacingOuter: options?.min ? "" : "\n", - }; - var indent; - } - function format(val, options) { - if ( - options && - ((function validateOptions(options) { - for (let key of Object.keys(options)) - if (!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS, key)) - throw new Error(`pretty-format: Unknown option "${key}".`); - if ( - options.min && - void 0 !== options.indent && - 0 !== options.indent - ) - throw new Error( - 'pretty-format: Options "min" and "indent" cannot be used together.', - ); - })(options), - options.plugins) - ) { - let plugin2 = findPlugin(options.plugins, val); - if (null !== plugin2) - return printPlugin(plugin2, val, getConfig(options), "", 0, []); - } - let basicResult = printBasicValue( - val, - getPrintFunctionName(options), - getEscapeRegex(options), - getEscapeString(options), - ); - return null !== basicResult - ? basicResult - : printComplexValue(val, getConfig(options), "", 0, []); - } - var plugins = { - AsymmetricMatcher: plugin$5, - DOMCollection: plugin$4, - DOMElement: plugin$3, - Immutable: plugin$2, - ReactElement: plugin$1, - ReactTestComponent: plugin, - }, - { - AsymmetricMatcher, - DOMCollection, - DOMElement, - Immutable, - ReactElement, - ReactTestComponent, - } = plugins, - PLUGINS = [ - ReactTestComponent, - ReactElement, - DOMElement, - DOMCollection, - Immutable, - AsymmetricMatcher, - ]; - function stringify( - object, - maxDepth = 10, - { maxLength, ...options } = {}, - ) { - let result, - MAX_LENGTH = maxLength ?? 1e4; - try { - result = format(object, { - maxDepth, - escapeString: !1, - plugins: PLUGINS, - ...options, - }); - } catch { - result = format(object, { - callToJSON: !1, - maxDepth, - escapeString: !1, - plugins: PLUGINS, - ...options, - }); - } - return result.length >= MAX_LENGTH && maxDepth > 1 - ? stringify(object, Math.floor(maxDepth / 2)) - : result; - } - var formatRegExp = /%[sdjifoOc%]/g; - function inspect4(obj, options = {}) { - return ( - 0 === options.truncate && - (options.truncate = Number.POSITIVE_INFINITY), - inspect3(obj, options) - ); - } - RegExp(/\r?\n|[\r\u2028\u2029]/y.source); - var reservedWords_strict = [ - "implements", - "interface", - "let", - "package", - "private", - "protected", - "public", - "static", - "yield", - ]; - function getType3(value) { - if (void 0 === value) return "undefined"; - if (null === value) return "null"; - if (Array.isArray(value)) return "array"; - if ("boolean" == typeof value) return "boolean"; - if ("function" == typeof value) return "function"; - if ("number" == typeof value) return "number"; - if ("string" == typeof value) return "string"; - if ("bigint" == typeof value) return "bigint"; - if ("object" == typeof value) { - if (null != value) { - if (value.constructor === RegExp) return "regexp"; - if (value.constructor === Map) return "map"; - if (value.constructor === Set) return "set"; - if (value.constructor === Date) return "date"; - } - return "object"; - } - if ("symbol" == typeof value) return "symbol"; - throw new Error(`value of unknown type: ${value}`); - } - new Set([ - "break", - "case", - "catch", - "continue", - "debugger", - "default", - "do", - "else", - "finally", - "for", - "function", - "if", - "return", - "switch", - "throw", - "try", - "var", - "const", - "while", - "with", - "new", - "this", - "super", - "class", - "extends", - "export", - "import", - "null", - "true", - "false", - "in", - "instanceof", - "typeof", - "void", - "delete", - ]), - new Set(reservedWords_strict); - var Diff = class { - 0; - 1; - constructor(op, text) { - (this[0] = op), (this[1] = text); - } - }, - diff_commonPrefix = function (text1, text2) { - if (!text1 || !text2 || text1.charAt(0) !== text2.charAt(0)) - return 0; - let pointermin = 0, - pointermax = Math.min(text1.length, text2.length), - pointermid = pointermax, - pointerstart = 0; - for (; pointermin < pointermid; ) - text1.substring(pointerstart, pointermid) === - text2.substring(pointerstart, pointermid) - ? ((pointermin = pointermid), (pointerstart = pointermin)) - : (pointermax = pointermid), - (pointermid = Math.floor( - (pointermax - pointermin) / 2 + pointermin, - )); - return pointermid; - }, - diff_commonSuffix = function (text1, text2) { - if ( - !text1 || - !text2 || - text1.charAt(text1.length - 1) !== text2.charAt(text2.length - 1) - ) - return 0; - let pointermin = 0, - pointermax = Math.min(text1.length, text2.length), - pointermid = pointermax, - pointerend = 0; - for (; pointermin < pointermid; ) - text1.substring( - text1.length - pointermid, - text1.length - pointerend, - ) === - text2.substring( - text2.length - pointermid, - text2.length - pointerend, - ) - ? ((pointermin = pointermid), (pointerend = pointermin)) - : (pointermax = pointermid), - (pointermid = Math.floor( - (pointermax - pointermin) / 2 + pointermin, - )); - return pointermid; - }, - diff_commonOverlap_ = function (text1, text2) { - let text1_length = text1.length, - text2_length = text2.length; - if (0 === text1_length || 0 === text2_length) return 0; - text1_length > text2_length - ? (text1 = text1.substring(text1_length - text2_length)) - : text1_length < text2_length && - (text2 = text2.substring(0, text1_length)); - let text_length = Math.min(text1_length, text2_length); - if (text1 === text2) return text_length; - let best = 0, - length = 1; - for (;;) { - let pattern = text1.substring(text_length - length), - found = text2.indexOf(pattern); - if (-1 === found) return best; - (length += found), - (0 === found || - text1.substring(text_length - length) === - text2.substring(0, length)) && - ((best = length), length++); - } - }, - diff_cleanupSemantic = function (diffs) { - let changes = !1, - equalities = [], - equalitiesLength = 0, - lastEquality = null, - pointer3 = 0, - length_insertions1 = 0, - length_deletions1 = 0, - length_insertions2 = 0, - length_deletions2 = 0; - for (; pointer3 < diffs.length; ) - 0 === diffs[pointer3][0] - ? ((equalities[equalitiesLength++] = pointer3), - (length_insertions1 = length_insertions2), - (length_deletions1 = length_deletions2), - (length_insertions2 = 0), - (length_deletions2 = 0), - (lastEquality = diffs[pointer3][1])) - : (1 === diffs[pointer3][0] - ? (length_insertions2 += diffs[pointer3][1].length) - : (length_deletions2 += diffs[pointer3][1].length), - lastEquality && - lastEquality.length <= - Math.max(length_insertions1, length_deletions1) && - lastEquality.length <= - Math.max(length_insertions2, length_deletions2) && - (diffs.splice( - equalities[equalitiesLength - 1], - 0, - new Diff(-1, lastEquality), - ), - (diffs[equalities[equalitiesLength - 1] + 1][0] = 1), - equalitiesLength--, - equalitiesLength--, - (pointer3 = - equalitiesLength > 0 - ? equalities[equalitiesLength - 1] - : -1), - (length_insertions1 = 0), - (length_deletions1 = 0), - (length_insertions2 = 0), - (length_deletions2 = 0), - (lastEquality = null), - (changes = !0))), - pointer3++; - for ( - changes && diff_cleanupMerge(diffs), - (function diff_cleanupSemanticLossless(diffs) { - function diff_cleanupSemanticScore_(one, two) { - if (!one || !two) return 6; - let char1 = one.charAt(one.length - 1), - char2 = two.charAt(0), - nonAlphaNumeric1 = char1.match(nonAlphaNumericRegex_), - nonAlphaNumeric2 = char2.match(nonAlphaNumericRegex_), - whitespace1 = - nonAlphaNumeric1 && char1.match(whitespaceRegex_), - whitespace2 = - nonAlphaNumeric2 && char2.match(whitespaceRegex_), - lineBreak1 = whitespace1 && char1.match(linebreakRegex_), - lineBreak2 = whitespace2 && char2.match(linebreakRegex_), - blankLine1 = lineBreak1 && one.match(blanklineEndRegex_), - blankLine2 = - lineBreak2 && two.match(blanklineStartRegex_); - return blankLine1 || blankLine2 - ? 5 - : lineBreak1 || lineBreak2 - ? 4 - : nonAlphaNumeric1 && !whitespace1 && whitespace2 - ? 3 - : whitespace1 || whitespace2 - ? 2 - : nonAlphaNumeric1 || nonAlphaNumeric2 - ? 1 - : 0; - } - let pointer3 = 1; - for (; pointer3 < diffs.length - 1; ) { - if ( - 0 === diffs[pointer3 - 1][0] && - 0 === diffs[pointer3 + 1][0] - ) { - let equality1 = diffs[pointer3 - 1][1], - edit = diffs[pointer3][1], - equality2 = diffs[pointer3 + 1][1], - commonOffset = diff_commonSuffix(equality1, edit); - if (commonOffset) { - let commonString = edit.substring( - edit.length - commonOffset, - ); - (equality1 = equality1.substring( - 0, - equality1.length - commonOffset, - )), - (edit = - commonString + - edit.substring(0, edit.length - commonOffset)), - (equality2 = commonString + equality2); - } - let bestEquality1 = equality1, - bestEdit = edit, - bestEquality2 = equality2, - bestScore = - diff_cleanupSemanticScore_(equality1, edit) + - diff_cleanupSemanticScore_(edit, equality2); - for (; edit.charAt(0) === equality2.charAt(0); ) { - (equality1 += edit.charAt(0)), - (edit = edit.substring(1) + equality2.charAt(0)), - (equality2 = equality2.substring(1)); - let score = - diff_cleanupSemanticScore_(equality1, edit) + - diff_cleanupSemanticScore_(edit, equality2); - score >= bestScore && - ((bestScore = score), - (bestEquality1 = equality1), - (bestEdit = edit), - (bestEquality2 = equality2)); - } - diffs[pointer3 - 1][1] !== bestEquality1 && - (bestEquality1 - ? (diffs[pointer3 - 1][1] = bestEquality1) - : (diffs.splice(pointer3 - 1, 1), pointer3--), - (diffs[pointer3][1] = bestEdit), - bestEquality2 - ? (diffs[pointer3 + 1][1] = bestEquality2) - : (diffs.splice(pointer3 + 1, 1), pointer3--)); - } - pointer3++; - } - })(diffs), - pointer3 = 1; - pointer3 < diffs.length; - - ) { - if (-1 === diffs[pointer3 - 1][0] && 1 === diffs[pointer3][0]) { - let deletion = diffs[pointer3 - 1][1], - insertion = diffs[pointer3][1], - overlap_length1 = diff_commonOverlap_(deletion, insertion), - overlap_length2 = diff_commonOverlap_(insertion, deletion); - overlap_length1 >= overlap_length2 - ? (overlap_length1 >= deletion.length / 2 || - overlap_length1 >= insertion.length / 2) && - (diffs.splice( - pointer3, - 0, - new Diff(0, insertion.substring(0, overlap_length1)), - ), - (diffs[pointer3 - 1][1] = deletion.substring( - 0, - deletion.length - overlap_length1, - )), - (diffs[pointer3 + 1][1] = - insertion.substring(overlap_length1)), - pointer3++) - : (overlap_length2 >= deletion.length / 2 || - overlap_length2 >= insertion.length / 2) && - (diffs.splice( - pointer3, - 0, - new Diff(0, deletion.substring(0, overlap_length2)), - ), - (diffs[pointer3 - 1][0] = 1), - (diffs[pointer3 - 1][1] = insertion.substring( - 0, - insertion.length - overlap_length2, - )), - (diffs[pointer3 + 1][0] = -1), - (diffs[pointer3 + 1][1] = - deletion.substring(overlap_length2)), - pointer3++), - pointer3++; - } - pointer3++; - } - }, - nonAlphaNumericRegex_ = /[^a-z0-9]/i, - whitespaceRegex_ = /\s/, - linebreakRegex_ = /[\r\n]/, - blanklineEndRegex_ = /\n\r?\n$/, - blanklineStartRegex_ = /^\r?\n\r?\n/; - function diff_cleanupMerge(diffs) { - diffs.push(new Diff(0, "")); - let commonlength, - pointer3 = 0, - count_delete = 0, - count_insert = 0, - text_delete = "", - text_insert = ""; - for (; pointer3 < diffs.length; ) - switch (diffs[pointer3][0]) { - case 1: - count_insert++, (text_insert += diffs[pointer3][1]), pointer3++; - break; - case -1: - count_delete++, (text_delete += diffs[pointer3][1]), pointer3++; - break; - case 0: - count_delete + count_insert > 1 - ? (0 !== count_delete && - 0 !== count_insert && - ((commonlength = diff_commonPrefix( - text_insert, - text_delete, - )), - 0 !== commonlength && - (pointer3 - count_delete - count_insert > 0 && - 0 === - diffs[pointer3 - count_delete - count_insert - 1][0] - ? (diffs[ - pointer3 - count_delete - count_insert - 1 - ][1] += text_insert.substring(0, commonlength)) - : (diffs.splice( - 0, - 0, - new Diff( - 0, - text_insert.substring(0, commonlength), - ), - ), - pointer3++), - (text_insert = text_insert.substring(commonlength)), - (text_delete = text_delete.substring(commonlength))), - (commonlength = diff_commonSuffix( - text_insert, - text_delete, - )), - 0 !== commonlength && - ((diffs[pointer3][1] = - text_insert.substring( - text_insert.length - commonlength, - ) + diffs[pointer3][1]), - (text_insert = text_insert.substring( - 0, - text_insert.length - commonlength, - )), - (text_delete = text_delete.substring( - 0, - text_delete.length - commonlength, - )))), - (pointer3 -= count_delete + count_insert), - diffs.splice(pointer3, count_delete + count_insert), - text_delete.length && - (diffs.splice(pointer3, 0, new Diff(-1, text_delete)), - pointer3++), - text_insert.length && - (diffs.splice(pointer3, 0, new Diff(1, text_insert)), - pointer3++), - pointer3++) - : 0 !== pointer3 && 0 === diffs[pointer3 - 1][0] - ? ((diffs[pointer3 - 1][1] += diffs[pointer3][1]), - diffs.splice(pointer3, 1)) - : pointer3++, - (count_insert = 0), - (count_delete = 0), - (text_delete = ""), - (text_insert = ""); - } - "" === diffs[diffs.length - 1][1] && diffs.pop(); - let changes = !1; - for (pointer3 = 1; pointer3 < diffs.length - 1; ) - 0 === diffs[pointer3 - 1][0] && - 0 === diffs[pointer3 + 1][0] && - (diffs[pointer3][1].substring( - diffs[pointer3][1].length - diffs[pointer3 - 1][1].length, - ) === diffs[pointer3 - 1][1] - ? ((diffs[pointer3][1] = - diffs[pointer3 - 1][1] + - diffs[pointer3][1].substring( - 0, - diffs[pointer3][1].length - diffs[pointer3 - 1][1].length, - )), - (diffs[pointer3 + 1][1] = - diffs[pointer3 - 1][1] + diffs[pointer3 + 1][1]), - diffs.splice(pointer3 - 1, 1), - (changes = !0)) - : diffs[pointer3][1].substring( - 0, - diffs[pointer3 + 1][1].length, - ) === diffs[pointer3 + 1][1] && - ((diffs[pointer3 - 1][1] += diffs[pointer3 + 1][1]), - (diffs[pointer3][1] = - diffs[pointer3][1].substring( - diffs[pointer3 + 1][1].length, - ) + diffs[pointer3 + 1][1]), - diffs.splice(pointer3 + 1, 1), - (changes = !0))), - pointer3++; - changes && diff_cleanupMerge(diffs); - } - var build = {}; - Object.defineProperty(build, "__esModule", { value: !0 }); - var _default = (build.default = function diffSequence( - aLength, - bLength, - isCommon, - foundSubsequence, - ) { - validateLength("aLength", aLength), - validateLength("bLength", bLength), - validateCallback("isCommon", isCommon), - validateCallback("foundSubsequence", foundSubsequence); - let nCommonF = countCommonItemsF(0, aLength, 0, bLength, isCommon); - if ( - (0 !== nCommonF && foundSubsequence(nCommonF, 0, 0), - aLength !== nCommonF || bLength !== nCommonF) - ) { - let aStart = nCommonF, - bStart = nCommonF, - nCommonR = countCommonItemsR( - aStart, - aLength - 1, - bStart, - bLength - 1, - isCommon, - ), - aEnd = aLength - nCommonR, - bEnd = bLength - nCommonR, - nCommonFR = nCommonF + nCommonR; - aLength !== nCommonFR && - bLength !== nCommonFR && - findSubsequences( - 0, - aStart, - aEnd, - bStart, - bEnd, - !1, - [{ foundSubsequence, isCommon }], - [NOT_YET_SET], - [NOT_YET_SET], - { - aCommonFollowing: NOT_YET_SET, - aCommonPreceding: NOT_YET_SET, - aEndPreceding: NOT_YET_SET, - aStartFollowing: NOT_YET_SET, - bCommonFollowing: NOT_YET_SET, - bCommonPreceding: NOT_YET_SET, - bEndPreceding: NOT_YET_SET, - bStartFollowing: NOT_YET_SET, - nChangeFollowing: NOT_YET_SET, - nChangePreceding: NOT_YET_SET, - nCommonFollowing: NOT_YET_SET, - nCommonPreceding: NOT_YET_SET, - }, - ), - 0 !== nCommonR && foundSubsequence(nCommonR, aEnd, bEnd); - } - }), - pkg = "diff-sequences", - NOT_YET_SET = 0, - countCommonItemsF = (aIndex, aEnd, bIndex, bEnd, isCommon) => { - let nCommon = 0; - for (; aIndex < aEnd && bIndex < bEnd && isCommon(aIndex, bIndex); ) - (aIndex += 1), (bIndex += 1), (nCommon += 1); - return nCommon; - }, - countCommonItemsR = (aStart, aIndex, bStart, bIndex, isCommon) => { - let nCommon = 0; - for ( - ; - aStart <= aIndex && bStart <= bIndex && isCommon(aIndex, bIndex); - - ) - (aIndex -= 1), (bIndex -= 1), (nCommon += 1); - return nCommon; - }, - extendPathsF = (d2, aEnd, bEnd, bF, isCommon, aIndexesF, iMaxF) => { - let iF = 0, - kF = -d2, - aFirst = aIndexesF[iF], - aIndexPrev1 = aFirst; - aIndexesF[iF] += countCommonItemsF( - aFirst + 1, - aEnd, - bF + aFirst - kF + 1, - bEnd, - isCommon, - ); - let nF = d2 < iMaxF ? d2 : iMaxF; - for (iF += 1, kF += 2; iF <= nF; iF += 1, kF += 2) { - if (iF !== d2 && aIndexPrev1 < aIndexesF[iF]) - aFirst = aIndexesF[iF]; - else if (((aFirst = aIndexPrev1 + 1), aEnd <= aFirst)) - return iF - 1; - (aIndexPrev1 = aIndexesF[iF]), - (aIndexesF[iF] = - aFirst + - countCommonItemsF( - aFirst + 1, - aEnd, - bF + aFirst - kF + 1, - bEnd, - isCommon, - )); - } - return iMaxF; - }, - extendPathsR = ( - d2, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR, - ) => { - let iR = 0, - kR = d2, - aFirst = aIndexesR[iR], - aIndexPrev1 = aFirst; - aIndexesR[iR] -= countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bR + aFirst - kR - 1, - isCommon, - ); - let nR = d2 < iMaxR ? d2 : iMaxR; - for (iR += 1, kR -= 2; iR <= nR; iR += 1, kR -= 2) { - if (iR !== d2 && aIndexesR[iR] < aIndexPrev1) - aFirst = aIndexesR[iR]; - else if (((aFirst = aIndexPrev1 - 1), aFirst < aStart)) - return iR - 1; - (aIndexPrev1 = aIndexesR[iR]), - (aIndexesR[iR] = - aFirst - - countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bR + aFirst - kR - 1, - isCommon, - )); - } - return iMaxR; - }, - extendOverlappablePathsF = ( - d2, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) => { - let bF = bStart - aStart, - baDeltaLength = bEnd - bStart - (aEnd - aStart), - kMinOverlapF = -baDeltaLength - (d2 - 1), - kMaxOverlapF = d2 - 1 - baDeltaLength, - aIndexPrev1 = NOT_YET_SET, - nF = d2 < iMaxF ? d2 : iMaxF; - for (let iF = 0, kF = -d2; iF <= nF; iF += 1, kF += 2) { - let insert = - 0 === iF || (iF !== d2 && aIndexPrev1 < aIndexesF[iF]), - aLastPrev = insert ? aIndexesF[iF] : aIndexPrev1, - aFirst = insert ? aLastPrev : aLastPrev + 1, - bFirst = bF + aFirst - kF, - nCommonF = countCommonItemsF( - aFirst + 1, - aEnd, - bFirst + 1, - bEnd, - isCommon, - ), - aLast = aFirst + nCommonF; - if ( - ((aIndexPrev1 = aIndexesF[iF]), - (aIndexesF[iF] = aLast), - kMinOverlapF <= kF && kF <= kMaxOverlapF) - ) { - let iR = (d2 - 1 - (kF + baDeltaLength)) / 2; - if (iR <= iMaxR && aIndexesR[iR] - 1 <= aLast) { - let bLastPrev = bF + aLastPrev - (insert ? kF + 1 : kF - 1), - nCommonR = countCommonItemsR( - aStart, - aLastPrev, - bStart, - bLastPrev, - isCommon, - ), - aEndPreceding = aLastPrev - nCommonR + 1, - bEndPreceding = bLastPrev - nCommonR + 1; - (division.nChangePreceding = d2 - 1), - d2 - 1 == aEndPreceding + bEndPreceding - aStart - bStart - ? ((division.aEndPreceding = aStart), - (division.bEndPreceding = bStart)) - : ((division.aEndPreceding = aEndPreceding), - (division.bEndPreceding = bEndPreceding)), - (division.nCommonPreceding = nCommonR), - 0 !== nCommonR && - ((division.aCommonPreceding = aEndPreceding), - (division.bCommonPreceding = bEndPreceding)), - (division.nCommonFollowing = nCommonF), - 0 !== nCommonF && - ((division.aCommonFollowing = aFirst + 1), - (division.bCommonFollowing = bFirst + 1)); - let aStartFollowing = aLast + 1, - bStartFollowing = bFirst + nCommonF + 1; - return ( - (division.nChangeFollowing = d2 - 1), - d2 - 1 == aEnd + bEnd - aStartFollowing - bStartFollowing - ? ((division.aStartFollowing = aEnd), - (division.bStartFollowing = bEnd)) - : ((division.aStartFollowing = aStartFollowing), - (division.bStartFollowing = bStartFollowing)), - !0 - ); - } - } - } - return !1; - }, - extendOverlappablePathsR = ( - d2, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) => { - let bR = bEnd - aEnd, - baDeltaLength = bEnd - bStart - (aEnd - aStart), - kMinOverlapR = baDeltaLength - d2, - kMaxOverlapR = baDeltaLength + d2, - aIndexPrev1 = NOT_YET_SET, - nR = d2 < iMaxR ? d2 : iMaxR; - for (let iR = 0, kR = d2; iR <= nR; iR += 1, kR -= 2) { - let insert = - 0 === iR || (iR !== d2 && aIndexesR[iR] < aIndexPrev1), - aLastPrev = insert ? aIndexesR[iR] : aIndexPrev1, - aFirst = insert ? aLastPrev : aLastPrev - 1, - bFirst = bR + aFirst - kR, - nCommonR = countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bFirst - 1, - isCommon, - ), - aLast = aFirst - nCommonR; - if ( - ((aIndexPrev1 = aIndexesR[iR]), - (aIndexesR[iR] = aLast), - kMinOverlapR <= kR && kR <= kMaxOverlapR) - ) { - let iF = (d2 + (kR - baDeltaLength)) / 2; - if (iF <= iMaxF && aLast - 1 <= aIndexesF[iF]) { - let bLast = bFirst - nCommonR; - if ( - ((division.nChangePreceding = d2), - d2 === aLast + bLast - aStart - bStart - ? ((division.aEndPreceding = aStart), - (division.bEndPreceding = bStart)) - : ((division.aEndPreceding = aLast), - (division.bEndPreceding = bLast)), - (division.nCommonPreceding = nCommonR), - 0 !== nCommonR && - ((division.aCommonPreceding = aLast), - (division.bCommonPreceding = bLast)), - (division.nChangeFollowing = d2 - 1), - 1 === d2) - ) - (division.nCommonFollowing = 0), - (division.aStartFollowing = aEnd), - (division.bStartFollowing = bEnd); - else { - let bLastPrev = bR + aLastPrev - (insert ? kR - 1 : kR + 1), - nCommonF = countCommonItemsF( - aLastPrev, - aEnd, - bLastPrev, - bEnd, - isCommon, - ); - (division.nCommonFollowing = nCommonF), - 0 !== nCommonF && - ((division.aCommonFollowing = aLastPrev), - (division.bCommonFollowing = bLastPrev)); - let aStartFollowing = aLastPrev + nCommonF, - bStartFollowing = bLastPrev + nCommonF; - d2 - 1 == aEnd + bEnd - aStartFollowing - bStartFollowing - ? ((division.aStartFollowing = aEnd), - (division.bStartFollowing = bEnd)) - : ((division.aStartFollowing = aStartFollowing), - (division.bStartFollowing = bStartFollowing)); - } - return !0; - } - } - } - return !1; - }, - findSubsequences = ( - nChange, - aStart, - aEnd, - bStart, - bEnd, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division, - ) => { - if (bEnd - bStart < aEnd - aStart) { - if ((transposed = !transposed) && 1 === callbacks.length) { - let { - foundSubsequence: foundSubsequence2, - isCommon: isCommon2, - } = callbacks[0]; - callbacks[1] = { - foundSubsequence: (nCommon, bCommon, aCommon) => { - foundSubsequence2(nCommon, aCommon, bCommon); - }, - isCommon: (bIndex, aIndex) => isCommon2(aIndex, bIndex), - }; - } - let tStart = aStart, - tEnd = aEnd; - (aStart = bStart), - (aEnd = bEnd), - (bStart = tStart), - (bEnd = tEnd); - } - let { foundSubsequence, isCommon } = callbacks[transposed ? 1 : 0]; - (( - nChange, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - aIndexesR, - division, - ) => { - let bF = bStart - aStart, - bR = bEnd - aEnd, - aLength = aEnd - aStart, - bLength = bEnd - bStart, - baDeltaLength = bLength - aLength, - iMaxF = aLength, - iMaxR = aLength; - if ( - ((aIndexesF[0] = aStart - 1), - (aIndexesR[0] = aEnd), - baDeltaLength % 2 == 0) - ) { - let dMin = (nChange || baDeltaLength) / 2, - dMax = (aLength + bLength) / 2; - for (let d2 = 1; d2 <= dMax; d2 += 1) - if ( - ((iMaxF = extendPathsF( - d2, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF, - )), - d2 < dMin) - ) - iMaxR = extendPathsR( - d2, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR, - ); - else if ( - extendOverlappablePathsR( - d2, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) - ) - return; - } else { - let dMin = ((nChange || baDeltaLength) + 1) / 2, - dMax = (aLength + bLength + 1) / 2, - d2 = 1; - for ( - iMaxF = extendPathsF( - d2, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF, - ), - d2 += 1; - d2 <= dMax; - d2 += 1 - ) - if ( - ((iMaxR = extendPathsR( - d2 - 1, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR, - )), - d2 < dMin) - ) - iMaxF = extendPathsF( - d2, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF, - ); - else if ( - extendOverlappablePathsF( - d2, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division, - ) - ) - return; - } - throw new Error( - `${pkg}: no overlap aStart=${aStart} aEnd=${aEnd} bStart=${bStart} bEnd=${bEnd}`, - ); - })( - nChange, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - aIndexesR, - division, - ); - let { - nChangePreceding, - aEndPreceding, - bEndPreceding, - nCommonPreceding, - aCommonPreceding, - bCommonPreceding, - nCommonFollowing, - aCommonFollowing, - bCommonFollowing, - nChangeFollowing, - aStartFollowing, - bStartFollowing, - } = division; - aStart < aEndPreceding && - bStart < bEndPreceding && - findSubsequences( - nChangePreceding, - aStart, - aEndPreceding, - bStart, - bEndPreceding, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division, - ), - 0 !== nCommonPreceding && - foundSubsequence( - nCommonPreceding, - aCommonPreceding, - bCommonPreceding, - ), - 0 !== nCommonFollowing && - foundSubsequence( - nCommonFollowing, - aCommonFollowing, - bCommonFollowing, - ), - aStartFollowing < aEnd && - bStartFollowing < bEnd && - findSubsequences( - nChangeFollowing, - aStartFollowing, - aEnd, - bStartFollowing, - bEnd, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division, - ); - }, - validateLength = (name, arg) => { - if ("number" != typeof arg) - throw new TypeError( - `${pkg}: ${name} typeof ${typeof arg} is not a number`, - ); - if (!Number.isSafeInteger(arg)) - throw new RangeError( - `${pkg}: ${name} value ${arg} is not a safe integer`, - ); - if (arg < 0) - throw new RangeError( - `${pkg}: ${name} value ${arg} is a negative integer`, - ); - }, - validateCallback = (name, arg) => { - let type5 = typeof arg; - if ("function" !== type5) - throw new TypeError( - `${pkg}: ${name} typeof ${type5} is not a function`, - ); - }; - function printDiffLine( - line, - isFirstOrLast, - color, - indicator, - trailingSpaceFormatter, - emptyFirstOrLastLinePlaceholder, - ) { - return 0 !== line.length - ? color( - `${indicator} ${(function formatTrailingSpaces( - line, - trailingSpaceFormatter, - ) { - return line.replace(/\s+$/, (match) => - trailingSpaceFormatter(match), - ); - })(line, trailingSpaceFormatter)}`, - ) - : " " !== indicator - ? color(indicator) - : isFirstOrLast && 0 !== emptyFirstOrLastLinePlaceholder.length - ? color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`) - : ""; - } - function printDeleteLine( - line, - isFirstOrLast, - { - aColor, - aIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - }, - ) { - return printDiffLine( - line, - isFirstOrLast, - aColor, - aIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - ); - } - function printInsertLine( - line, - isFirstOrLast, - { - bColor, - bIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - }, - ) { - return printDiffLine( - line, - isFirstOrLast, - bColor, - bIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - ); - } - function printCommonLine( - line, - isFirstOrLast, - { - commonColor, - commonIndicator, - commonLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - }, - ) { - return printDiffLine( - line, - isFirstOrLast, - commonColor, - commonIndicator, - commonLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder, - ); - } - function createPatchMark(aStart, aEnd, bStart, bEnd, { patchColor }) { - return patchColor( - `@@ -${aStart + 1},${aEnd - aStart} +${bStart + 1},${bEnd - bStart} @@`, - ); - } - var noColor = (string) => string; - function normalizeDiffOptions(options = {}) { - return { - aAnnotation: "Expected", - aColor: f2.green, - aIndicator: "-", - bAnnotation: "Received", - bColor: f2.red, - bIndicator: "+", - changeColor: f2.inverse, - changeLineTrailingSpaceColor: noColor, - commonColor: f2.dim, - commonIndicator: " ", - commonLineTrailingSpaceColor: noColor, - compareKeys: void 0, - contextLines: 5, - emptyFirstOrLastLinePlaceholder: "", - expand: !0, - includeChangeCounts: !1, - omitAnnotationLines: !1, - patchColor: f2.yellow, - truncateThreshold: 0, - truncateAnnotation: "... Diff result is truncated", - truncateAnnotationColor: noColor, - ...options, - compareKeys: - ((compareKeys = options.compareKeys), - compareKeys && "function" == typeof compareKeys - ? compareKeys - : void 0), - contextLines: - ((contextLines = options.contextLines), - "number" == typeof contextLines && - Number.isSafeInteger(contextLines) && - contextLines >= 0 - ? contextLines - : 5), - }; - var contextLines, compareKeys; - } - function isEmptyString(lines) { - return 1 === lines.length && 0 === lines[0].length; - } - function printDiffLines(diffs, truncated, options) { - return ( - (function printAnnotation( - { - aAnnotation, - aColor, - aIndicator, - bAnnotation, - bColor, - bIndicator, - includeChangeCounts, - omitAnnotationLines, - }, - changeCounts, - ) { - if (omitAnnotationLines) return ""; - let aRest = "", - bRest = ""; - if (includeChangeCounts) { - let aCount = String(changeCounts.a), - bCount = String(changeCounts.b), - baAnnotationLengthDiff = - bAnnotation.length - aAnnotation.length, - aAnnotationPadding = " ".repeat( - Math.max(0, baAnnotationLengthDiff), - ), - bAnnotationPadding = " ".repeat( - Math.max(0, -baAnnotationLengthDiff), - ), - baCountLengthDiff = bCount.length - aCount.length; - (aRest = `${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0, baCountLengthDiff))}${aCount}`), - (bRest = `${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0, -baCountLengthDiff))}${bCount}`); - } - let b = `${bIndicator} ${bAnnotation}${bRest}`; - return `${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b)}\n\n`; - })( - options, - (function countChanges(diffs) { - let a2 = 0, - b = 0; - return ( - diffs.forEach((diff2) => { - switch (diff2[0]) { - case -1: - a2 += 1; - break; - case 1: - b += 1; - } - }), - { a: a2, b } - ); - })(diffs), - ) + - (options.expand - ? (function joinAlignedDiffsExpand(diffs, options) { - return diffs - .map((diff2, i, diffs2) => { - let line = diff2[1], - isFirstOrLast = 0 === i || i === diffs2.length - 1; - switch (diff2[0]) { - case -1: - return printDeleteLine(line, isFirstOrLast, options); - case 1: - return printInsertLine(line, isFirstOrLast, options); - default: - return printCommonLine(line, isFirstOrLast, options); - } - }) - .join("\n"); - })(diffs, options) - : (function joinAlignedDiffsNoExpand(diffs, options) { - let iLength = diffs.length, - nContextLines = options.contextLines, - nContextLines2 = nContextLines + nContextLines, - jLength = iLength, - hasExcessAtStartOrEnd = !1, - nExcessesBetweenChanges = 0, - i = 0; - for (; i !== iLength; ) { - let iStart = i; - for (; i !== iLength && 0 === diffs[i][0]; ) i += 1; - if (iStart !== i) - if (0 === iStart) - i > nContextLines && - ((jLength -= i - nContextLines), - (hasExcessAtStartOrEnd = !0)); - else if (i === iLength) { - let n = i - iStart; - n > nContextLines && - ((jLength -= n - nContextLines), - (hasExcessAtStartOrEnd = !0)); - } else { - let n = i - iStart; - n > nContextLines2 && - ((jLength -= n - nContextLines2), - (nExcessesBetweenChanges += 1)); - } - for (; i !== iLength && 0 !== diffs[i][0]; ) i += 1; - } - let hasPatch = - 0 !== nExcessesBetweenChanges || hasExcessAtStartOrEnd; - 0 !== nExcessesBetweenChanges - ? (jLength += nExcessesBetweenChanges + 1) - : hasExcessAtStartOrEnd && (jLength += 1); - let jLast = jLength - 1, - lines = [], - jPatchMark = 0; - hasPatch && lines.push(""); - let aStart = 0, - bStart = 0, - aEnd = 0, - bEnd = 0, - pushCommonLine = (line) => { - let j = lines.length; - lines.push( - printCommonLine(line, 0 === j || j === jLast, options), - ), - (aEnd += 1), - (bEnd += 1); - }, - pushDeleteLine = (line) => { - let j = lines.length; - lines.push( - printDeleteLine(line, 0 === j || j === jLast, options), - ), - (aEnd += 1); - }, - pushInsertLine = (line) => { - let j = lines.length; - lines.push( - printInsertLine(line, 0 === j || j === jLast, options), - ), - (bEnd += 1); - }; - for (i = 0; i !== iLength; ) { - let iStart = i; - for (; i !== iLength && 0 === diffs[i][0]; ) i += 1; - if (iStart !== i) - if (0 === iStart) { - i > nContextLines && - ((iStart = i - nContextLines), - (aStart = iStart), - (bStart = iStart), - (aEnd = aStart), - (bEnd = bStart)); - for (let iCommon = iStart; iCommon !== i; iCommon += 1) - pushCommonLine(diffs[iCommon][1]); - } else if (i === iLength) { - let iEnd = - i - iStart > nContextLines - ? iStart + nContextLines - : i; - for ( - let iCommon = iStart; - iCommon !== iEnd; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - } else { - let nCommon = i - iStart; - if (nCommon > nContextLines2) { - let iEnd = iStart + nContextLines; - for ( - let iCommon = iStart; - iCommon !== iEnd; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - (lines[jPatchMark] = createPatchMark( - aStart, - aEnd, - bStart, - bEnd, - options, - )), - (jPatchMark = lines.length), - lines.push(""); - let nOmit = nCommon - nContextLines2; - (aStart = aEnd + nOmit), - (bStart = bEnd + nOmit), - (aEnd = aStart), - (bEnd = bStart); - for ( - let iCommon = i - nContextLines; - iCommon !== i; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - } else - for ( - let iCommon = iStart; - iCommon !== i; - iCommon += 1 - ) - pushCommonLine(diffs[iCommon][1]); - } - for (; i !== iLength && -1 === diffs[i][0]; ) - pushDeleteLine(diffs[i][1]), (i += 1); - for (; i !== iLength && 1 === diffs[i][0]; ) - pushInsertLine(diffs[i][1]), (i += 1); - } - return ( - hasPatch && - (lines[jPatchMark] = createPatchMark( - aStart, - aEnd, - bStart, - bEnd, - options, - )), - lines.join("\n") - ); - })(diffs, options)) + - (truncated - ? options.truncateAnnotationColor( - `\n${options.truncateAnnotation}`, - ) - : "") - ); - } - function diffLinesUnified(aLines, bLines, options) { - let normalizedOptions = normalizeDiffOptions(options), - [diffs, truncated] = diffLinesRaw( - isEmptyString(aLines) ? [] : aLines, - isEmptyString(bLines) ? [] : bLines, - normalizedOptions, - ); - return printDiffLines(diffs, truncated, normalizedOptions); - } - function diffLinesRaw(aLines, bLines, options) { - let truncate3 = options?.truncateThreshold ?? !1, - truncateThreshold = Math.max( - Math.floor(options?.truncateThreshold ?? 0), - 0, - ), - aLength = truncate3 - ? Math.min(aLines.length, truncateThreshold) - : aLines.length, - bLength = truncate3 - ? Math.min(bLines.length, truncateThreshold) - : bLines.length, - truncated = aLength !== aLines.length || bLength !== bLines.length, - diffs = [], - aIndex = 0, - bIndex = 0; - for ( - _default( - aLength, - bLength, - (aIndex2, bIndex2) => aLines[aIndex2] === bLines[bIndex2], - (nCommon, aCommon, bCommon) => { - for (; aIndex !== aCommon; aIndex += 1) - diffs.push(new Diff(-1, aLines[aIndex])); - for (; bIndex !== bCommon; bIndex += 1) - diffs.push(new Diff(1, bLines[bIndex])); - for (; 0 !== nCommon; nCommon -= 1, aIndex += 1, bIndex += 1) - diffs.push(new Diff(0, bLines[bIndex])); - }, - ); - aIndex !== aLength; - aIndex += 1 - ) - diffs.push(new Diff(-1, aLines[aIndex])); - for (; bIndex !== bLength; bIndex += 1) - diffs.push(new Diff(1, bLines[bIndex])); - return [diffs, truncated]; - } - function getNewLineSymbol(string) { - return string.includes("\r\n") ? "\r\n" : "\n"; - } - var ChangeBuffer = class { - op; - line; - lines; - changeColor; - constructor(op, changeColor) { - (this.op = op), - (this.line = []), - (this.lines = []), - (this.changeColor = changeColor); - } - pushSubstring(substring) { - this.pushDiff(new Diff(this.op, substring)); - } - pushLine() { - this.lines.push( - 1 !== this.line.length - ? new Diff( - this.op, - (function concatenateRelevantDiffs( - op, - diffs, - changeColor, - ) { - return diffs.reduce( - (reduced, diff2) => - reduced + - (0 === diff2[0] - ? diff2[1] - : diff2[0] === op && 0 !== diff2[1].length - ? changeColor(diff2[1]) - : ""), - "", - ); - })(this.op, this.line, this.changeColor), - ) - : this.line[0][0] === this.op - ? this.line[0] - : new Diff(this.op, this.line[0][1]), - ), - (this.line.length = 0); - } - isLineEmpty() { - return 0 === this.line.length; - } - pushDiff(diff2) { - this.line.push(diff2); - } - align(diff2) { - let string = diff2[1]; - if (string.includes("\n")) { - let substrings = string.split("\n"), - iLast = substrings.length - 1; - substrings.forEach((substring, i) => { - i < iLast - ? (this.pushSubstring(substring), this.pushLine()) - : 0 !== substring.length && this.pushSubstring(substring); - }); - } else this.pushDiff(diff2); - } - moveLinesTo(lines) { - this.isLineEmpty() || this.pushLine(), - lines.push(...this.lines), - (this.lines.length = 0); - } - }, - CommonBuffer = class { - deleteBuffer; - insertBuffer; - lines; - constructor(deleteBuffer, insertBuffer) { - (this.deleteBuffer = deleteBuffer), - (this.insertBuffer = insertBuffer), - (this.lines = []); - } - pushDiffCommonLine(diff2) { - this.lines.push(diff2); - } - pushDiffChangeLines(diff2) { - let isDiffEmpty = 0 === diff2[1].length; - (!isDiffEmpty || this.deleteBuffer.isLineEmpty()) && - this.deleteBuffer.pushDiff(diff2), - (!isDiffEmpty || this.insertBuffer.isLineEmpty()) && - this.insertBuffer.pushDiff(diff2); - } - flushChangeLines() { - this.deleteBuffer.moveLinesTo(this.lines), - this.insertBuffer.moveLinesTo(this.lines); - } - align(diff2) { - let op = diff2[0], - string = diff2[1]; - if (string.includes("\n")) { - let substrings = string.split("\n"), - iLast = substrings.length - 1; - substrings.forEach((substring, i) => { - if (0 === i) { - let subdiff = new Diff(op, substring); - this.deleteBuffer.isLineEmpty() && - this.insertBuffer.isLineEmpty() - ? (this.flushChangeLines(), - this.pushDiffCommonLine(subdiff)) - : (this.pushDiffChangeLines(subdiff), - this.flushChangeLines()); - } else - i < iLast - ? this.pushDiffCommonLine(new Diff(op, substring)) - : 0 !== substring.length && - this.pushDiffChangeLines(new Diff(op, substring)); - }); - } else this.pushDiffChangeLines(diff2); - } - getLines() { - return this.flushChangeLines(), this.lines; - } - }; - function diffStringsUnified(a2, b, options) { - if (a2 !== b && 0 !== a2.length && 0 !== b.length) { - let isMultiline = a2.includes("\n") || b.includes("\n"), - [diffs, truncated] = diffStringsRaw( - isMultiline ? `${a2}\n` : a2, - isMultiline ? `${b}\n` : b, - !0, - options, - ); - if ( - (function hasCommonDiff(diffs, isMultiline) { - if (isMultiline) { - let iLast = diffs.length - 1; - return diffs.some( - (diff2, i) => - 0 === diff2[0] && (i !== iLast || "\n" !== diff2[1]), - ); - } - return diffs.some((diff2) => 0 === diff2[0]); - })(diffs, isMultiline) - ) { - let optionsNormalized = normalizeDiffOptions(options), - lines = (function getAlignedDiffs(diffs, changeColor) { - let deleteBuffer = new ChangeBuffer(-1, changeColor), - insertBuffer = new ChangeBuffer(1, changeColor), - commonBuffer = new CommonBuffer(deleteBuffer, insertBuffer); - return ( - diffs.forEach((diff2) => { - switch (diff2[0]) { - case -1: - deleteBuffer.align(diff2); - break; - case 1: - insertBuffer.align(diff2); - break; - default: - commonBuffer.align(diff2); - } - }), - commonBuffer.getLines() - ); - })(diffs, optionsNormalized.changeColor); - return printDiffLines(lines, truncated, optionsNormalized); - } - } - return diffLinesUnified(a2.split("\n"), b.split("\n"), options); - } - function diffStringsRaw(a2, b, cleanup, options) { - let [diffs, truncated] = (function diffStrings(a2, b, options) { - let truncate3 = options?.truncateThreshold ?? !1, - truncateThreshold = Math.max( - Math.floor(options?.truncateThreshold ?? 0), - 0, - ), - aLength = a2.length, - bLength = b.length; - if (truncate3) { - let aMultipleLines = a2.includes("\n"), - bMultipleLines = b.includes("\n"), - aNewLineSymbol = getNewLineSymbol(a2), - bNewLineSymbol = getNewLineSymbol(b), - _a2 = aMultipleLines - ? `${a2.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}\n` - : a2, - _b = bMultipleLines - ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}\n` - : b; - (aLength = _a2.length), (bLength = _b.length); - } - let truncated = aLength !== a2.length || bLength !== b.length, - aIndex = 0, - bIndex = 0, - diffs = []; - return ( - _default( - aLength, - bLength, - (aIndex2, bIndex2) => a2[aIndex2] === b[bIndex2], - (nCommon, aCommon, bCommon) => { - aIndex !== aCommon && - diffs.push(new Diff(-1, a2.slice(aIndex, aCommon))), - bIndex !== bCommon && - diffs.push(new Diff(1, b.slice(bIndex, bCommon))), - (aIndex = aCommon + nCommon), - (bIndex = bCommon + nCommon), - diffs.push(new Diff(0, b.slice(bCommon, bIndex))); - }, - ), - aIndex !== aLength && diffs.push(new Diff(-1, a2.slice(aIndex))), - bIndex !== bLength && diffs.push(new Diff(1, b.slice(bIndex))), - [diffs, truncated] - ); - })(a2, b, options); - return cleanup && diff_cleanupSemantic(diffs), [diffs, truncated]; - } - function getCommonMessage(message, options) { - let { commonColor } = normalizeDiffOptions(options); - return commonColor(message); - } - var { - AsymmetricMatcher: AsymmetricMatcher2, - DOMCollection: DOMCollection2, - DOMElement: DOMElement2, - Immutable: Immutable2, - ReactElement: ReactElement2, - ReactTestComponent: ReactTestComponent2, - } = plugins, - PLUGINS2 = [ - ReactTestComponent2, - ReactElement2, - DOMElement2, - DOMCollection2, - Immutable2, - AsymmetricMatcher2, - ], - FORMAT_OPTIONS = { plugins: PLUGINS2 }, - FALLBACK_FORMAT_OPTIONS = { - callToJSON: !1, - maxDepth: 10, - plugins: PLUGINS2, - }; - function diff(a2, b, options) { - if (Object.is(a2, b)) return ""; - let aType = getType3(a2), - expectedType = aType, - omitDifference = !1; - if ("object" === aType && "function" == typeof a2.asymmetricMatch) { - if ( - a2.$$typeof !== Symbol.for("jest.asymmetricMatcher") || - "function" != typeof a2.getExpectedType - ) - return; - (expectedType = a2.getExpectedType()), - (omitDifference = "string" === expectedType); - } - if (expectedType !== getType3(b)) { - let { - aAnnotation, - aColor, - aIndicator, - bAnnotation, - bColor, - bIndicator, - } = normalizeDiffOptions(options), - formatOptions = getFormatOptions( - FALLBACK_FORMAT_OPTIONS, - options, - ), - aDisplay = format(a2, formatOptions), - bDisplay = format(b, formatOptions); - return `${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`; - } - if (!omitDifference) - switch (aType) { - case "string": - return diffLinesUnified(a2.split("\n"), b.split("\n"), options); - case "boolean": - case "number": - return (function comparePrimitive(a2, b, options) { - let aFormat = format(a2, FORMAT_OPTIONS), - bFormat = format(b, FORMAT_OPTIONS); - return aFormat === bFormat - ? "" - : diffLinesUnified( - aFormat.split("\n"), - bFormat.split("\n"), - options, - ); - })(a2, b, options); - case "map": - return compareObjects(sortMap(a2), sortMap(b), options); - case "set": - return compareObjects(sortSet(a2), sortSet(b), options); - default: - return compareObjects(a2, b, options); - } - } - function sortMap(map) { - return new Map(Array.from(map.entries()).sort()); - } - function sortSet(set2) { - return new Set(Array.from(set2.values()).sort()); - } - function compareObjects(a2, b, options) { - let difference, - hasThrown = !1; - try { - difference = getObjectsDifference( - a2, - b, - getFormatOptions(FORMAT_OPTIONS, options), - options, - ); - } catch { - hasThrown = !0; - } - let noDiffMessage = getCommonMessage( - "Compared values have no visual difference.", - options, - ); - if (void 0 === difference || difference === noDiffMessage) { - (difference = getObjectsDifference( - a2, - b, - getFormatOptions(FALLBACK_FORMAT_OPTIONS, options), - options, - )), - difference !== noDiffMessage && - !hasThrown && - (difference = `${getCommonMessage("Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.", options)}\n\n${difference}`); - } - return difference; - } - function getFormatOptions(formatOptions, options) { - let { compareKeys } = normalizeDiffOptions(options); - return { ...formatOptions, compareKeys }; - } - function getObjectsDifference(a2, b, formatOptions, options) { - let formatOptionsZeroIndent = { ...formatOptions, indent: 0 }, - aCompare = format(a2, formatOptionsZeroIndent), - bCompare = format(b, formatOptionsZeroIndent); - if (aCompare === bCompare) - return getCommonMessage( - "Compared values have no visual difference.", - options, - ); - { - let aDisplay = format(a2, formatOptions), - bDisplay = format(b, formatOptions); - return (function diffLinesUnified2( - aLinesDisplay, - bLinesDisplay, - aLinesCompare, - bLinesCompare, - options, - ) { - if ( - (isEmptyString(aLinesDisplay) && - isEmptyString(aLinesCompare) && - ((aLinesDisplay = []), (aLinesCompare = [])), - isEmptyString(bLinesDisplay) && - isEmptyString(bLinesCompare) && - ((bLinesDisplay = []), (bLinesCompare = [])), - aLinesDisplay.length !== aLinesCompare.length || - bLinesDisplay.length !== bLinesCompare.length) - ) - return diffLinesUnified(aLinesDisplay, bLinesDisplay, options); - let [diffs, truncated] = diffLinesRaw( - aLinesCompare, - bLinesCompare, - options, - ), - aIndex = 0, - bIndex = 0; - return ( - diffs.forEach((diff2) => { - switch (diff2[0]) { - case -1: - (diff2[1] = aLinesDisplay[aIndex]), (aIndex += 1); - break; - case 1: - (diff2[1] = bLinesDisplay[bIndex]), (bIndex += 1); - break; - default: - (diff2[1] = bLinesDisplay[bIndex]), - (aIndex += 1), - (bIndex += 1); - } - }), - printDiffLines(diffs, truncated, normalizeDiffOptions(options)) - ); - })( - aDisplay.split("\n"), - bDisplay.split("\n"), - aCompare.split("\n"), - bCompare.split("\n"), - options, - ); - } - } - function isAsymmetricMatcher(data) { - return ( - "Object" === getType(data) && - "function" == typeof data.asymmetricMatch - ); - } - function isReplaceable(obj1, obj2) { - let obj1Type = getType(obj1); - return ( - obj1Type === getType(obj2) && - ("Object" === obj1Type || "Array" === obj1Type) - ); - } - function printDiffOrStringify(expected, received, options) { - let { aAnnotation, bAnnotation } = normalizeDiffOptions(options); - if ( - "string" == typeof expected && - "string" == typeof received && - expected.length > 0 && - received.length > 0 && - expected.length <= 2e4 && - received.length <= 2e4 && - expected !== received - ) { - if (expected.includes("\n") || received.includes("\n")) - return diffStringsUnified(received, expected, options); - let [diffs] = diffStringsRaw(received, expected, !0), - hasCommonDiff2 = diffs.some((diff2) => 0 === diff2[0]), - printLabel = (function getLabelPrinter(...strings) { - let maxLength = strings.reduce( - (max, string) => (string.length > max ? string.length : max), - 0, - ); - return (string) => - `${string}: ${" ".repeat(maxLength - string.length)}`; - })(aAnnotation, bAnnotation); - return `${ - printLabel(aAnnotation) + - (function printExpected(value) { - return f2.green(replaceTrailingSpaces(stringify(value))); - })(getCommonAndChangedSubstrings(diffs, -1, hasCommonDiff2)) - }\n${ - printLabel(bAnnotation) + - (function printReceived(object) { - return f2.red(replaceTrailingSpaces(stringify(object))); - })(getCommonAndChangedSubstrings(diffs, 1, hasCommonDiff2)) - }`; - } - let clonedExpected = deepClone(expected, { forceWritable: !0 }), - clonedReceived = deepClone(received, { forceWritable: !0 }), - { replacedExpected, replacedActual } = replaceAsymmetricMatcher( - clonedExpected, - clonedReceived, - ); - return diff(replacedExpected, replacedActual, options); - } - function replaceAsymmetricMatcher( - actual, - expected, - actualReplaced = new WeakSet(), - expectedReplaced = new WeakSet(), - ) { - return isReplaceable(actual, expected) - ? (actualReplaced.has(actual) || - expectedReplaced.has(expected) || - (actualReplaced.add(actual), - expectedReplaced.add(expected), - getOwnProperties(expected).forEach((key) => { - let expectedValue = expected[key], - actualValue = actual[key]; - if (isAsymmetricMatcher(expectedValue)) - expectedValue.asymmetricMatch(actualValue) && - (actual[key] = expectedValue); - else if (isAsymmetricMatcher(actualValue)) - actualValue.asymmetricMatch(expectedValue) && - (expected[key] = actualValue); - else if (isReplaceable(actualValue, expectedValue)) { - let replaced = replaceAsymmetricMatcher( - actualValue, - expectedValue, - actualReplaced, - expectedReplaced, - ); - (actual[key] = replaced.replacedActual), - (expected[key] = replaced.replacedExpected); - } - })), - { replacedActual: actual, replacedExpected: expected }) - : { replacedActual: actual, replacedExpected: expected }; - } - var SPACE_SYMBOL = "·"; - function replaceTrailingSpaces(text) { - return text.replace(/\s+$/gm, (spaces) => - SPACE_SYMBOL.repeat(spaces.length), - ); - } - function getCommonAndChangedSubstrings(diffs, op, hasCommonDiff2) { - return diffs.reduce( - (reduced, diff2) => - reduced + - (0 === diff2[0] - ? diff2[1] - : diff2[0] === op - ? hasCommonDiff2 - ? f2.inverse(diff2[1]) - : diff2[1] - : ""), - "", - ); - } - function d(e, t) { - if (!e) throw new Error(t); - } - function y(e, t) { - return typeof t === e; - } - function f3(e, t, n) { - Object.defineProperty(e, t, n); - } - function p2(e, t, n) { - Object.defineProperty(e, t, { value: n }); - } - var u = Symbol.for("tinyspy:spy"), - x = new Set(), - I = (e) => - e[u] || - ((e) => ( - f3(e, u, { - value: { - reset: () => - ((e) => { - (e.called = !1), - (e.callCount = 0), - (e.calls = []), - (e.results = []), - (e.resolves = []), - (e.next = []); - })(e[u]), - }, - }), - e[u] - ))(e); - function g(e) { - d( - y("function", e) || y("undefined", e), - "cannot spy on a non-function value", - ); - let t = function (...s) { - let r = I(t); - (r.called = !0), r.callCount++, r.calls.push(s); - let R = r.next.shift(); - if (R) { - r.results.push(R); - let [o, l] = R; - if ("ok" === o) return l; - throw l; - } - let i, - c = "ok", - a2 = r.results.length; - if (r.impl) - try { - (i = new.target - ? Reflect.construct(r.impl, s, new.target) - : r.impl.apply(this, s)), - (c = "ok"); - } catch (o) { - throw ((i = o), (c = "error"), r.results.push([c, o]), o); - } - let S = [c, i]; - return ( - (function w(e) { - return e instanceof Promise; - })(i) && - i.then( - (o) => (r.resolves[a2] = ["ok", o]), - (o) => (r.resolves[a2] = ["error", o]), - ), - r.results.push(S), - i - ); - }; - p2(t, "_isMockFunction", !0), - p2(t, "length", e ? e.length : 0), - p2(t, "name", (e && e.name) || "spy"); - let n = I(t); - return n.reset(), (n.impl = e), t; - } - var k = (e, t) => Object.getOwnPropertyDescriptor(e, t), - O = (e, t) => { - null != t && - "function" == typeof t && - null != t.prototype && - Object.setPrototypeOf(e.prototype, t.prototype); - }; - function C2(e, t, n) { - d(!y("undefined", e), "spyOn could not find an object to spy upon"), - d( - y("object", e) || y("function", e), - "cannot spyOn on a primitive value", - ); - let [s, r] = (() => { - if (!y("object", t)) return [t, "value"]; - if ("getter" in t && "setter" in t) - throw new Error("cannot spy on both getter and setter"); - if ("getter" in t) return [t.getter, "get"]; - if ("setter" in t) return [t.setter, "set"]; - throw new Error("specify getter or setter to spy on"); - })(), - R = k(e, s), - i = Object.getPrototypeOf(e), - c = i && k(i, s), - a2 = R || c; - d(a2 || s in e, `${String(s)} does not exist`); - let o, - S = !1; - "value" === r && - a2 && - !a2.value && - a2.get && - ((r = "get"), (S = !0), (n = a2.get())), - (o = a2 ? a2[r] : "value" !== r ? () => e[s] : e[s]), - n || (n = o); - let l = g(n); - "value" === r && O(l, o); - let h2 = (A) => { - let { value: M, ...v } = a2 || { configurable: !0, writable: !0 }; - "value" !== r && delete v.writable, (v[r] = A), f3(e, s, v); - }, - m2 = l[u]; - return ( - p2(m2, "restore", () => (a2 ? f3(e, s, a2) : h2(o))), - p2(m2, "getOriginal", () => (S ? o() : o)), - p2(m2, "willCall", (A) => ((m2.impl = A), l)), - h2(S ? () => (O(l, n), l) : l), - x.add(l), - l - ); - } - var mocks = new Set(); - function isMockFunction(fn22) { - return ( - "function" == typeof fn22 && - "_isMockFunction" in fn22 && - fn22._isMockFunction - ); - } - var callOrder = 0; - function enhanceSpy(spy) { - let implementation, - stub = spy, - instances = [], - contexts = [], - invocations = [], - state = I(spy), - mockContext = { - get calls() { - return state.calls; - }, - get contexts() { - return contexts; - }, - get instances() { - return instances; - }, - get invocationCallOrder() { - return invocations; - }, - get results() { - return state.results.map(([callType, value]) => ({ - type: "error" === callType ? "throw" : "return", - value, - })); - }, - get settledResults() { - return state.resolves.map(([callType, value]) => ({ - type: "error" === callType ? "rejected" : "fulfilled", - value, - })); - }, - get lastCall() { - return state.calls[state.calls.length - 1]; - }, - }, - onceImplementations = [], - implementationChangedTemporarily = !1; - function mockCall(...args) { - return ( - instances.push(this), - contexts.push(this), - invocations.push(++callOrder), - (implementationChangedTemporarily - ? implementation - : onceImplementations.shift() || - implementation || - state.getOriginal() || - (() => {}) - ).apply(this, args) - ); - } - let name = stub.name; - return ( - (stub.getMockName = () => name || "vi.fn()"), - (stub.mockName = (n) => ((name = n), stub)), - (stub.mockClear = () => ( - state.reset(), - (instances = []), - (contexts = []), - (invocations = []), - stub - )), - (stub.mockReset = () => ( - stub.mockClear(), - (implementation = () => {}), - (onceImplementations = []), - stub - )), - (stub.mockRestore = () => ( - stub.mockReset(), state.restore(), (implementation = void 0), stub - )), - (stub.getMockImplementation = () => implementation), - (stub.mockImplementation = (fn22) => ( - (implementation = fn22), state.willCall(mockCall), stub - )), - (stub.mockImplementationOnce = (fn22) => ( - onceImplementations.push(fn22), stub - )), - (stub.withImplementation = function withImplementation(fn22, cb) { - let originalImplementation = implementation; - (implementation = fn22), - state.willCall(mockCall), - (implementationChangedTemporarily = !0); - let reset = () => { - (implementation = originalImplementation), - (implementationChangedTemporarily = !1); - }, - result = cb(); - return result instanceof Promise - ? result.then(() => (reset(), stub)) - : (reset(), stub); - }), - (stub.mockReturnThis = () => - stub.mockImplementation(function () { - return this; - })), - (stub.mockReturnValue = (val) => - stub.mockImplementation(() => val)), - (stub.mockReturnValueOnce = (val) => - stub.mockImplementationOnce(() => val)), - (stub.mockResolvedValue = (val) => - stub.mockImplementation(() => Promise.resolve(val))), - (stub.mockResolvedValueOnce = (val) => - stub.mockImplementationOnce(() => Promise.resolve(val))), - (stub.mockRejectedValue = (val) => - stub.mockImplementation(() => Promise.reject(val))), - (stub.mockRejectedValueOnce = (val) => - stub.mockImplementationOnce(() => Promise.reject(val))), - Object.defineProperty(stub, "mock", { get: () => mockContext }), - state.willCall(mockCall), - mocks.add(stub), - stub - ); - } - function fn(implementation) { - let enhancedSpy = enhanceSpy( - C2({ spy: implementation || function () {} }, "spy"), - ); - return ( - implementation && enhancedSpy.mockImplementation(implementation), - enhancedSpy - ); - } - var OBJECT_PROTO = Object.getPrototypeOf({}); - function getUnserializableMessage(err) { - return err instanceof Error - ? `: ${err.message}` - : "string" == typeof err - ? `: ${err}` - : ""; - } - function serializeValue(val, seen = new WeakMap()) { - if (!val || "string" == typeof val) return val; - if ("function" == typeof val) - return `Function<${val.name || "anonymous"}>`; - if ("symbol" == typeof val) return val.toString(); - if ("object" != typeof val) return val; - if ( - (function isImmutable(v) { - return ( - v && - (v["@@__IMMUTABLE_ITERABLE__@@"] || - v["@@__IMMUTABLE_RECORD__@@"]) - ); - })(val) - ) - return serializeValue(val.toJSON(), seen); - if ( - val instanceof Promise || - (val.constructor && "AsyncFunction" === val.constructor.prototype) - ) - return "Promise"; - if (typeof Element < "u" && val instanceof Element) - return val.tagName; - if ("function" == typeof val.asymmetricMatch) - return `${val.toString()} ${(function format2(...args) { - if ("string" != typeof args[0]) { - let objects = []; - for (let i2 = 0; i2 < args.length; i2++) - objects.push(inspect4(args[i2], { depth: 0, colors: !1 })); - return objects.join(" "); - } - let len = args.length, - i = 1, - template = args[0], - str = String(template).replace(formatRegExp, (x2) => { - if ("%%" === x2) return "%"; - if (i >= len) return x2; - switch (x2) { - case "%s": { - let value = args[i++]; - return "bigint" == typeof value - ? `${value.toString()}n` - : "number" == typeof value && - 0 === value && - 1 / value < 0 - ? "-0" - : "object" == typeof value && null !== value - ? inspect4(value, { depth: 0, colors: !1 }) - : String(value); - } - case "%d": { - let value = args[i++]; - return "bigint" == typeof value - ? `${value.toString()}n` - : Number(value).toString(); - } - case "%i": { - let value = args[i++]; - return "bigint" == typeof value - ? `${value.toString()}n` - : Number.parseInt(String(value)).toString(); - } - case "%f": - return Number.parseFloat(String(args[i++])).toString(); - case "%o": - return inspect4(args[i++], { - showHidden: !0, - showProxy: !0, - }); - case "%O": - return inspect4(args[i++]); - case "%c": - return i++, ""; - case "%j": - try { - return JSON.stringify(args[i++]); - } catch (err) { - let m2 = err.message; - if ( - m2.includes("circular structure") || - m2.includes("cyclic structures") || - m2.includes("cyclic object") - ) - return "[Circular]"; - throw err; - } - default: - return x2; - } - }); - for (let x2 = args[i]; i < len; x2 = args[++i]) - str += - null === x2 || "object" != typeof x2 - ? ` ${x2}` - : ` ${inspect4(x2)}`; - return str; - })(val.sample)}`; - if ("function" == typeof val.toJSON) - return serializeValue(val.toJSON(), seen); - if (seen.has(val)) return seen.get(val); - if (Array.isArray(val)) { - let clone2 = new Array(val.length); - return ( - seen.set(val, clone2), - val.forEach((e, i) => { - try { - clone2[i] = serializeValue(e, seen); - } catch (err) { - clone2[i] = getUnserializableMessage(err); - } - }), - clone2 - ); - } - { - let clone2 = Object.create(null); - seen.set(val, clone2); - let obj = val; - for (; obj && obj !== OBJECT_PROTO; ) - Object.getOwnPropertyNames(obj).forEach((key) => { - if (!(key in clone2)) - try { - clone2[key] = serializeValue(val[key], seen); - } catch (err) { - delete clone2[key], - (clone2[key] = getUnserializableMessage(err)); - } - }), - (obj = Object.getPrototypeOf(obj)); - return clone2; - } - } - function processError(_err, diffOptions, seen = new WeakSet()) { - if (!_err || "object" != typeof _err) - return { message: String(_err) }; - let err = _err; - err.stack && (err.stackStr = String(err.stack)), - err.name && (err.nameStr = String(err.name)), - (err.showDiff || - (void 0 === err.showDiff && - void 0 !== err.expected && - void 0 !== err.actual)) && - (err.diff = printDiffOrStringify(err.actual, err.expected, { - ...diffOptions, - ...err.diffOptions, - })), - "string" != typeof err.expected && - (err.expected = stringify(err.expected, 10)), - "string" != typeof err.actual && - (err.actual = stringify(err.actual, 10)); - try { - "string" == typeof err.message && - (err.message = (function normalizeErrorMessage(message) { - return message.replace( - /__(vite_ssr_import|vi_import)_\d+__\./g, - "", - ); - })(err.message)); - } catch {} - try { - !seen.has(err) && - "object" == typeof err.cause && - (seen.add(err), - (err.cause = processError(err.cause, diffOptions, seen))); - } catch {} - try { - return serializeValue(err); - } catch (e) { - return serializeValue( - new Error( - `Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`, - ), - ); - } - } - var MATCHERS_OBJECT = Symbol.for("matchers-object"), - JEST_MATCHERS_OBJECT = Symbol.for("$$jest-matchers-object-storybook"), - GLOBAL_EXPECT = Symbol.for("expect-global"), - ASYMMETRIC_MATCHERS_OBJECT = Symbol.for("asymmetric-matchers-object"); - if ( - !Object.prototype.hasOwnProperty.call(globalThis, MATCHERS_OBJECT) - ) { - let globalState = new WeakMap(); - Object.defineProperty(globalThis, MATCHERS_OBJECT, { - get: () => globalState, - }); - } - if ( - !Object.prototype.hasOwnProperty.call( - globalThis, - JEST_MATCHERS_OBJECT, - ) - ) { - let matchers = Object.create(null), - customEqualityTesters = []; - Object.defineProperty(globalThis, JEST_MATCHERS_OBJECT, { - configurable: !0, - get: () => ({ - state: globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]), - matchers, - customEqualityTesters, - }), - }); - } - if ( - !Object.prototype.hasOwnProperty.call( - globalThis, - ASYMMETRIC_MATCHERS_OBJECT, - ) - ) { - let assymetricMatchers = Object.create(null); - Object.defineProperty(globalThis, ASYMMETRIC_MATCHERS_OBJECT, { - get: () => assymetricMatchers, - }); - } - function getState(expect4) { - return globalThis[MATCHERS_OBJECT].get(expect4); - } - function setState(state, expect4) { - let map = globalThis[MATCHERS_OBJECT], - current = map.get(expect4) || {}; - Object.assign(current, state), map.set(expect4, current); - } - var EXPECTED_COLOR = f2.green, - RECEIVED_COLOR = f2.red, - INVERTED_COLOR = f2.inverse, - BOLD_WEIGHT = f2.bold, - DIM_COLOR = f2.dim; - function matcherHint( - matcherName, - received = "received", - expected = "expected", - options = {}, - ) { - let { - comment = "", - isDirectExpectCall = !1, - isNot = !1, - promise = "", - secondArgument = "", - expectedColor = EXPECTED_COLOR, - receivedColor = RECEIVED_COLOR, - secondArgumentColor = EXPECTED_COLOR, - } = options, - hint = "", - dimString = "expect"; - return ( - !isDirectExpectCall && - "" !== received && - ((hint += DIM_COLOR(`${dimString}(`) + receivedColor(received)), - (dimString = ")")), - "" !== promise && - ((hint += DIM_COLOR(`${dimString}.`) + promise), - (dimString = "")), - isNot && - ((hint += `${DIM_COLOR(`${dimString}.`)}not`), (dimString = "")), - matcherName.includes(".") - ? (dimString += matcherName) - : ((hint += DIM_COLOR(`${dimString}.`) + matcherName), - (dimString = "")), - "" === expected - ? (dimString += "()") - : ((hint += DIM_COLOR(`${dimString}(`) + expectedColor(expected)), - secondArgument && - (hint += - DIM_COLOR(", ") + secondArgumentColor(secondArgument)), - (dimString = ")")), - "" !== comment && (dimString += ` // ${comment}`), - "" !== dimString && (hint += DIM_COLOR(dimString)), - hint - ); - } - function replaceTrailingSpaces2(text) { - return text.replace(/\s+$/gm, (spaces) => "·".repeat(spaces.length)); - } - function printReceived2(object) { - return RECEIVED_COLOR(replaceTrailingSpaces2(stringify(object))); - } - function printExpected2(value) { - return EXPECTED_COLOR(replaceTrailingSpaces2(stringify(value))); - } - function getMatcherUtils() { - return { - EXPECTED_COLOR, - RECEIVED_COLOR, - INVERTED_COLOR, - BOLD_WEIGHT, - DIM_COLOR, - diff, - matcherHint, - printReceived: printReceived2, - printExpected: printExpected2, - printDiffOrStringify, - }; - } - function getCustomEqualityTesters() { - return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters; - } - function equals(a2, b, customTesters, strictCheck) { - return eq( - a2, - b, - [], - [], - (customTesters = customTesters || []), - strictCheck ? hasKey : hasDefinedKey, - ); - } - function isAsymmetric(obj) { - return ( - !!obj && - "object" == typeof obj && - "asymmetricMatch" in obj && - isA("Function", obj.asymmetricMatch) - ); - } - function eq(a2, b, aStack, bStack, customTesters, hasKey2) { - let result = !0, - asymmetricResult = (function asymmetricMatch(a2, b) { - let asymmetricA = isAsymmetric(a2), - asymmetricB = isAsymmetric(b); - if (!asymmetricA || !asymmetricB) { - if (asymmetricA) return a2.asymmetricMatch(b); - if (asymmetricB) return b.asymmetricMatch(a2); - } - })(a2, b); - if (void 0 !== asymmetricResult) return asymmetricResult; - let testerContext = { equals }; - for (let i = 0; i < customTesters.length; i++) { - let customTesterResult = customTesters[i].call( - testerContext, - a2, - b, - customTesters, - ); - if (void 0 !== customTesterResult) return customTesterResult; - } - if (a2 instanceof Error && b instanceof Error) - return a2.message === b.message; - if ("function" == typeof URL && a2 instanceof URL && b instanceof URL) - return a2.href === b.href; - if (Object.is(a2, b)) return !0; - if (null === a2 || null === b) return a2 === b; - let className = Object.prototype.toString.call(a2); - if (className !== Object.prototype.toString.call(b)) return !1; - switch (className) { - case "[object Boolean]": - case "[object String]": - case "[object Number]": - return ( - typeof a2 == typeof b && - ("object" != typeof a2 && "object" != typeof b - ? Object.is(a2, b) - : Object.is(a2.valueOf(), b.valueOf())) - ); - case "[object Date]": { - let numA = +a2, - numB = +b; - return ( - numA === numB || (Number.isNaN(numA) && Number.isNaN(numB)) - ); - } - case "[object RegExp]": - return a2.source === b.source && a2.flags === b.flags; - } - if ("object" != typeof a2 || "object" != typeof b) return !1; - if (isDomNode(a2) && isDomNode(b)) return a2.isEqualNode(b); - let length = aStack.length; - for (; length--; ) { - if (aStack[length] === a2) return bStack[length] === b; - if (bStack[length] === b) return !1; - } - if ( - (aStack.push(a2), - bStack.push(b), - "[object Array]" === className && a2.length !== b.length) - ) - return !1; - let key, - aKeys = keys(a2, hasKey2), - size = aKeys.length; - if (keys(b, hasKey2).length !== size) return !1; - for (; size--; ) - if ( - ((key = aKeys[size]), - (result = - hasKey2(b, key) && - eq(a2[key], b[key], aStack, bStack, customTesters, hasKey2)), - !result) - ) - return !1; - return aStack.pop(), bStack.pop(), result; - } - function keys(obj, hasKey2) { - let keys2 = []; - for (let key in obj) hasKey2(obj, key) && keys2.push(key); - return keys2.concat( - Object.getOwnPropertySymbols(obj).filter( - (symbol) => - Object.getOwnPropertyDescriptor(obj, symbol).enumerable, - ), - ); - } - function hasDefinedKey(obj, key) { - return hasKey(obj, key) && void 0 !== obj[key]; - } - function hasKey(obj, key) { - return Object.prototype.hasOwnProperty.call(obj, key); - } - function isA(typeName, value) { - return ( - Object.prototype.toString.apply(value) === `[object ${typeName}]` - ); - } - function isDomNode(obj) { - return ( - null !== obj && - "object" == typeof obj && - "nodeType" in obj && - "number" == typeof obj.nodeType && - "nodeName" in obj && - "string" == typeof obj.nodeName && - "isEqualNode" in obj && - "function" == typeof obj.isEqualNode - ); - } - function isObjectLiteral(source) { - return ( - null != source && - "object" == typeof source && - !Array.isArray(source) - ); - } - var IteratorSymbol = Symbol.iterator; - function hasIterator(object) { - return !(null == object || !object[IteratorSymbol]); - } - function iterableEquality( - a2, - b, - customTesters = [], - aStack = [], - bStack = [], - ) { - if ( - "object" != typeof a2 || - "object" != typeof b || - Array.isArray(a2) || - Array.isArray(b) || - !hasIterator(a2) || - !hasIterator(b) - ) - return; - if (a2.constructor !== b.constructor) return !1; - let length = aStack.length; - for (; length--; ) - if (aStack[length] === a2) return bStack[length] === b; - aStack.push(a2), bStack.push(b); - let filteredCustomTesters = [ - ...customTesters.filter((t) => t !== iterableEquality), - function iterableEqualityWithStack(a22, b2) { - return iterableEquality( - a22, - b2, - [...customTesters], - [...aStack], - [...bStack], - ); - }, - ]; - if (void 0 !== a2.size) { - if (a2.size !== b.size) return !1; - if ( - isA("Set", a2) || - (function isImmutableUnorderedSet(maybeSet) { - return !( - !maybeSet || - !maybeSet["@@__IMMUTABLE_SET__@@"] || - maybeSet["@@__IMMUTABLE_ORDERED__@@"] - ); - })(a2) - ) { - let allFound = !0; - for (let aValue of a2) - if (!b.has(aValue)) { - let has = !1; - for (let bValue of b) - !0 === equals(aValue, bValue, filteredCustomTesters) && - (has = !0); - if (!1 === has) { - allFound = !1; - break; - } - } - return aStack.pop(), bStack.pop(), allFound; - } - if ( - isA("Map", a2) || - (function isImmutableUnorderedKeyed(maybeKeyed) { - return !( - !maybeKeyed || - !maybeKeyed["@@__IMMUTABLE_KEYED__@@"] || - maybeKeyed["@@__IMMUTABLE_ORDERED__@@"] - ); - })(a2) - ) { - let allFound = !0; - for (let aEntry of a2) - if ( - !b.has(aEntry[0]) || - !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters) - ) { - let has = !1; - for (let bEntry of b) { - let matchedValue = !1; - !0 === - equals(aEntry[0], bEntry[0], filteredCustomTesters) && - (matchedValue = equals( - aEntry[1], - bEntry[1], - filteredCustomTesters, - )), - !0 === matchedValue && (has = !0); - } - if (!1 === has) { - allFound = !1; - break; - } - } - return aStack.pop(), bStack.pop(), allFound; - } - } - let bIterator = b[IteratorSymbol](); - for (let aValue of a2) { - let nextB = bIterator.next(); - if ( - nextB.done || - !equals(aValue, nextB.value, filteredCustomTesters) - ) - return !1; - } - if (!bIterator.next().done) return !1; - if ( - !( - (function isImmutableList(source) { - return !!( - source && - isObjectLiteral(source) && - source["@@__IMMUTABLE_LIST__@@"] - ); - })(a2) || - (function isImmutableOrderedKeyed(source) { - return !!( - source && - isObjectLiteral(source) && - source["@@__IMMUTABLE_KEYED__@@"] && - source["@@__IMMUTABLE_ORDERED__@@"] - ); - })(a2) || - (function isImmutableOrderedSet(source) { - return !!( - source && - isObjectLiteral(source) && - source["@@__IMMUTABLE_SET__@@"] && - source["@@__IMMUTABLE_ORDERED__@@"] - ); - })(a2) || - (function isImmutableRecord(source) { - return !!( - source && - isObjectLiteral(source) && - source["@@__IMMUTABLE_RECORD__@@"] - ); - })(a2) - ) - ) { - if (!equals(Object.entries(a2), Object.entries(b))) return !1; - } - return aStack.pop(), bStack.pop(), !0; - } - function hasPropertyInObject(object, key) { - return ( - !( - !object || - "object" != typeof object || - object === Object.prototype - ) && - (Object.prototype.hasOwnProperty.call(object, key) || - hasPropertyInObject(Object.getPrototypeOf(object), key)) - ); - } - function subsetEquality(object, subset, customTesters = []) { - let filteredCustomTesters = customTesters.filter( - (t) => t !== subsetEquality, - ), - subsetEqualityWithContext = - (seenReferences = new WeakMap()) => - (object2, subset2) => { - if ( - (function isObjectWithKeys(a2) { - return ( - isObject(a2) && - !(a2 instanceof Error) && - !Array.isArray(a2) && - !(a2 instanceof Date) - ); - })(subset2) - ) - return Object.keys(subset2).every((key) => { - if ( - null != subset2[key] && - "object" == typeof subset2[key] - ) { - if (seenReferences.has(subset2[key])) - return equals( - object2[key], - subset2[key], - filteredCustomTesters, - ); - seenReferences.set(subset2[key], !0); - } - let result = - null != object2 && - hasPropertyInObject(object2, key) && - equals(object2[key], subset2[key], [ - ...filteredCustomTesters, - subsetEqualityWithContext(seenReferences), - ]); - return seenReferences.delete(subset2[key]), result; - }); - }; - return subsetEqualityWithContext()(object, subset); - } - function typeEquality(a2, b) { - if (null != a2 && null != b && a2.constructor !== b.constructor) - return !1; - } - function arrayBufferEquality(a2, b) { - let dataViewA = a2, - dataViewB = b; - if (!(a2 instanceof DataView && b instanceof DataView)) { - if (!(a2 instanceof ArrayBuffer && b instanceof ArrayBuffer)) - return; - try { - (dataViewA = new DataView(a2)), (dataViewB = new DataView(b)); - } catch { - return; - } - } - if (dataViewA.byteLength !== dataViewB.byteLength) return !1; - for (let i = 0; i < dataViewA.byteLength; i++) - if (dataViewA.getUint8(i) !== dataViewB.getUint8(i)) return !1; - return !0; - } - function sparseArrayEquality(a2, b, customTesters = []) { - if (!Array.isArray(a2) || !Array.isArray(b)) return; - let aKeys = Object.keys(a2), - bKeys = Object.keys(b); - return ( - equals( - a2, - b, - customTesters.filter((t) => t !== sparseArrayEquality), - !0, - ) && equals(aKeys, bKeys) - ); - } - function getObjectKeys(object) { - return [ - ...Object.keys(object), - ...Object.getOwnPropertySymbols(object).filter((s) => { - var _a2; - return null == (_a2 = Object.getOwnPropertyDescriptor(object, s)) - ? void 0 - : _a2.enumerable; - }), - ]; - } - var AsymmetricMatcher3 = class { - constructor(sample, inverse = !1) { - (this.sample = sample), (this.inverse = inverse); - } - $$typeof = Symbol.for("jest.asymmetricMatcher"); - getMatcherContext(expect4) { - return { - ...getState(expect4 || globalThis[GLOBAL_EXPECT]), - equals, - isNot: this.inverse, - customTesters: getCustomEqualityTesters(), - utils: { - ...getMatcherUtils(), - diff, - stringify, - iterableEquality, - subsetEquality, - }, - }; - } - [Symbol.for("chai/inspect")](options) { - let result = stringify(this, options.depth, { min: !0 }); - return result.length <= options.truncate - ? result - : `${this.toString()}{…}`; - } - }, - StringContaining = class extends AsymmetricMatcher3 { - constructor(sample, inverse = !1) { - if (!isA("String", sample)) - throw new Error("Expected is not a string"); - super(sample, inverse); - } - asymmetricMatch(other) { - let result = isA("String", other) && other.includes(this.sample); - return this.inverse ? !result : result; - } - toString() { - return `String${this.inverse ? "Not" : ""}Containing`; - } - getExpectedType() { - return "string"; - } - }, - Anything = class extends AsymmetricMatcher3 { - asymmetricMatch(other) { - return null != other; - } - toString() { - return "Anything"; - } - toAsymmetricMatcher() { - return "Anything"; - } - }, - ObjectContaining = class extends AsymmetricMatcher3 { - constructor(sample, inverse = !1) { - super(sample, inverse); - } - getPrototype(obj) { - return Object.getPrototypeOf - ? Object.getPrototypeOf(obj) - : obj.constructor.prototype === obj - ? null - : obj.constructor.prototype; - } - hasProperty(obj, property) { - return ( - !!obj && - (!!Object.prototype.hasOwnProperty.call(obj, property) || - this.hasProperty(this.getPrototype(obj), property)) - ); - } - asymmetricMatch(other) { - if ("object" != typeof this.sample) - throw new TypeError( - `You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`, - ); - let result = !0, - matcherContext = this.getMatcherContext(); - for (let property in this.sample) - if ( - !this.hasProperty(other, property) || - !equals( - this.sample[property], - other[property], - matcherContext.customTesters, - ) - ) { - result = !1; - break; - } - return this.inverse ? !result : result; - } - toString() { - return `Object${this.inverse ? "Not" : ""}Containing`; - } - getExpectedType() { - return "object"; - } - }, - ArrayContaining = class extends AsymmetricMatcher3 { - constructor(sample, inverse = !1) { - super(sample, inverse); - } - asymmetricMatch(other) { - if (!Array.isArray(this.sample)) - throw new TypeError( - `You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`, - ); - let matcherContext = this.getMatcherContext(), - result = - 0 === this.sample.length || - (Array.isArray(other) && - this.sample.every((item) => - other.some((another) => - equals(item, another, matcherContext.customTesters), - ), - )); - return this.inverse ? !result : result; - } - toString() { - return `Array${this.inverse ? "Not" : ""}Containing`; - } - getExpectedType() { - return "array"; - } - }, - Any = class extends AsymmetricMatcher3 { - constructor(sample) { - if (typeof sample > "u") - throw new TypeError( - "any() expects to be passed a constructor function. Please pass one or use anything() to match any object.", - ); - super(sample); - } - fnNameFor(func) { - if (func.name) return func.name; - let matches3 = Function.prototype.toString - .call(func) - .match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/); - return matches3 ? matches3[1] : ""; - } - asymmetricMatch(other) { - return this.sample === String - ? "string" == typeof other || other instanceof String - : this.sample === Number - ? "number" == typeof other || other instanceof Number - : this.sample === Function - ? "function" == typeof other || other instanceof Function - : this.sample === Boolean - ? "boolean" == typeof other || other instanceof Boolean - : this.sample === BigInt - ? "bigint" == typeof other || other instanceof BigInt - : this.sample === Symbol - ? "symbol" == typeof other || other instanceof Symbol - : this.sample === Object - ? "object" == typeof other - : other instanceof this.sample; - } - toString() { - return "Any"; - } - getExpectedType() { - return this.sample === String - ? "string" - : this.sample === Number - ? "number" - : this.sample === Function - ? "function" - : this.sample === Object - ? "object" - : this.sample === Boolean - ? "boolean" - : this.fnNameFor(this.sample); - } - toAsymmetricMatcher() { - return `Any<${this.fnNameFor(this.sample)}>`; - } - }, - StringMatching = class extends AsymmetricMatcher3 { - constructor(sample, inverse = !1) { - if (!isA("String", sample) && !isA("RegExp", sample)) - throw new Error("Expected is not a String or a RegExp"); - super(new RegExp(sample), inverse); - } - asymmetricMatch(other) { - let result = isA("String", other) && this.sample.test(other); - return this.inverse ? !result : result; - } - toString() { - return `String${this.inverse ? "Not" : ""}Matching`; - } - getExpectedType() { - return "string"; - } - }, - CloseTo = class extends AsymmetricMatcher3 { - precision; - constructor(sample, precision = 2, inverse = !1) { - if (!isA("Number", sample)) - throw new Error("Expected is not a Number"); - if (!isA("Number", precision)) - throw new Error("Precision is not a Number"); - super(sample), - (this.inverse = inverse), - (this.precision = precision); - } - asymmetricMatch(other) { - if (!isA("Number", other)) return !1; - let result = !1; - return ( - (result = - (other === Number.POSITIVE_INFINITY && - this.sample === Number.POSITIVE_INFINITY) || - (other === Number.NEGATIVE_INFINITY && - this.sample === Number.NEGATIVE_INFINITY) || - Math.abs(this.sample - other) < 10 ** -this.precision / 2), - this.inverse ? !result : result - ); - } - toString() { - return `Number${this.inverse ? "Not" : ""}CloseTo`; - } - getExpectedType() { - return "number"; - } - toAsymmetricMatcher() { - return [ - this.toString(), - this.sample, - `(${((word = "digit"), (count = this.precision), `${count} ${word}${1 === count ? "" : "s"}`)})`, - ].join(" "); - var word, count; - } - }, - JestAsymmetricMatchers = (chai, utils) => { - utils.addMethod(chai.expect, "anything", () => new Anything()), - utils.addMethod( - chai.expect, - "any", - (expected) => new Any(expected), - ), - utils.addMethod( - chai.expect, - "stringContaining", - (expected) => new StringContaining(expected), - ), - utils.addMethod( - chai.expect, - "objectContaining", - (expected) => new ObjectContaining(expected), - ), - utils.addMethod( - chai.expect, - "arrayContaining", - (expected) => new ArrayContaining(expected), - ), - utils.addMethod( - chai.expect, - "stringMatching", - (expected) => new StringMatching(expected), - ), - utils.addMethod( - chai.expect, - "closeTo", - (expected, precision) => new CloseTo(expected, precision), - ), - (chai.expect.not = { - stringContaining: (expected) => - new StringContaining(expected, !0), - objectContaining: (expected) => - new ObjectContaining(expected, !0), - arrayContaining: (expected) => - new ArrayContaining(expected, !0), - stringMatching: (expected) => new StringMatching(expected, !0), - closeTo: (expected, precision) => - new CloseTo(expected, precision, !0), - }); - }; - function recordAsyncExpect(test3, promise) { - return ( - test3 && - promise instanceof Promise && - ((promise = promise.finally(() => { - let index = test3.promises.indexOf(promise); - -1 !== index && test3.promises.splice(index, 1); - })), - test3.promises || (test3.promises = []), - test3.promises.push(promise)), - promise - ); - } - function wrapSoft(utils, fn3) { - return function (...args) { - var _a2; - if (!utils.flag(this, "soft")) return fn3.apply(this, args); - let test3 = utils.flag(this, "vitest-test"); - if (!test3) - throw new Error("expect.soft() can only be used inside a test"); - try { - return fn3.apply(this, args); - } catch (err) { - test3.result || (test3.result = { state: "fail" }), - (test3.result.state = "fail"), - (_a2 = test3.result).errors || (_a2.errors = []), - test3.result.errors.push(processError(err)); - } - }; - } - var JestChaiExpect = (chai, utils) => { - let { AssertionError: AssertionError2 } = chai, - customTesters = getCustomEqualityTesters(); - function def(name, fn3) { - let addMethod2 = (n) => { - let softWrapper = wrapSoft(utils, fn3); - utils.addMethod(chai.Assertion.prototype, n, softWrapper), - utils.addMethod( - globalThis[JEST_MATCHERS_OBJECT].matchers, - n, - softWrapper, - ); - }; - Array.isArray(name) - ? name.forEach((n) => addMethod2(n)) - : addMethod2(name); - } - ["throw", "throws", "Throw"].forEach((m2) => { - utils.overwriteMethod( - chai.Assertion.prototype, - m2, - (_super) => - function (...args) { - let promise = utils.flag(this, "promise"), - object = utils.flag(this, "object"), - isNot = utils.flag(this, "negate"); - if ("rejects" === promise) - utils.flag(this, "object", () => { - throw object; - }); - else if ( - "resolves" === promise && - "function" != typeof object - ) { - if (isNot) return; - { - let message = - utils.flag(this, "message") || - "expected promise to throw an error, but it didn't"; - throw new AssertionError2( - message, - { showDiff: !1 }, - utils.flag(this, "ssfi"), - ); - } - } - _super.apply(this, args); - }, - ); - }), - def("withTest", function (test3) { - return utils.flag(this, "vitest-test", test3), this; - }), - def("toEqual", function (expected) { - let actual = utils.flag(this, "object"), - equal = equals(actual, expected, [ - ...customTesters, - iterableEquality, - ]); - return this.assert( - equal, - "expected #{this} to deeply equal #{exp}", - "expected #{this} to not deeply equal #{exp}", - expected, - actual, - ); - }), - def("toStrictEqual", function (expected) { - let obj = utils.flag(this, "object"), - equal = equals( - obj, - expected, - [ - ...customTesters, - iterableEquality, - typeEquality, - sparseArrayEquality, - arrayBufferEquality, - ], - !0, - ); - return this.assert( - equal, - "expected #{this} to strictly equal #{exp}", - "expected #{this} to not strictly equal #{exp}", - expected, - obj, - ); - }), - def("toBe", function (expected) { - let actual = this._obj, - pass = Object.is(actual, expected), - deepEqualityName = ""; - return ( - pass || - (equals( - actual, - expected, - [ - ...customTesters, - iterableEquality, - typeEquality, - sparseArrayEquality, - arrayBufferEquality, - ], - !0, - ) - ? (deepEqualityName = "toStrictEqual") - : equals(actual, expected, [ - ...customTesters, - iterableEquality, - ]) && (deepEqualityName = "toEqual")), - this.assert( - pass, - (function generateToBeMessage( - deepEqualityName, - expected = "#{this}", - actual = "#{exp}", - ) { - let toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`; - return ["toStrictEqual", "toEqual"].includes( - deepEqualityName, - ) - ? `${toBeMessage}\n\nIf it should pass with deep equality, replace "toBe" with "${deepEqualityName}"\n\nExpected: ${expected}\nReceived: serializes to the same string\n` - : toBeMessage; - })(deepEqualityName), - "expected #{this} not to be #{exp} // Object.is equality", - expected, - actual, - ) - ); - }), - def("toMatchObject", function (expected) { - let actual = this._obj, - pass = equals(actual, expected, [ - ...customTesters, - iterableEquality, - subsetEquality, - ]), - isNot = utils.flag(this, "negate"), - { subset: actualSubset, stripped } = (function getObjectSubset( - object, - subset, - customTesters = [], - ) { - let stripped = 0, - getObjectSubsetWithContext = - (seenReferences = new WeakMap()) => - (object2, subset2) => { - if (Array.isArray(object2)) { - if ( - Array.isArray(subset2) && - subset2.length === object2.length - ) - return subset2.map((sub, i) => - getObjectSubsetWithContext(seenReferences)( - object2[i], - sub, - ), - ); - } else { - if (object2 instanceof Date) return object2; - if (isObject(object2) && isObject(subset2)) { - if ( - equals(object2, subset2, [ - ...customTesters, - iterableEquality, - subsetEquality, - ]) - ) - return subset2; - let trimmed = {}; - seenReferences.set(object2, trimmed); - for (let key of getObjectKeys(object2)) - hasPropertyInObject(subset2, key) - ? (trimmed[key] = seenReferences.has( - object2[key], - ) - ? seenReferences.get(object2[key]) - : getObjectSubsetWithContext( - seenReferences, - )(object2[key], subset2[key])) - : seenReferences.has(object2[key]) || - ((stripped += 1), - isObject(object2[key]) && - (stripped += getObjectKeys( - object2[key], - ).length), - getObjectSubsetWithContext(seenReferences)( - object2[key], - subset2[key], - )); - if (getObjectKeys(trimmed).length > 0) - return trimmed; - } - } - return object2; - }; - return { - subset: getObjectSubsetWithContext()(object, subset), - stripped, - }; - })(actual, expected); - if ((pass && isNot) || (!pass && !isNot)) { - let msg = utils.getMessage(this, [ - pass, - "expected #{this} to match object #{exp}", - "expected #{this} to not match object #{exp}", - expected, - actualSubset, - !1, - ]); - throw new AssertionError2( - 0 === stripped - ? msg - : `${msg}\n(${stripped} matching ${1 === stripped ? "property" : "properties"} omitted from actual)`, - { showDiff: !0, expected, actual: actualSubset }, - ); - } - }), - def("toMatch", function (expected) { - let actual = this._obj; - if ("string" != typeof actual) - throw new TypeError( - ".toMatch() expects to receive a string, but got " + - typeof actual, - ); - return this.assert( - "string" == typeof expected - ? actual.includes(expected) - : actual.match(expected), - "expected #{this} to match #{exp}", - "expected #{this} not to match #{exp}", - expected, - actual, - ); - }), - def("toContain", function (item) { - let actual = this._obj; - if (typeof Node < "u" && actual instanceof Node) { - if (!(item instanceof Node)) - throw new TypeError( - "toContain() expected a DOM node as the argument, but got " + - typeof item, - ); - return this.assert( - actual.contains(item), - "expected #{this} to contain element #{exp}", - "expected #{this} not to contain element #{exp}", - item, - actual, - ); - } - if (typeof DOMTokenList < "u" && actual instanceof DOMTokenList) { - assertTypes(item, "class name", ["string"]); - let expectedClassList = utils.flag(this, "negate") - ? actual.value.replace(item, "").trim() - : `${actual.value} ${item}`; - return this.assert( - actual.contains(item), - `expected "${actual.value}" to contain "${item}"`, - `expected "${actual.value}" not to contain "${item}"`, - expectedClassList, - actual.value, - ); - } - return "string" == typeof actual && "string" == typeof item - ? this.assert( - actual.includes(item), - "expected #{this} to contain #{exp}", - "expected #{this} not to contain #{exp}", - item, - actual, - ) - : (null != actual && - "string" != typeof actual && - utils.flag(this, "object", Array.from(actual)), - this.contain(item)); - }), - def("toContainEqual", function (expected) { - let obj = utils.flag(this, "object"), - index = Array.from(obj).findIndex((item) => - equals(item, expected, customTesters), - ); - this.assert( - -1 !== index, - "expected #{this} to deep equally contain #{exp}", - "expected #{this} to not deep equally contain #{exp}", - expected, - ); - }), - def("toBeTruthy", function () { - let obj = utils.flag(this, "object"); - this.assert( - !!obj, - "expected #{this} to be truthy", - "expected #{this} to not be truthy", - obj, - !1, - ); - }), - def("toBeFalsy", function () { - let obj = utils.flag(this, "object"); - this.assert( - !obj, - "expected #{this} to be falsy", - "expected #{this} to not be falsy", - obj, - !1, - ); - }), - def("toBeGreaterThan", function (expected) { - let actual = this._obj; - return ( - assertTypes(actual, "actual", ["number", "bigint"]), - assertTypes(expected, "expected", ["number", "bigint"]), - this.assert( - actual > expected, - `expected ${actual} to be greater than ${expected}`, - `expected ${actual} to be not greater than ${expected}`, - actual, - expected, - !1, - ) - ); - }), - def("toBeGreaterThanOrEqual", function (expected) { - let actual = this._obj; - return ( - assertTypes(actual, "actual", ["number", "bigint"]), - assertTypes(expected, "expected", ["number", "bigint"]), - this.assert( - actual >= expected, - `expected ${actual} to be greater than or equal to ${expected}`, - `expected ${actual} to be not greater than or equal to ${expected}`, - actual, - expected, - !1, - ) - ); - }), - def("toBeLessThan", function (expected) { - let actual = this._obj; - return ( - assertTypes(actual, "actual", ["number", "bigint"]), - assertTypes(expected, "expected", ["number", "bigint"]), - this.assert( - actual < expected, - `expected ${actual} to be less than ${expected}`, - `expected ${actual} to be not less than ${expected}`, - actual, - expected, - !1, - ) - ); - }), - def("toBeLessThanOrEqual", function (expected) { - let actual = this._obj; - return ( - assertTypes(actual, "actual", ["number", "bigint"]), - assertTypes(expected, "expected", ["number", "bigint"]), - this.assert( - actual <= expected, - `expected ${actual} to be less than or equal to ${expected}`, - `expected ${actual} to be not less than or equal to ${expected}`, - actual, - expected, - !1, - ) - ); - }), - def("toBeNaN", function () { - return this.be.NaN; - }), - def("toBeUndefined", function () { - return this.be.undefined; - }), - def("toBeNull", function () { - return this.be.null; - }), - def("toBeDefined", function () { - let negate = utils.flag(this, "negate"); - return ( - utils.flag(this, "negate", !1), - negate ? this.be.undefined : this.not.be.undefined - ); - }), - def("toBeTypeOf", function (expected) { - let actual = typeof this._obj, - equal = expected === actual; - return this.assert( - equal, - "expected #{this} to be type of #{exp}", - "expected #{this} not to be type of #{exp}", - expected, - actual, - ); - }), - def("toBeInstanceOf", function (obj) { - return this.instanceOf(obj); - }), - def("toHaveLength", function (length) { - return this.have.length(length); - }), - def("toHaveProperty", function (...args) { - Array.isArray(args[0]) && - (args[0] = args[0] - .map((key) => String(key).replace(/([.[\]])/g, "\\$1")) - .join(".")); - let actual = this._obj, - [propertyName, expected] = args, - { value, exists } = Object.prototype.hasOwnProperty.call( - actual, - propertyName, - ) - ? { value: actual[propertyName], exists: !0 } - : utils.getPathInfo(actual, propertyName), - pass = - exists && - (1 === args.length || equals(expected, value, customTesters)), - valueString = - 1 === args.length - ? "" - : ` with value ${utils.objDisplay(expected)}`; - return this.assert( - pass, - `expected #{this} to have property "${propertyName}"${valueString}`, - `expected #{this} to not have property "${propertyName}"${valueString}`, - expected, - exists ? value : void 0, - ); - }), - def("toBeCloseTo", function (received, precision = 2) { - let expected = this._obj, - pass = !1, - expectedDiff2 = 0, - receivedDiff = 0; - return ( - (received === Number.POSITIVE_INFINITY && - expected === Number.POSITIVE_INFINITY) || - (received === Number.NEGATIVE_INFINITY && - expected === Number.NEGATIVE_INFINITY) - ? (pass = !0) - : ((expectedDiff2 = 10 ** -precision / 2), - (receivedDiff = Math.abs(expected - received)), - (pass = receivedDiff < expectedDiff2)), - this.assert( - pass, - `expected #{this} to be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff2}`, - `expected #{this} to not be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff2}`, - received, - expected, - !1, - ) - ); - }); - let getSpy = (assertion) => ( - ((assertion) => { - if (!isMockFunction(assertion._obj)) - throw new TypeError( - `${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`, - ); - })(assertion), - assertion._obj - ), - ordinalOf = (i) => { - let j = i % 10, - k2 = i % 100; - return 1 === j && 11 !== k2 - ? `${i}st` - : 2 === j && 12 !== k2 - ? `${i}nd` - : 3 === j && 13 !== k2 - ? `${i}rd` - : `${i}th`; - }, - formatCalls = (spy, msg, showActualCall) => ( - spy.mock.calls && - (msg += f2.gray( - `\n\nReceived: \n\n${spy.mock.calls - .map((callArg, i) => { - let methodCall = f2.bold( - ` ${ordinalOf(i + 1)} ${spy.getMockName()} call:\n\n`, - ); - return ( - (methodCall += showActualCall - ? diff(showActualCall, callArg, { - omitAnnotationLines: !0, - }) - : stringify(callArg) - .split("\n") - .map((line) => ` ${line}`) - .join("\n")), - (methodCall += "\n"), - methodCall - ); - }) - .join("\n")}`, - )), - (msg += f2.gray( - `\n\nNumber of calls: ${f2.bold(spy.mock.calls.length)}\n`, - )) - ); - def(["toHaveBeenCalledTimes", "toBeCalledTimes"], function (number) { - let spy = getSpy(this), - spyName = spy.getMockName(), - callCount = spy.mock.calls.length; - return this.assert( - callCount === number, - `expected "${spyName}" to be called #{exp} times, but got ${callCount} times`, - `expected "${spyName}" to not be called #{exp} times`, - number, - callCount, - !1, - ); - }), - def("toHaveBeenCalledOnce", function () { - let spy = getSpy(this), - spyName = spy.getMockName(), - callCount = spy.mock.calls.length; - return this.assert( - 1 === callCount, - `expected "${spyName}" to be called once, but got ${callCount} times`, - `expected "${spyName}" to not be called once`, - 1, - callCount, - !1, - ); - }), - def(["toHaveBeenCalled", "toBeCalled"], function () { - let spy = getSpy(this), - spyName = spy.getMockName(), - callCount = spy.mock.calls.length, - called = callCount > 0, - isNot = utils.flag(this, "negate"), - msg = utils.getMessage(this, [ - called, - `expected "${spyName}" to be called at least once`, - `expected "${spyName}" to not be called at all, but actually been called ${callCount} times`, - !0, - called, - ]); - if ( - (called && isNot && (msg = formatCalls(spy, msg)), - (called && isNot) || (!called && !isNot)) - ) - throw new AssertionError2(msg); - }), - def(["toHaveBeenCalledWith", "toBeCalledWith"], function (...args) { - let spy = getSpy(this), - spyName = spy.getMockName(), - pass = spy.mock.calls.some((callArg) => - equals(callArg, args, [...customTesters, iterableEquality]), - ), - isNot = utils.flag(this, "negate"), - msg = utils.getMessage(this, [ - pass, - `expected "${spyName}" to be called with arguments: #{exp}`, - `expected "${spyName}" to not be called with arguments: #{exp}`, - args, - ]); - if ((pass && isNot) || (!pass && !isNot)) - throw new AssertionError2(formatCalls(spy, msg, args)); - }), - def( - ["toHaveBeenNthCalledWith", "nthCalledWith"], - function (times, ...args) { - let spy = getSpy(this), - spyName = spy.getMockName(), - nthCall = spy.mock.calls[times - 1], - callCount = spy.mock.calls.length, - isCalled = times <= callCount; - this.assert( - equals(nthCall, args, [...customTesters, iterableEquality]), - `expected ${ordinalOf(times)} "${spyName}" call to have been called with #{exp}${isCalled ? "" : `, but called only ${callCount} times`}`, - `expected ${ordinalOf(times)} "${spyName}" call to not have been called with #{exp}`, - args, - nthCall, - isCalled, - ); - }, - ), - def( - ["toHaveBeenLastCalledWith", "lastCalledWith"], - function (...args) { - let spy = getSpy(this), - spyName = spy.getMockName(), - lastCall = spy.mock.calls[spy.mock.calls.length - 1]; - this.assert( - equals(lastCall, args, [...customTesters, iterableEquality]), - `expected last "${spyName}" call to have been called with #{exp}`, - `expected last "${spyName}" call to not have been called with #{exp}`, - args, - lastCall, - ); - }, - ), - def(["toThrow", "toThrowError"], function (expected) { - if ( - "string" == typeof expected || - typeof expected > "u" || - expected instanceof RegExp - ) - return this.throws(expected); - let obj = this._obj, - promise = utils.flag(this, "promise"), - isNot = utils.flag(this, "negate"), - thrown = null; - if ("rejects" === promise) thrown = obj; - else { - if ("resolves" === promise && "function" != typeof obj) { - if (isNot) return; - { - let message = - utils.flag(this, "message") || - "expected promise to throw an error, but it didn't"; - throw new AssertionError2( - message, - { showDiff: !1 }, - utils.flag(this, "ssfi"), - ); - } - } - { - let isThrow = !1; - try { - obj(); - } catch (err) { - (isThrow = !0), (thrown = err); - } - if (!isThrow && !isNot) { - let message = - utils.flag(this, "message") || - "expected function to throw an error, but it didn't"; - throw new AssertionError2( - message, - { showDiff: !1 }, - utils.flag(this, "ssfi"), - ); - } - } - } - if ("function" == typeof expected) { - let name = expected.name || expected.prototype.constructor.name; - return this.assert( - thrown && thrown instanceof expected, - `expected error to be instance of ${name}`, - `expected error not to be instance of ${name}`, - expected, - thrown, - ); - } - if (expected instanceof Error) - return this.assert( - thrown && expected.message === thrown.message, - `expected error to have message: ${expected.message}`, - `expected error not to have message: ${expected.message}`, - expected.message, - thrown && thrown.message, - ); - if ( - "object" == typeof expected && - "asymmetricMatch" in expected && - "function" == typeof expected.asymmetricMatch - ) { - let matcher = expected; - return this.assert( - thrown && matcher.asymmetricMatch(thrown), - "expected error to match asymmetric matcher", - "expected error not to match asymmetric matcher", - matcher, - thrown, - ); - } - throw new Error( - `"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof expected}"`, - ); - }), - [ - { - name: "toHaveResolved", - condition: (spy) => - spy.mock.settledResults.length > 0 && - spy.mock.settledResults.some( - ({ type: type5 }) => "fulfilled" === type5, - ), - action: "resolved", - }, - { - name: ["toHaveReturned", "toReturn"], - condition: (spy) => - spy.mock.calls.length > 0 && - spy.mock.results.some(({ type: type5 }) => "throw" !== type5), - action: "called", - }, - ].forEach(({ name, condition, action }) => { - def(name, function () { - let spy = getSpy(this), - spyName = spy.getMockName(), - pass = condition(spy); - this.assert( - pass, - `expected "${spyName}" to be successfully ${action} at least once`, - `expected "${spyName}" to not be successfully ${action}`, - pass, - !pass, - !1, - ); - }); - }), - [ - { - name: "toHaveResolvedTimes", - condition: (spy, times) => - spy.mock.settledResults.reduce( - (s, { type: type5 }) => ("fulfilled" === type5 ? ++s : s), - 0, - ) === times, - action: "resolved", - }, - { - name: ["toHaveReturnedTimes", "toReturnTimes"], - condition: (spy, times) => - spy.mock.results.reduce( - (s, { type: type5 }) => ("throw" === type5 ? s : ++s), - 0, - ) === times, - action: "called", - }, - ].forEach(({ name, condition, action }) => { - def(name, function (times) { - let spy = getSpy(this), - spyName = spy.getMockName(), - pass = condition(spy, times); - this.assert( - pass, - `expected "${spyName}" to be successfully ${action} ${times} times`, - `expected "${spyName}" to not be successfully ${action} ${times} times`, - `expected resolved times: ${times}`, - `received resolved times: ${pass}`, - !1, - ); - }); - }), - [ - { - name: "toHaveResolvedWith", - condition: (spy, value) => - spy.mock.settledResults.some( - ({ type: type5, value: result }) => - "fulfilled" === type5 && equals(value, result), - ), - action: "resolve", - }, - { - name: ["toHaveReturnedWith", "toReturnWith"], - condition: (spy, value) => - spy.mock.results.some( - ({ type: type5, value: result }) => - "return" === type5 && equals(value, result), - ), - action: "return", - }, - ].forEach(({ name, condition, action }) => { - def(name, function (value) { - let spy = getSpy(this), - pass = condition(spy, value), - isNot = utils.flag(this, "negate"); - if ((pass && isNot) || (!pass && !isNot)) { - let spyName = spy.getMockName(), - msg = utils.getMessage(this, [ - pass, - `expected "${spyName}" to ${action} with: #{exp} at least once`, - `expected "${spyName}" to not ${action} with: #{exp}`, - value, - ]), - results = - "return" === action - ? spy.mock.results - : spy.mock.settledResults; - throw new AssertionError2( - ((spy, results, msg, showActualReturn) => ( - (msg += f2.gray( - `\n\nReceived: \n\n${results - .map((callReturn, i) => { - let methodCall = f2.bold( - ` ${ordinalOf(i + 1)} ${spy.getMockName()} call return:\n\n`, - ); - return ( - (methodCall += showActualReturn - ? diff(showActualReturn, callReturn.value, { - omitAnnotationLines: !0, - }) - : stringify(callReturn) - .split("\n") - .map((line) => ` ${line}`) - .join("\n")), - (methodCall += "\n"), - methodCall - ); - }) - .join("\n")}`, - )), - msg + - f2.gray( - `\n\nNumber of calls: ${f2.bold(spy.mock.calls.length)}\n`, - ) - ))(spy, results, msg, value), - ); - } - }); - }), - [ - { - name: "toHaveLastResolvedWith", - condition: (spy, value) => { - let result = - spy.mock.settledResults[spy.mock.settledResults.length - 1]; - return ( - result && - "fulfilled" === result.type && - equals(result.value, value) - ); - }, - action: "resolve", - }, - { - name: ["toHaveLastReturnedWith", "lastReturnedWith"], - condition: (spy, value) => { - let result = spy.mock.results[spy.mock.results.length - 1]; - return ( - result && - "return" === result.type && - equals(result.value, value) - ); - }, - action: "return", - }, - ].forEach(({ name, condition, action }) => { - def(name, function (value) { - let spy = getSpy(this), - results = - "return" === action - ? spy.mock.results - : spy.mock.settledResults, - result = results[results.length - 1], - spyName = spy.getMockName(); - this.assert( - condition(spy, value), - `expected last "${spyName}" call to ${action} #{exp}`, - `expected last "${spyName}" call to not ${action} #{exp}`, - value, - result?.value, - ); - }); - }), - [ - { - name: "toHaveNthResolvedWith", - condition: (spy, index, value) => { - let result = spy.mock.settledResults[index - 1]; - return ( - result && - "fulfilled" === result.type && - equals(result.value, value) - ); - }, - action: "resolve", - }, - { - name: ["toHaveNthReturnedWith", "nthReturnedWith"], - condition: (spy, index, value) => { - let result = spy.mock.results[index - 1]; - return ( - result && - "return" === result.type && - equals(result.value, value) - ); - }, - action: "return", - }, - ].forEach(({ name, condition, action }) => { - def(name, function (nthCall, value) { - let spy = getSpy(this), - spyName = spy.getMockName(), - result = ( - "return" === action - ? spy.mock.results - : spy.mock.settledResults - )[nthCall - 1], - ordinalCall = `${ordinalOf(nthCall)} call`; - this.assert( - condition(spy, nthCall, value), - `expected ${ordinalCall} "${spyName}" call to ${action} #{exp}`, - `expected ${ordinalCall} "${spyName}" call to not ${action} #{exp}`, - value, - result?.value, - ); - }); - }), - def("toSatisfy", function (matcher, message) { - return this.be.satisfy(matcher, message); - }), - def("withContext", function (context) { - for (let key in context) utils.flag(this, key, context[key]); - return this; - }), - utils.addProperty( - chai.Assertion.prototype, - "resolves", - function () { - let error = new Error("resolves"); - utils.flag(this, "promise", "resolves"), - utils.flag(this, "error", error); - let test3 = utils.flag(this, "vitest-test"), - obj = utils.flag(this, "object"); - if (utils.flag(this, "poll")) - throw new SyntaxError( - "expect.poll() is not supported in combination with .resolves", - ); - if ("function" != typeof obj?.then) - throw new TypeError( - `You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`, - ); - let proxy = new Proxy(this, { - get: (target, key, receiver) => { - let result = Reflect.get(target, key, receiver); - return "function" != typeof result - ? result instanceof chai.Assertion - ? proxy - : result - : async (...args) => { - let promise = obj.then( - (value) => ( - utils.flag(this, "object", value), - result.call(this, ...args) - ), - (err) => { - let _error = new AssertionError2( - `promise rejected "${utils.inspect(err)}" instead of resolving`, - { showDiff: !1 }, - ); - throw ( - ((_error.cause = err), - (_error.stack = error.stack.replace( - error.message, - _error.message, - )), - _error) - ); - }, - ); - return recordAsyncExpect(test3, promise); - }; - }, - }); - return proxy; - }, - ), - utils.addProperty(chai.Assertion.prototype, "rejects", function () { - let error = new Error("rejects"); - utils.flag(this, "promise", "rejects"), - utils.flag(this, "error", error); - let test3 = utils.flag(this, "vitest-test"), - obj = utils.flag(this, "object"), - wrapper = "function" == typeof obj ? obj() : obj; - if (utils.flag(this, "poll")) - throw new SyntaxError( - "expect.poll() is not supported in combination with .rejects", - ); - if ("function" != typeof wrapper?.then) - throw new TypeError( - `You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`, - ); - let proxy = new Proxy(this, { - get: (target, key, receiver) => { - let result = Reflect.get(target, key, receiver); - return "function" != typeof result - ? result instanceof chai.Assertion - ? proxy - : result - : async (...args) => { - let promise = wrapper.then( - (value) => { - let _error = new AssertionError2( - `promise resolved "${utils.inspect(value)}" instead of rejecting`, - { - showDiff: !0, - expected: new Error("rejected promise"), - actual: value, - }, - ); - throw ( - ((_error.stack = error.stack.replace( - error.message, - _error.message, - )), - _error) - ); - }, - (err) => ( - utils.flag(this, "object", err), - result.call(this, ...args) - ), - ); - return recordAsyncExpect(test3, promise); - }; - }, - }); - return proxy; - }); - }; - var JestExtendError = class extends Error { - constructor(message, actual, expected) { - super(message), (this.actual = actual), (this.expected = expected); - } - }; - function JestExtendPlugin(c, expect4, matchers) { - return (_, utils) => { - Object.entries(matchers).forEach( - ([expectAssertionName, expectAssertion]) => { - let softWrapper = wrapSoft( - utils, - function expectWrapper(...args) { - let { state, isNot, obj } = (function getMatcherState( - assertion, - expect4, - ) { - let obj = assertion._obj, - isNot = utils_exports.flag(assertion, "negate"), - promise = - utils_exports.flag(assertion, "promise") || "", - jestUtils = { - ...getMatcherUtils(), - diff, - stringify, - iterableEquality, - subsetEquality, - }; - return { - state: { - ...getState(expect4), - customTesters: getCustomEqualityTesters(), - isNot, - utils: jestUtils, - promise, - equals, - suppressedErrors: [], - soft: utils_exports.flag(assertion, "soft"), - poll: utils_exports.flag(assertion, "poll"), - }, - isNot, - obj, - }; - })(this, expect4), - result = expectAssertion.call(state, obj, ...args); - if ( - result && - "object" == typeof result && - result instanceof Promise - ) - return result.then( - ({ - pass: pass2, - message: message2, - actual: actual2, - expected: expected2, - }) => { - if ((pass2 && isNot) || (!pass2 && !isNot)) - throw new JestExtendError( - message2(), - actual2, - expected2, - ); - }, - ); - let { pass, message, actual, expected } = result; - if ((pass && isNot) || (!pass && !isNot)) - throw new JestExtendError(message(), actual, expected); - }, - ); - utils.addMethod( - globalThis[JEST_MATCHERS_OBJECT].matchers, - expectAssertionName, - softWrapper, - ), - utils.addMethod( - c.Assertion.prototype, - expectAssertionName, - softWrapper, - ); - class CustomMatcher extends AsymmetricMatcher3 { - constructor(inverse = !1, ...sample) { - super(sample, inverse); - } - asymmetricMatch(other) { - let { pass } = expectAssertion.call( - this.getMatcherContext(expect4), - other, - ...this.sample, - ); - return this.inverse ? !pass : pass; - } - toString() { - return `${this.inverse ? "not." : ""}${expectAssertionName}`; - } - getExpectedType() { - return "any"; - } - toAsymmetricMatcher() { - return `${this.toString()}<${this.sample.map(String).join(", ")}>`; - } - } - let customMatcher = (...sample) => - new CustomMatcher(!1, ...sample); - Object.defineProperty(expect4, expectAssertionName, { - configurable: !0, - enumerable: !0, - value: customMatcher, - writable: !0, - }), - Object.defineProperty(expect4.not, expectAssertionName, { - configurable: !0, - enumerable: !0, - value: (...sample) => new CustomMatcher(!0, ...sample), - writable: !0, - }), - Object.defineProperty( - globalThis[ASYMMETRIC_MATCHERS_OBJECT], - expectAssertionName, - { - configurable: !0, - enumerable: !0, - value: customMatcher, - writable: !0, - }, - ); - }, - ); - }; - } - var JestExtend = (chai, utils) => { - utils.addMethod(chai.expect, "extend", (expect4, expects) => { - use(JestExtendPlugin(chai, expect4, expects)); - }); - }; - var expect2 = (function createExpect() { - use(JestExtend), use(JestChaiExpect), use(JestAsymmetricMatchers); - let expect4 = (value, message) => { - let { assertionCalls } = getState(expect4); - return ( - setState( - { assertionCalls: assertionCalls + 1, soft: !1 }, - expect4, - ), - expect(value, message) - ); - }; - return ( - Object.assign(expect4, expect), - (expect4.getState = () => getState(expect4)), - (expect4.setState = (state) => setState(state, expect4)), - (expect4.extend = (expects) => expect.extend(expect4, expects)), - (expect4.soft = (...args) => { - let assert2 = expect4(...args); - return expect4.setState({ soft: !0 }), assert2; - }), - (expect4.unreachable = (message) => { - assert.fail( - `expected${message ? ` "${message}" ` : " "}not to be reached`, - ); - }), - setState( - { - assertionCalls: 0, - isExpectingAssertions: !1, - isExpectingAssertionsError: null, - expectedAssertionsNumber: null, - expectedAssertionsNumberErrorGen: null, - }, - expect4, - ), - utils_exports.addMethod( - expect4, - "assertions", - function assertions(expected) { - let errorGen = () => - new Error( - `expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`, - ); - "captureStackTrace" in Error && - "function" == typeof Error.captureStackTrace && - Error.captureStackTrace(errorGen(), assertions), - expect4.setState({ - expectedAssertionsNumber: expected, - expectedAssertionsNumberErrorGen: errorGen, - }); - }, - ), - utils_exports.addMethod( - expect4, - "hasAssertions", - function hasAssertions() { - let error = new Error( - "expected any number of assertion, but got none", - ); - "captureStackTrace" in Error && - "function" == typeof Error.captureStackTrace && - Error.captureStackTrace(error, hasAssertions), - expect4.setState({ - isExpectingAssertions: !0, - isExpectingAssertionsError: error, - }); - }, - ), - expect4.extend(matchers_exports), - expect4 - ); - })(); - Object.defineProperty(globalThis, GLOBAL_EXPECT, { - value: expect2, - writable: !0, - configurable: !0, - }); - var listeners = new Set(); - function fn2(implementation) { - return reactiveMock(implementation ? fn(implementation) : fn()); - } - function reactiveMock(mock) { - let reactive = listenWhenCalled(mock), - originalMockImplementation = reactive.mockImplementation.bind(null); - return ( - (reactive.mockImplementation = (fn3) => - listenWhenCalled(originalMockImplementation(fn3))), - reactive - ); - } - function listenWhenCalled(mock) { - let state = I(mock), - impl = state.impl; - return ( - state.willCall(function (...args) { - return ( - listeners.forEach((listener) => listener(mock, args)), - impl?.apply(this, args) - ); - }), - mock - ); - } - var dom_esm_exports = {}; - __export(dom_esm_exports, { - buildQueries: () => buildQueries, - configure: () => configure, - createEvent: () => createEvent, - findAllByAltText: () => findAllByAltText, - findAllByDisplayValue: () => findAllByDisplayValue, - findAllByLabelText: () => findAllByLabelText, - findAllByPlaceholderText: () => findAllByPlaceholderText, - findAllByRole: () => findAllByRole, - findAllByTestId: () => findAllByTestId, - findAllByText: () => findAllByText, - findAllByTitle: () => findAllByTitle, - findByAltText: () => findByAltText, - findByDisplayValue: () => findByDisplayValue, - findByLabelText: () => findByLabelText, - findByPlaceholderText: () => findByPlaceholderText, - findByRole: () => findByRole, - findByTestId: () => findByTestId, - findByText: () => findByText, - findByTitle: () => findByTitle, - fireEvent: () => fireEvent, - getAllByAltText: () => getAllByAltText, - getAllByDisplayValue: () => getAllByDisplayValue, - getAllByLabelText: () => getAllByLabelTextWithSuggestions, - getAllByPlaceholderText: () => getAllByPlaceholderText, - getAllByRole: () => getAllByRole, - getAllByTestId: () => getAllByTestId, - getAllByText: () => getAllByText, - getAllByTitle: () => getAllByTitle, - getByAltText: () => getByAltText, - getByDisplayValue: () => getByDisplayValue, - getByLabelText: () => getByLabelTextWithSuggestions, - getByPlaceholderText: () => getByPlaceholderText, - getByRole: () => getByRole, - getByTestId: () => getByTestId, - getByText: () => getByText, - getByTitle: () => getByTitle, - getConfig: () => getConfig2, - getDefaultNormalizer: () => getDefaultNormalizer, - getElementError: () => getElementError, - getMultipleElementsFoundError: () => getMultipleElementsFoundError, - getNodeText: () => getNodeText, - getQueriesForElement: () => getQueriesForElement, - getRoles: () => getRoles, - getSuggestedQuery: () => getSuggestedQuery, - isInaccessible: () => isInaccessible, - logDOM: () => logDOM, - logRoles: () => logRoles, - makeFindQuery: () => makeFindQuery, - makeGetAllQuery: () => makeGetAllQuery, - makeSingleQuery: () => makeSingleQuery, - prettyDOM: () => prettyDOM, - prettyFormat: () => prettyFormat, - queries: () => queries, - queryAllByAltText: () => queryAllByAltTextWithSuggestions, - queryAllByAttribute: () => queryAllByAttribute, - queryAllByDisplayValue: () => queryAllByDisplayValueWithSuggestions, - queryAllByLabelText: () => queryAllByLabelTextWithSuggestions, - queryAllByPlaceholderText: () => - queryAllByPlaceholderTextWithSuggestions, - queryAllByRole: () => queryAllByRoleWithSuggestions, - queryAllByTestId: () => queryAllByTestIdWithSuggestions, - queryAllByText: () => queryAllByTextWithSuggestions, - queryAllByTitle: () => queryAllByTitleWithSuggestions, - queryByAltText: () => queryByAltText, - queryByAttribute: () => queryByAttribute, - queryByDisplayValue: () => queryByDisplayValue, - queryByLabelText: () => queryByLabelText, - queryByPlaceholderText: () => queryByPlaceholderText, - queryByRole: () => queryByRole, - queryByTestId: () => queryByTestId, - queryByText: () => queryByText, - queryByTitle: () => queryByTitle, - queryHelpers: () => queryHelpers, - screen: () => screen, - waitFor: () => waitForWrapper, - waitForElementToBeRemoved: () => waitForElementToBeRemoved, - within: () => getQueriesForElement, - wrapAllByQueryWithSuggestion: () => wrapAllByQueryWithSuggestion, - wrapSingleQueryWithSuggestion: () => wrapSingleQueryWithSuggestion, - }); - var prettyFormat = __toESM(require_build()), - toStr2 = Object.prototype.toString; - function isCallable2(fn3) { - return ( - "function" == typeof fn3 || "[object Function]" === toStr2.call(fn3) - ); - } - var maxSafeInteger2 = Math.pow(2, 53) - 1; - function toLength2(value) { - var len = (function toInteger2(value) { - var number = Number(value); - return isNaN(number) - ? 0 - : 0 !== number && isFinite(number) - ? (number > 0 ? 1 : -1) * Math.floor(Math.abs(number)) - : number; - })(value); - return Math.min(Math.max(len, 0), maxSafeInteger2); - } - function arrayFrom2(arrayLike, mapFn) { - var C3 = Array, - items = Object(arrayLike); - if (null == arrayLike) - throw new TypeError( - "Array.from requires an array-like object - not null or undefined", - ); - if (typeof mapFn < "u" && !isCallable2(mapFn)) - throw new TypeError( - "Array.from: when provided, the second argument must be a function", - ); - for ( - var kValue, - len = toLength2(items.length), - A = isCallable2(C3) ? Object(new C3(len)) : new Array(len), - k2 = 0; - k2 < len; - - ) - (kValue = items[k2]), - (A[k2] = mapFn ? mapFn(kValue, k2) : kValue), - (k2 += 1); - return (A.length = len), A; - } - function _typeof3(obj) { - return (_typeof3 = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (obj2) { - return typeof obj2; - } - : function (obj2) { - return obj2 && - "function" == typeof Symbol && - obj2.constructor === Symbol && - obj2 !== Symbol.prototype - ? "symbol" - : typeof obj2; - })(obj); - } - function _defineProperties2(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - (descriptor.enumerable = descriptor.enumerable || !1), - (descriptor.configurable = !0), - "value" in descriptor && (descriptor.writable = !0), - Object.defineProperty( - target, - _toPropertyKey3(descriptor.key), - descriptor, - ); - } - } - function _toPropertyKey3(arg) { - var key = (function _toPrimitive3(input2, hint) { - if ("object" !== _typeof3(input2) || null === input2) return input2; - var prim = input2[Symbol.toPrimitive]; - if (void 0 !== prim) { - var res = prim.call(input2, hint || "default"); - if ("object" !== _typeof3(res)) return res; - throw new TypeError( - "@@toPrimitive must return a primitive value.", - ); - } - return ("string" === hint ? String : Number)(input2); - })(arg, "string"); - return "symbol" === _typeof3(key) ? key : String(key); - } - var SetLike2 = (function () { - function SetLike3() { - var items = - arguments.length > 0 && void 0 !== arguments[0] - ? arguments[0] - : []; - (function _classCallCheck2(instance, Constructor) { - if (!(instance instanceof Constructor)) - throw new TypeError("Cannot call a class as a function"); - })(this, SetLike3), - (function _defineProperty3(obj, key, value) { - return ( - (key = _toPropertyKey3(key)) in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - })(this, "items", void 0), - (this.items = items); - } - return ( - (function _createClass2(Constructor, protoProps, staticProps) { - return ( - protoProps && - _defineProperties2(Constructor.prototype, protoProps), - staticProps && _defineProperties2(Constructor, staticProps), - Object.defineProperty(Constructor, "prototype", { - writable: !1, - }), - Constructor - ); - })(SetLike3, [ - { - key: "add", - value: function (value) { - return ( - !1 === this.has(value) && this.items.push(value), this - ); - }, - }, - { - key: "clear", - value: function () { - this.items = []; - }, - }, - { - key: "delete", - value: function (value) { - var previousLength = this.items.length; - return ( - (this.items = this.items.filter(function (item) { - return item !== value; - })), - previousLength !== this.items.length - ); - }, - }, - { - key: "forEach", - value: function (callbackfn) { - var _this = this; - this.items.forEach(function (item) { - callbackfn(item, item, _this); - }); - }, - }, - { - key: "has", - value: function (value) { - return -1 !== this.items.indexOf(value); - }, - }, - { - key: "size", - get: function () { - return this.items.length; - }, - }, - ]), - SetLike3 - ); - })(), - SetLike_default2 = typeof Set > "u" ? Set : SetLike2; - function getLocalName2(element) { - var _element$localName; - return null !== (_element$localName = element.localName) && - void 0 !== _element$localName - ? _element$localName - : element.tagName.toLowerCase(); - } - var localNameToRoleMappings2 = { - article: "article", - aside: "complementary", - button: "button", - datalist: "listbox", - dd: "definition", - details: "group", - dialog: "dialog", - dt: "term", - fieldset: "group", - figure: "figure", - form: "form", - footer: "contentinfo", - h1: "heading", - h2: "heading", - h3: "heading", - h4: "heading", - h5: "heading", - h6: "heading", - header: "banner", - hr: "separator", - html: "document", - legend: "legend", - li: "listitem", - math: "math", - main: "main", - menu: "list", - nav: "navigation", - ol: "list", - optgroup: "group", - option: "option", - output: "status", - progress: "progressbar", - section: "region", - summary: "button", - table: "table", - tbody: "rowgroup", - textarea: "textbox", - tfoot: "rowgroup", - td: "cell", - th: "columnheader", - thead: "rowgroup", - tr: "row", - ul: "list", - }, - prohibitedAttributes2 = { - caption: new Set(["aria-label", "aria-labelledby"]), - code: new Set(["aria-label", "aria-labelledby"]), - deletion: new Set(["aria-label", "aria-labelledby"]), - emphasis: new Set(["aria-label", "aria-labelledby"]), - generic: new Set([ - "aria-label", - "aria-labelledby", - "aria-roledescription", - ]), - insertion: new Set(["aria-label", "aria-labelledby"]), - paragraph: new Set(["aria-label", "aria-labelledby"]), - presentation: new Set(["aria-label", "aria-labelledby"]), - strong: new Set(["aria-label", "aria-labelledby"]), - subscript: new Set(["aria-label", "aria-labelledby"]), - superscript: new Set(["aria-label", "aria-labelledby"]), - }; - function ignorePresentationalRole2(element, implicitRole) { - return (function hasGlobalAriaAttributes2(element, role) { - return [ - "aria-atomic", - "aria-busy", - "aria-controls", - "aria-current", - "aria-describedby", - "aria-details", - "aria-dropeffect", - "aria-flowto", - "aria-grabbed", - "aria-hidden", - "aria-keyshortcuts", - "aria-label", - "aria-labelledby", - "aria-live", - "aria-owns", - "aria-relevant", - "aria-roledescription", - ].some(function (attributeName) { - var _prohibitedAttributes; - return ( - element.hasAttribute(attributeName) && - !( - null !== - (_prohibitedAttributes = prohibitedAttributes2[role]) && - void 0 !== _prohibitedAttributes && - _prohibitedAttributes.has(attributeName) - ) - ); - }); - })(element, implicitRole); - } - function getRole2(element) { - var explicitRole = (function getExplicitRole2(element) { - var role = element.getAttribute("role"); - if (null !== role) { - var explicitRole = role.trim().split(" ")[0]; - if (explicitRole.length > 0) return explicitRole; - } - return null; - })(element); - if (null === explicitRole || "presentation" === explicitRole) { - var implicitRole = (function getImplicitRole2(element) { - var mappedByTag = - localNameToRoleMappings2[getLocalName2(element)]; - if (void 0 !== mappedByTag) return mappedByTag; - switch (getLocalName2(element)) { - case "a": - case "area": - case "link": - if (element.hasAttribute("href")) return "link"; - break; - case "img": - return "" !== element.getAttribute("alt") || - ignorePresentationalRole2(element, "img") - ? "img" - : "presentation"; - case "input": - var type5 = element.type; - switch (type5) { - case "button": - case "image": - case "reset": - case "submit": - return "button"; - case "checkbox": - case "radio": - return type5; - case "range": - return "slider"; - case "email": - case "tel": - case "text": - case "url": - return element.hasAttribute("list") - ? "combobox" - : "textbox"; - case "search": - return element.hasAttribute("list") - ? "combobox" - : "searchbox"; - case "number": - return "spinbutton"; - default: - return null; - } - case "select": - return element.hasAttribute("multiple") || element.size > 1 - ? "listbox" - : "combobox"; - } - return null; - })(element); - if ( - "presentation" !== explicitRole || - ignorePresentationalRole2(element, implicitRole || "") - ) - return implicitRole; - } - return explicitRole; - } - function isElement2(node) { - return null !== node && node.nodeType === node.ELEMENT_NODE; - } - function isHTMLTableCaptionElement2(node) { - return isElement2(node) && "caption" === getLocalName2(node); - } - function isHTMLInputElement2(node) { - return isElement2(node) && "input" === getLocalName2(node); - } - function isHTMLLegendElement2(node) { - return isElement2(node) && "legend" === getLocalName2(node); - } - function isSVGTitleElement2(node) { - return ( - (function isSVGElement2(node) { - return isElement2(node) && void 0 !== node.ownerSVGElement; - })(node) && "title" === getLocalName2(node) - ); - } - function queryIdRefs2(node, attributeName) { - if (isElement2(node) && node.hasAttribute(attributeName)) { - var ids = node.getAttribute(attributeName).split(" "), - root = node.getRootNode ? node.getRootNode() : node.ownerDocument; - return ids - .map(function (id) { - return root.getElementById(id); - }) - .filter(function (element) { - return null !== element; - }); - } - return []; - } - function hasAnyConcreteRoles2(node, roles3) { - return !!isElement2(node) && -1 !== roles3.indexOf(getRole2(node)); - } - function hasAbstractRole2(node, role) { - if (!isElement2(node)) return !1; - if ("range" === role) - return hasAnyConcreteRoles2(node, [ - "meter", - "progressbar", - "scrollbar", - "slider", - "spinbutton", - ]); - throw new TypeError( - "No knowledge about abstract role '".concat( - role, - "'. This is likely a bug :(", - ), - ); - } - function querySelectorAllSubtree2(element, selectors) { - var elements = arrayFrom2(element.querySelectorAll(selectors)); - return ( - queryIdRefs2(element, "aria-owns").forEach(function (root) { - elements.push.apply( - elements, - arrayFrom2(root.querySelectorAll(selectors)), - ); - }), - elements - ); - } - function querySelectedOptions2(listbox) { - return (function isHTMLSelectElement2(node) { - return isElement2(node) && "select" === getLocalName2(node); - })(listbox) - ? listbox.selectedOptions || - querySelectorAllSubtree2(listbox, "[selected]") - : querySelectorAllSubtree2(listbox, '[aria-selected="true"]'); - } - function getValueOfTextbox2(element) { - return isHTMLInputElement2(element) || - (function isHTMLTextAreaElement2(node) { - return isElement2(node) && "textarea" === getLocalName2(node); - })(element) - ? element.value - : element.textContent || ""; - } - function getTextualContent2(declaration) { - var content = declaration.getPropertyValue("content"); - return /^["'].*["']$/.test(content) ? content.slice(1, -1) : ""; - } - function isLabelableElement2(element) { - var localName = getLocalName2(element); - return ( - "button" === localName || - ("input" === localName && - "hidden" !== element.getAttribute("type")) || - "meter" === localName || - "output" === localName || - "progress" === localName || - "select" === localName || - "textarea" === localName - ); - } - function findLabelableElement2(element) { - if (isLabelableElement2(element)) return element; - var labelableElement = null; - return ( - element.childNodes.forEach(function (childNode) { - if (null === labelableElement && isElement2(childNode)) { - var descendantLabelableElement = - findLabelableElement2(childNode); - null !== descendantLabelableElement && - (labelableElement = descendantLabelableElement); - } - }), - labelableElement - ); - } - function getControlOfLabel2(label) { - if (void 0 !== label.control) return label.control; - var htmlFor = label.getAttribute("for"); - return null !== htmlFor - ? label.ownerDocument.getElementById(htmlFor) - : findLabelableElement2(label); - } - function computeTextAlternative2(root) { - var options = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : {}, - consultedNodes = new SetLike_default2(), - window2 = (function safeWindow2(node) { - var defaultView = ( - null === node.ownerDocument ? node : node.ownerDocument - ).defaultView; - if (null === defaultView) - throw new TypeError("no window available"); - return defaultView; - })(root), - _options$compute = options.compute, - compute = void 0 === _options$compute ? "name" : _options$compute, - _options$computedStyl = options.computedStyleSupportsPseudoElements, - computedStyleSupportsPseudoElements = - void 0 === _options$computedStyl - ? void 0 !== options.getComputedStyle - : _options$computedStyl, - _options$getComputedS = options.getComputedStyle, - getComputedStyle = - void 0 === _options$getComputedS - ? window2.getComputedStyle.bind(window2) - : _options$getComputedS, - _options$hidden = options.hidden, - hidden = void 0 !== _options$hidden && _options$hidden; - function computeMiscTextAlternative(node, context) { - var accumulatedText = ""; - if (isElement2(node) && computedStyleSupportsPseudoElements) { - var beforeContent = getTextualContent2( - getComputedStyle(node, "::before"), - ); - accumulatedText = "" - .concat(beforeContent, " ") - .concat(accumulatedText); - } - if ( - (((function isHTMLSlotElement2(node) { - return isElement2(node) && "slot" === getLocalName2(node); - })(node) - ? (function getSlotContents2(slot) { - var assignedNodes = slot.assignedNodes(); - return 0 === assignedNodes.length - ? arrayFrom2(slot.childNodes) - : assignedNodes; - })(node) - : arrayFrom2(node.childNodes).concat( - queryIdRefs2(node, "aria-owns"), - ) - ).forEach(function (child) { - var result = computeTextAlternative3(child, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - recursion: !0, - }), - separator = - "inline" !== - (isElement2(child) - ? getComputedStyle(child).getPropertyValue("display") - : "inline") - ? " " - : ""; - accumulatedText += "" - .concat(separator) - .concat(result) - .concat(separator); - }), - isElement2(node) && computedStyleSupportsPseudoElements) - ) { - var afterContent = getTextualContent2( - getComputedStyle(node, "::after"), - ); - accumulatedText = "" - .concat(accumulatedText, " ") - .concat(afterContent); - } - return accumulatedText.trim(); - } - function useAttribute(element, attributeName) { - var attribute = element.getAttributeNode(attributeName); - return null === attribute || - consultedNodes.has(attribute) || - "" === attribute.value.trim() - ? null - : (consultedNodes.add(attribute), attribute.value); - } - function computeElementTextAlternative(node) { - if (!isElement2(node)) return null; - if ( - (function isHTMLFieldSetElement2(node) { - return isElement2(node) && "fieldset" === getLocalName2(node); - })(node) - ) { - consultedNodes.add(node); - for ( - var children = arrayFrom2(node.childNodes), i = 0; - i < children.length; - i += 1 - ) { - var child = children[i]; - if (isHTMLLegendElement2(child)) - return computeTextAlternative3(child, { - isEmbeddedInLabel: !1, - isReferenced: !1, - recursion: !1, - }); - } - } else if ( - (function isHTMLTableElement2(node) { - return isElement2(node) && "table" === getLocalName2(node); - })(node) - ) { - consultedNodes.add(node); - for ( - var _children = arrayFrom2(node.childNodes), _i = 0; - _i < _children.length; - _i += 1 - ) { - var _child = _children[_i]; - if (isHTMLTableCaptionElement2(_child)) - return computeTextAlternative3(_child, { - isEmbeddedInLabel: !1, - isReferenced: !1, - recursion: !1, - }); - } - } else { - if ( - (function isSVGSVGElement2(node) { - return isElement2(node) && "svg" === getLocalName2(node); - })(node) - ) { - consultedNodes.add(node); - for ( - var _children2 = arrayFrom2(node.childNodes), _i2 = 0; - _i2 < _children2.length; - _i2 += 1 - ) { - var _child2 = _children2[_i2]; - if (isSVGTitleElement2(_child2)) return _child2.textContent; - } - return null; - } - if ( - "img" === getLocalName2(node) || - "area" === getLocalName2(node) - ) { - var nameFromAlt = useAttribute(node, "alt"); - if (null !== nameFromAlt) return nameFromAlt; - } else if ( - (function isHTMLOptGroupElement2(node) { - return isElement2(node) && "optgroup" === getLocalName2(node); - })(node) - ) { - var nameFromLabel = useAttribute(node, "label"); - if (null !== nameFromLabel) return nameFromLabel; - } - } - if ( - isHTMLInputElement2(node) && - ("button" === node.type || - "submit" === node.type || - "reset" === node.type) - ) { - var nameFromValue = useAttribute(node, "value"); - if (null !== nameFromValue) return nameFromValue; - if ("submit" === node.type) return "Submit"; - if ("reset" === node.type) return "Reset"; - } - var labels = (function getLabels2(element) { - var labelsProperty = element.labels; - return null === labelsProperty - ? labelsProperty - : void 0 !== labelsProperty - ? arrayFrom2(labelsProperty) - : isLabelableElement2(element) - ? arrayFrom2( - element.ownerDocument.querySelectorAll("label"), - ).filter(function (label) { - return getControlOfLabel2(label) === element; - }) - : null; - })(node); - if (null !== labels && 0 !== labels.length) - return ( - consultedNodes.add(node), - arrayFrom2(labels) - .map(function (element) { - return computeTextAlternative3(element, { - isEmbeddedInLabel: !0, - isReferenced: !1, - recursion: !0, - }); - }) - .filter(function (label) { - return label.length > 0; - }) - .join(" ") - ); - if (isHTMLInputElement2(node) && "image" === node.type) { - var _nameFromAlt = useAttribute(node, "alt"); - if (null !== _nameFromAlt) return _nameFromAlt; - var nameFromTitle = useAttribute(node, "title"); - return null !== nameFromTitle ? nameFromTitle : "Submit Query"; - } - if (hasAnyConcreteRoles2(node, ["button"])) { - var nameFromSubTree = computeMiscTextAlternative(node, { - isEmbeddedInLabel: !1, - isReferenced: !1, - }); - if ("" !== nameFromSubTree) return nameFromSubTree; - } - return null; - } - function computeTextAlternative3(current, context) { - if (consultedNodes.has(current)) return ""; - if ( - !hidden && - (function isHidden2(node, getComputedStyleImplementation) { - if (!isElement2(node)) return !1; - if ( - node.hasAttribute("hidden") || - "true" === node.getAttribute("aria-hidden") - ) - return !0; - var style = getComputedStyleImplementation(node); - return ( - "none" === style.getPropertyValue("display") || - "hidden" === style.getPropertyValue("visibility") - ); - })(current, getComputedStyle) && - !context.isReferenced - ) - return consultedNodes.add(current), ""; - var labelAttributeNode = isElement2(current) - ? current.getAttributeNode("aria-labelledby") - : null, - labelElements = - null === labelAttributeNode || - consultedNodes.has(labelAttributeNode) - ? [] - : queryIdRefs2(current, "aria-labelledby"); - if ( - "name" === compute && - !context.isReferenced && - labelElements.length > 0 - ) - return ( - consultedNodes.add(labelAttributeNode), - labelElements - .map(function (element) { - return computeTextAlternative3(element, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !0, - recursion: !1, - }); - }) - .join(" ") - ); - var skipToStep2E = - context.recursion && - (function isControl2(node) { - return ( - hasAnyConcreteRoles2(node, [ - "button", - "combobox", - "listbox", - "textbox", - ]) || hasAbstractRole2(node, "range") - ); - })(current) && - "name" === compute; - if (!skipToStep2E) { - var ariaLabel = ( - (isElement2(current) && current.getAttribute("aria-label")) || - "" - ).trim(); - if ("" !== ariaLabel && "name" === compute) - return consultedNodes.add(current), ariaLabel; - if ( - !(function isMarkedPresentational2(node) { - return hasAnyConcreteRoles2(node, ["none", "presentation"]); - })(current) - ) { - var elementTextAlternative = - computeElementTextAlternative(current); - if (null !== elementTextAlternative) - return consultedNodes.add(current), elementTextAlternative; - } - } - if (hasAnyConcreteRoles2(current, ["menu"])) - return consultedNodes.add(current), ""; - if ( - skipToStep2E || - context.isEmbeddedInLabel || - context.isReferenced - ) { - if (hasAnyConcreteRoles2(current, ["combobox", "listbox"])) { - consultedNodes.add(current); - var selectedOptions = querySelectedOptions2(current); - return 0 === selectedOptions.length - ? isHTMLInputElement2(current) - ? current.value - : "" - : arrayFrom2(selectedOptions) - .map(function (selectedOption) { - return computeTextAlternative3(selectedOption, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - recursion: !0, - }); - }) - .join(" "); - } - if (hasAbstractRole2(current, "range")) - return ( - consultedNodes.add(current), - current.hasAttribute("aria-valuetext") - ? current.getAttribute("aria-valuetext") - : current.hasAttribute("aria-valuenow") - ? current.getAttribute("aria-valuenow") - : current.getAttribute("value") || "" - ); - if (hasAnyConcreteRoles2(current, ["textbox"])) - return consultedNodes.add(current), getValueOfTextbox2(current); - } - if ( - (function allowsNameFromContent2(node) { - return hasAnyConcreteRoles2(node, [ - "button", - "cell", - "checkbox", - "columnheader", - "gridcell", - "heading", - "label", - "legend", - "link", - "menuitem", - "menuitemcheckbox", - "menuitemradio", - "option", - "radio", - "row", - "rowheader", - "switch", - "tab", - "tooltip", - "treeitem", - ]); - })(current) || - (isElement2(current) && context.isReferenced) || - (function isNativeHostLanguageTextAlternativeElement2(node) { - return isHTMLTableCaptionElement2(node); - })(current) - ) { - var accumulatedText2F = computeMiscTextAlternative(current, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - }); - if ("" !== accumulatedText2F) - return consultedNodes.add(current), accumulatedText2F; - } - if (current.nodeType === current.TEXT_NODE) - return consultedNodes.add(current), current.textContent || ""; - if (context.recursion) - return ( - consultedNodes.add(current), - computeMiscTextAlternative(current, { - isEmbeddedInLabel: context.isEmbeddedInLabel, - isReferenced: !1, - }) - ); - var tooltipAttributeValue = (function computeTooltipAttributeValue( - node, - ) { - return isElement2(node) ? useAttribute(node, "title") : null; - })(current); - return null !== tooltipAttributeValue - ? (consultedNodes.add(current), tooltipAttributeValue) - : (consultedNodes.add(current), ""); - } - return (function asFlatString2(s) { - return s.trim().replace(/\s\s+/g, " "); - })( - computeTextAlternative3(root, { - isEmbeddedInLabel: !1, - isReferenced: "description" === compute, - recursion: !1, - }), - ); - } - function _typeof4(obj) { - return (_typeof4 = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (obj2) { - return typeof obj2; - } - : function (obj2) { - return obj2 && - "function" == typeof Symbol && - obj2.constructor === Symbol && - obj2 !== Symbol.prototype - ? "symbol" - : typeof obj2; - })(obj); - } - function ownKeys2(object, enumerableOnly) { - var keys2 = Object.keys(object); - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - enumerableOnly && - (symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - })), - keys2.push.apply(keys2, symbols); - } - return keys2; - } - function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = null != arguments[i] ? arguments[i] : {}; - i % 2 - ? ownKeys2(Object(source), !0).forEach(function (key) { - _defineProperty4(target, key, source[key]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - target, - Object.getOwnPropertyDescriptors(source), - ) - : ownKeys2(Object(source)).forEach(function (key) { - Object.defineProperty( - target, - key, - Object.getOwnPropertyDescriptor(source, key), - ); - }); - } - return target; - } - function _defineProperty4(obj, key, value) { - return ( - (key = (function _toPropertyKey4(arg) { - var key = (function _toPrimitive4(input2, hint) { - if ("object" !== _typeof4(input2) || null === input2) - return input2; - var prim = input2[Symbol.toPrimitive]; - if (void 0 !== prim) { - var res = prim.call(input2, hint || "default"); - if ("object" !== _typeof4(res)) return res; - throw new TypeError( - "@@toPrimitive must return a primitive value.", - ); - } - return ("string" === hint ? String : Number)(input2); - })(arg, "string"); - return "symbol" === _typeof4(key) ? key : String(key); - })(key)) in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - function computeAccessibleDescription2(root) { - var options = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : {}, - description = queryIdRefs2(root, "aria-describedby") - .map(function (element) { - return computeTextAlternative2( - element, - _objectSpread2( - _objectSpread2({}, options), - {}, - { compute: "description" }, - ), - ); - }) - .join(" "); - if ("" === description) { - var title = root.getAttribute("title"); - description = null === title ? "" : title; - } - return description; - } - function computeAccessibleName2(root) { - var options = - arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; - return (function prohibitsNaming2(node) { - return hasAnyConcreteRoles2(node, [ - "caption", - "code", - "deletion", - "emphasis", - "generic", - "insertion", - "paragraph", - "presentation", - "strong", - "subscript", - "superscript", - ]); - })(root) - ? "" - : computeTextAlternative2(root, options); - } - var import_aria_query3 = __toESM(require_lib()), - import_lz_string = __toESM(require_lz_string()); - function escapeHTML2(str) { - return str.replace(//g, ">"); - } - var printProps2 = ( - keys2, - props, - config3, - indentation, - depth, - refs, - printer2, - ) => { - let indentationNext = indentation + config3.indent, - colors = config3.colors; - return keys2 - .map((key) => { - let value = props[key], - printed = printer2( - value, - config3, - indentationNext, - depth, - refs, - ); - return ( - "string" != typeof value && - (-1 !== printed.indexOf("\n") && - (printed = - config3.spacingOuter + - indentationNext + - printed + - config3.spacingOuter + - indentation), - (printed = "{" + printed + "}")), - config3.spacingInner + - indentation + - colors.prop.open + - key + - colors.prop.close + - "=" + - colors.value.open + - printed + - colors.value.close - ); - }) - .join(""); - }, - printChildren2 = ( - children, - config3, - indentation, - depth, - refs, - printer2, - ) => - children - .map((child) => { - let printedChild = - "string" == typeof child - ? printText2(child, config3) - : printer2(child, config3, indentation, depth, refs); - return "" === printedChild && - "object" == typeof child && - null !== child && - 3 !== child.nodeType - ? "" - : config3.spacingOuter + indentation + printedChild; - }) - .join(""), - printText2 = (text, config3) => { - let contentColor = config3.colors.content; - return contentColor.open + escapeHTML2(text) + contentColor.close; - }, - printComment2 = (comment, config3) => { - let commentColor = config3.colors.comment; - return ( - commentColor.open + - "\x3c!--" + - escapeHTML2(comment) + - "--\x3e" + - commentColor.close - ); - }, - printElement2 = ( - type5, - printedProps, - printedChildren, - config3, - indentation, - ) => { - let tagColor = config3.colors.tag; - return ( - tagColor.open + - "<" + - type5 + - (printedProps && - tagColor.close + - printedProps + - config3.spacingOuter + - indentation + - tagColor.open) + - (printedChildren - ? ">" + - tagColor.close + - printedChildren + - config3.spacingOuter + - indentation + - tagColor.open + - "" + - tagColor.close - ); - }, - printElementAsLeaf2 = (type5, config3) => { - let tagColor = config3.colors.tag; - return ( - tagColor.open + - "<" + - type5 + - tagColor.close + - " …" + - tagColor.open + - " />" + - tagColor.close - ); - }, - TEXT_NODE$1 = 3, - COMMENT_NODE$1 = 8, - FRAGMENT_NODE2 = 11, - ELEMENT_REGEXP2 = /^((HTML|SVG)\w*)?Element$/, - isCustomElement2 = (val) => { - let { tagName } = val; - return !!( - ("string" == typeof tagName && tagName.includes("-")) || - ("function" == typeof val.hasAttribute && val.hasAttribute("is")) - ); - }, - testNode2 = (val) => { - let constructorName = val.constructor.name, - { nodeType } = val; - return ( - (1 === nodeType && - (ELEMENT_REGEXP2.test(constructorName) || - isCustomElement2(val))) || - (nodeType === TEXT_NODE$1 && "Text" === constructorName) || - (nodeType === COMMENT_NODE$1 && "Comment" === constructorName) || - (nodeType === FRAGMENT_NODE2 && - "DocumentFragment" === constructorName) - ); - }; - function nodeIsFragment2(node) { - return node.nodeType === FRAGMENT_NODE2; - } - function createDOMElementFilter(filterNode) { - return { - test: (val) => { - var _val$constructor2; - return ( - ((null == val || null == (_val$constructor2 = val.constructor) - ? void 0 - : _val$constructor2.name) || - isCustomElement2(val)) && - testNode2(val) - ); - }, - serialize: (node, config3, indentation, depth, refs, printer2) => { - if ( - (function nodeIsText2(node) { - return node.nodeType === TEXT_NODE$1; - })(node) - ) - return printText2(node.data, config3); - if ( - (function nodeIsComment2(node) { - return node.nodeType === COMMENT_NODE$1; - })(node) - ) - return printComment2(node.data, config3); - let type5 = nodeIsFragment2(node) - ? "DocumentFragment" - : node.tagName.toLowerCase(); - return ++depth > config3.maxDepth - ? printElementAsLeaf2(type5, config3) - : printElement2( - type5, - printProps2( - nodeIsFragment2(node) - ? [] - : Array.from(node.attributes) - .map((attr) => attr.name) - .sort(), - nodeIsFragment2(node) - ? {} - : Array.from(node.attributes).reduce( - (props, attribute) => ( - (props[attribute.name] = attribute.value), props - ), - {}, - ), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - printChildren2( - Array.prototype.slice - .call(node.childNodes || node.children) - .filter(filterNode), - config3, - indentation + config3.indent, - depth, - refs, - printer2, - ), - config3, - indentation, - ); - }, - }; - } - var chalk2 = null, - readFileSync = null, - codeFrameColumns = null; - try { - let nodeRequire = module && module.require; - (readFileSync = nodeRequire.call(module, "fs").readFileSync), - (codeFrameColumns = nodeRequire.call( - module, - "@babel/code-frame", - ).codeFrameColumns), - (chalk2 = nodeRequire.call(module, "chalk")); - } catch {} - function getUserCodeFrame() { - if (!readFileSync || !codeFrameColumns) return ""; - return (function getCodeFrame(frame) { - let locationStart = frame.indexOf("(") + 1, - locationEnd = frame.indexOf(")"), - frameLocation = frame.slice(locationStart, locationEnd), - frameLocationElements = frameLocation.split(":"), - [filename, line, column] = [ - frameLocationElements[0], - parseInt(frameLocationElements[1], 10), - parseInt(frameLocationElements[2], 10), - ], - rawFileContents = ""; - try { - rawFileContents = readFileSync(filename, "utf-8"); - } catch { - return ""; - } - let codeFrame = codeFrameColumns( - rawFileContents, - { start: { line, column } }, - { highlightCode: !0, linesBelow: 0 }, - ); - return chalk2.dim(frameLocation) + "\n" + codeFrame + "\n"; - })( - new Error().stack - .split("\n") - .slice(1) - .find((frame) => !frame.includes("node_modules/")), - ); - } - var TEXT_NODE2 = 3; - function jestFakeTimersAreEnabled() { - return ( - typeof jest < "u" && - null !== jest && - (!0 === setTimeout._isMockFunction || - Object.prototype.hasOwnProperty.call(setTimeout, "clock")) - ); - } - function getDocument() { - if (typeof window > "u") - throw new Error("Could not find default container"); - return window.document; - } - function getWindowFromNode(node) { - if (node.defaultView) return node.defaultView; - if (node.ownerDocument && node.ownerDocument.defaultView) - return node.ownerDocument.defaultView; - if (node.window) return node.window; - throw node.ownerDocument && null === node.ownerDocument.defaultView - ? new Error( - "It looks like the window object is not available for the provided node.", - ) - : node.then instanceof Function - ? new Error( - "It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?", - ) - : Array.isArray(node) - ? new Error( - "It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?", - ) - : "function" == typeof node.debug && - "function" == typeof node.logTestingPlaygroundURL - ? new Error( - "It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?", - ) - : new Error( - "The given node is not an Element, the node type is: " + - typeof node + - ".", - ); - } - function checkContainerType(container) { - if ( - !container || - "function" != typeof container.querySelector || - "function" != typeof container.querySelectorAll - ) - throw new TypeError( - "Expected container to be an Element, a Document or a DocumentFragment but got " + - (function getTypeName(object) { - return "object" == typeof object - ? null === object - ? "null" - : object.constructor.name - : typeof object; - })(container) + - ".", - ); - } - var shouldHighlight = () => { - if (typeof process > "u") return !1; - let colors; - try { - var _process$env; - let colorsJSON = - null == (_process$env = process.env) - ? void 0 - : _process$env.COLORS; - colorsJSON && (colors = JSON.parse(colorsJSON)); - } catch {} - return "boolean" == typeof colors - ? colors - : void 0 !== process.versions && void 0 !== process.versions.node; - }, - { DOMCollection: DOMCollection3 } = prettyFormat.plugins; - function filterCommentsAndDefaultIgnoreTagsTags(value) { - return ( - 8 !== value.nodeType && - (1 !== value.nodeType || !value.matches(getConfig2().defaultIgnore)) - ); - } - function prettyDOM(dom, maxLength, options) { - if ( - (void 0 === options && (options = {}), - dom || (dom = getDocument().body), - "number" != typeof maxLength && - (maxLength = - (typeof process < "u" && - typeof process.env < "u" && - process.env.DEBUG_PRINT_LIMIT) || - 7e3), - 0 === maxLength) - ) - return ""; - dom.documentElement && (dom = dom.documentElement); - let domTypeName = typeof dom; - if ( - ("object" === domTypeName - ? (domTypeName = dom.constructor.name) - : (dom = {}), - !("outerHTML" in dom)) - ) - throw new TypeError( - "Expected an element or document but got " + domTypeName, - ); - let { - filterNode = filterCommentsAndDefaultIgnoreTagsTags, - ...prettyFormatOptions - } = options, - debugContent = prettyFormat.format(dom, { - plugins: [createDOMElementFilter(filterNode), DOMCollection3], - printFunctionName: !1, - highlight: shouldHighlight(), - ...prettyFormatOptions, - }); - return void 0 !== maxLength && dom.outerHTML.length > maxLength - ? debugContent.slice(0, maxLength) + "..." - : debugContent; - } - var logDOM = function () { - let userCodeFrame = getUserCodeFrame(); - console.log( - userCodeFrame - ? prettyDOM(...arguments) + "\n\n" + userCodeFrame - : prettyDOM(...arguments), - ); - }, - config2 = { - testIdAttribute: "data-testid", - asyncUtilTimeout: 1e3, - asyncWrapper: (cb) => cb(), - unstable_advanceTimersWrapper: (cb) => cb(), - eventWrapper: (cb) => cb(), - defaultHidden: !1, - defaultIgnore: "script, style", - showOriginalStackTrace: !1, - throwSuggestions: !1, - getElementError(message, container) { - let prettifiedDOM = prettyDOM(container), - error = new Error( - [ - message, - "Ignored nodes: comments, " + - config2.defaultIgnore + - "\n" + - prettifiedDOM, - ] - .filter(Boolean) - .join("\n\n"), - ); - return (error.name = "TestingLibraryElementError"), error; - }, - _disableExpensiveErrorDiagnostics: !1, - computedStyleSupportsPseudoElements: !1, - }; - function configure(newConfig) { - "function" == typeof newConfig && (newConfig = newConfig(config2)), - (config2 = { ...config2, ...newConfig }); - } - function getConfig2() { - return config2; - } - var labelledNodeNames = [ - "button", - "meter", - "output", - "progress", - "select", - "textarea", - "input", - ]; - function getTextContent(node) { - return labelledNodeNames.includes(node.nodeName.toLowerCase()) - ? "" - : node.nodeType === TEXT_NODE2 - ? node.textContent - : Array.from(node.childNodes) - .map((childNode) => getTextContent(childNode)) - .join(""); - } - function getLabelContent(element) { - let textContent; - return ( - (textContent = - "label" === element.tagName.toLowerCase() - ? getTextContent(element) - : element.value || element.textContent), - textContent - ); - } - function getRealLabels(element) { - var _labels; - if (void 0 !== element.labels) - return null != (_labels = element.labels) ? _labels : []; - if ( - !(function isLabelable(element) { - return ( - /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test( - element.tagName, - ) || - ("INPUT" === element.tagName && - "hidden" !== element.getAttribute("type")) - ); - })(element) - ) - return []; - let labels = element.ownerDocument.querySelectorAll("label"); - return Array.from(labels).filter( - (label) => label.control === element, - ); - } - function getLabels3(container, element, _temp) { - let { selector = "*" } = void 0 === _temp ? {} : _temp, - ariaLabelledBy = element.getAttribute("aria-labelledby"), - labelsId = ariaLabelledBy ? ariaLabelledBy.split(" ") : []; - return labelsId.length - ? labelsId.map((labelId) => { - let labellingElement = container.querySelector( - '[id="' + labelId + '"]', - ); - return labellingElement - ? { - content: getLabelContent(labellingElement), - formControl: null, - } - : { content: "", formControl: null }; - }) - : Array.from(getRealLabels(element)).map((label) => ({ - content: getLabelContent(label), - formControl: Array.from( - label.querySelectorAll( - "button, input, meter, output, progress, select, textarea", - ), - ).filter((formControlElement) => - formControlElement.matches(selector), - )[0], - })); - } - function assertNotNullOrUndefined(matcher) { - if (null == matcher) - throw new Error( - "It looks like " + - matcher + - " was passed instead of a matcher. Did you do something like getByText(" + - matcher + - ")?", - ); - } - function fuzzyMatches(textToMatch, node, matcher, normalizer) { - if ("string" != typeof textToMatch) return !1; - assertNotNullOrUndefined(matcher); - let normalizedText = normalizer(textToMatch); - return "string" == typeof matcher || "number" == typeof matcher - ? normalizedText - .toLowerCase() - .includes(matcher.toString().toLowerCase()) - : "function" == typeof matcher - ? matcher(normalizedText, node) - : matchRegExp(matcher, normalizedText); - } - function matches2(textToMatch, node, matcher, normalizer) { - if ("string" != typeof textToMatch) return !1; - assertNotNullOrUndefined(matcher); - let normalizedText = normalizer(textToMatch); - return matcher instanceof Function - ? matcher(normalizedText, node) - : matcher instanceof RegExp - ? matchRegExp(matcher, normalizedText) - : normalizedText === String(matcher); - } - function getDefaultNormalizer(_temp) { - let { trim = !0, collapseWhitespace = !0 } = - void 0 === _temp ? {} : _temp; - return (text) => { - let normalizedText = text; - return ( - (normalizedText = trim ? normalizedText.trim() : normalizedText), - (normalizedText = collapseWhitespace - ? normalizedText.replace(/\s+/g, " ") - : normalizedText), - normalizedText - ); - }; - } - function makeNormalizer(_ref) { - let { trim, collapseWhitespace, normalizer } = _ref; - if (!normalizer) - return getDefaultNormalizer({ trim, collapseWhitespace }); - if (typeof trim < "u" || typeof collapseWhitespace < "u") - throw new Error( - 'trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer', - ); - return normalizer; - } - function matchRegExp(matcher, text) { - let match = matcher.test(text); - return ( - matcher.global && - 0 !== matcher.lastIndex && - (console.warn( - "To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp.", - ), - (matcher.lastIndex = 0)), - match - ); - } - function getNodeText(node) { - return node.matches( - "input[type=submit], input[type=button], input[type=reset]", - ) - ? node.value - : Array.from(node.childNodes) - .filter( - (child) => - child.nodeType === TEXT_NODE2 && !!child.textContent, - ) - .map((c) => c.textContent) - .join(""); - } - var elementRoleList2 = (function buildElementRoleList2( - elementRolesMap, - ) { - function getSelectorSpecificity(_ref3) { - let { attributes = [] } = _ref3; - return attributes.length; - } - function match(element) { - let { attributes = [] } = element, - typeTextIndex = attributes.findIndex( - (attribute) => - attribute.value && - "type" === attribute.name && - "text" === attribute.value, - ); - typeTextIndex >= 0 && - (attributes = [ - ...attributes.slice(0, typeTextIndex), - ...attributes.slice(typeTextIndex + 1), - ]); - let selector = (function makeElementSelector(_ref) { - let { name, attributes } = _ref; - return ( - "" + - name + - attributes - .map((_ref2) => { - let { - name: attributeName, - value, - constraints = [], - } = _ref2, - shouldNotExist = -1 !== constraints.indexOf("undefined"), - shouldBeNonEmpty = -1 !== constraints.indexOf("set"); - return typeof value < "u" - ? "[" + attributeName + '="' + value + '"]' - : shouldNotExist - ? ":not([" + attributeName + "])" - : shouldBeNonEmpty - ? "[" + - attributeName + - "]:not([" + - attributeName + - '=""])' - : "[" + attributeName + "]"; - }) - .join("") - ); - })({ ...element, attributes }); - return (node) => - !(typeTextIndex >= 0 && "text" !== node.type) && - node.matches(selector); - } - let result = []; - for (let [element, roles3] of elementRolesMap.entries()) - result = [ - ...result, - { - match: match(element), - roles: Array.from(roles3), - specificity: getSelectorSpecificity(element), - }, - ]; - return result.sort(function bySelectorSpecificity(_ref4, _ref5) { - let { specificity: leftSpecificity } = _ref4, - { specificity: rightSpecificity } = _ref5; - return rightSpecificity - leftSpecificity; - }); - })(import_aria_query3.elementRoles); - function isSubtreeInaccessible(element) { - return ( - !0 === element.hidden || - "true" === element.getAttribute("aria-hidden") || - "none" === - element.ownerDocument.defaultView.getComputedStyle(element) - .display - ); - } - function isInaccessible(element, options) { - void 0 === options && (options = {}); - let { - isSubtreeInaccessible: - isSubtreeInaccessibleImpl = isSubtreeInaccessible, - } = options; - if ( - "hidden" === - element.ownerDocument.defaultView.getComputedStyle(element) - .visibility - ) - return !0; - let currentElement = element; - for (; currentElement; ) { - if (isSubtreeInaccessibleImpl(currentElement)) return !0; - currentElement = currentElement.parentElement; - } - return !1; - } - function getImplicitAriaRoles2(currentNode) { - for (let { match, roles: roles3 } of elementRoleList2) - if (match(currentNode)) return [...roles3]; - return []; - } - function getRoles(container, _temp) { - let { hidden = !1 } = void 0 === _temp ? {} : _temp; - return (function flattenDOM(node) { - return [ - node, - ...Array.from(node.children).reduce( - (acc, child) => [...acc, ...flattenDOM(child)], - [], - ), - ]; - })(container) - .filter( - (element) => !1 !== hidden || !1 === isInaccessible(element), - ) - .reduce((acc, node) => { - let roles3 = []; - return ( - (roles3 = node.hasAttribute("role") - ? node.getAttribute("role").split(" ").slice(0, 1) - : getImplicitAriaRoles2(node)), - roles3.reduce( - (rolesAcc, role) => - Array.isArray(rolesAcc[role]) - ? { ...rolesAcc, [role]: [...rolesAcc[role], node] } - : { ...rolesAcc, [role]: [node] }, - acc, - ) - ); - }, {}); - } - function prettyRoles(dom, _ref6) { - let { hidden, includeDescription } = _ref6, - roles3 = getRoles(dom, { hidden }); - return Object.entries(roles3) - .filter((_ref7) => { - let [role] = _ref7; - return "generic" !== role; - }) - .map((_ref8) => { - let [role, elements] = _ref8, - delimiterBar = "-".repeat(50); - return ( - role + - ":\n\n" + - elements - .map((el) => { - let nameString = - 'Name "' + - computeAccessibleName2(el, { - computedStyleSupportsPseudoElements: - getConfig2().computedStyleSupportsPseudoElements, - }) + - '":\n', - domString = prettyDOM(el.cloneNode(!1)); - if (includeDescription) { - return ( - "" + - nameString + - ('Description "' + - computeAccessibleDescription2(el, { - computedStyleSupportsPseudoElements: - getConfig2().computedStyleSupportsPseudoElements, - }) + - '":\n') + - domString - ); - } - return "" + nameString + domString; - }) - .join("\n\n") + - "\n\n" + - delimiterBar - ); - }) - .join("\n"); - } - var logRoles = function (dom, _temp2) { - let { hidden = !1 } = void 0 === _temp2 ? {} : _temp2; - return console.log(prettyRoles(dom, { hidden })); - }; - function checkBooleanAttribute(element, attribute) { - let attributeValue = element.getAttribute(attribute); - return ( - "true" === attributeValue || ("false" !== attributeValue && void 0) - ); - } - var normalize2 = getDefaultNormalizer(); - function getRegExpMatcher(string) { - return new RegExp( - (function escapeRegExp(string) { - return string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); - })(string.toLowerCase()), - "i", - ); - } - function makeSuggestion(queryName, element, content, _ref) { - let { variant, name } = _ref, - warning = "", - queryOptions = {}, - queryArgs = [ - ["Role", "TestId"].includes(queryName) - ? content - : getRegExpMatcher(content), - ]; - name && (queryOptions.name = getRegExpMatcher(name)), - "Role" === queryName && - isInaccessible(element) && - ((queryOptions.hidden = !0), - (warning = - "Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n ")), - Object.keys(queryOptions).length > 0 && - queryArgs.push(queryOptions); - let queryMethod = variant + "By" + queryName; - return { - queryName, - queryMethod, - queryArgs, - variant, - warning, - toString() { - warning && console.warn(warning); - let [text, options] = queryArgs; - return ( - (text = "string" == typeof text ? "'" + text + "'" : text), - (options = options - ? ", { " + - Object.entries(options) - .map((_ref2) => { - let [k2, v] = _ref2; - return k2 + ": " + v; - }) - .join(", ") + - " }" - : ""), - queryMethod + "(" + text + options + ")" - ); - }, - }; - } - function canSuggest(currentMethod, requestedMethod, data) { - return ( - data && - (!requestedMethod || - requestedMethod.toLowerCase() === currentMethod.toLowerCase()) - ); - } - function getSuggestedQuery(element, variant, method) { - var _element$getAttribute, _getImplicitAriaRoles; - if ( - (void 0 === variant && (variant = "get"), - element.matches(getConfig2().defaultIgnore)) - ) - return; - let role = - null != (_element$getAttribute = element.getAttribute("role")) - ? _element$getAttribute - : null == (_getImplicitAriaRoles = getImplicitAriaRoles2(element)) - ? void 0 - : _getImplicitAriaRoles[0]; - if ("generic" !== role && canSuggest("Role", method, role)) - return makeSuggestion("Role", element, role, { - variant, - name: computeAccessibleName2(element, { - computedStyleSupportsPseudoElements: - getConfig2().computedStyleSupportsPseudoElements, - }), - }); - let labelText = getLabels3(document, element) - .map((label) => label.content) - .join(" "); - if (canSuggest("LabelText", method, labelText)) - return makeSuggestion("LabelText", element, labelText, { variant }); - let placeholderText = element.getAttribute("placeholder"); - if (canSuggest("PlaceholderText", method, placeholderText)) - return makeSuggestion("PlaceholderText", element, placeholderText, { - variant, - }); - let textContent = normalize2(getNodeText(element)); - if (canSuggest("Text", method, textContent)) - return makeSuggestion("Text", element, textContent, { variant }); - if (canSuggest("DisplayValue", method, element.value)) - return makeSuggestion( - "DisplayValue", - element, - normalize2(element.value), - { variant }, - ); - let alt = element.getAttribute("alt"); - if (canSuggest("AltText", method, alt)) - return makeSuggestion("AltText", element, alt, { variant }); - let title = element.getAttribute("title"); - if (canSuggest("Title", method, title)) - return makeSuggestion("Title", element, title, { variant }); - let testId = element.getAttribute(getConfig2().testIdAttribute); - return canSuggest("TestId", method, testId) - ? makeSuggestion("TestId", element, testId, { variant }) - : void 0; - } - function copyStackTrace(target, source) { - target.stack = source.stack.replace(source.message, target.message); - } - function waitFor(callback, _ref) { - let { - container = getDocument(), - timeout = getConfig2().asyncUtilTimeout, - showOriginalStackTrace = getConfig2().showOriginalStackTrace, - stackTraceError, - interval = 50, - onTimeout = (error) => ( - Object.defineProperty(error, "message", { - value: getConfig2().getElementError(error.message, container) - .message, - }), - error - ), - mutationObserverOptions = { - subtree: !0, - childList: !0, - attributes: !0, - characterData: !0, - }, - } = _ref; - if ("function" != typeof callback) - throw new TypeError("Received `callback` arg must be a function"); - return new Promise(async (resolve, reject) => { - let lastError, - intervalId, - observer, - finished = !1, - promiseStatus = "idle", - overallTimeoutTimer = setTimeout(function handleTimeout() { - let error; - lastError - ? ((error = lastError), - !showOriginalStackTrace && - "TestingLibraryElementError" === error.name && - copyStackTrace(error, stackTraceError)) - : ((error = new Error("Timed out in waitFor.")), - showOriginalStackTrace || - copyStackTrace(error, stackTraceError)), - onDone(onTimeout(error), null); - }, timeout), - usingJestFakeTimers = jestFakeTimersAreEnabled(); - if (usingJestFakeTimers) { - let { unstable_advanceTimersWrapper: advanceTimersWrapper } = - getConfig2(); - for (checkCallback(); !finished; ) { - if (!jestFakeTimersAreEnabled()) { - let error = new Error( - "Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830", - ); - return ( - showOriginalStackTrace || - copyStackTrace(error, stackTraceError), - void reject(error) - ); - } - if ( - (await advanceTimersWrapper(async () => { - jest.advanceTimersByTime(interval); - }), - finished) - ) - break; - checkCallback(); - } - } else { - try { - checkContainerType(container); - } catch (e) { - return void reject(e); - } - intervalId = setInterval(checkRealTimersCallback, interval); - let { MutationObserver } = getWindowFromNode(container); - (observer = new MutationObserver(checkRealTimersCallback)), - observer.observe(container, mutationObserverOptions), - checkCallback(); - } - function onDone(error, result) { - (finished = !0), - clearTimeout(overallTimeoutTimer), - usingJestFakeTimers || - (clearInterval(intervalId), observer.disconnect()), - error ? reject(error) : resolve(result); - } - function checkRealTimersCallback() { - if (jestFakeTimersAreEnabled()) { - let error = new Error( - "Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830", - ); - return ( - showOriginalStackTrace || - copyStackTrace(error, stackTraceError), - reject(error) - ); - } - return checkCallback(); - } - function checkCallback() { - if ("pending" !== promiseStatus) - try { - let result = - (function runWithExpensiveErrorDiagnosticsDisabled( - callback, - ) { - try { - return ( - (config2._disableExpensiveErrorDiagnostics = !0), - callback() - ); - } finally { - config2._disableExpensiveErrorDiagnostics = !1; - } - })(callback); - "function" == typeof result?.then - ? ((promiseStatus = "pending"), - result.then( - (resolvedValue) => { - (promiseStatus = "resolved"), - onDone(null, resolvedValue); - }, - (rejectedValue) => { - (promiseStatus = "rejected"), - (lastError = rejectedValue); - }, - )) - : onDone(null, result); - } catch (error) { - lastError = error; - } - } - }); - } - function waitForWrapper(callback, options) { - let stackTraceError = new Error("STACK_TRACE_MESSAGE"); - return getConfig2().asyncWrapper(() => - waitFor(callback, { stackTraceError, ...options }), - ); - } - function getElementError(message, container) { - return getConfig2().getElementError(message, container); - } - function getMultipleElementsFoundError(message, container) { - return getElementError( - message + - "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", - container, - ); - } - function queryAllByAttribute(attribute, container, text, _temp) { - let { - exact = !0, - collapseWhitespace, - trim, - normalizer, - } = void 0 === _temp ? {} : _temp, - matcher = exact ? matches2 : fuzzyMatches, - matchNormalizer = makeNormalizer({ - collapseWhitespace, - trim, - normalizer, - }); - return Array.from( - container.querySelectorAll("[" + attribute + "]"), - ).filter((node) => - matcher(node.getAttribute(attribute), node, text, matchNormalizer), - ); - } - function queryByAttribute(attribute, container, text, options) { - let els = queryAllByAttribute(attribute, container, text, options); - if (els.length > 1) - throw getMultipleElementsFoundError( - "Found multiple elements by [" + attribute + "=" + text + "]", - container, - ); - return els[0] || null; - } - function makeSingleQuery(allQuery, getMultipleError2) { - return function (container) { - for ( - var _len = arguments.length, - args = new Array(_len > 1 ? _len - 1 : 0), - _key = 1; - _key < _len; - _key++ - ) - args[_key - 1] = arguments[_key]; - let els = allQuery(container, ...args); - if (els.length > 1) { - let elementStrings = els - .map((element) => getElementError(null, element).message) - .join("\n\n"); - throw getMultipleElementsFoundError( - getMultipleError2(container, ...args) + - "\n\nHere are the matching elements:\n\n" + - elementStrings, - container, - ); - } - return els[0] || null; - }; - } - function getSuggestionError(suggestion, container) { - return getConfig2().getElementError( - "A better query is available, try this:\n" + - suggestion.toString() + - "\n", - container, - ); - } - function makeGetAllQuery(allQuery, getMissingError2) { - return function (container) { - for ( - var _len2 = arguments.length, - args = new Array(_len2 > 1 ? _len2 - 1 : 0), - _key2 = 1; - _key2 < _len2; - _key2++ - ) - args[_key2 - 1] = arguments[_key2]; - let els = allQuery(container, ...args); - if (!els.length) - throw getConfig2().getElementError( - getMissingError2(container, ...args), - container, - ); - return els; - }; - } - function makeFindQuery(getter) { - return (container, text, options, waitForOptions) => - waitForWrapper(() => getter(container, text, options), { - container, - ...waitForOptions, - }); - } - var wrapSingleQueryWithSuggestion = (query, queryAllByName, variant) => - function (container) { - for ( - var _len3 = arguments.length, - args = new Array(_len3 > 1 ? _len3 - 1 : 0), - _key3 = 1; - _key3 < _len3; - _key3++ - ) - args[_key3 - 1] = arguments[_key3]; - let element = query(container, ...args), - [{ suggest = getConfig2().throwSuggestions } = {}] = - args.slice(-1); - if (element && suggest) { - let suggestion = getSuggestedQuery(element, variant); - if ( - suggestion && - !queryAllByName.endsWith(suggestion.queryName) - ) - throw getSuggestionError(suggestion.toString(), container); - } - return element; - }, - wrapAllByQueryWithSuggestion = (query, queryAllByName, variant) => - function (container) { - for ( - var _len4 = arguments.length, - args = new Array(_len4 > 1 ? _len4 - 1 : 0), - _key4 = 1; - _key4 < _len4; - _key4++ - ) - args[_key4 - 1] = arguments[_key4]; - let els = query(container, ...args), - [{ suggest = getConfig2().throwSuggestions } = {}] = - args.slice(-1); - if (els.length && suggest) { - let uniqueSuggestionMessages = [ - ...new Set( - els.map((element) => { - var _getSuggestedQuery; - return null == - (_getSuggestedQuery = getSuggestedQuery( - element, - variant, - )) - ? void 0 - : _getSuggestedQuery.toString(); - }), - ), - ]; - if ( - 1 === uniqueSuggestionMessages.length && - !queryAllByName.endsWith( - getSuggestedQuery(els[0], variant).queryName, - ) - ) - throw getSuggestionError( - uniqueSuggestionMessages[0], - container, - ); - } - return els; - }; - function buildQueries(queryAllBy, getMultipleError2, getMissingError2) { - let queryBy = wrapSingleQueryWithSuggestion( - makeSingleQuery(queryAllBy, getMultipleError2), - queryAllBy.name, - "query", - ), - getAllBy = makeGetAllQuery(queryAllBy, getMissingError2), - getBy = makeSingleQuery(getAllBy, getMultipleError2), - getByWithSuggestions = wrapSingleQueryWithSuggestion( - getBy, - queryAllBy.name, - "get", - ); - return [ - queryBy, - wrapAllByQueryWithSuggestion( - getAllBy, - queryAllBy.name.replace("query", "get"), - "getAll", - ), - getByWithSuggestions, - makeFindQuery( - wrapAllByQueryWithSuggestion( - getAllBy, - queryAllBy.name, - "findAll", - ), - ), - makeFindQuery( - wrapSingleQueryWithSuggestion(getBy, queryAllBy.name, "find"), - ), - ]; - } - var queryHelpers = Object.freeze({ - __proto__: null, - getElementError, - wrapAllByQueryWithSuggestion, - wrapSingleQueryWithSuggestion, - getMultipleElementsFoundError, - queryAllByAttribute, - queryByAttribute, - makeSingleQuery, - makeGetAllQuery, - makeFindQuery, - buildQueries, - }); - var queryAllLabelsByText = function (container, text, _temp) { - let { - exact = !0, - trim, - collapseWhitespace, - normalizer, - } = void 0 === _temp ? {} : _temp, - matcher = exact ? matches2 : fuzzyMatches, - matchNormalizer = makeNormalizer({ - collapseWhitespace, - trim, - normalizer, - }); - return (function queryAllLabels(container) { - return Array.from(container.querySelectorAll("label,input")) - .map((node) => ({ node, textToMatch: getLabelContent(node) })) - .filter((_ref) => { - let { textToMatch } = _ref; - return null !== textToMatch; - }); - })(container) - .filter((_ref2) => { - let { node, textToMatch } = _ref2; - return matcher(textToMatch, node, text, matchNormalizer); - }) - .map((_ref3) => { - let { node } = _ref3; - return node; - }); - }, - queryAllByLabelText = function (container, text, _temp2) { - let { - selector = "*", - exact = !0, - collapseWhitespace, - trim, - normalizer, - } = void 0 === _temp2 ? {} : _temp2; - checkContainerType(container); - let matcher = exact ? matches2 : fuzzyMatches, - matchNormalizer = makeNormalizer({ - collapseWhitespace, - trim, - normalizer, - }), - matchingLabelledElements = Array.from( - container.querySelectorAll("*"), - ) - .filter( - (element) => - getRealLabels(element).length || - element.hasAttribute("aria-labelledby"), - ) - .reduce((labelledElements, labelledElement) => { - let labelList = getLabels3(container, labelledElement, { - selector, - }); - labelList - .filter((label) => !!label.formControl) - .forEach((label) => { - matcher( - label.content, - label.formControl, - text, - matchNormalizer, - ) && - label.formControl && - labelledElements.push(label.formControl); - }); - let labelsValue = labelList - .filter((label) => !!label.content) - .map((label) => label.content); - return ( - matcher( - labelsValue.join(" "), - labelledElement, - text, - matchNormalizer, - ) && labelledElements.push(labelledElement), - labelsValue.length > 1 && - labelsValue.forEach((labelValue, index) => { - matcher( - labelValue, - labelledElement, - text, - matchNormalizer, - ) && labelledElements.push(labelledElement); - let labelsFiltered = [...labelsValue]; - labelsFiltered.splice(index, 1), - labelsFiltered.length > 1 && - matcher( - labelsFiltered.join(" "), - labelledElement, - text, - matchNormalizer, - ) && - labelledElements.push(labelledElement); - }), - labelledElements - ); - }, []) - .concat( - queryAllByAttribute("aria-label", container, text, { - exact, - normalizer: matchNormalizer, - }), - ); - return Array.from(new Set(matchingLabelledElements)).filter( - (element) => element.matches(selector), - ); - }, - getAllByLabelText = function (container, text) { - for ( - var _len = arguments.length, - rest = new Array(_len > 2 ? _len - 2 : 0), - _key = 2; - _key < _len; - _key++ - ) - rest[_key - 2] = arguments[_key]; - let els = queryAllByLabelText(container, text, ...rest); - if (!els.length) { - let labels = queryAllLabelsByText(container, text, ...rest); - if (labels.length) { - let tagNames = labels - .map((label) => - (function getTagNameOfElementAssociatedWithLabelViaFor( - container, - label, - ) { - let htmlFor = label.getAttribute("for"); - if (!htmlFor) return null; - let element = container.querySelector( - '[id="' + htmlFor + '"]', - ); - return element ? element.tagName.toLowerCase() : null; - })(container, label), - ) - .filter((tagName) => !!tagName); - throw tagNames.length - ? getConfig2().getElementError( - tagNames - .map( - (tagName) => - "Found a label with the text of: " + - text + - ", however the element associated with this label (<" + - tagName + - " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + - tagName + - " />, you can use aria-label or aria-labelledby instead.", - ) - .join("\n\n"), - container, - ) - : getConfig2().getElementError( - "Found a label with the text of: " + - text + - ', however no form control was found associated to that label. Make sure you\'re using the "for" attribute or "aria-labelledby" attribute correctly.', - container, - ); - } - throw getConfig2().getElementError( - "Unable to find a label with the text of: " + text, - container, - ); - } - return els; - }; - var getMultipleError$7 = (c, text) => - "Found multiple elements with the text of: " + text, - queryByLabelText = wrapSingleQueryWithSuggestion( - makeSingleQuery(queryAllByLabelText, getMultipleError$7), - queryAllByLabelText.name, - "query", - ), - getByLabelText = makeSingleQuery( - getAllByLabelText, - getMultipleError$7, - ), - findAllByLabelText = makeFindQuery( - wrapAllByQueryWithSuggestion( - getAllByLabelText, - getAllByLabelText.name, - "findAll", - ), - ), - findByLabelText = makeFindQuery( - wrapSingleQueryWithSuggestion( - getByLabelText, - getAllByLabelText.name, - "find", - ), - ), - getAllByLabelTextWithSuggestions = wrapAllByQueryWithSuggestion( - getAllByLabelText, - getAllByLabelText.name, - "getAll", - ), - getByLabelTextWithSuggestions = wrapSingleQueryWithSuggestion( - getByLabelText, - getAllByLabelText.name, - "get", - ), - queryAllByLabelTextWithSuggestions = wrapAllByQueryWithSuggestion( - queryAllByLabelText, - queryAllByLabelText.name, - "queryAll", - ), - queryAllByPlaceholderText = function () { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - return ( - checkContainerType(args[0]), - queryAllByAttribute("placeholder", ...args) - ); - }, - queryAllByPlaceholderTextWithSuggestions = - wrapAllByQueryWithSuggestion( - queryAllByPlaceholderText, - queryAllByPlaceholderText.name, - "queryAll", - ), - [ - queryByPlaceholderText, - getAllByPlaceholderText, - getByPlaceholderText, - findAllByPlaceholderText, - findByPlaceholderText, - ] = buildQueries( - queryAllByPlaceholderText, - (c, text) => - "Found multiple elements with the placeholder text of: " + text, - (c, text) => - "Unable to find an element with the placeholder text of: " + text, - ), - queryAllByText = function (container, text, _temp) { - let { - selector = "*", - exact = !0, - collapseWhitespace, - trim, - ignore = getConfig2().defaultIgnore, - normalizer, - } = void 0 === _temp ? {} : _temp; - checkContainerType(container); - let matcher = exact ? matches2 : fuzzyMatches, - matchNormalizer = makeNormalizer({ - collapseWhitespace, - trim, - normalizer, - }), - baseArray = []; - return ( - "function" == typeof container.matches && - container.matches(selector) && - (baseArray = [container]), - [ - ...baseArray, - ...Array.from(container.querySelectorAll(selector)), - ] - .filter((node) => !ignore || !node.matches(ignore)) - .filter((node) => - matcher(getNodeText(node), node, text, matchNormalizer), - ) - ); - }, - queryAllByTextWithSuggestions = wrapAllByQueryWithSuggestion( - queryAllByText, - queryAllByText.name, - "queryAll", - ), - [queryByText, getAllByText, getByText, findAllByText, findByText] = - buildQueries( - queryAllByText, - (c, text) => "Found multiple elements with the text: " + text, - function (c, text, options) { - void 0 === options && (options = {}); - let { collapseWhitespace, trim, normalizer, selector } = - options, - normalizedText = makeNormalizer({ - collapseWhitespace, - trim, - normalizer, - })(text.toString()); - return ( - "Unable to find an element with the text: " + - (normalizedText !== text.toString() - ? normalizedText + " (normalized from '" + text + "')" - : text) + - ("*" !== (selector ?? "*") - ? ", which matches selector '" + selector + "'" - : "") + - ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible." - ); - }, - ), - queryAllByDisplayValue = function (container, value, _temp) { - let { - exact = !0, - collapseWhitespace, - trim, - normalizer, - } = void 0 === _temp ? {} : _temp; - checkContainerType(container); - let matcher = exact ? matches2 : fuzzyMatches, - matchNormalizer = makeNormalizer({ - collapseWhitespace, - trim, - normalizer, - }); - return Array.from( - container.querySelectorAll("input,textarea,select"), - ).filter((node) => - "SELECT" === node.tagName - ? Array.from(node.options) - .filter((option) => option.selected) - .some((optionNode) => - matcher( - getNodeText(optionNode), - optionNode, - value, - matchNormalizer, - ), - ) - : matcher(node.value, node, value, matchNormalizer), - ); - }, - queryAllByDisplayValueWithSuggestions = wrapAllByQueryWithSuggestion( - queryAllByDisplayValue, - queryAllByDisplayValue.name, - "queryAll", - ), - [ - queryByDisplayValue, - getAllByDisplayValue, - getByDisplayValue, - findAllByDisplayValue, - findByDisplayValue, - ] = buildQueries( - queryAllByDisplayValue, - (c, value) => - "Found multiple elements with the display value: " + value + ".", - (c, value) => - "Unable to find an element with the display value: " + - value + - ".", - ), - VALID_TAG_REGEXP = /^(img|input|area|.+-.+)$/i, - queryAllByAltText = function (container, alt, options) { - return ( - void 0 === options && (options = {}), - checkContainerType(container), - queryAllByAttribute("alt", container, alt, options).filter( - (node) => VALID_TAG_REGEXP.test(node.tagName), - ) - ); - }, - queryAllByAltTextWithSuggestions = wrapAllByQueryWithSuggestion( - queryAllByAltText, - queryAllByAltText.name, - "queryAll", - ), - [ - queryByAltText, - getAllByAltText, - getByAltText, - findAllByAltText, - findByAltText, - ] = buildQueries( - queryAllByAltText, - (c, alt) => "Found multiple elements with the alt text: " + alt, - (c, alt) => "Unable to find an element with the alt text: " + alt, - ), - queryAllByTitle = function (container, text, _temp) { - let { - exact = !0, - collapseWhitespace, - trim, - normalizer, - } = void 0 === _temp ? {} : _temp; - checkContainerType(container); - let matcher = exact ? matches2 : fuzzyMatches, - matchNormalizer = makeNormalizer({ - collapseWhitespace, - trim, - normalizer, - }); - return Array.from( - container.querySelectorAll("[title], svg > title"), - ).filter( - (node) => - matcher( - node.getAttribute("title"), - node, - text, - matchNormalizer, - ) || - (((node) => { - var _node$parentElement; - return ( - "title" === node.tagName.toLowerCase() && - "svg" === - (null == (_node$parentElement = node.parentElement) - ? void 0 - : _node$parentElement.tagName.toLowerCase()) - ); - })(node) && - matcher(getNodeText(node), node, text, matchNormalizer)), - ); - }, - queryAllByTitleWithSuggestions = wrapAllByQueryWithSuggestion( - queryAllByTitle, - queryAllByTitle.name, - "queryAll", - ), - [ - queryByTitle, - getAllByTitle, - getByTitle, - findAllByTitle, - findByTitle, - ] = buildQueries( - queryAllByTitle, - (c, title) => - "Found multiple elements with the title: " + title + ".", - (c, title) => - "Unable to find an element with the title: " + title + ".", - ), - queryAllByRole = function (container, role, _temp) { - let { - hidden = getConfig2().defaultHidden, - name, - description, - queryFallbacks = !1, - selected, - busy, - checked, - pressed, - current, - level, - expanded, - value: { - now: valueNow, - min: valueMin, - max: valueMax, - text: valueText, - } = {}, - } = void 0 === _temp ? {} : _temp; - var _allRoles$get, - _allRoles$get2, - _allRoles$get3, - _allRoles$get4, - _allRoles$get5, - _allRoles$get6, - _allRoles$get7, - _allRoles$get8, - _allRoles$get9, - _allRoles$get10; - if ( - (checkContainerType(container), void 0 !== selected) && - void 0 === - (null == (_allRoles$get = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get.props["aria-selected"]) - ) - throw new Error( - '"aria-selected" is not supported on role "' + role + '".', - ); - if ( - void 0 !== busy && - void 0 === - (null == (_allRoles$get2 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get2.props["aria-busy"]) - ) - throw new Error( - '"aria-busy" is not supported on role "' + role + '".', - ); - if ( - void 0 !== checked && - void 0 === - (null == (_allRoles$get3 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get3.props["aria-checked"]) - ) - throw new Error( - '"aria-checked" is not supported on role "' + role + '".', - ); - if ( - void 0 !== pressed && - void 0 === - (null == (_allRoles$get4 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get4.props["aria-pressed"]) - ) - throw new Error( - '"aria-pressed" is not supported on role "' + role + '".', - ); - if ( - void 0 !== current && - void 0 === - (null == (_allRoles$get5 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get5.props["aria-current"]) - ) - throw new Error( - '"aria-current" is not supported on role "' + role + '".', - ); - if (void 0 !== level && "heading" !== role) - throw new Error( - 'Role "' + role + '" cannot have "level" property.', - ); - if ( - void 0 !== valueNow && - void 0 === - (null == (_allRoles$get6 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get6.props["aria-valuenow"]) - ) - throw new Error( - '"aria-valuenow" is not supported on role "' + role + '".', - ); - if ( - void 0 !== valueMax && - void 0 === - (null == (_allRoles$get7 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get7.props["aria-valuemax"]) - ) - throw new Error( - '"aria-valuemax" is not supported on role "' + role + '".', - ); - if ( - void 0 !== valueMin && - void 0 === - (null == (_allRoles$get8 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get8.props["aria-valuemin"]) - ) - throw new Error( - '"aria-valuemin" is not supported on role "' + role + '".', - ); - if ( - void 0 !== valueText && - void 0 === - (null == (_allRoles$get9 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get9.props["aria-valuetext"]) - ) - throw new Error( - '"aria-valuetext" is not supported on role "' + role + '".', - ); - if ( - void 0 !== expanded && - void 0 === - (null == (_allRoles$get10 = import_aria_query3.roles.get(role)) - ? void 0 - : _allRoles$get10.props["aria-expanded"]) - ) - throw new Error( - '"aria-expanded" is not supported on role "' + role + '".', - ); - let subtreeIsInaccessibleCache = new WeakMap(); - function cachedIsSubtreeInaccessible(element) { - return ( - subtreeIsInaccessibleCache.has(element) || - subtreeIsInaccessibleCache.set( - element, - isSubtreeInaccessible(element), - ), - subtreeIsInaccessibleCache.get(element) - ); - } - return Array.from( - container.querySelectorAll( - (function makeRoleSelector(role) { - var _roleElements$get; - let explicitRoleSelector = '*[role~="' + role + '"]', - roleRelations = - null != - (_roleElements$get = - import_aria_query3.roleElements.get(role)) - ? _roleElements$get - : new Set(), - implicitRoleSelectors = new Set( - Array.from(roleRelations).map((_ref) => { - let { name } = _ref; - return name; - }), - ); - return [explicitRoleSelector] - .concat(Array.from(implicitRoleSelectors)) - .join(","); - })(role), - ), - ) - .filter((node) => { - if (node.hasAttribute("role")) { - let roleValue = node.getAttribute("role"); - if (queryFallbacks) - return roleValue - .split(" ") - .filter(Boolean) - .some( - (roleAttributeToken) => roleAttributeToken === role, - ); - let [firstRoleAttributeToken] = roleValue.split(" "); - return firstRoleAttributeToken === role; - } - return getImplicitAriaRoles2(node).some( - (implicitRole) => implicitRole === role, - ); - }) - .filter((element) => { - if (void 0 !== selected) - return ( - selected === - (function computeAriaSelected(element) { - return "OPTION" === element.tagName - ? element.selected - : checkBooleanAttribute(element, "aria-selected"); - })(element) - ); - if (void 0 !== busy) - return ( - busy === - (function computeAriaBusy(element) { - return "true" === element.getAttribute("aria-busy"); - })(element) - ); - if (void 0 !== checked) - return ( - checked === - (function computeAriaChecked(element) { - if ( - !("indeterminate" in element) || - !element.indeterminate - ) - return "checked" in element - ? element.checked - : checkBooleanAttribute(element, "aria-checked"); - })(element) - ); - if (void 0 !== pressed) - return ( - pressed === - (function computeAriaPressed(element) { - return checkBooleanAttribute(element, "aria-pressed"); - })(element) - ); - if (void 0 !== current) - return ( - current === - (function computeAriaCurrent(element) { - var _ref9, _checkBooleanAttribut; - return ( - null != - (_ref9 = - null != - (_checkBooleanAttribut = checkBooleanAttribute( - element, - "aria-current", - )) - ? _checkBooleanAttribut - : element.getAttribute("aria-current")) && _ref9 - ); - })(element) - ); - if (void 0 !== expanded) - return ( - expanded === - (function computeAriaExpanded(element) { - return checkBooleanAttribute(element, "aria-expanded"); - })(element) - ); - if (void 0 !== level) - return ( - level === - (function computeHeadingLevel(element) { - return ( - (element.getAttribute("aria-level") && - Number(element.getAttribute("aria-level"))) || - { H1: 1, H2: 2, H3: 3, H4: 4, H5: 5, H6: 6 }[ - element.tagName - ] - ); - })(element) - ); - if ( - void 0 !== valueNow || - void 0 !== valueMax || - void 0 !== valueMin || - void 0 !== valueText - ) { - let valueMatches = !0; - var _computeAriaValueText; - if ( - (void 0 !== valueNow && - valueMatches && - (valueMatches = - valueNow === - (function computeAriaValueNow(element) { - let valueNow = element.getAttribute("aria-valuenow"); - return null === valueNow ? void 0 : +valueNow; - })(element)), - void 0 !== valueMax && - valueMatches && - (valueMatches = - valueMax === - (function computeAriaValueMax(element) { - let valueMax = element.getAttribute("aria-valuemax"); - return null === valueMax ? void 0 : +valueMax; - })(element)), - void 0 !== valueMin && - valueMatches && - (valueMatches = - valueMin === - (function computeAriaValueMin(element) { - let valueMin = element.getAttribute("aria-valuemin"); - return null === valueMin ? void 0 : +valueMin; - })(element)), - void 0 !== valueText) - ) - valueMatches && - (valueMatches = matches2( - null != - (_computeAriaValueText = - (function computeAriaValueText(element) { - let valueText = - element.getAttribute("aria-valuetext"); - return null === valueText ? void 0 : valueText; - })(element)) - ? _computeAriaValueText - : null, - element, - valueText, - (text) => text, - )); - return valueMatches; - } - return !0; - }) - .filter( - (element) => - void 0 === name || - matches2( - computeAccessibleName2(element, { - computedStyleSupportsPseudoElements: - getConfig2().computedStyleSupportsPseudoElements, - }), - element, - name, - (text) => text, - ), - ) - .filter( - (element) => - void 0 === description || - matches2( - computeAccessibleDescription2(element, { - computedStyleSupportsPseudoElements: - getConfig2().computedStyleSupportsPseudoElements, - }), - element, - description, - (text) => text, - ), - ) - .filter( - (element) => - !1 !== hidden || - !1 === - isInaccessible(element, { - isSubtreeInaccessible: cachedIsSubtreeInaccessible, - }), - ); - }; - var getNameHint = (name) => { - let nameHint = ""; - return ( - (nameHint = - void 0 === name - ? "" - : "string" == typeof name - ? ' and name "' + name + '"' - : " and name `" + name + "`"), - nameHint - ); - }, - queryAllByRoleWithSuggestions = wrapAllByQueryWithSuggestion( - queryAllByRole, - queryAllByRole.name, - "queryAll", - ), - [queryByRole, getAllByRole, getByRole, findAllByRole, findByRole] = - buildQueries( - queryAllByRole, - function (c, role, _temp2) { - let { name } = void 0 === _temp2 ? {} : _temp2; - return ( - 'Found multiple elements with the role "' + - role + - '"' + - getNameHint(name) - ); - }, - function (container, role, _temp3) { - let { - hidden = getConfig2().defaultHidden, - name, - description, - } = void 0 === _temp3 ? {} : _temp3; - if (getConfig2()._disableExpensiveErrorDiagnostics) - return ( - 'Unable to find role="' + role + '"' + getNameHint(name) - ); - let roleMessage, - roles3 = ""; - Array.from(container.children).forEach((childElement) => { - roles3 += prettyRoles(childElement, { - hidden, - includeDescription: void 0 !== description, - }); - }), - (roleMessage = - 0 === roles3.length - ? !1 === hidden - ? "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" - : "There are no available roles." - : ( - "\nHere are the " + - (!1 === hidden ? "accessible" : "available") + - " roles:\n\n " + - roles3 - .replace(/\n/g, "\n ") - .replace(/\n\s\s\n/g, "\n\n") + - "\n" - ).trim()); - let nameHint = ""; - nameHint = - void 0 === name - ? "" - : "string" == typeof name - ? ' and name "' + name + '"' - : " and name `" + name + "`"; - let descriptionHint = ""; - return ( - (descriptionHint = - void 0 === description - ? "" - : "string" == typeof description - ? ' and description "' + description + '"' - : " and description `" + description + "`"), - ( - "\nUnable to find an " + - (!1 === hidden ? "accessible " : "") + - 'element with the role "' + - role + - '"' + - nameHint + - descriptionHint + - "\n\n" + - roleMessage - ).trim() - ); - }, - ), - getTestIdAttribute = () => getConfig2().testIdAttribute, - queryAllByTestId = function () { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - return ( - checkContainerType(args[0]), - queryAllByAttribute(getTestIdAttribute(), ...args) - ); - }, - queryAllByTestIdWithSuggestions = wrapAllByQueryWithSuggestion( - queryAllByTestId, - queryAllByTestId.name, - "queryAll", - ), - [ - queryByTestId, - getAllByTestId, - getByTestId, - findAllByTestId, - findByTestId, - ] = buildQueries( - queryAllByTestId, - (c, id) => - "Found multiple elements by: [" + - getTestIdAttribute() + - '="' + - id + - '"]', - (c, id) => - "Unable to find an element by: [" + - getTestIdAttribute() + - '="' + - id + - '"]', - ), - queries = Object.freeze({ - __proto__: null, - queryAllByLabelText: queryAllByLabelTextWithSuggestions, - queryByLabelText, - getAllByLabelText: getAllByLabelTextWithSuggestions, - getByLabelText: getByLabelTextWithSuggestions, - findAllByLabelText, - findByLabelText, - queryByPlaceholderText, - queryAllByPlaceholderText: queryAllByPlaceholderTextWithSuggestions, - getByPlaceholderText, - getAllByPlaceholderText, - findAllByPlaceholderText, - findByPlaceholderText, - queryByText, - queryAllByText: queryAllByTextWithSuggestions, - getByText, - getAllByText, - findAllByText, - findByText, - queryByDisplayValue, - queryAllByDisplayValue: queryAllByDisplayValueWithSuggestions, - getByDisplayValue, - getAllByDisplayValue, - findAllByDisplayValue, - findByDisplayValue, - queryByAltText, - queryAllByAltText: queryAllByAltTextWithSuggestions, - getByAltText, - getAllByAltText, - findAllByAltText, - findByAltText, - queryByTitle, - queryAllByTitle: queryAllByTitleWithSuggestions, - getByTitle, - getAllByTitle, - findAllByTitle, - findByTitle, - queryByRole, - queryAllByRole: queryAllByRoleWithSuggestions, - getAllByRole, - getByRole, - findAllByRole, - findByRole, - queryByTestId, - queryAllByTestId: queryAllByTestIdWithSuggestions, - getByTestId, - getAllByTestId, - findAllByTestId, - findByTestId, - }); - function getQueriesForElement(element, queries$1, initialValue2) { - return ( - void 0 === queries$1 && (queries$1 = queries), - void 0 === initialValue2 && (initialValue2 = {}), - Object.keys(queries$1).reduce((helpers, key) => { - let fn3 = queries$1[key]; - return (helpers[key] = fn3.bind(null, element)), helpers; - }, initialValue2) - ); - } - var isRemoved = (result) => - !result || (Array.isArray(result) && !result.length); - function initialCheck(elements) { - if (isRemoved(elements)) - throw new Error( - "The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.", - ); - } - async function waitForElementToBeRemoved(callback, options) { - let timeoutError = new Error( - "Timed out in waitForElementToBeRemoved.", - ); - if ("function" != typeof callback) { - initialCheck(callback); - let getRemainingElements = ( - Array.isArray(callback) ? callback : [callback] - ).map((element) => { - let parent = element.parentElement; - if (null === parent) return () => null; - for (; parent.parentElement; ) parent = parent.parentElement; - return () => (parent.contains(element) ? element : null); - }); - callback = () => - getRemainingElements.map((c) => c()).filter(Boolean); - } - return ( - initialCheck(callback()), - waitForWrapper(() => { - let result; - try { - result = callback(); - } catch (error) { - if ("TestingLibraryElementError" === error.name) return; - throw error; - } - if (!isRemoved(result)) throw timeoutError; - }, options) - ); - } - var eventMap = { - copy: { - EventType: "ClipboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - cut: { - EventType: "ClipboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - paste: { - EventType: "ClipboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - compositionEnd: { - EventType: "CompositionEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - compositionStart: { - EventType: "CompositionEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - compositionUpdate: { - EventType: "CompositionEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - keyDown: { - EventType: "KeyboardEvent", - defaultInit: { - bubbles: !0, - cancelable: !0, - charCode: 0, - composed: !0, - }, - }, - keyPress: { - EventType: "KeyboardEvent", - defaultInit: { - bubbles: !0, - cancelable: !0, - charCode: 0, - composed: !0, - }, - }, - keyUp: { - EventType: "KeyboardEvent", - defaultInit: { - bubbles: !0, - cancelable: !0, - charCode: 0, - composed: !0, - }, - }, - focus: { - EventType: "FocusEvent", - defaultInit: { bubbles: !1, cancelable: !1, composed: !0 }, - }, - blur: { - EventType: "FocusEvent", - defaultInit: { bubbles: !1, cancelable: !1, composed: !0 }, - }, - focusIn: { - EventType: "FocusEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - focusOut: { - EventType: "FocusEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - change: { - EventType: "Event", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - input: { - EventType: "InputEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - invalid: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !0 }, - }, - submit: { - EventType: "Event", - defaultInit: { bubbles: !0, cancelable: !0 }, - }, - reset: { - EventType: "Event", - defaultInit: { bubbles: !0, cancelable: !0 }, - }, - click: { - EventType: "MouseEvent", - defaultInit: { - bubbles: !0, - cancelable: !0, - button: 0, - composed: !0, - }, - }, - contextMenu: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - dblClick: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - drag: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - dragEnd: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - dragEnter: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - dragExit: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - dragLeave: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - dragOver: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - dragStart: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - drop: { - EventType: "DragEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseDown: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseEnter: { - EventType: "MouseEvent", - defaultInit: { bubbles: !1, cancelable: !1, composed: !0 }, - }, - mouseLeave: { - EventType: "MouseEvent", - defaultInit: { bubbles: !1, cancelable: !1, composed: !0 }, - }, - mouseMove: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseOut: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseOver: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseUp: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - select: { - EventType: "Event", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - touchCancel: { - EventType: "TouchEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - touchEnd: { - EventType: "TouchEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - touchMove: { - EventType: "TouchEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - touchStart: { - EventType: "TouchEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - resize: { - EventType: "UIEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - scroll: { - EventType: "UIEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - wheel: { - EventType: "WheelEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - abort: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - canPlay: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - canPlayThrough: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - durationChange: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - emptied: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - encrypted: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - ended: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - loadedData: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - loadedMetadata: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - loadStart: { - EventType: "ProgressEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - pause: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - play: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - playing: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - progress: { - EventType: "ProgressEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - rateChange: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - seeked: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - seeking: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - stalled: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - suspend: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - timeUpdate: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - volumeChange: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - waiting: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - load: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - error: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - animationStart: { - EventType: "AnimationEvent", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - animationEnd: { - EventType: "AnimationEvent", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - animationIteration: { - EventType: "AnimationEvent", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - transitionCancel: { - EventType: "TransitionEvent", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - transitionEnd: { - EventType: "TransitionEvent", - defaultInit: { bubbles: !0, cancelable: !0 }, - }, - transitionRun: { - EventType: "TransitionEvent", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - transitionStart: { - EventType: "TransitionEvent", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - pointerOver: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerEnter: { - EventType: "PointerEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - pointerDown: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerMove: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerUp: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerCancel: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - pointerOut: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerLeave: { - EventType: "PointerEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - gotPointerCapture: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - lostPointerCapture: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - popState: { - EventType: "PopStateEvent", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - offline: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - online: { - EventType: "Event", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - pageHide: { - EventType: "PageTransitionEvent", - defaultInit: { bubbles: !0, cancelable: !0 }, - }, - pageShow: { - EventType: "PageTransitionEvent", - defaultInit: { bubbles: !0, cancelable: !0 }, - }, - }, - eventAliasMap = { doubleClick: "dblClick" }; - function fireEvent(element, event) { - return getConfig2().eventWrapper(() => { - if (!event) - throw new Error( - "Unable to fire an event - please provide an event object.", - ); - if (!element) - throw new Error( - 'Unable to fire a "' + - event.type + - '" event - please provide a DOM element.', - ); - return element.dispatchEvent(event); - }); - } - function createEvent(eventName, node, init, _temp) { - let { EventType = "Event", defaultInit = {} } = - void 0 === _temp ? {} : _temp; - if (!node) - throw new Error( - 'Unable to fire a "' + - eventName + - '" event - please provide a DOM element.', - ); - let eventInit = { ...defaultInit, ...init }, - { target: { value, files, ...targetProperties } = {} } = eventInit; - void 0 !== value && - (function setNativeValue(element, value) { - let { set: valueSetter } = - Object.getOwnPropertyDescriptor(element, "value") || {}, - prototype = Object.getPrototypeOf(element), - { set: prototypeValueSetter } = - Object.getOwnPropertyDescriptor(prototype, "value") || {}; - if (prototypeValueSetter && valueSetter !== prototypeValueSetter) - prototypeValueSetter.call(element, value); - else { - if (!valueSetter) - throw new Error( - "The given element does not have a value setter", - ); - valueSetter.call(element, value); - } - })(node, value), - void 0 !== files && - Object.defineProperty(node, "files", { - configurable: !0, - enumerable: !0, - writable: !0, - value: files, - }), - Object.assign(node, targetProperties); - let event, - window2 = getWindowFromNode(node), - EventConstructor = window2[EventType] || window2.Event; - if ("function" == typeof EventConstructor) - event = new EventConstructor(eventName, eventInit); - else { - event = window2.document.createEvent(EventType); - let { bubbles, cancelable, detail, ...otherInit } = eventInit; - event.initEvent(eventName, bubbles, cancelable, detail), - Object.keys(otherInit).forEach((eventKey) => { - event[eventKey] = otherInit[eventKey]; - }); - } - return ( - ["dataTransfer", "clipboardData"].forEach((dataTransferKey) => { - let dataTransferValue = eventInit[dataTransferKey]; - "object" == typeof dataTransferValue && - ("function" == typeof window2.DataTransfer - ? Object.defineProperty(event, dataTransferKey, { - value: Object.getOwnPropertyNames( - dataTransferValue, - ).reduce( - (acc, propName) => ( - Object.defineProperty(acc, propName, { - value: dataTransferValue[propName], - }), - acc - ), - new window2.DataTransfer(), - ), - }) - : Object.defineProperty(event, dataTransferKey, { - value: dataTransferValue, - })); - }), - event - ); - } - function getPlaygroundUrl(markup) { - return ( - "https://testing-playground.com/#markup=" + - (function encode(value) { - return import_lz_string.default.compressToEncodedURIComponent( - (function unindent(string) { - return string.replace(/[ \t]*[\n][ \t]*/g, "\n"); - })(value), - ); - })(markup) - ); - } - Object.keys(eventMap).forEach((key) => { - let { EventType, defaultInit } = eventMap[key], - eventName = key.toLowerCase(); - (createEvent[key] = (node, init) => - createEvent(eventName, node, init, { EventType, defaultInit })), - (fireEvent[key] = (node, init) => - fireEvent(node, createEvent[key](node, init))); - }), - Object.keys(eventAliasMap).forEach((aliasKey) => { - let key = eventAliasMap[aliasKey]; - fireEvent[aliasKey] = function () { - return fireEvent[key](...arguments); - }; - }); - var clickableInputTypes, - clickableInputTypes2, - initialValue = { - debug: (element, maxLength, options) => - Array.isArray(element) - ? element.forEach((el) => logDOM(el, maxLength, options)) - : logDOM(element, maxLength, options), - logTestingPlaygroundURL: function (element) { - if ( - (void 0 === element && (element = getDocument().body), - !element || !("innerHTML" in element)) - ) - return void console.log( - "The element you're providing isn't a valid DOM element.", - ); - if (!element.innerHTML) - return void console.log( - "The provided element doesn't have any children.", - ); - let playgroundUrl = getPlaygroundUrl(element.innerHTML); - return ( - console.log( - "Open this URL in your browser\n\n" + playgroundUrl, - ), - playgroundUrl - ); - }, - }, - screen = - typeof document < "u" && document.body - ? getQueriesForElement(document.body, queries, initialValue) - : Object.keys(queries).reduce( - (helpers, key) => ( - (helpers[key] = () => { - throw new TypeError( - "For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error", - ); - }), - helpers - ), - initialValue, - ); - function isElementType(element, tag, props) { - return ( - !( - (element.namespaceURI && - "http://www.w3.org/1999/xhtml" !== element.namespaceURI) || - ((tag = Array.isArray(tag) ? tag : [tag]), - !tag.includes(element.tagName.toLowerCase())) - ) && - (!props || - Object.entries(props).every(([k2, v]) => element[k2] === v)) - ); - } - function isClickableInput(element) { - return ( - isElementType(element, "button") || - (isElementType(element, "input") && - element.type in clickableInputTypes) - ); - } - function getWindow(node) { - var _node_ownerDocument; - if ( - (function isDocument(node) { - return 9 === node.nodeType; - })(node) && - node.defaultView - ) - return node.defaultView; - if ( - null !== (_node_ownerDocument = node.ownerDocument) && - void 0 !== _node_ownerDocument && - _node_ownerDocument.defaultView - ) - return node.ownerDocument.defaultView; - throw new Error( - `Could not determine window of node. Node was ${(function describe( - val, - ) { - return "function" == typeof val - ? `function ${val.name}` - : null === val - ? "null" - : String(val); - })(node)}`, - ); - } - function readBlobText(blob, FileReader) { - return new Promise((res, rej) => { - let fr = new FileReader(); - (fr.onerror = rej), - (fr.onabort = rej), - (fr.onload = () => { - res(String(fr.result)); - }), - fr.readAsText(blob); - }); - } - function createFileList(window2, files) { - let list = { - ...files, - length: files.length, - item: (index) => list[index], - [Symbol.iterator]: function* () { - for (let i = 0; i < list.length; i++) yield list[i]; - }, - }; - return ( - (list.constructor = window2.FileList), - window2.FileList && - Object.setPrototypeOf(list, window2.FileList.prototype), - Object.freeze(list), - list - ); - } - function _define_property(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - ((clickableInputTypes2 = - clickableInputTypes || (clickableInputTypes = {})).button = "button"), - (clickableInputTypes2.color = "color"), - (clickableInputTypes2.file = "file"), - (clickableInputTypes2.image = "image"), - (clickableInputTypes2.reset = "reset"), - (clickableInputTypes2.submit = "submit"), - (clickableInputTypes2.checkbox = "checkbox"), - (clickableInputTypes2.radio = "radio"); - var DataTransferItemStub = class { - getAsFile() { - return this.file; - } - getAsString(callback) { - "string" == typeof this.data && callback(this.data); - } - webkitGetAsEntry() { - throw new Error("not implemented"); - } - constructor(dataOrFile, type5) { - _define_property(this, "kind", void 0), - _define_property(this, "type", void 0), - _define_property(this, "file", null), - _define_property(this, "data", void 0), - "string" == typeof dataOrFile - ? ((this.kind = "string"), - (this.type = String(type5)), - (this.data = dataOrFile)) - : ((this.kind = "file"), - (this.type = dataOrFile.type), - (this.file = dataOrFile)); - } - }, - DataTransferItemListStub = class extends Array { - add(...args) { - let item = new DataTransferItemStub(args[0], args[1]); - return this.push(item), item; - } - clear() { - this.splice(0, this.length); - } - remove(index) { - this.splice(index, 1); - } - }; - function getTypeMatcher(type5, exact) { - let [group, sub] = type5.split("/"), - isGroup = !sub || "*" === sub; - return (item) => - exact - ? item.type === (isGroup ? group : type5) - : isGroup - ? item.type.startsWith(`${group}/`) - : item.type === group; - } - function createDataTransfer(window2, files = []) { - let dt = - typeof window2.DataTransfer > "u" - ? (function createDataTransferStub(window2) { - return new (class { - getData(format4) { - var _this_items_find; - let match = - null !== - (_this_items_find = this.items.find( - getTypeMatcher(format4, !0), - )) && void 0 !== _this_items_find - ? _this_items_find - : this.items.find(getTypeMatcher(format4, !1)), - text = ""; - return ( - match?.getAsString((t) => { - text = t; - }), - text - ); - } - setData(format4, data) { - let matchIndex = this.items.findIndex( - getTypeMatcher(format4, !0), - ), - item = new DataTransferItemStub(data, format4); - matchIndex >= 0 - ? this.items.splice(matchIndex, 1, item) - : this.items.push(item); - } - clearData(format4) { - if (format4) { - let matchIndex = this.items.findIndex( - getTypeMatcher(format4, !0), - ); - matchIndex >= 0 && this.items.remove(matchIndex); - } else this.items.clear(); - } - get types() { - let t = []; - return ( - this.files.length && t.push("Files"), - this.items.forEach((i) => t.push(i.type)), - Object.freeze(t), - t - ); - } - setDragImage() {} - constructor() { - _define_property(this, "dropEffect", "none"), - _define_property( - this, - "effectAllowed", - "uninitialized", - ), - _define_property( - this, - "items", - new DataTransferItemListStub(), - ), - _define_property( - this, - "files", - createFileList(window2, []), - ); - } - })(); - })(window2) - : new window2.DataTransfer(); - return ( - Object.defineProperty(dt, "files", { - get: () => createFileList(window2, files), - }), - dt - ); - } - function getBlobFromDataTransferItem(window2, item) { - if ("file" === item.kind) return item.getAsFile(); - let data = ""; - return ( - item.getAsString((s) => { - data = s; - }), - new window2.Blob([data], { type: item.type }) - ); - } - function _define_property2(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - function createClipboardItem(window2, ...blobs) { - let dataMap = Object.fromEntries( - blobs.map((b) => [ - "string" == typeof b ? "text/plain" : b.type, - Promise.resolve(b), - ]), - ); - return typeof window2.ClipboardItem < "u" - ? new window2.ClipboardItem(dataMap) - : new (class { - get types() { - return Array.from(Object.keys(this.data)); - } - async getType(type5) { - let value = await this.data[type5]; - if (!value) - throw new Error( - `${type5} is not one of the available MIME types on this item.`, - ); - return value instanceof window2.Blob - ? value - : new window2.Blob([value], { type: type5 }); - } - constructor(d2) { - _define_property2(this, "data", void 0), (this.data = d2); - } - })(dataMap); - } - var ClipboardStubControl = Symbol("Manage ClipboardSub"); - function createClipboardStub(window2, control) { - return Object.assign( - new (class extends window2.EventTarget { - async read() { - return Array.from(this.items); - } - async readText() { - let text = ""; - for (let item of this.items) { - let type5 = item.types.includes("text/plain") - ? "text/plain" - : item.types.find((t) => t.startsWith("text/")); - type5 && - (text += await item - .getType(type5) - .then((b) => readBlobText(b, window2.FileReader))); - } - return text; - } - async write(data) { - this.items = data; - } - async writeText(text) { - this.items = [createClipboardItem(window2, text)]; - } - constructor(...args) { - super(...args), _define_property2(this, "items", []); - } - })(), - { [ClipboardStubControl]: control }, - ); - } - function isClipboardStub(clipboard) { - return !!clipboard?.[ClipboardStubControl]; - } - async function writeDataTransferToClipboard(document2, clipboardData) { - let window2 = getWindow(document2), - clipboard = window2.navigator.clipboard, - items = []; - for (let i = 0; i < clipboardData.items.length; i++) { - let blob = getBlobFromDataTransferItem( - window2, - clipboardData.items[i], - ); - items.push(createClipboardItem(window2, blob)); - } - if ( - !clipboard || - !(await clipboard.write(items).then( - () => !0, - () => !1, - )) - ) - throw new Error("The Clipboard API is unavailable."); - } - var editableInputTypes, - editableInputTypes2, - maxLengthSupportedTypes, - maxLengthSupportedTypes2, - g2 = globalThis; - function isContentEditable(element) { - return ( - element.hasAttribute("contenteditable") && - ("true" == element.getAttribute("contenteditable") || - "" == element.getAttribute("contenteditable")) - ); - } - function getContentEditable(node) { - let element = (function getElement(node) { - return 1 === node.nodeType ? node : node.parentElement; - })(node); - return ( - element && - (element.closest('[contenteditable=""]') || - element.closest('[contenteditable="true"]')) - ); - } - function isEditable(element) { - return ( - (isEditableInputOrTextArea(element) && !element.readOnly) || - isContentEditable(element) - ); - } - function isEditableInputOrTextArea(element) { - return ( - isElementType(element, "textarea") || - (isElementType(element, "input") && - element.type in editableInputTypes) - ); - } - "function" == typeof g2.afterEach && - g2.afterEach(() => - (function resetClipboardStubOnView(window2) { - isClipboardStub(window2.navigator.clipboard) && - window2.navigator.clipboard[ - ClipboardStubControl - ].resetClipboardStub(); - })(globalThis.window), - ), - "function" == typeof g2.afterAll && - g2.afterAll(() => - (function detachClipboardStubFromView(window2) { - isClipboardStub(window2.navigator.clipboard) && - window2.navigator.clipboard[ - ClipboardStubControl - ].detachClipboardStub(); - })(globalThis.window), - ), - ((editableInputTypes2 = - editableInputTypes || (editableInputTypes = {})).text = "text"), - (editableInputTypes2.date = "date"), - (editableInputTypes2["datetime-local"] = "datetime-local"), - (editableInputTypes2.email = "email"), - (editableInputTypes2.month = "month"), - (editableInputTypes2.number = "number"), - (editableInputTypes2.password = "password"), - (editableInputTypes2.search = "search"), - (editableInputTypes2.tel = "tel"), - (editableInputTypes2.time = "time"), - (editableInputTypes2.url = "url"), - (editableInputTypes2.week = "week"), - ((maxLengthSupportedTypes2 = - maxLengthSupportedTypes || (maxLengthSupportedTypes = {})).email = - "email"), - (maxLengthSupportedTypes2.password = "password"), - (maxLengthSupportedTypes2.search = "search"), - (maxLengthSupportedTypes2.telephone = "telephone"), - (maxLengthSupportedTypes2.text = "text"), - (maxLengthSupportedTypes2.url = "url"); - var bracketDict, - bracketDict2, - ApiLevel, - ApiLevel2, - PointerEventsCheckLevel, - PointerEventsCheckLevel2, - FOCUSABLE_SELECTOR = [ - "input:not([type=hidden]):not([disabled])", - "button:not([disabled])", - "select:not([disabled])", - "textarea:not([disabled])", - '[contenteditable=""]', - '[contenteditable="true"]', - "a[href]", - "[tabindex]:not([disabled])", - ].join(", "); - function isFocusable(element) { - return element.matches(FOCUSABLE_SELECTOR); - } - function readNextDescriptor(text, context) { - let pos = 0, - startBracket = text[pos] in bracketDict ? text[pos] : ""; - pos += startBracket.length; - let type5 = new RegExp(`^\\${startBracket}{2}`).test(text) - ? "" - : startBracket; - return { - type: type5, - ...("" === type5 - ? readPrintableChar(text, pos, context) - : readTag(text, pos, type5, context)), - }; - } - function readPrintableChar(text, pos, context) { - let descriptor = text[pos]; - return ( - assertDescriptor(descriptor, text, pos, context), - { - consumedLength: (pos += descriptor.length), - descriptor, - releasePrevious: !1, - releaseSelf: !0, - repeat: 1, - } - ); - } - function readTag(text, pos, startBracket, context) { - var _text_slice_match, _text_slice_match1; - let releasePreviousModifier = "/" === text[pos] ? "/" : ""; - pos += releasePreviousModifier.length; - let escapedDescriptor = "{" === startBracket && "\\" === text[pos]; - pos += Number(escapedDescriptor); - let descriptor = escapedDescriptor - ? text[pos] - : null === - (_text_slice_match = text - .slice(pos) - .match("{" === startBracket ? /^\w+|^[^}>/]/ : /^\w+/)) || - void 0 === _text_slice_match - ? void 0 - : _text_slice_match[0]; - var _text_slice_match_; - assertDescriptor(descriptor, text, pos, context), - (pos += descriptor.length); - let repeatModifier = - null !== - (_text_slice_match_ = - null === - (_text_slice_match1 = text.slice(pos).match(/^>\d+/)) || - void 0 === _text_slice_match1 - ? void 0 - : _text_slice_match1[0]) && void 0 !== _text_slice_match_ - ? _text_slice_match_ - : "", - releaseSelfModifier = - "/" === text[(pos += repeatModifier.length)] || - (!repeatModifier && ">" === text[pos]) - ? text[pos] - : ""; - pos += releaseSelfModifier.length; - let expectedEndBracket = bracketDict[startBracket], - endBracket = - text[pos] === expectedEndBracket ? expectedEndBracket : ""; - if (!endBracket) - throw new Error( - getErrorMessage( - [ - !repeatModifier && "repeat modifier", - !releaseSelfModifier && "release modifier", - `"${expectedEndBracket}"`, - ] - .filter(Boolean) - .join(" or "), - text[pos], - text, - context, - ), - ); - return { - consumedLength: (pos += endBracket.length), - descriptor, - releasePrevious: !!releasePreviousModifier, - repeat: repeatModifier - ? Math.max(Number(repeatModifier.substr(1)), 1) - : 1, - releaseSelf: hasReleaseSelf(releaseSelfModifier, repeatModifier), - }; - } - function assertDescriptor(descriptor, text, pos, context) { - if (!descriptor) - throw new Error( - getErrorMessage("key descriptor", text[pos], text, context), - ); - } - function hasReleaseSelf(releaseSelfModifier, repeatModifier) { - return releaseSelfModifier - ? "/" === releaseSelfModifier - : !repeatModifier && void 0; - } - function getErrorMessage(expected, found, text, context) { - return `Expected ${expected} but found "${found ?? ""}" in "${text}"\n See ${"pointer" === context ? "https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen" : "https://testing-library.com/docs/user-event/keyboard"}\n for more information about how userEvent parses your input.`; - } - function setLevelRef(instance, level) { - instance.levelRefs[level] = {}; - } - function getLevelRef(instance, level) { - return instance.levelRefs[level]; - } - function isDisabled2(element) { - for (let el = element; el; el = el.parentElement) - if ( - isElementType(el, [ - "button", - "input", - "select", - "textarea", - "optgroup", - "option", - ]) - ) { - if (el.hasAttribute("disabled")) return !0; - } else if (isElementType(el, "fieldset")) { - var _el_querySelector; - if ( - el.hasAttribute("disabled") && - (null === - (_el_querySelector = el.querySelector(":scope > legend")) || - void 0 === _el_querySelector || - !_el_querySelector.contains(element)) - ) - return !0; - } else if ( - el.tagName.includes("-") && - el.constructor.formAssociated && - el.hasAttribute("disabled") - ) - return !0; - return !1; - } - function getActiveElement(document2) { - let activeElement = document2.activeElement; - return activeElement?.shadowRoot - ? getActiveElement(activeElement.shadowRoot) - : isDisabled2(activeElement) - ? document2.ownerDocument - ? document2.ownerDocument.body - : document2.body - : activeElement; - } - function getActiveElementOrBody(document2) { - var _getActiveElement; - return null !== (_getActiveElement = getActiveElement(document2)) && - void 0 !== _getActiveElement - ? _getActiveElement - : document2.body; - } - function hasOwnSelection(node) { - return isElement3(node) && isEditableInputOrTextArea(node); - } - function isElement3(node) { - return 1 === node.nodeType; - } - function wrapEvent(cb, _element) { - return getConfig2().eventWrapper(cb); - } - function focusElement(element) { - let target = (function findClosest(element, callback) { - let el = element; - do { - if (callback(el)) return el; - el = el.parentElement; - } while (el && el !== element.ownerDocument.body); - })(element, isFocusable), - activeElement = getActiveElement(element.ownerDocument); - (target ?? element.ownerDocument.body) !== activeElement && - (wrapEvent( - target ? () => target.focus() : () => activeElement?.blur(), - ), - (function updateSelectionOnFocus(element) { - let selection = element.ownerDocument.getSelection(); - if (selection?.focusNode && hasOwnSelection(element)) { - let contenteditable = getContentEditable(selection.focusNode); - if (contenteditable) { - if (!selection.isCollapsed) { - var _contenteditable_firstChild; - let focusNode = - 3 === - (null === - (_contenteditable_firstChild = - contenteditable.firstChild) || - void 0 === _contenteditable_firstChild - ? void 0 - : _contenteditable_firstChild.nodeType) - ? contenteditable.firstChild - : contenteditable; - selection.setBaseAndExtent(focusNode, 0, focusNode, 0); - } - } else selection.setBaseAndExtent(element, 0, element, 0); - } - })(target ?? element.ownerDocument.body)); - } - ((bracketDict2 = bracketDict || (bracketDict = {}))["{"] = "}"), - (bracketDict2["["] = "]"), - ((ApiLevel2 = ApiLevel || (ApiLevel = {}))[(ApiLevel2.Trigger = 2)] = - "Trigger"), - (ApiLevel2[(ApiLevel2.Call = 1)] = "Call"), - ((PointerEventsCheckLevel2 = - PointerEventsCheckLevel || (PointerEventsCheckLevel = {}))[ - (PointerEventsCheckLevel2.EachTrigger = 4) - ] = "EachTrigger"), - (PointerEventsCheckLevel2[ - (PointerEventsCheckLevel2.EachApiCall = 2) - ] = "EachApiCall"), - (PointerEventsCheckLevel2[(PointerEventsCheckLevel2.EachTarget = 1)] = - "EachTarget"), - (PointerEventsCheckLevel2[(PointerEventsCheckLevel2.Never = 0)] = - "Never"); - var behavior = {}; - behavior.click = (event, target, instance) => { - let context = target.closest("button,input,label,select,textarea"), - control = - context && isElementType(context, "label") && context.control; - return control - ? () => { - isFocusable(control) && focusElement(control), - instance.dispatchEvent( - control, - (function cloneEvent(event) { - return new event.constructor(event.type, event); - })(event), - ); - } - : isElementType(target, "input", { type: "file" }) - ? () => { - (function blurElement(element) { - !isFocusable(element) || - getActiveElement(element.ownerDocument) !== element || - wrapEvent(() => element.blur()); - })(target), - target.dispatchEvent( - new (getWindow(target).Event)("fileDialog"), - ), - focusElement(target); - } - : void 0; - }; - var UIValue = Symbol("Displayed value in UI"), - UISelection = Symbol("Displayed selection in UI"), - InitialValue = Symbol("Initial value to compare on blur"); - function getUIValue(element) { - return void 0 === element[UIValue] - ? element.value - : String(element[UIValue]); - } - function setUIValueClean(element) { - element[UIValue] = void 0; - } - function clearInitialValue(element) { - element[InitialValue] = void 0; - } - function setUISelection( - element, - { - focusOffset: focusOffsetParam, - anchorOffset: anchorOffsetParam = focusOffsetParam, - }, - mode = "replace", - ) { - let valueLength = getUIValue(element).length, - sanitizeOffset = (o) => Math.max(0, Math.min(valueLength, o)), - anchorOffset = - "replace" === mode || void 0 === element[UISelection] - ? sanitizeOffset(anchorOffsetParam) - : element[UISelection].anchorOffset, - focusOffset = sanitizeOffset(focusOffsetParam), - startOffset = Math.min(anchorOffset, focusOffset), - endOffset = Math.max(anchorOffset, focusOffset); - if ( - ((element[UISelection] = { anchorOffset, focusOffset }), - element.selectionStart === startOffset && - element.selectionEnd === endOffset) - ) - return; - let startObj = Object.assign(new Number(startOffset), { - [UISelection]: !0, - }); - try { - element.setSelectionRange(startObj, endOffset); - } catch {} - } - function getUISelection(element) { - var _element_selectionStart, - _element_selectionEnd, - _element_UISelection; - let sel = - null !== (_element_UISelection = element[UISelection]) && - void 0 !== _element_UISelection - ? _element_UISelection - : { - anchorOffset: - null !== - (_element_selectionStart = element.selectionStart) && - void 0 !== _element_selectionStart - ? _element_selectionStart - : 0, - focusOffset: - null !== (_element_selectionEnd = element.selectionEnd) && - void 0 !== _element_selectionEnd - ? _element_selectionEnd - : 0, - }; - return { - ...sel, - startOffset: Math.min(sel.anchorOffset, sel.focusOffset), - endOffset: Math.max(sel.anchorOffset, sel.focusOffset), - }; - } - function setUISelectionClean(element) { - element[UISelection] = void 0; - } - var parseInt2 = globalThis.parseInt; - function build2(onlyDigitsValue, index) { - let hours = onlyDigitsValue.slice(0, index), - validHours = Math.min(parseInt2(hours, 10), 23), - minuteCharacters = onlyDigitsValue.slice(index), - parsedMinutes = parseInt2(minuteCharacters, 10), - validMinutes = Math.min(parsedMinutes, 59); - return `${validHours.toString().padStart(2, "0")}:${validMinutes.toString().padStart(2, "0")}`; - } - function isValidDateOrTimeValue(element, value) { - let clone2 = element.cloneNode(); - return (clone2.value = value), clone2.value === value; - } - function getNextCursorPosition(node, offset, direction, inputType) { - if ( - isTextNode(node) && - offset + direction >= 0 && - offset + direction <= node.nodeValue.length - ) - return { node, offset: offset + direction }; - let nextNode = getNextCharacterContentNode(node, offset, direction); - if (nextNode) { - if (isTextNode(nextNode)) - return { - node: nextNode, - offset: - direction > 0 - ? Math.min(1, nextNode.nodeValue.length) - : Math.max(nextNode.nodeValue.length - 1, 0), - }; - if (isElementType(nextNode, "br")) { - let nextPlusOne = getNextCharacterContentNode( - nextNode, - void 0, - direction, - ); - return nextPlusOne - ? isTextNode(nextPlusOne) - ? { - node: nextPlusOne, - offset: direction > 0 ? 0 : nextPlusOne.nodeValue.length, - } - : direction < 0 && isElementType(nextPlusOne, "br") - ? { node: nextNode.parentNode, offset: getOffset(nextNode) } - : { - node: nextPlusOne.parentNode, - offset: - getOffset(nextPlusOne) + (direction > 0 ? 0 : 1), - } - : direction < 0 && "deleteContentBackward" === inputType - ? { node: nextNode.parentNode, offset: getOffset(nextNode) } - : void 0; - } - return { - node: nextNode.parentNode, - offset: getOffset(nextNode) + (direction > 0 ? 1 : 0), - }; - } - } - function getNextCharacterContentNode(node, offset, direction) { - let nextOffset = Number(offset) + (direction < 0 ? -1 : 0); - return ( - void 0 !== offset && - isElement4(node) && - nextOffset >= 0 && - nextOffset < node.children.length && - (node = node.children[nextOffset]), - (function walkNodes(node, direction, callback) { - for (;;) { - var _node_ownerDocument; - let sibling = node[`${direction}Sibling`]; - if (sibling) { - if ( - callback( - (node = getDescendant( - sibling, - "next" === direction ? "first" : "last", - )), - ) - ) - return node; - } else { - if ( - !node.parentNode || - (isElement4(node.parentNode) && - (isContentEditable(node.parentNode) || - node.parentNode === - (null === - (_node_ownerDocument = node.ownerDocument) || - void 0 === _node_ownerDocument - ? void 0 - : _node_ownerDocument.body))) - ) - break; - node = node.parentNode; - } - } - })( - node, - 1 === direction ? "next" : "previous", - isTreatedAsCharacterContent, - ) - ); - } - function isTreatedAsCharacterContent(node) { - if (isTextNode(node)) return !0; - if (isElement4(node)) { - if (isElementType(node, ["input", "textarea"])) - return "hidden" !== node.type; - if (isElementType(node, "br")) return !0; - } - return !1; - } - function getOffset(node) { - let i = 0; - for (; node.previousSibling; ) i++, (node = node.previousSibling); - return i; - } - function isElement4(node) { - return 1 === node.nodeType; - } - function isTextNode(node) { - return 3 === node.nodeType; - } - function getDescendant(node, direction) { - for (; node.hasChildNodes(); ) node = node[`${direction}Child`]; - return node; - } - var TrackChanges = Symbol( - "Track programmatic changes for React workaround", - ); - function startTrackValue(element) { - (function isReact17Element(element) { - return ( - Object.getOwnPropertyNames(element).some((k2) => - k2.startsWith("__react"), - ) && 17 === getWindow(element).REACT_VERSION - ); - })(element) && - (element[TrackChanges] = { - previousValue: String(element.value), - tracked: [], - }); - } - function commitValueAfterInput(element, cursorOffset) { - var _changes_tracked; - let changes = element[TrackChanges]; - if ( - ((element[TrackChanges] = void 0), - null == changes || - null === (_changes_tracked = changes.tracked) || - void 0 === _changes_tracked || - !_changes_tracked.length) - ) - return; - let isJustReactStateUpdate = - 2 === changes.tracked.length && - changes.tracked[0] === changes.previousValue && - changes.tracked[1] === element.value; - isJustReactStateUpdate || setUIValueClean(element), - (function hasUISelection(element) { - return !!element[UISelection]; - })(element) && - setUISelection(element, { - focusOffset: isJustReactStateUpdate - ? cursorOffset - : element.value.length, - }); - } - function getTargetTypeAndSelection(node) { - let element = (function getElement2(node) { - return 1 === node.nodeType ? node : node.parentElement; - })(node); - if (element && hasOwnSelection(element)) - return { type: "input", selection: getUISelection(element) }; - let selection = element?.ownerDocument.getSelection(); - return { - type: - getContentEditable(node) && - selection?.anchorNode && - getContentEditable(selection.anchorNode) - ? "contenteditable" - : "default", - selection, - }; - } - function setSelection({ - focusNode, - focusOffset, - anchorNode = focusNode, - anchorOffset = focusOffset, - }) { - var _anchorNode_ownerDocument_getSelection, _anchorNode_ownerDocument; - if ("input" === getTargetTypeAndSelection(focusNode).type) - return setUISelection(focusNode, { anchorOffset, focusOffset }); - null === (_anchorNode_ownerDocument = anchorNode.ownerDocument) || - void 0 === _anchorNode_ownerDocument || - null === - (_anchorNode_ownerDocument_getSelection = - _anchorNode_ownerDocument.getSelection()) || - void 0 === _anchorNode_ownerDocument_getSelection || - _anchorNode_ownerDocument_getSelection.setBaseAndExtent( - anchorNode, - anchorOffset, - focusNode, - focusOffset, - ); - } - function isDateOrTime(element) { - return ( - isElementType(element, "input") && - ["date", "time"].includes(element.type) - ); - } - function input(instance, element, data, inputType = "insertText") { - let inputRange = (function getInputRange(focusNode) { - let typeAndSelection = getTargetTypeAndSelection(focusNode); - return "input" === typeAndSelection.type - ? typeAndSelection.selection - : "contenteditable" === typeAndSelection.type - ? null === - (_typeAndSelection_selection = - typeAndSelection.selection) || - void 0 === _typeAndSelection_selection - ? void 0 - : _typeAndSelection_selection.getRangeAt(0) - : void 0; - var _typeAndSelection_selection; - })(element); - inputRange && - ((!isDateOrTime(element) && - !instance.dispatchUIEvent(element, "beforeinput", { - inputType, - data, - })) || - ("startContainer" in inputRange - ? (function editContenteditable( - instance, - element, - inputRange, - data, - inputType, - ) { - let del = !1; - if (inputRange.collapsed) { - if ( - [ - "deleteContentBackward", - "deleteContentForward", - ].includes(inputType) - ) { - let nextPosition = getNextCursorPosition( - inputRange.startContainer, - inputRange.startOffset, - "deleteContentBackward" === inputType ? -1 : 1, - inputType, - ); - if (nextPosition) { - del = !0; - let delRange = inputRange.cloneRange(); - delRange.comparePoint( - nextPosition.node, - nextPosition.offset, - ) < 0 - ? delRange.setStart( - nextPosition.node, - nextPosition.offset, - ) - : delRange.setEnd( - nextPosition.node, - nextPosition.offset, - ), - delRange.deleteContents(); - } - } - } else (del = !0), inputRange.deleteContents(); - if (data) - if (3 === inputRange.endContainer.nodeType) { - let offset = inputRange.endOffset; - inputRange.endContainer.insertData(offset, data), - inputRange.setStart( - inputRange.endContainer, - offset + data.length, - ), - inputRange.setEnd( - inputRange.endContainer, - offset + data.length, - ); - } else { - let text = element.ownerDocument.createTextNode(data); - inputRange.insertNode(text), - inputRange.setStart(text, data.length), - inputRange.setEnd(text, data.length); - } - (del || data) && - instance.dispatchUIEvent(element, "input", { inputType }); - })(instance, element, inputRange, data, inputType) - : (function editInputElement( - instance, - element, - inputRange, - data, - inputType, - ) { - let dataToInsert = data; - if ( - (function supportsMaxLength(element) { - return ( - isElementType(element, "textarea") || - (isElementType(element, "input") && - element.type in maxLengthSupportedTypes) - ); - })(element) - ) { - let maxLength = (function getMaxLength(element) { - var _element_getAttribute; - let attr = - null !== - (_element_getAttribute = - element.getAttribute("maxlength")) && - void 0 !== _element_getAttribute - ? _element_getAttribute - : ""; - return /^\d+$/.test(attr) && Number(attr) >= 0 - ? Number(attr) - : void 0; - })(element); - if (void 0 !== maxLength && data.length > 0) { - let spaceUntilMaxLength = - maxLength - element.value.length; - if (!(spaceUntilMaxLength > 0)) return; - dataToInsert = data.substring(0, spaceUntilMaxLength); - } - } - let { newValue, newOffset, oldValue } = - (function calculateNewValue( - inputData, - node, - { startOffset, endOffset }, - inputType, - ) { - let value = getUIValue(node), - prologEnd = Math.max( - 0, - startOffset === endOffset && - "deleteContentBackward" === inputType - ? startOffset - 1 - : startOffset, - ), - prolog = value.substring(0, prologEnd), - epilogStart = Math.min( - value.length, - startOffset === endOffset && - "deleteContentForward" === inputType - ? startOffset + 1 - : endOffset, - ), - epilog = value.substring(epilogStart, value.length), - newValue = `${prolog}${inputData}${epilog}`, - newOffset = prologEnd + inputData.length; - if (isElementType(node, "input", { type: "time" })) { - let builtValue = (function buildTimeValue(value) { - let onlyDigitsValue = value.replace(/\D/g, ""); - if (onlyDigitsValue.length < 2) return value; - let firstDigit = parseInt2(onlyDigitsValue[0], 10), - secondDigit = parseInt2(onlyDigitsValue[1], 10); - if ( - firstDigit >= 3 || - (2 === firstDigit && secondDigit >= 4) - ) { - let index; - return ( - (index = firstDigit >= 3 ? 1 : 2), - build2(onlyDigitsValue, index) - ); - } - return 2 === value.length - ? value - : build2(onlyDigitsValue, 2); - })(newValue); - "" !== builtValue && - isValidDateOrTimeValue(node, builtValue) && - ((newValue = builtValue), - (newOffset = builtValue.length)); - } - return { oldValue: value, newValue, newOffset }; - })(dataToInsert, element, inputRange, inputType); - (newValue === oldValue && - newOffset === inputRange.startOffset && - newOffset === inputRange.endOffset) || - (isElementType(element, "input", { type: "number" }) && - !(function isValidNumberInput(value) { - var _value_match, _value_match1; - let valueParts = value.split("e", 2); - return !( - /[^\d.\-e]/.test(value) || - Number( - null === (_value_match = value.match(/-/g)) || - void 0 === _value_match - ? void 0 - : _value_match.length, - ) > 2 || - Number( - null === (_value_match1 = value.match(/\./g)) || - void 0 === _value_match1 - ? void 0 - : _value_match1.length, - ) > 1 || - (valueParts[1] && !/^-?\d*$/.test(valueParts[1])) - ); - })(newValue)) || - ((function setUIValue(element, value) { - void 0 === element[InitialValue] && - (element[InitialValue] = element.value), - (element[UIValue] = value), - (element.value = Object.assign(new String(value), { - [UIValue]: !0, - })); - })(element, newValue), - setSelection({ - focusNode: element, - anchorOffset: newOffset, - focusOffset: newOffset, - }), - isDateOrTime(element) - ? isValidDateOrTimeValue(element, newValue) && - (commitInput(instance, element, newOffset, {}), - instance.dispatchUIEvent(element, "change"), - clearInitialValue(element)) - : commitInput(instance, element, newOffset, { - data, - inputType, - })); - })(instance, element, inputRange, data, inputType))); - } - function commitInput(instance, element, newOffset, inputInit) { - instance.dispatchUIEvent(element, "input", inputInit), - commitValueAfterInput(element, newOffset); - } - function isVisible(element) { - let window2 = getWindow(element); - for (let el = element; el?.ownerDocument; el = el.parentElement) { - let { display: display2, visibility } = - window2.getComputedStyle(el); - if ("none" === display2 || "hidden" === visibility) return !1; - } - return !0; - } - function moveSelection(node, direction) { - if (hasOwnSelection(node)) { - let selection = getUISelection(node); - setSelection({ - focusNode: node, - focusOffset: - selection.startOffset === selection.endOffset - ? selection.focusOffset + direction - : direction < 0 - ? selection.startOffset - : selection.endOffset, - }); - } else { - let selection = node.ownerDocument.getSelection(); - if (!selection?.focusNode) return; - if (selection.isCollapsed) { - let nextPosition = getNextCursorPosition( - selection.focusNode, - selection.focusOffset, - direction, - ); - nextPosition && - setSelection({ - focusNode: nextPosition.node, - focusOffset: nextPosition.offset, - }); - } else - selection[direction < 0 ? "collapseToStart" : "collapseToEnd"](); - } - } - function selectAll(target) { - if (hasOwnSelection(target)) - return setSelection({ - focusNode: target, - anchorOffset: 0, - focusOffset: getUIValue(target).length, - }); - var _getContentEditable; - let focusNode = - null !== (_getContentEditable = getContentEditable(target)) && - void 0 !== _getContentEditable - ? _getContentEditable - : target.ownerDocument.body; - setSelection({ - focusNode, - anchorOffset: 0, - focusOffset: focusNode.childNodes.length, - }); - } - function setSelectionRange(element, anchorOffset, focusOffset) { - var _element_firstChild; - if (hasOwnSelection(element)) - return setSelection({ - focusNode: element, - anchorOffset, - focusOffset, - }); - if ( - isContentEditable(element) && - 3 === - (null === (_element_firstChild = element.firstChild) || - void 0 === _element_firstChild - ? void 0 - : _element_firstChild.nodeType) - ) - return setSelection({ - focusNode: element.firstChild, - anchorOffset, - focusOffset, - }); - throw new Error( - "Not implemented. The result of this interaction is unreliable.", - ); - } - function walkRadio(instance, el, direction) { - let window2 = getWindow(el), - group = Array.from( - el.ownerDocument.querySelectorAll( - el.name - ? `input[type="radio"][name="${window2.CSS.escape(el.name)}"]` - : 'input[type="radio"][name=""], input[type="radio"]:not([name])', - ), - ); - for ( - let i = group.findIndex((e) => e === el) + direction; - ; - i += direction - ) { - if ( - (group[i] || (i = direction > 0 ? 0 : group.length - 1), - group[i] === el) - ) - return; - isDisabled2(group[i]) || - (focusElement(group[i]), - instance.dispatchUIEvent(group[i], "click")); - } - } - (behavior.cut = (event, target, instance) => () => { - isEditable(target) && input(instance, target, "", "deleteByCut"); - }), - (behavior.keydown = (event, target, instance) => { - var _keydownBehavior_event_key, _keydownBehavior_event_key1; - return null !== - (_keydownBehavior_event_key1 = - null === - (_keydownBehavior_event_key = keydownBehavior[event.key]) || - void 0 === _keydownBehavior_event_key - ? void 0 - : _keydownBehavior_event_key.call( - keydownBehavior, - event, - target, - instance, - )) && void 0 !== _keydownBehavior_event_key1 - ? _keydownBehavior_event_key1 - : combinationBehavior(event, target, instance); - }); - var keydownBehavior = { - ArrowDown: (event, target, instance) => { - if (isElementType(target, "input", { type: "radio" })) - return () => walkRadio(instance, target, -1); - }, - ArrowLeft: (event, target, instance) => - isElementType(target, "input", { type: "radio" }) - ? () => walkRadio(instance, target, -1) - : () => moveSelection(target, -1), - ArrowRight: (event, target, instance) => - isElementType(target, "input", { type: "radio" }) - ? () => walkRadio(instance, target, 1) - : () => moveSelection(target, 1), - ArrowUp: (event, target, instance) => { - if (isElementType(target, "input", { type: "radio" })) - return () => walkRadio(instance, target, 1); - }, - Backspace: (event, target, instance) => { - if (isEditable(target)) - return () => { - input(instance, target, "", "deleteContentBackward"); - }; - }, - Delete: (event, target, instance) => { - if (isEditable(target)) - return () => { - input(instance, target, "", "deleteContentForward"); - }; - }, - End: (event, target) => { - if ( - isElementType(target, ["input", "textarea"]) || - isContentEditable(target) - ) - return () => { - var _getValueOrTextContent, _getValueOrTextContent_length; - let newPos = - null !== - (_getValueOrTextContent_length = - null === - (_getValueOrTextContent = - (function getValueOrTextContent(element) { - return element - ? isContentEditable(element) - ? element.textContent - : getUIValue(element) - : null; - })(target)) || void 0 === _getValueOrTextContent - ? void 0 - : _getValueOrTextContent.length) && - void 0 !== _getValueOrTextContent_length - ? _getValueOrTextContent_length - : 0; - setSelectionRange(target, newPos, newPos); - }; - }, - Home: (event, target) => { - if ( - isElementType(target, ["input", "textarea"]) || - isContentEditable(target) - ) - return () => { - setSelectionRange(target, 0, 0); - }; - }, - PageDown: (event, target) => { - if (isElementType(target, ["input"])) - return () => { - let newPos = getUIValue(target).length; - setSelectionRange(target, newPos, newPos); - }; - }, - PageUp: (event, target) => { - if (isElementType(target, ["input"])) - return () => { - setSelectionRange(target, 0, 0); - }; - }, - Tab: (event, target, instance) => () => { - let dest = (function getTabDestination(activeElement, shift) { - let document2 = activeElement.ownerDocument, - focusableElements = - document2.querySelectorAll(FOCUSABLE_SELECTOR), - enabledElements = Array.from(focusableElements).filter( - (el) => - el === activeElement || - !( - Number(el.getAttribute("tabindex")) < 0 || - isDisabled2(el) - ), - ); - Number(activeElement.getAttribute("tabindex")) >= 0 && - enabledElements.sort((a2, b) => { - let i = Number(a2.getAttribute("tabindex")), - j = Number(b.getAttribute("tabindex")); - return i === j ? 0 : 0 === i ? 1 : 0 === j ? -1 : i - j; - }); - let checkedRadio = {}, - prunedElements = [document2.body], - activeRadioGroup = isElementType(activeElement, "input", { - type: "radio", - }) - ? activeElement.name - : void 0; - enabledElements.forEach((currentElement) => { - let el = currentElement; - if ( - isElementType(el, "input", { type: "radio" }) && - el.name - ) { - if (el === activeElement) - return void prunedElements.push(el); - if (el.name === activeRadioGroup) return; - if (el.checked) - return ( - (prunedElements = prunedElements.filter( - (e) => - !isElementType(e, "input", { - type: "radio", - name: el.name, - }), - )), - prunedElements.push(el), - void (checkedRadio[el.name] = el) - ); - if (typeof checkedRadio[el.name] < "u") return; - } - prunedElements.push(el); - }); - for ( - let index = prunedElements.findIndex( - (el) => el === activeElement, - ); - ; - - ) - if ( - ((index += shift ? -1 : 1), - index === prunedElements.length - ? (index = 0) - : -1 === index && (index = prunedElements.length - 1), - prunedElements[index] === activeElement || - prunedElements[index] === document2.body || - isVisible(prunedElements[index])) - ) - return prunedElements[index]; - })(target, instance.system.keyboard.modifiers.Shift); - focusElement(dest), - hasOwnSelection(dest) && - setUISelection(dest, { - anchorOffset: 0, - focusOffset: dest.value.length, - }); - }, - }, - combinationBehavior = (event, target, instance) => { - if ( - "KeyA" === event.code && - instance.system.keyboard.modifiers.Control - ) - return () => selectAll(target); - }; - behavior.keypress = (event, target, instance) => { - if ("Enter" === event.key) { - if ( - isElementType(target, "button") || - (isElementType(target, "input") && - ClickInputOnEnter.includes(target.type)) || - (isElementType(target, "a") && target.href) - ) - return () => { - instance.dispatchUIEvent(target, "click"); - }; - if (isElementType(target, "input")) { - let form = target.form, - submit = form?.querySelector( - 'input[type="submit"], button:not([type]), button[type="submit"]', - ); - return submit - ? () => instance.dispatchUIEvent(submit, "click") - : form && - SubmitSingleInputOnEnter.includes(target.type) && - 1 === form.querySelectorAll("input").length - ? () => instance.dispatchUIEvent(form, "submit") - : void 0; - } - } - if (isEditable(target)) { - let inputType = - "Enter" === event.key - ? isContentEditable(target) && - !instance.system.keyboard.modifiers.Shift - ? "insertParagraph" - : "insertLineBreak" - : "insertText", - inputData = "Enter" === event.key ? "\n" : event.key; - return () => input(instance, target, inputData, inputType); - } - }; - var ClickInputOnEnter = [ - "button", - "color", - "file", - "image", - "reset", - "submit", - ], - SubmitSingleInputOnEnter = [ - "email", - "month", - "password", - "search", - "tel", - "text", - "url", - "week", - ]; - behavior.keyup = (event, target, instance) => { - var _keyupBehavior_event_key; - return null === - (_keyupBehavior_event_key = keyupBehavior[event.key]) || - void 0 === _keyupBehavior_event_key - ? void 0 - : _keyupBehavior_event_key.call( - keyupBehavior, - event, - target, - instance, - ); - }; - var keyupBehavior = { - " ": (event, target, instance) => { - if (isClickableInput(target)) - return () => instance.dispatchUIEvent(target, "click"); - }, - }; - behavior.paste = (event, target, instance) => { - if (isEditable(target)) - return () => { - var _event_clipboardData; - let insertData = - null === (_event_clipboardData = event.clipboardData) || - void 0 === _event_clipboardData - ? void 0 - : _event_clipboardData.getData("text"); - insertData && - input(instance, target, insertData, "insertFromPaste"); - }; - }; - var eventMap2 = { - auxclick: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - beforeinput: { - EventType: "InputEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - click: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - contextmenu: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - copy: { - EventType: "ClipboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - change: { - EventType: "Event", - defaultInit: { bubbles: !0, cancelable: !1 }, - }, - cut: { - EventType: "ClipboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - dblclick: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - keydown: { - EventType: "KeyboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - keypress: { - EventType: "KeyboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - keyup: { - EventType: "KeyboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - paste: { - EventType: "ClipboardEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - input: { - EventType: "InputEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - mousedown: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseenter: { - EventType: "MouseEvent", - defaultInit: { bubbles: !1, cancelable: !1, composed: !0 }, - }, - mouseleave: { - EventType: "MouseEvent", - defaultInit: { bubbles: !1, cancelable: !1, composed: !0 }, - }, - mousemove: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseout: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseover: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - mouseup: { - EventType: "MouseEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerover: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerenter: { - EventType: "PointerEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - pointerdown: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointermove: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerup: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointercancel: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !1, composed: !0 }, - }, - pointerout: { - EventType: "PointerEvent", - defaultInit: { bubbles: !0, cancelable: !0, composed: !0 }, - }, - pointerleave: { - EventType: "PointerEvent", - defaultInit: { bubbles: !1, cancelable: !1 }, - }, - submit: { - EventType: "Event", - defaultInit: { bubbles: !0, cancelable: !0 }, - }, - }; - function getEventClass(type5) { - return eventMap2[type5].EventType; - } - var mouseEvents = ["MouseEvent", "PointerEvent"]; - var eventInitializer = { - ClipboardEvent: [ - function initClipboardEvent(event, { clipboardData }) { - assignProps(event, { clipboardData }); - }, - ], - Event: [], - InputEvent: [ - initUIEvent, - function initInputEvent(event, { data, inputType, isComposing }) { - assignProps(event, { - data, - isComposing: !!isComposing, - inputType: String(inputType), - }); - }, - ], - MouseEvent: [initUIEvent, initUIEventModififiers, initMouseEvent], - PointerEvent: [ - initUIEvent, - initUIEventModififiers, - initMouseEvent, - function initPointerEvent( - event, - { - pointerId, - width, - height, - pressure, - tangentialPressure, - tiltX, - tiltY, - twist, - pointerType, - isPrimary, - }, - ) { - assignProps(event, { - pointerId: sanitizeNumber(pointerId), - width: sanitizeNumber(width), - height: sanitizeNumber(height), - pressure: sanitizeNumber(pressure), - tangentialPressure: sanitizeNumber(tangentialPressure), - tiltX: sanitizeNumber(tiltX), - tiltY: sanitizeNumber(tiltY), - twist: sanitizeNumber(twist), - pointerType: String(pointerType), - isPrimary: !!isPrimary, - }); - }, - ], - KeyboardEvent: [ - initUIEvent, - initUIEventModififiers, - function initKeyboardEvent( - event, - { key, code, location, repeat, isComposing, charCode }, - ) { - assignProps(event, { - key: String(key), - code: String(code), - location: sanitizeNumber(location), - repeat: !!repeat, - isComposing: !!isComposing, - charCode, - }); - }, - ], - }; - function createEvent2(type5, target, init) { - let window2 = getWindow(target), - { EventType, defaultInit } = eventMap2[type5], - event = new ((function getEventConstructors(window2) { - var _window_Event; - let Event = - null !== (_window_Event = window2.Event) && - void 0 !== _window_Event - ? _window_Event - : class {}; - var _window_AnimationEvent; - let AnimationEvent = - null !== (_window_AnimationEvent = window2.AnimationEvent) && - void 0 !== _window_AnimationEvent - ? _window_AnimationEvent - : class extends Event {}; - var _window_ClipboardEvent; - let ClipboardEvent = - null !== (_window_ClipboardEvent = window2.ClipboardEvent) && - void 0 !== _window_ClipboardEvent - ? _window_ClipboardEvent - : class extends Event {}; - var _window_PopStateEvent; - let PopStateEvent = - null !== (_window_PopStateEvent = window2.PopStateEvent) && - void 0 !== _window_PopStateEvent - ? _window_PopStateEvent - : class extends Event {}; - var _window_ProgressEvent; - let ProgressEvent = - null !== (_window_ProgressEvent = window2.ProgressEvent) && - void 0 !== _window_ProgressEvent - ? _window_ProgressEvent - : class extends Event {}; - var _window_TransitionEvent; - let TransitionEvent = - null !== (_window_TransitionEvent = window2.TransitionEvent) && - void 0 !== _window_TransitionEvent - ? _window_TransitionEvent - : class extends Event {}; - var _window_UIEvent; - let UIEvent = - null !== (_window_UIEvent = window2.UIEvent) && - void 0 !== _window_UIEvent - ? _window_UIEvent - : class extends Event {}; - var _window_CompositionEvent; - let CompositionEvent = - null !== - (_window_CompositionEvent = window2.CompositionEvent) && - void 0 !== _window_CompositionEvent - ? _window_CompositionEvent - : class extends UIEvent {}; - var _window_FocusEvent; - let FocusEvent = - null !== (_window_FocusEvent = window2.FocusEvent) && - void 0 !== _window_FocusEvent - ? _window_FocusEvent - : class extends UIEvent {}; - var _window_InputEvent; - let InputEvent = - null !== (_window_InputEvent = window2.InputEvent) && - void 0 !== _window_InputEvent - ? _window_InputEvent - : class extends UIEvent {}; - var _window_KeyboardEvent; - let KeyboardEvent = - null !== (_window_KeyboardEvent = window2.KeyboardEvent) && - void 0 !== _window_KeyboardEvent - ? _window_KeyboardEvent - : class extends UIEvent {}; - var _window_MouseEvent; - let MouseEvent = - null !== (_window_MouseEvent = window2.MouseEvent) && - void 0 !== _window_MouseEvent - ? _window_MouseEvent - : class extends UIEvent {}; - var _window_DragEvent; - let DragEvent = - null !== (_window_DragEvent = window2.DragEvent) && - void 0 !== _window_DragEvent - ? _window_DragEvent - : class extends MouseEvent {}; - var _window_PointerEvent; - let PointerEvent = - null !== (_window_PointerEvent = window2.PointerEvent) && - void 0 !== _window_PointerEvent - ? _window_PointerEvent - : class extends MouseEvent {}; - var _window_TouchEvent; - let TouchEvent = - null !== (_window_TouchEvent = window2.TouchEvent) && - void 0 !== _window_TouchEvent - ? _window_TouchEvent - : class extends UIEvent {}; - return { - Event, - AnimationEvent, - ClipboardEvent, - PopStateEvent, - ProgressEvent, - TransitionEvent, - UIEvent, - CompositionEvent, - FocusEvent, - InputEvent, - KeyboardEvent, - MouseEvent, - DragEvent, - PointerEvent, - TouchEvent, - }; - })(window2)[EventType])(type5, defaultInit); - return ( - eventInitializer[EventType].forEach((f4) => f4(event, init ?? {})), - event - ); - } - function assignProps(obj, props) { - for (let [key, value] of Object.entries(props)) - Object.defineProperty(obj, key, { get: () => value ?? null }); - } - function sanitizeNumber(n) { - return Number(n ?? 0); - } - function initUIEvent(event, { view, detail }) { - assignProps(event, { view, detail: sanitizeNumber(detail ?? 0) }); - } - function initUIEventModififiers( - event, - { - altKey, - ctrlKey, - metaKey, - shiftKey, - modifierAltGraph, - modifierCapsLock, - modifierFn, - modifierFnLock, - modifierNumLock, - modifierScrollLock, - modifierSymbol, - modifierSymbolLock, - }, - ) { - assignProps(event, { - altKey: !!altKey, - ctrlKey: !!ctrlKey, - metaKey: !!metaKey, - shiftKey: !!shiftKey, - getModifierState: (k2) => - !!{ - Alt: altKey, - AltGraph: modifierAltGraph, - CapsLock: modifierCapsLock, - Control: ctrlKey, - Fn: modifierFn, - FnLock: modifierFnLock, - Meta: metaKey, - NumLock: modifierNumLock, - ScrollLock: modifierScrollLock, - Shift: shiftKey, - Symbol: modifierSymbol, - SymbolLock: modifierSymbolLock, - }[k2], - }); - } - function initMouseEvent( - event, - { - x: x2, - y: y2, - screenX, - screenY, - clientX = x2, - clientY = y2, - button, - buttons, - relatedTarget, - }, - ) { - assignProps(event, { - screenX: sanitizeNumber(screenX), - screenY: sanitizeNumber(screenY), - clientX: sanitizeNumber(clientX), - x: sanitizeNumber(clientX), - clientY: sanitizeNumber(clientY), - y: sanitizeNumber(clientY), - button: sanitizeNumber(button), - buttons: sanitizeNumber(buttons), - relatedTarget, - }); - } - function dispatchUIEvent(target, type5, init, preventDefault = !1) { - ((function isMouseEvent(type5) { - return mouseEvents.includes(getEventClass(type5)); - })(type5) || - (function isKeyboardEvent(type5) { - return "KeyboardEvent" === getEventClass(type5); - })(type5)) && - (init = { ...init, ...this.system.getUIEventModifiers() }); - let event = createEvent2(type5, target, init); - return dispatchEvent.call(this, target, event, preventDefault); - } - function dispatchEvent(target, event, preventDefault = !1) { - var _behavior_type; - let type5 = event.type, - behaviorImplementation = preventDefault - ? () => {} - : null === (_behavior_type = behavior[type5]) || - void 0 === _behavior_type - ? void 0 - : _behavior_type.call(behavior, event, target, this); - if (behaviorImplementation) { - event.preventDefault(); - let defaultPrevented = !1; - return ( - Object.defineProperty(event, "defaultPrevented", { - get: () => defaultPrevented, - }), - Object.defineProperty(event, "preventDefault", { - value: () => { - defaultPrevented = event.cancelable; - }, - }), - wrapEvent(() => target.dispatchEvent(event)), - defaultPrevented || behaviorImplementation(), - !defaultPrevented - ); - } - return wrapEvent(() => target.dispatchEvent(event)); - } - var Interceptor = Symbol("Interceptor for programmatical calls"); - function prepareInterceptor(element, propName, interceptorImpl) { - let prototypeDescriptor = Object.getOwnPropertyDescriptor( - element.constructor.prototype, - propName, - ), - objectDescriptor = Object.getOwnPropertyDescriptor( - element, - propName, - ), - target = prototypeDescriptor?.set ? "set" : "value"; - if ( - "function" != typeof prototypeDescriptor?.[target] || - prototypeDescriptor[target][Interceptor] - ) - throw new Error( - `Element ${element.tagName} does not implement "${String(propName)}".`, - ); - function intercept(...args) { - let { - applyNative = !1, - realArgs, - then, - } = interceptorImpl.call(this, ...args), - realFunc = ((!applyNative && objectDescriptor) || - prototypeDescriptor)[target]; - "set" === target - ? realFunc.call(this, realArgs) - : realFunc.call(this, ...realArgs), - then?.(); - } - (intercept[Interceptor] = Interceptor), - Object.defineProperty(element, propName, { - ...(objectDescriptor ?? prototypeDescriptor), - [target]: intercept, - }); - } - function prepareValueInterceptor(element) { - prepareInterceptor(element, "value", function (v) { - let isUI = (function isUIValue(value) { - return "object" == typeof value && UIValue in value; - })(v); - return ( - isUI && startTrackValue(this), - { - applyNative: !!isUI, - realArgs: sanitizeValue(this, v), - then: isUI - ? void 0 - : () => - (function trackOrSetValue(element, v) { - var _element_TrackChanges_tracked, - _element_TrackChanges; - null === - (_element_TrackChanges = element[TrackChanges]) || - void 0 === _element_TrackChanges || - null === - (_element_TrackChanges_tracked = - _element_TrackChanges.tracked) || - void 0 === _element_TrackChanges_tracked || - _element_TrackChanges_tracked.push(v), - element[TrackChanges] || - (setUIValueClean(element), - setUISelection(element, { focusOffset: v.length })); - })(this, String(v)), - } - ); - }); - } - function sanitizeValue(element, v) { - return isElementType(element, "input", { type: "number" }) && - "" !== String(v) && - !Number.isNaN(Number(v)) - ? String(Number(v)) - : String(v); - } - function prepareSelectionInterceptor(element) { - prepareInterceptor( - element, - "setSelectionRange", - function (start, ...others) { - let isUI = (function isUISelectionStart(start) { - return ( - !!start && "object" == typeof start && UISelection in start - ); - })(start); - return { - applyNative: !!isUI, - realArgs: [Number(start), ...others], - then: () => (isUI ? void 0 : setUISelectionClean(element)), - }; - }, - ), - prepareInterceptor(element, "selectionStart", function (v) { - return { realArgs: v, then: () => setUISelectionClean(element) }; - }), - prepareInterceptor(element, "selectionEnd", function (v) { - return { realArgs: v, then: () => setUISelectionClean(element) }; - }), - prepareInterceptor(element, "select", function () { - return { - realArgs: [], - then: () => - (function setUISelectionRaw(element, selection) { - element[UISelection] = selection; - })(element, { - anchorOffset: 0, - focusOffset: getUIValue(element).length, - }), - }; - }); - } - var DOM_KEY_LOCATION, - DOM_KEY_LOCATION2, - isPrepared = Symbol("Node prepared with document state workarounds"); - function prepareDocument(document2) { - document2[isPrepared] || - (document2.addEventListener( - "focus", - (e) => { - prepareElement(e.target); - }, - { capture: !0, passive: !0 }, - ), - document2.activeElement && prepareElement(document2.activeElement), - document2.addEventListener( - "blur", - (e) => { - let el = e.target, - initialValue2 = (function getInitialValue(element) { - return element[InitialValue]; - })(el); - void 0 !== initialValue2 && - (el.value !== initialValue2 && - (function dispatchDOMEvent(target, type5, init) { - let event = createEvent2(type5, target, init); - wrapEvent(() => target.dispatchEvent(event)); - })(el, "change"), - clearInitialValue(el)); - }, - { capture: !0, passive: !0 }, - ), - (document2[isPrepared] = isPrepared)); - } - function prepareElement(el) { - el[isPrepared] || - (isElementType(el, ["input", "textarea"]) && - (prepareValueInterceptor(el), - prepareSelectionInterceptor(el), - (function prepareRangeTextInterceptor(element) { - prepareInterceptor( - element, - "setRangeText", - function (...realArgs) { - return { - realArgs, - then: () => { - setUIValueClean(element), setUISelectionClean(element); - }, - }; - }, - ); - })(el)), - (el[isPrepared] = isPrepared)); - } - function wait(config3) { - let delay = config3.delay; - if ("number" == typeof delay) - return Promise.all([ - new Promise((resolve) => - globalThis.setTimeout(() => resolve(), delay), - ), - config3.advanceTimers(delay), - ]); - } - function _define_property3(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - ((DOM_KEY_LOCATION2 = DOM_KEY_LOCATION || (DOM_KEY_LOCATION = {}))[ - (DOM_KEY_LOCATION2.STANDARD = 0) - ] = "STANDARD"), - (DOM_KEY_LOCATION2[(DOM_KEY_LOCATION2.LEFT = 1)] = "LEFT"), - (DOM_KEY_LOCATION2[(DOM_KEY_LOCATION2.RIGHT = 2)] = "RIGHT"), - (DOM_KEY_LOCATION2[(DOM_KEY_LOCATION2.NUMPAD = 3)] = "NUMPAD"); - var modifierKeys = [ - "Alt", - "AltGraph", - "Control", - "Fn", - "Meta", - "Shift", - "Symbol", - ]; - function isModifierKey(key) { - return modifierKeys.includes(key); - } - var modifierLocks = [ - "CapsLock", - "FnLock", - "NumLock", - "ScrollLock", - "SymbolLock", - ]; - function isModifierLock(key) { - return modifierLocks.includes(key); - } - var KeyboardHost = class { - isKeyPressed(keyDef) { - return !!this.pressed[String(keyDef.code)]; - } - getPressedKeys() { - return Object.values(this.pressed).map((p3) => p3.keyDef); - } - async keydown(instance, keyDef) { - var _this_pressed, _code, _this_pressed_code; - let key = String(keyDef.key), - code = String(keyDef.code), - target = getActiveElementOrBody(instance.config.document); - var _; - this.setKeydownTarget(target), - (null !== - (_ = (_this_pressed = this.pressed)[(_code = code)]) && - void 0 !== _) || - (_this_pressed[_code] = { keyDef, unpreventedDefault: !1 }), - isModifierKey(key) && (this.modifiers[key] = !0); - let unprevented = instance.dispatchUIEvent(target, "keydown", { - key, - code, - }); - isModifierLock(key) && - !this.modifiers[key] && - ((this.modifiers[key] = !0), - (this.modifierLockStart[key] = !0)), - (_this_pressed_code = this.pressed[code]).unpreventedDefault || - (_this_pressed_code.unpreventedDefault = unprevented), - unprevented && - this.hasKeyPress(key) && - instance.dispatchUIEvent( - getActiveElementOrBody(instance.config.document), - "keypress", - { - key, - code, - charCode: - "Enter" === keyDef.key - ? 13 - : String(keyDef.key).charCodeAt(0), - }, - ); - } - async keyup(instance, keyDef) { - let key = String(keyDef.key), - code = String(keyDef.code), - unprevented = this.pressed[code].unpreventedDefault; - delete this.pressed[code], - isModifierKey(key) && - !Object.values(this.pressed).find( - (p3) => p3.keyDef.key === key, - ) && - (this.modifiers[key] = !1), - instance.dispatchUIEvent( - getActiveElementOrBody(instance.config.document), - "keyup", - { key, code }, - !unprevented, - ), - isModifierLock(key) && - this.modifiers[key] && - (this.modifierLockStart[key] - ? (this.modifierLockStart[key] = !1) - : (this.modifiers[key] = !1)); - } - setKeydownTarget(target) { - target !== this.lastKeydownTarget && (this.carryChar = ""), - (this.lastKeydownTarget = target); - } - hasKeyPress(key) { - return !( - (1 !== key.length && "Enter" !== key) || - this.modifiers.Control || - this.modifiers.Alt - ); - } - constructor(system) { - _define_property3(this, "system", void 0), - _define_property3(this, "modifiers", { - Alt: !1, - AltGraph: !1, - CapsLock: !1, - Control: !1, - Fn: !1, - FnLock: !1, - Meta: !1, - NumLock: !1, - ScrollLock: !1, - Shift: !1, - Symbol: !1, - SymbolLock: !1, - }), - _define_property3(this, "pressed", {}), - _define_property3(this, "carryChar", ""), - _define_property3(this, "lastKeydownTarget", void 0), - _define_property3(this, "modifierLockStart", {}), - (this.system = system); - } - }, - defaultKeyMap = [ - ..."0123456789" - .split("") - .map((c) => ({ code: `Digit${c}`, key: c })), - ...")!@#$%^&*(" - .split("") - .map((c, i) => ({ code: `Digit${i}`, key: c, shiftKey: !0 })), - ..."abcdefghijklmnopqrstuvwxyz" - .split("") - .map((c) => ({ code: `Key${c.toUpperCase()}`, key: c })), - ..."ABCDEFGHIJKLMNOPQRSTUVWXYZ" - .split("") - .map((c) => ({ code: `Key${c}`, key: c, shiftKey: !0 })), - { code: "Space", key: " " }, - { code: "AltLeft", key: "Alt", location: DOM_KEY_LOCATION.LEFT }, - { code: "AltRight", key: "Alt", location: DOM_KEY_LOCATION.RIGHT }, - { - code: "ShiftLeft", - key: "Shift", - location: DOM_KEY_LOCATION.LEFT, - }, - { - code: "ShiftRight", - key: "Shift", - location: DOM_KEY_LOCATION.RIGHT, - }, - { - code: "ControlLeft", - key: "Control", - location: DOM_KEY_LOCATION.LEFT, - }, - { - code: "ControlRight", - key: "Control", - location: DOM_KEY_LOCATION.RIGHT, - }, - { code: "MetaLeft", key: "Meta", location: DOM_KEY_LOCATION.LEFT }, - { - code: "MetaRight", - key: "Meta", - location: DOM_KEY_LOCATION.RIGHT, - }, - { code: "OSLeft", key: "OS", location: DOM_KEY_LOCATION.LEFT }, - { code: "OSRight", key: "OS", location: DOM_KEY_LOCATION.RIGHT }, - { code: "Tab", key: "Tab" }, - { code: "CapsLock", key: "CapsLock" }, - { code: "Backspace", key: "Backspace" }, - { code: "Enter", key: "Enter" }, - { code: "Escape", key: "Escape" }, - { code: "ArrowUp", key: "ArrowUp" }, - { code: "ArrowDown", key: "ArrowDown" }, - { code: "ArrowLeft", key: "ArrowLeft" }, - { code: "ArrowRight", key: "ArrowRight" }, - { code: "Home", key: "Home" }, - { code: "End", key: "End" }, - { code: "Delete", key: "Delete" }, - { code: "PageUp", key: "PageUp" }, - { code: "PageDown", key: "PageDown" }, - { code: "Fn", key: "Fn" }, - { code: "Symbol", key: "Symbol" }, - { code: "AltRight", key: "AltGraph" }, - ]; - var Buttons = class { - getButtons() { - let v = 0; - for (let button of Object.keys(this.pressed)) - v |= 2 ** Number(button); - return v; - } - down(keyDef) { - let button = getMouseButtonId(keyDef.button); - if (!(button in this.pressed)) - return (this.pressed[button] = [keyDef]), button; - this.pressed[button].push(keyDef); - } - up(keyDef) { - let button = getMouseButtonId(keyDef.button); - if ( - button in this.pressed && - ((this.pressed[button] = this.pressed[button].filter( - (k2) => k2.name !== keyDef.name, - )), - 0 === this.pressed[button].length) - ) - return delete this.pressed[button], button; - } - constructor() { - !(function _define_property4(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - })(this, "pressed", {}); - } - }, - MouseButton = { - primary: 0, - secondary: 1, - auxiliary: 2, - back: 3, - X1: 3, - forward: 4, - X2: 4, - }; - function getMouseButtonId(button = 0) { - return button in MouseButton ? MouseButton[button] : Number(button); - } - var MouseButtonFlip = { 1: 2, 2: 1 }; - function getMouseEventButton(button) { - return (button = getMouseButtonId(button)) in MouseButtonFlip - ? MouseButtonFlip[button] - : button; - } - var Device = class { - get countPressed() { - return this.pressedKeys.size; - } - isPressed(keyDef) { - return this.pressedKeys.has(keyDef.name); - } - addPressed(keyDef) { - return this.pressedKeys.add(keyDef.name); - } - removePressed(keyDef) { - return this.pressedKeys.delete(keyDef.name); - } - constructor() { - !(function _define_property5(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - })(this, "pressedKeys", new Set()); - } - }; - function getTreeDiff(a2, b) { - let treeA = []; - for (let el = a2; el; el = el.parentElement) treeA.push(el); - let treeB = []; - for (let el = b; el; el = el.parentElement) treeB.push(el); - let i = 0; - for ( - ; - !( - i >= treeA.length || - i >= treeB.length || - treeA[treeA.length - 1 - i] !== treeB[treeB.length - 1 - i] - ); - i++ - ); - return [ - treeA.slice(0, treeA.length - i), - treeB.slice(0, treeB.length - i), - treeB.slice(treeB.length - i), - ]; - } - function resolveCaretPosition({ target, node, offset }) { - return hasOwnSelection(target) - ? { node: target, offset: offset ?? getUIValue(target).length } - : node - ? { - node, - offset: - offset ?? - (3 === node.nodeType - ? node.nodeValue.length - : node.childNodes.length), - } - : findNodeAtTextOffset(target, offset); - } - function findNodeAtTextOffset(node, offset, isRoot = !0) { - let i = void 0 === offset ? node.childNodes.length - 1 : 0, - step = void 0 === offset ? -1 : 1; - for ( - ; - void 0 === offset - ? i >= (isRoot ? Math.max(node.childNodes.length - 1, 0) : 0) - : i <= node.childNodes.length; - - ) { - if (offset && i === node.childNodes.length) - throw new Error("The given offset is out of bounds."); - let c = node.childNodes.item(i), - text = String(c.textContent); - if (text.length) - if (void 0 !== offset && text.length < offset) - offset -= text.length; - else { - if (1 === c.nodeType) - return findNodeAtTextOffset(c, offset, !1); - if (3 === c.nodeType) - return { node: c, offset: offset ?? c.nodeValue.length }; - } - i += step; - } - return { node, offset: node.childNodes.length }; - } - function setSelectionPerMouseDown({ - document: document2, - target, - clickCount, - node, - offset, - }) { - if ( - (function hasNoSelection(node) { - return isElement3(node) && isClickableInput(node); - })(target) - ) - return; - let targetHasOwnSelection = hasOwnSelection(target), - text = String( - targetHasOwnSelection ? getUIValue(target) : target.textContent, - ), - [start, end] = node - ? [offset, offset] - : (function getTextRange(text, pos, clickCount) { - if (clickCount % 3 == 1 || 0 === text.length) - return [pos, pos]; - let textPos = pos ?? text.length; - return clickCount % 3 == 2 - ? [ - textPos - - text.substr(0, pos).match(/(\w+|\s+|\W)?$/)[0].length, - void 0 === pos - ? pos - : pos + - text.substr(pos).match(/^(\w+|\s+|\W)?/)[0].length, - ] - : [ - textPos - - text.substr(0, pos).match(/[^\r\n]*$/)[0].length, - void 0 === pos - ? pos - : pos + text.substr(pos).match(/^[^\r\n]*/)[0].length, - ]; - })(text, offset, clickCount); - if (targetHasOwnSelection) - return ( - setUISelection(target, { - anchorOffset: start ?? text.length, - focusOffset: end ?? text.length, - }), - { node: target, start: start ?? 0, end: end ?? text.length } - ); - { - let { node: startNode, offset: startOffset } = resolveCaretPosition( - { target, node, offset: start }, - ), - { node: endNode, offset: endOffset } = resolveCaretPosition({ - target, - node, - offset: end, - }), - range = target.ownerDocument.createRange(); - try { - range.setStart(startNode, startOffset), - range.setEnd(endNode, endOffset); - } catch { - throw new Error("The given offset is out of bounds."); - } - let selection = document2.getSelection(); - return ( - selection?.removeAllRanges(), - selection?.addRange(range.cloneRange()), - range - ); - } - } - function isDifferentPointerPosition(positionA, positionB) { - var _positionA_coords, - _positionB_coords, - _positionA_coords1, - _positionB_coords1, - _positionA_caret, - _positionB_caret, - _positionA_caret1, - _positionB_caret1; - return ( - positionA.target !== positionB.target || - (null === (_positionA_coords = positionA.coords) || - void 0 === _positionA_coords - ? void 0 - : _positionA_coords.x) !== - (null === (_positionB_coords = positionB.coords) || - void 0 === _positionB_coords - ? void 0 - : _positionB_coords.y) || - (null === (_positionA_coords1 = positionA.coords) || - void 0 === _positionA_coords1 - ? void 0 - : _positionA_coords1.y) !== - (null === (_positionB_coords1 = positionB.coords) || - void 0 === _positionB_coords1 - ? void 0 - : _positionB_coords1.y) || - (null === (_positionA_caret = positionA.caret) || - void 0 === _positionA_caret - ? void 0 - : _positionA_caret.node) !== - (null === (_positionB_caret = positionB.caret) || - void 0 === _positionB_caret - ? void 0 - : _positionB_caret.node) || - (null === (_positionA_caret1 = positionA.caret) || - void 0 === _positionA_caret1 - ? void 0 - : _positionA_caret1.offset) !== - (null === (_positionB_caret1 = positionB.caret) || - void 0 === _positionB_caret1 - ? void 0 - : _positionB_caret1.offset) - ); - } - function _define_property6(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - var Mouse = class { - move(instance, position) { - let prevPosition = this.position, - prevTarget = this.getTarget(instance); - if ( - ((this.position = position), - !isDifferentPointerPosition(prevPosition, position)) - ) - return; - let nextTarget = this.getTarget(instance), - init = this.getEventInit("mousemove"), - [leave, enter] = getTreeDiff(prevTarget, nextTarget); - return { - leave: () => { - prevTarget !== nextTarget && - (instance.dispatchUIEvent(prevTarget, "mouseout", init), - leave.forEach((el) => - instance.dispatchUIEvent(el, "mouseleave", init), - )); - }, - enter: () => { - prevTarget !== nextTarget && - (instance.dispatchUIEvent(nextTarget, "mouseover", init), - enter.forEach((el) => - instance.dispatchUIEvent(el, "mouseenter", init), - )); - }, - move: () => { - instance.dispatchUIEvent(nextTarget, "mousemove", init), - this.modifySelecting(instance); - }, - }; - } - down(instance, keyDef, pointer3) { - let button = this.buttons.down(keyDef); - if (void 0 === button) return; - let target = this.getTarget(instance); - this.buttonDownTarget[button] = target; - let disabled = isDisabled2(target), - init = this.getEventInit("mousedown", keyDef.button); - (disabled || instance.dispatchUIEvent(target, "mousedown", init)) && - (this.startSelecting(instance, init.detail), - focusElement(target)), - !disabled && - 2 === getMouseEventButton(keyDef.button) && - instance.dispatchUIEvent( - target, - "contextmenu", - this.getEventInit("contextmenu", keyDef.button, pointer3), - ); - } - up(instance, keyDef, pointer3) { - let button = this.buttons.up(keyDef); - if (void 0 === button) return; - let target = this.getTarget(instance); - if (!isDisabled2(target)) { - instance.dispatchUIEvent( - target, - "mouseup", - this.getEventInit("mouseup", keyDef.button), - ), - this.endSelecting(); - let clickTarget = getTreeDiff( - this.buttonDownTarget[button], - target, - )[2][0]; - if (clickTarget) { - let init = this.getEventInit("click", keyDef.button, pointer3); - init.detail && - (instance.dispatchUIEvent( - clickTarget, - 0 === init.button ? "click" : "auxclick", - init, - ), - 0 === init.button && - 2 === init.detail && - instance.dispatchUIEvent(clickTarget, "dblclick", { - ...this.getEventInit("dblclick", keyDef.button), - detail: init.detail, - })); - } - } - } - resetClickCount() { - this.clickCount.reset(); - } - getEventInit(type5, button, pointer3) { - let init = { ...this.position.coords }; - return ( - pointer3 && - ((init.pointerId = pointer3.pointerId), - (init.pointerType = pointer3.pointerType), - (init.isPrimary = pointer3.isPrimary)), - (init.button = getMouseEventButton(button)), - (init.buttons = this.buttons.getButtons()), - "mousedown" === type5 - ? (init.detail = this.clickCount.getOnDown(init.button)) - : "mouseup" === type5 - ? (init.detail = this.clickCount.getOnUp(init.button)) - : ("click" === type5 || "auxclick" === type5) && - (init.detail = this.clickCount.incOnClick(init.button)), - init - ); - } - getTarget(instance) { - var _this_position_target; - return null !== (_this_position_target = this.position.target) && - void 0 !== _this_position_target - ? _this_position_target - : instance.config.document.body; - } - startSelecting(instance, clickCount) { - var _this_position_caret, _this_position_caret1; - this.selecting = setSelectionPerMouseDown({ - document: instance.config.document, - target: this.getTarget(instance), - node: - null === (_this_position_caret = this.position.caret) || - void 0 === _this_position_caret - ? void 0 - : _this_position_caret.node, - offset: - null === (_this_position_caret1 = this.position.caret) || - void 0 === _this_position_caret1 - ? void 0 - : _this_position_caret1.offset, - clickCount, - }); - } - modifySelecting(instance) { - var _this_position_caret, _this_position_caret1; - this.selecting && - (function modifySelectionPerMouseMove( - selectionRange, - { document: document2, target, node, offset }, - ) { - let selectionFocus = resolveCaretPosition({ - target, - node, - offset, - }); - if ("node" in selectionRange) { - if (selectionFocus.node === selectionRange.node) { - let anchorOffset = - selectionFocus.offset < selectionRange.start - ? selectionRange.end - : selectionRange.start, - focusOffset = - selectionFocus.offset > selectionRange.end || - selectionFocus.offset < selectionRange.start - ? selectionFocus.offset - : selectionRange.end; - setUISelection(selectionRange.node, { - anchorOffset, - focusOffset, - }); - } - } else { - let range = selectionRange.cloneRange(), - cmp = range.comparePoint( - selectionFocus.node, - selectionFocus.offset, - ); - cmp < 0 - ? range.setStart(selectionFocus.node, selectionFocus.offset) - : cmp > 0 && - range.setEnd(selectionFocus.node, selectionFocus.offset); - let selection = document2.getSelection(); - selection?.removeAllRanges(), - selection?.addRange(range.cloneRange()); - } - })(this.selecting, { - document: instance.config.document, - target: this.getTarget(instance), - node: - null === (_this_position_caret = this.position.caret) || - void 0 === _this_position_caret - ? void 0 - : _this_position_caret.node, - offset: - null === (_this_position_caret1 = this.position.caret) || - void 0 === _this_position_caret1 - ? void 0 - : _this_position_caret1.offset, - }); - } - endSelecting() { - this.selecting = void 0; - } - constructor() { - _define_property6(this, "position", {}), - _define_property6(this, "buttons", new Buttons()), - _define_property6(this, "selecting", void 0), - _define_property6(this, "buttonDownTarget", {}), - _define_property6( - this, - "clickCount", - new (class { - incOnClick(button) { - let current = - void 0 === this.down[button] - ? void 0 - : Number(this.down[button]) + 1; - return ( - (this.count = - void 0 === this.count[button] - ? {} - : { [button]: Number(this.count[button]) + 1 }), - current - ); - } - getOnDown(button) { - var _this_count_button, _this_count_button1; - return ( - (this.down = { - [button]: - null !== (_this_count_button = this.count[button]) && - void 0 !== _this_count_button - ? _this_count_button - : 0, - }), - (this.count = { - [button]: - null !== (_this_count_button1 = this.count[button]) && - void 0 !== _this_count_button1 - ? _this_count_button1 - : 0, - }), - Number(this.count[button]) + 1 - ); - } - getOnUp(button) { - return void 0 === this.down[button] - ? void 0 - : Number(this.down[button]) + 1; - } - reset() { - this.count = {}; - } - constructor() { - _define_property6(this, "down", {}), - _define_property6(this, "count", {}); - } - })(), - ); - } - }; - function hasPointerEvents(instance, element) { - var _checkPointerEvents; - return ( - "none" !== - (null === - (_checkPointerEvents = checkPointerEvents(instance, element)) || - void 0 === _checkPointerEvents - ? void 0 - : _checkPointerEvents.pointerEvents) - ); - } - var PointerEventsCheck = Symbol("Last check for pointer-events"); - function checkPointerEvents(instance, element) { - let lastCheck = element[PointerEventsCheck]; - if ( - instance.config.pointerEventsCheck === - PointerEventsCheckLevel.Never || - !( - !lastCheck || - (hasBitFlag( - instance.config.pointerEventsCheck, - PointerEventsCheckLevel.EachApiCall, - ) && - lastCheck[ApiLevel.Call] !== - getLevelRef(instance, ApiLevel.Call)) || - (hasBitFlag( - instance.config.pointerEventsCheck, - PointerEventsCheckLevel.EachTrigger, - ) && - lastCheck[ApiLevel.Trigger] !== - getLevelRef(instance, ApiLevel.Trigger)) - ) - ) - return lastCheck?.result; - let declaration = (function closestPointerEventsDeclaration(element) { - let window2 = getWindow(element); - for ( - let el = element, tree = []; - el?.ownerDocument; - el = el.parentElement - ) { - tree.push(el); - let pointerEvents = window2.getComputedStyle(el).pointerEvents; - if ( - pointerEvents && - !["inherit", "unset"].includes(pointerEvents) - ) - return { pointerEvents, tree }; - } - })(element); - return ( - (element[PointerEventsCheck] = { - [ApiLevel.Call]: getLevelRef(instance, ApiLevel.Call), - [ApiLevel.Trigger]: getLevelRef(instance, ApiLevel.Trigger), - result: declaration, - }), - declaration - ); - } - function assertPointerEvents(instance, element) { - let declaration = checkPointerEvents(instance, element); - if ("none" === declaration?.pointerEvents) - throw new Error( - [ - `Unable to perform pointer interaction as the element ${declaration.tree.length > 1 ? "inherits" : "has"} \`pointer-events: none\`:`, - "", - ((tree = declaration.tree), - tree - .reverse() - .map((el, i) => - [ - "".padEnd(i), - el.tagName, - el.id && `#${el.id}`, - el.hasAttribute("data-testid") && - `(testId=${el.getAttribute("data-testid")})`, - getLabelDescr(el), - tree.length > 1 && - 0 === i && - " <-- This element declared `pointer-events: none`", - tree.length > 1 && - i === tree.length - 1 && - " <-- Asserted pointer events here", - ] - .filter(Boolean) - .join(""), - ) - .join("\n")), - ].join("\n"), - ); - var tree; - } - function getLabelDescr(element) { - var _element_labels; - let label; - if (element.hasAttribute("aria-label")) - label = element.getAttribute("aria-label"); - else if (element.hasAttribute("aria-labelledby")) { - var _element_ownerDocument_getElementById_textContent, - _element_ownerDocument_getElementById; - label = - null === - (_element_ownerDocument_getElementById = - element.ownerDocument.getElementById( - element.getAttribute("aria-labelledby"), - )) || - void 0 === _element_ownerDocument_getElementById || - null === - (_element_ownerDocument_getElementById_textContent = - _element_ownerDocument_getElementById.textContent) || - void 0 === _element_ownerDocument_getElementById_textContent - ? void 0 - : _element_ownerDocument_getElementById_textContent.trim(); - } else if ( - isElementType(element, [ - "button", - "input", - "meter", - "output", - "progress", - "select", - "textarea", - ]) && - null !== (_element_labels = element.labels) && - void 0 !== _element_labels && - _element_labels.length - ) - label = Array.from(element.labels) - .map((el) => { - var _el_textContent; - return null === (_el_textContent = el.textContent) || - void 0 === _el_textContent - ? void 0 - : _el_textContent.trim(); - }) - .join("|"); - else if (isElementType(element, "button")) { - var _element_textContent; - label = - null === (_element_textContent = element.textContent) || - void 0 === _element_textContent - ? void 0 - : _element_textContent.trim(); - } - return ( - (label = label?.replace(/\n/g, " ")), - Number(label?.length) > 30 && - (label = `${label?.substring(0, 29)}…`), - label ? `(label=${label})` : "" - ); - } - function hasBitFlag(conf, flag3) { - return (conf & flag3) > 0; - } - function _define_property7(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - var Pointer = class { - init(instance, position) { - this.position = position; - let target = this.getTarget(instance), - [, enter] = getTreeDiff(null, target), - init = this.getEventInit(); - return ( - assertPointerEvents(instance, target), - instance.dispatchUIEvent(target, "pointerover", init), - enter.forEach((el) => - instance.dispatchUIEvent(el, "pointerenter", init), - ), - this - ); - } - move(instance, position) { - let prevPosition = this.position, - prevTarget = this.getTarget(instance); - if ( - ((this.position = position), - !isDifferentPointerPosition(prevPosition, position)) - ) - return; - let nextTarget = this.getTarget(instance), - init = this.getEventInit(), - [leave, enter] = getTreeDiff(prevTarget, nextTarget); - return { - leave: () => { - hasPointerEvents(instance, prevTarget) && - prevTarget !== nextTarget && - (instance.dispatchUIEvent(prevTarget, "pointerout", init), - leave.forEach((el) => - instance.dispatchUIEvent(el, "pointerleave", init), - )); - }, - enter: () => { - assertPointerEvents(instance, nextTarget), - prevTarget !== nextTarget && - (instance.dispatchUIEvent(nextTarget, "pointerover", init), - enter.forEach((el) => - instance.dispatchUIEvent(el, "pointerenter", init), - )); - }, - move: () => { - instance.dispatchUIEvent(nextTarget, "pointermove", init); - }, - }; - } - down(instance, _keyDef) { - if (this.isDown) return; - let target = this.getTarget(instance); - assertPointerEvents(instance, target), - (this.isDown = !0), - (this.isPrevented = !instance.dispatchUIEvent( - target, - "pointerdown", - this.getEventInit(), - )); - } - up(instance, _keyDef) { - if (!this.isDown) return; - let target = this.getTarget(instance); - assertPointerEvents(instance, target), - (this.isDown = !1), - instance.dispatchUIEvent( - target, - "pointerup", - this.getEventInit(), - ); - } - release(instance) { - let target = this.getTarget(instance), - [leave] = getTreeDiff(target, null), - init = this.getEventInit(); - hasPointerEvents(instance, target) && - (instance.dispatchUIEvent(target, "pointerout", init), - leave.forEach((el) => - instance.dispatchUIEvent(el, "pointerleave", init), - )), - (this.isCancelled = !0); - } - getTarget(instance) { - var _this_position_target; - return null !== (_this_position_target = this.position.target) && - void 0 !== _this_position_target - ? _this_position_target - : instance.config.document.body; - } - getEventInit() { - return { - ...this.position.coords, - pointerId: this.pointerId, - pointerType: this.pointerType, - isPrimary: this.isPrimary, - }; - } - constructor({ pointerId, pointerType, isPrimary }) { - _define_property7(this, "pointerId", void 0), - _define_property7(this, "pointerType", void 0), - _define_property7(this, "isPrimary", void 0), - _define_property7(this, "isMultitouch", !1), - _define_property7(this, "isCancelled", !1), - _define_property7(this, "isDown", !1), - _define_property7(this, "isPrevented", !1), - _define_property7(this, "position", {}), - (this.pointerId = pointerId), - (this.pointerType = pointerType), - (this.isPrimary = isPrimary), - (this.isMultitouch = !isPrimary); - } - }; - function _define_property8(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - var PointerHost = class { - isKeyPressed(keyDef) { - return this.devices.get(keyDef.pointerType).isPressed(keyDef); - } - async press(instance, keyDef, position) { - let pointerName = this.getPointerName(keyDef), - pointer3 = - "touch" === keyDef.pointerType - ? this.pointers - .new(pointerName, keyDef) - .init(instance, position) - : this.pointers.get(pointerName); - (pointer3.position = position), - "touch" !== pointer3.pointerType && - (this.mouse.position = position), - this.devices.get(keyDef.pointerType).addPressed(keyDef), - this.buttons.down(keyDef), - pointer3.down(instance, keyDef), - "touch" !== pointer3.pointerType && - !pointer3.isPrevented && - this.mouse.down(instance, keyDef, pointer3); - } - async move(instance, pointerName, position) { - let pointer3 = this.pointers.get(pointerName), - pointermove = pointer3.move(instance, position), - mousemove = - "touch" === pointer3.pointerType || - (pointer3.isPrevented && pointer3.isDown) - ? void 0 - : this.mouse.move(instance, position); - pointermove?.leave(), - mousemove?.leave(), - pointermove?.enter(), - mousemove?.enter(), - pointermove?.move(), - mousemove?.move(); - } - async release(instance, keyDef, position) { - let device = this.devices.get(keyDef.pointerType); - device.removePressed(keyDef), this.buttons.up(keyDef); - let pointer3 = this.pointers.get(this.getPointerName(keyDef)); - if ( - ((pointer3.position = position), - "touch" !== pointer3.pointerType && - (this.mouse.position = position), - 0 === device.countPressed && pointer3.up(instance, keyDef), - "touch" === pointer3.pointerType && pointer3.release(instance), - !pointer3.isPrevented) - ) { - if ("touch" === pointer3.pointerType && !pointer3.isMultitouch) { - let mousemove = this.mouse.move(instance, pointer3.position); - mousemove?.leave(), - mousemove?.enter(), - mousemove?.move(), - this.mouse.down(instance, keyDef, pointer3); - } - if (!pointer3.isMultitouch) { - let mousemove = this.mouse.move(instance, pointer3.position); - mousemove?.leave(), - mousemove?.enter(), - mousemove?.move(), - this.mouse.up(instance, keyDef, pointer3); - } - } - } - getPointerName(keyDef) { - return "touch" === keyDef.pointerType - ? keyDef.name - : keyDef.pointerType; - } - getPreviousPosition(pointerName) { - return this.pointers.has(pointerName) - ? this.pointers.get(pointerName).position - : void 0; - } - resetClickCount() { - this.mouse.resetClickCount(); - } - getMouseTarget(instance) { - var _this_mouse_position_target; - return null !== - (_this_mouse_position_target = this.mouse.position.target) && - void 0 !== _this_mouse_position_target - ? _this_mouse_position_target - : instance.config.document.body; - } - setMousePosition(position) { - (this.mouse.position = position), - (this.pointers.get("mouse").position = position); - } - constructor(system) { - _define_property8(this, "system", void 0), - _define_property8(this, "mouse", void 0), - _define_property8(this, "buttons", void 0), - _define_property8( - this, - "devices", - new (class { - get(k2) { - var _this_registry, _k, _; - return ( - (null !== - (_ = (_this_registry = this.registry)[(_k = k2)]) && - void 0 !== _) || - (_this_registry[_k] = new Device()), - this.registry[k2] - ); - } - constructor() { - _define_property8(this, "registry", {}); - } - })(), - ), - _define_property8( - this, - "pointers", - new (class { - new(pointerName, keyDef) { - let isPrimary = - "touch" !== keyDef.pointerType || - !Object.values(this.registry).some( - (p3) => "touch" === p3.pointerType && !p3.isCancelled, - ); - return ( - isPrimary || - Object.values(this.registry).forEach((p3) => { - p3.pointerType === keyDef.pointerType && - !p3.isCancelled && - (p3.isMultitouch = !0); - }), - (this.registry[pointerName] = new Pointer({ - pointerId: this.nextId++, - pointerType: keyDef.pointerType, - isPrimary, - })), - this.registry[pointerName] - ); - } - get(pointerName) { - if (!this.has(pointerName)) - throw new Error( - `Trying to access pointer "${pointerName}" which does not exist.`, - ); - return this.registry[pointerName]; - } - has(pointerName) { - return pointerName in this.registry; - } - constructor() { - _define_property8(this, "registry", { - mouse: new Pointer({ - pointerId: 1, - pointerType: "mouse", - isPrimary: !0, - }), - }), - _define_property8(this, "nextId", 2); - } - })(), - ), - (this.system = system), - (this.buttons = new Buttons()), - (this.mouse = new Mouse()); - } - }; - function _define_property9(obj, key, value) { - return ( - key in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - var System = class { - getUIEventModifiers() { - return { - altKey: this.keyboard.modifiers.Alt, - ctrlKey: this.keyboard.modifiers.Control, - metaKey: this.keyboard.modifiers.Meta, - shiftKey: this.keyboard.modifiers.Shift, - modifierAltGraph: this.keyboard.modifiers.AltGraph, - modifierCapsLock: this.keyboard.modifiers.CapsLock, - modifierFn: this.keyboard.modifiers.Fn, - modifierFnLock: this.keyboard.modifiers.FnLock, - modifierNumLock: this.keyboard.modifiers.NumLock, - modifierScrollLock: this.keyboard.modifiers.ScrollLock, - modifierSymbol: this.keyboard.modifiers.Symbol, - modifierSymbolLock: this.keyboard.modifiers.SymbolLock, - }; - } - constructor() { - _define_property9(this, "keyboard", new KeyboardHost(this)), - _define_property9(this, "pointer", new PointerHost(this)); - } - }; - async function keyboardAction( - instance, - { keyDef, releasePrevious, releaseSelf, repeat }, - ) { - let { system } = instance; - if ( - (system.keyboard.isKeyPressed(keyDef) && - (await system.keyboard.keyup(instance, keyDef)), - !releasePrevious) - ) { - for (let i = 1; i <= repeat; i++) - await system.keyboard.keydown(instance, keyDef), - i < repeat && (await wait(instance.config)); - releaseSelf && (await system.keyboard.keyup(instance, keyDef)); - } - } - function copySelection(target) { - let data = hasOwnSelection(target) - ? { "text/plain": readSelectedValueFromInput(target) } - : { "text/plain": String(target.ownerDocument.getSelection()) }, - dt = createDataTransfer(getWindow(target)); - for (let type5 in data) data[type5] && dt.setData(type5, data[type5]); - return dt; - } - function readSelectedValueFromInput(target) { - let sel = getUISelection(target); - return getUIValue(target).substring(sel.startOffset, sel.endOffset); - } - function parseKeyDef2(pointerMap, keys2) { - let defs = []; - do { - let { - descriptor, - consumedLength, - releasePrevious, - releaseSelf = !0, - } = readNextDescriptor(keys2, "pointer"), - keyDef = pointerMap.find((p3) => p3.name === descriptor); - keyDef && defs.push({ keyDef, releasePrevious, releaseSelf }), - (keys2 = keys2.slice(consumedLength)); - } while (keys2); - return defs; - } - async function pointerAction(instance, action) { - var _previousPosition_caret, _previousPosition_caret1; - let pointerName = - "pointerName" in action && action.pointerName - ? action.pointerName - : "keyDef" in action - ? instance.system.pointer.getPointerName(action.keyDef) - : "mouse", - previousPosition = - instance.system.pointer.getPreviousPosition(pointerName); - var _action_target, _action_coords, _action_node, _action_offset; - let position = { - target: - null !== (_action_target = action.target) && - void 0 !== _action_target - ? _action_target - : getPrevTarget(instance, previousPosition), - coords: - null !== (_action_coords = action.coords) && - void 0 !== _action_coords - ? _action_coords - : previousPosition?.coords, - caret: { - node: - null !== (_action_node = action.node) && void 0 !== _action_node - ? _action_node - : hasCaretPosition(action) || - null == previousPosition || - null === - (_previousPosition_caret = previousPosition.caret) || - void 0 === _previousPosition_caret - ? void 0 - : _previousPosition_caret.node, - offset: - null !== (_action_offset = action.offset) && - void 0 !== _action_offset - ? _action_offset - : hasCaretPosition(action) || - null == previousPosition || - null === - (_previousPosition_caret1 = previousPosition.caret) || - void 0 === _previousPosition_caret1 - ? void 0 - : _previousPosition_caret1.offset, - }, - }; - "keyDef" in action - ? (instance.system.pointer.isKeyPressed(action.keyDef) && - (setLevelRef(instance, ApiLevel.Trigger), - await instance.system.pointer.release( - instance, - action.keyDef, - position, - )), - action.releasePrevious || - (setLevelRef(instance, ApiLevel.Trigger), - await instance.system.pointer.press( - instance, - action.keyDef, - position, - ), - action.releaseSelf && - (setLevelRef(instance, ApiLevel.Trigger), - await instance.system.pointer.release( - instance, - action.keyDef, - position, - )))) - : (setLevelRef(instance, ApiLevel.Trigger), - await instance.system.pointer.move( - instance, - pointerName, - position, - )); - } - function hasCaretPosition(action) { - var _action_target, _ref; - return !!(null !== - (_ref = - null !== (_action_target = action.target) && - void 0 !== _action_target - ? _action_target - : action.node) && void 0 !== _ref - ? _ref - : void 0 !== action.offset); - } - function getPrevTarget(instance, position) { - if (!position) - throw new Error( - "This pointer has no previous position. Provide a target property!", - ); - var _position_target; - return null !== (_position_target = position.target) && - void 0 !== _position_target - ? _position_target - : instance.config.document.body; - } - async function selectOptionsBase(newValue, select, values) { - if (!newValue && !select.multiple) - throw getConfig2().getElementError( - "Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.", - select, - ); - let valArray = Array.isArray(values) ? values : [values], - allOptions = Array.from( - select.querySelectorAll('option, [role="option"]'), - ), - selectedOptions = valArray - .map((val) => { - if ("string" != typeof val && allOptions.includes(val)) - return val; - { - let matchingOption = allOptions.find( - (o) => o.value === val || o.innerHTML === val, - ); - if (matchingOption) return matchingOption; - throw getConfig2().getElementError( - `Value "${String(val)}" not found in options`, - select, - ); - } - }) - .filter((option) => !isDisabled2(option)); - if (isDisabled2(select) || !selectedOptions.length) return; - let selectOption = (option) => { - (option.selected = newValue), - this.dispatchUIEvent(select, "input", { - bubbles: !0, - cancelable: !1, - composed: !0, - }), - this.dispatchUIEvent(select, "change"); - }; - if (isElementType(select, "select")) - if (select.multiple) - for (let option of selectedOptions) { - let withPointerEvents = - 0 === this.config.pointerEventsCheck || - hasPointerEvents(this, option); - withPointerEvents && - (this.dispatchUIEvent(option, "pointerover"), - this.dispatchUIEvent(select, "pointerenter"), - this.dispatchUIEvent(option, "mouseover"), - this.dispatchUIEvent(select, "mouseenter"), - this.dispatchUIEvent(option, "pointermove"), - this.dispatchUIEvent(option, "mousemove"), - this.dispatchUIEvent(option, "pointerdown"), - this.dispatchUIEvent(option, "mousedown")), - focusElement(select), - withPointerEvents && - (this.dispatchUIEvent(option, "pointerup"), - this.dispatchUIEvent(option, "mouseup")), - selectOption(option), - withPointerEvents && this.dispatchUIEvent(option, "click"), - await wait(this.config); - } - else { - if (1 !== selectedOptions.length) - throw getConfig2().getElementError( - "Cannot select multiple options on a non-multiple select", - select, - ); - { - let withPointerEvents = - 0 === this.config.pointerEventsCheck || - hasPointerEvents(this, select); - withPointerEvents - ? await this.click(select) - : focusElement(select), - selectOption(selectedOptions[0]), - withPointerEvents && - (this.dispatchUIEvent(select, "pointerover"), - this.dispatchUIEvent(select, "pointerenter"), - this.dispatchUIEvent(select, "mouseover"), - this.dispatchUIEvent(select, "mouseenter"), - this.dispatchUIEvent(select, "pointerup"), - this.dispatchUIEvent(select, "mouseup"), - this.dispatchUIEvent(select, "click")), - await wait(this.config); - } - } - else { - if ("listbox" !== select.getAttribute("role")) - throw getConfig2().getElementError( - "Cannot select options on elements that are neither select nor listbox elements", - select, - ); - for (let option of selectedOptions) - await this.click(option), await this.unhover(option); - } - } - var fakeFiles = Symbol("files and value properties are mocked"); - function restoreProperty(obj, prop, descriptor) { - descriptor - ? Object.defineProperty(obj, prop, descriptor) - : delete obj[prop]; - } - var userEventApi = { - click: async function click(element) { - let pointerIn = []; - return ( - this.config.skipHover || pointerIn.push({ target: element }), - pointerIn.push({ keys: "[MouseLeft]", target: element }), - this.pointer(pointerIn) - ); - }, - dblClick: async function dblClick(element) { - return this.pointer([ - { target: element }, - "[MouseLeft][MouseLeft]", - ]); - }, - tripleClick: async function tripleClick(element) { - return this.pointer([ - { target: element }, - "[MouseLeft][MouseLeft][MouseLeft]", - ]); - }, - hover: async function hover(element) { - return this.pointer({ target: element }); - }, - unhover: async function unhover(element) { - return ( - assertPointerEvents( - this, - this.system.pointer.getMouseTarget(this), - ), - this.pointer({ target: element.ownerDocument.body }) - ); - }, - tab: async function tab({ shift } = {}) { - return this.keyboard( - !0 === shift - ? "{Shift>}{Tab}{/Shift}" - : !1 === shift - ? "[/ShiftLeft][/ShiftRight]{Tab}" - : "{Tab}", - ); - }, - keyboard: async function keyboard(text) { - let actions = (function parseKeyDef(keyboardMap, text) { - let defs = []; - do { - let { - type: type5, - descriptor, - consumedLength, - releasePrevious, - releaseSelf = !0, - repeat, - } = readNextDescriptor(text, "keyboard"); - var _keyboardMap_find; - let keyDef = - null !== - (_keyboardMap_find = keyboardMap.find((def) => { - var _def_code, _def_key; - return "[" === type5 - ? (null === (_def_code = def.code) || - void 0 === _def_code - ? void 0 - : _def_code.toLowerCase()) === - descriptor.toLowerCase() - : "{" === type5 - ? (null === (_def_key = def.key) || - void 0 === _def_key - ? void 0 - : _def_key.toLowerCase()) === - descriptor.toLowerCase() - : def.key === descriptor; - })) && void 0 !== _keyboardMap_find - ? _keyboardMap_find - : { - key: "Unknown", - code: "Unknown", - ["[" === type5 ? "code" : "key"]: descriptor, - }; - defs.push({ keyDef, releasePrevious, releaseSelf, repeat }), - (text = text.slice(consumedLength)); - } while (text); - return defs; - })(this.config.keyboardMap, text); - for (let i = 0; i < actions.length; i++) - await wait(this.config), await keyboardAction(this, actions[i]); - }, - copy: async function copy() { - let doc = this.config.document; - var _doc_activeElement; - let target = - null !== (_doc_activeElement = doc.activeElement) && - void 0 !== _doc_activeElement - ? _doc_activeElement - : doc.body, - clipboardData = copySelection(target); - if (0 !== clipboardData.items.length) - return ( - this.dispatchUIEvent(target, "copy", { clipboardData }) && - this.config.writeToClipboard && - (await writeDataTransferToClipboard(doc, clipboardData)), - clipboardData - ); - }, - cut: async function cut() { - let doc = this.config.document; - var _doc_activeElement; - let target = - null !== (_doc_activeElement = doc.activeElement) && - void 0 !== _doc_activeElement - ? _doc_activeElement - : doc.body, - clipboardData = copySelection(target); - if (0 !== clipboardData.items.length) - return ( - this.dispatchUIEvent(target, "cut", { clipboardData }) && - this.config.writeToClipboard && - (await writeDataTransferToClipboard( - target.ownerDocument, - clipboardData, - )), - clipboardData - ); - }, - paste: async function paste(clipboardData) { - let doc = this.config.document; - var _doc_activeElement; - let target = - null !== (_doc_activeElement = doc.activeElement) && - void 0 !== _doc_activeElement - ? _doc_activeElement - : doc.body; - var _ref; - let dataTransfer = - null !== - (_ref = - "string" == typeof clipboardData - ? (function getClipboardDataFromString(doc, text) { - let dt = createDataTransfer(getWindow(doc)); - return dt.setData("text", text), dt; - })(doc, clipboardData) - : clipboardData) && void 0 !== _ref - ? _ref - : await (async function readDataTransferFromClipboard( - document2, - ) { - let window2 = document2.defaultView, - clipboard = window2?.navigator.clipboard, - items = clipboard && (await clipboard.read()); - if (!items) - throw new Error("The Clipboard API is unavailable."); - let dt = createDataTransfer(window2); - for (let item of items) - for (let type5 of item.types) - dt.setData( - type5, - await item - .getType(type5) - .then((b) => readBlobText(b, window2.FileReader)), - ); - return dt; - })(doc).catch(() => { - throw new Error( - "`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.", - ); - }); - this.dispatchUIEvent(target, "paste", { - clipboardData: dataTransfer, - }); - }, - pointer: async function pointer(input2) { - let { pointerMap } = this.config, - actions = []; - (Array.isArray(input2) ? input2 : [input2]).forEach( - (actionInput) => { - "string" == typeof actionInput - ? actions.push(...parseKeyDef2(pointerMap, actionInput)) - : "keys" in actionInput - ? actions.push( - ...parseKeyDef2(pointerMap, actionInput.keys).map( - (i) => ({ ...actionInput, ...i }), - ), - ) - : actions.push(actionInput); - }, - ); - for (let i = 0; i < actions.length; i++) - await wait(this.config), await pointerAction(this, actions[i]); - this.system.pointer.resetClickCount(); - }, - clear: async function clear(element) { - if (!isEditable(element) || isDisabled2(element)) - throw new Error( - "clear()` is only supported on editable elements.", - ); - if ( - (focusElement(element), - element.ownerDocument.activeElement !== element) - ) - throw new Error( - "The element to be cleared could not be focused.", - ); - if ( - (selectAll(element), - !(function isAllSelected(target) { - if (hasOwnSelection(target)) - return ( - 0 === getUISelection(target).startOffset && - getUISelection(target).endOffset === - getUIValue(target).length - ); - var _getContentEditable; - let focusNode = - null !== - (_getContentEditable = getContentEditable(target)) && - void 0 !== _getContentEditable - ? _getContentEditable - : target.ownerDocument.body, - selection = target.ownerDocument.getSelection(); - return ( - selection?.anchorNode === focusNode && - selection.focusNode === focusNode && - 0 === selection.anchorOffset && - selection.focusOffset === focusNode.childNodes.length - ); - })(element)) - ) - throw new Error( - "The element content to be cleared could not be selected.", - ); - input(this, element, "", "deleteContentBackward"); - }, - deselectOptions: async function deselectOptions(select, values) { - return selectOptionsBase.call(this, !1, select, values); - }, - selectOptions: async function selectOptions(select, values) { - return selectOptionsBase.call(this, !0, select, values); - }, - type: async function type3( - element, - text, - { - skipClick = this.config.skipClick, - skipAutoClose = this.config.skipAutoClose, - initialSelectionStart, - initialSelectionEnd, - } = {}, - ) { - element.disabled || - (skipClick || (await this.click(element)), - void 0 !== initialSelectionStart && - setSelectionRange( - element, - initialSelectionStart, - initialSelectionEnd ?? initialSelectionStart, - ), - await this.keyboard(text), - skipAutoClose || - (await (async function releaseAllKeys(instance) { - for (let k2 of instance.system.keyboard.getPressedKeys()) - await instance.system.keyboard.keyup(instance, k2); - })(this))); - }, - upload: async function upload(element, fileOrFiles) { - let input2 = isElementType(element, "label") - ? element.control - : element; - if (!input2 || !isElementType(input2, "input", { type: "file" })) - throw new TypeError( - `The ${input2 === element ? "given" : "associated"} ${input2?.tagName} element does not accept file uploads`, - ); - if (isDisabled2(element)) return; - let files = ( - Array.isArray(fileOrFiles) ? fileOrFiles : [fileOrFiles] - ) - .filter( - (file) => - !this.config.applyAccept || - (function isAcceptableFile(file, accept) { - if (!accept) return !0; - let wildcards = ["audio/*", "image/*", "video/*"]; - return accept - .split(",") - .some((acceptToken) => - acceptToken.startsWith(".") - ? file.name.endsWith(acceptToken) - : wildcards.includes(acceptToken) - ? file.type.startsWith( - acceptToken.substr(0, acceptToken.length - 1), - ) - : file.type === acceptToken, - ); - })(file, input2.accept), - ) - .slice(0, input2.multiple ? void 0 : 1), - fileDialog = () => { - var _input_files; - (files.length === - (null === (_input_files = input2.files) || - void 0 === _input_files - ? void 0 - : _input_files.length) && - files.every((f4, i) => { - var _input_files2; - return ( - f4 === - (null === (_input_files2 = input2.files) || - void 0 === _input_files2 - ? void 0 - : _input_files2.item(i)) - ); - })) || - ((function setFiles(el, files) { - var _el_fakeFiles; - null === (_el_fakeFiles = el[fakeFiles]) || - void 0 === _el_fakeFiles || - _el_fakeFiles.restore(); - let typeDescr = Object.getOwnPropertyDescriptor(el, "type"), - valueDescr = Object.getOwnPropertyDescriptor(el, "value"), - filesDescr = Object.getOwnPropertyDescriptor(el, "files"); - function restore() { - restoreProperty(el, "type", typeDescr), - restoreProperty(el, "value", valueDescr), - restoreProperty(el, "files", filesDescr); - } - (el[fakeFiles] = { restore }), - Object.defineProperties(el, { - files: { configurable: !0, get: () => files }, - value: { - configurable: !0, - get: () => - files.length - ? `C:\\fakepath\\${files[0].name}` - : "", - set(v) { - var _valueDescr_set; - "" === v - ? restore() - : null == valueDescr || - null === (_valueDescr_set = valueDescr.set) || - void 0 === _valueDescr_set || - _valueDescr_set.call(el, v); - }, - }, - type: { - configurable: !0, - get: () => "file", - set(v) { - "file" !== v && (restore(), (el.type = v)); - }, - }, - }); - })(input2, createFileList(getWindow(element), files)), - this.dispatchUIEvent(input2, "input"), - this.dispatchUIEvent(input2, "change")); - }; - input2.addEventListener("fileDialog", fileDialog), - await this.click(element), - input2.removeEventListener("fileDialog", fileDialog); - }, - }; - var defaultOptionsDirect = { - applyAccept: !0, - autoModify: !0, - delay: 0, - document: globalThis.document, - keyboardMap: defaultKeyMap, - pointerMap: [ - { name: "MouseLeft", pointerType: "mouse", button: "primary" }, - { name: "MouseRight", pointerType: "mouse", button: "secondary" }, - { - name: "MouseMiddle", - pointerType: "mouse", - button: "auxiliary", - }, - { name: "TouchA", pointerType: "touch" }, - { name: "TouchB", pointerType: "touch" }, - { name: "TouchC", pointerType: "touch" }, - ], - pointerEventsCheck: PointerEventsCheckLevel.EachApiCall, - skipAutoClose: !1, - skipClick: !1, - skipHover: !1, - writeToClipboard: !1, - advanceTimers: () => Promise.resolve(), - }, - defaultOptionsSetup = { - ...defaultOptionsDirect, - writeToClipboard: !0, - }; - function createConfig( - options = {}, - defaults = defaultOptionsSetup, - node, - ) { - let document2 = (function getDocument2(options, node, defaults) { - var _options_document, _ref; - return null !== - (_ref = - null !== (_options_document = options.document) && - void 0 !== _options_document - ? _options_document - : node && - (function getDocumentFromNode(el) { - return (function isDocument2(node) { - return 9 === node.nodeType; - })(el) - ? el - : el.ownerDocument; - })(node)) && void 0 !== _ref - ? _ref - : defaults.document; - })(options, node, defaults); - return { ...defaults, ...options, document: document2 }; - } - function setupDirect( - { keyboardState, pointerState, ...options } = {}, - node, - ) { - let config3 = createConfig(options, defaultOptionsDirect, node); - var _ref; - prepareDocument(config3.document); - let system = - null !== (_ref = pointerState ?? keyboardState) && void 0 !== _ref - ? _ref - : new System(); - return { api: createInstance(config3, system).api, system }; - } - function setupSub(options) { - return createInstance({ ...this.config, ...options }, this.system) - .api; - } - function wrapAndBindImpl(instance, impl) { - function method(...args) { - return ( - setLevelRef(instance, ApiLevel.Call), - (function wrapAsync(implementation) { - return getConfig2().asyncWrapper(implementation); - })(() => - impl - .apply(instance, args) - .then(async (ret) => (await wait(instance.config), ret)), - ) - ); - } - return ( - Object.defineProperty(method, "name", { get: () => impl.name }), - method - ); - } - function createInstance(config3, system = new System()) { - let instance = {}; - return ( - Object.assign(instance, { - config: config3, - dispatchEvent: dispatchEvent.bind(instance), - dispatchUIEvent: dispatchUIEvent.bind(instance), - system, - levelRefs: {}, - ...userEventApi, - }), - { - instance, - api: { - ...Object.fromEntries( - Object.entries(userEventApi).map(([name, api]) => [ - name, - wrapAndBindImpl(instance, api), - ]), - ), - setup: setupSub.bind(instance), - }, - } - ); - } - var directApi_exports = {}; - function clear2(element) { - return setupDirect().api.clear(element); - } - function click2(element, options = {}) { - return setupDirect(options, element).api.click(element); - } - function copy2(options = {}) { - return setupDirect(options).api.copy(); - } - function cut2(options = {}) { - return setupDirect(options).api.cut(); - } - function dblClick2(element, options = {}) { - return setupDirect(options).api.dblClick(element); - } - function deselectOptions2(select, values, options = {}) { - return setupDirect(options).api.deselectOptions(select, values); - } - function hover2(element, options = {}) { - return setupDirect(options).api.hover(element); - } - async function keyboard2(text, options = {}) { - let { api, system } = setupDirect(options); - return api.keyboard(text).then(() => system); - } - async function pointer2(input2, options = {}) { - let { api, system } = setupDirect(options); - return api.pointer(input2).then(() => system); - } - function paste2(clipboardData, options) { - return setupDirect(options).api.paste(clipboardData); - } - function selectOptions2(select, values, options = {}) { - return setupDirect(options).api.selectOptions(select, values); - } - function tripleClick2(element, options = {}) { - return setupDirect(options).api.tripleClick(element); - } - function type4(element, text, options = {}) { - return setupDirect(options, element).api.type(element, text, options); - } - function unhover2(element, options = {}) { - let { api, system } = setupDirect(options); - return ( - system.pointer.setMousePosition({ target: element }), - api.unhover(element) - ); - } - function upload2(element, fileOrFiles, options = {}) { - return setupDirect(options).api.upload(element, fileOrFiles); - } - function tab2(options = {}) { - return setupDirect().api.tab(options); - } - __export(directApi_exports, { - clear: () => clear2, - click: () => click2, - copy: () => copy2, - cut: () => cut2, - dblClick: () => dblClick2, - deselectOptions: () => deselectOptions2, - hover: () => hover2, - keyboard: () => keyboard2, - paste: () => paste2, - pointer: () => pointer2, - selectOptions: () => selectOptions2, - tab: () => tab2, - tripleClick: () => tripleClick2, - type: () => type4, - unhover: () => unhover2, - upload: () => upload2, - }); - var userEvent = { - ...directApi_exports, - setup: function setupMain(options = {}) { - let config3 = createConfig(options); - var _config_document_defaultView; - return ( - prepareDocument(config3.document), - (function attachClipboardStubToView(window2) { - if (isClipboardStub(window2.navigator.clipboard)) - return window2.navigator.clipboard[ClipboardStubControl]; - let stub, - realClipboard = Object.getOwnPropertyDescriptor( - window2.navigator, - "clipboard", - ), - control = { - resetClipboardStub: () => { - stub = createClipboardStub(window2, control); - }, - detachClipboardStub: () => { - realClipboard - ? Object.defineProperty( - window2.navigator, - "clipboard", - realClipboard, - ) - : Object.defineProperty( - window2.navigator, - "clipboard", - { value: void 0, configurable: !0 }, - ); - }, - }; - return ( - (stub = createClipboardStub(window2, control)), - Object.defineProperty(window2.navigator, "clipboard", { - get: () => stub, - configurable: !0, - }), - stub[ClipboardStubControl] - ); - })( - null !== - (_config_document_defaultView = - config3.document.defaultView) && - void 0 !== _config_document_defaultView - ? _config_document_defaultView - : globalThis.window, - ), - createInstance(config3).api - ); - }, - }; - var esm_default = function dedent(templ) { - for (var values = [], _i = 1; _i < arguments.length; _i++) - values[_i - 1] = arguments[_i]; - var strings = Array.from( - "string" == typeof templ ? [templ] : templ, - ); - strings[strings.length - 1] = strings[strings.length - 1].replace( - /\r?\n([\t ]*)$/, - "", - ); - var indentLengths = strings.reduce(function (arr, str) { - var matches3 = str.match(/\n([\t ]+|(?!\s).)/g); - return matches3 - ? arr.concat( - matches3.map(function (match) { - var _a2, _b; - return null !== - (_b = - null === (_a2 = match.match(/[\t ]/g)) || - void 0 === _a2 - ? void 0 - : _a2.length) && void 0 !== _b - ? _b - : 0; - }), - ) - : arr; - }, []); - if (indentLengths.length) { - var pattern_1 = new RegExp( - "\n[\t ]{" + Math.min.apply(Math, indentLengths) + "}", - "g", - ); - strings = strings.map(function (str) { - return str.replace(pattern_1, "\n"); - }); - } - strings[0] = strings[0].replace(/^\r?\n/, ""); - var string = strings[0]; - return ( - values.forEach(function (value, i) { - var endentations = string.match(/(?:^|\n)( *)$/), - endentation = endentations ? endentations[1] : "", - indentedValue = value; - "string" == typeof value && - value.includes("\n") && - (indentedValue = String(value) - .split("\n") - .map(function (str, i2) { - return 0 === i2 ? str : "" + endentation + str; - }) - .join("\n")), - (string += indentedValue + strings[i + 1]); - }), - string - ); - }, - testingLibrary = (0, - _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_2__.wV)( - { ...dom_esm_exports }, - { - intercept: (method, path) => - "fireEvent" === path[0] || - method.startsWith("find") || - method.startsWith("waitFor"), - }, - ); - testingLibrary.screen = new Proxy(testingLibrary.screen, { - get: (target, prop, receiver) => ( - storybook_internal_client_logger__WEBPACK_IMPORTED_MODULE_1__.once - .warn(esm_default` - You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. - More info: https://storybook.js.org/docs/essentials/interactions - `), - Reflect.get(target, prop, receiver) - ), - }); - var { - buildQueries: buildQueries2, - configure: configure2, - createEvent: createEvent3, - fireEvent: fireEvent2, - findAllByAltText: findAllByAltText2, - findAllByDisplayValue: findAllByDisplayValue2, - findAllByLabelText: findAllByLabelText2, - findAllByPlaceholderText: findAllByPlaceholderText2, - findAllByRole: findAllByRole2, - findAllByTestId: findAllByTestId2, - findAllByText: findAllByText2, - findAllByTitle: findAllByTitle2, - findByAltText: findByAltText2, - findByDisplayValue: findByDisplayValue2, - findByLabelText: findByLabelText2, - findByPlaceholderText: findByPlaceholderText2, - findByRole: findByRole2, - findByTestId: findByTestId2, - findByText: findByText2, - findByTitle: findByTitle2, - getAllByAltText: getAllByAltText2, - getAllByDisplayValue: getAllByDisplayValue2, - getAllByLabelText: getAllByLabelText2, - getAllByPlaceholderText: getAllByPlaceholderText2, - getAllByRole: getAllByRole2, - getAllByTestId: getAllByTestId2, - getAllByText: getAllByText2, - getAllByTitle: getAllByTitle2, - getByAltText: getByAltText2, - getByDisplayValue: getByDisplayValue2, - getByLabelText: getByLabelText2, - getByPlaceholderText: getByPlaceholderText2, - getByRole: getByRole2, - getByTestId: getByTestId2, - getByText: getByText2, - getByTitle: getByTitle2, - getConfig: getConfig3, - getDefaultNormalizer: getDefaultNormalizer2, - getElementError: getElementError2, - getNodeText: getNodeText2, - getQueriesForElement: getQueriesForElement2, - getRoles: getRoles2, - getSuggestedQuery: getSuggestedQuery2, - isInaccessible: isInaccessible2, - logDOM: logDOM2, - logRoles: logRoles2, - prettyDOM: prettyDOM2, - queries: queries2, - queryAllByAltText: queryAllByAltText2, - queryAllByAttribute: queryAllByAttribute2, - queryAllByDisplayValue: queryAllByDisplayValue2, - queryAllByLabelText: queryAllByLabelText2, - queryAllByPlaceholderText: queryAllByPlaceholderText2, - queryAllByRole: queryAllByRole2, - queryAllByTestId: queryAllByTestId2, - queryAllByText: queryAllByText2, - queryAllByTitle: queryAllByTitle2, - queryByAltText: queryByAltText2, - queryByAttribute: queryByAttribute2, - queryByDisplayValue: queryByDisplayValue2, - queryByLabelText: queryByLabelText2, - queryByPlaceholderText: queryByPlaceholderText2, - queryByRole: queryByRole2, - queryByTestId: queryByTestId2, - queryByText: queryByText2, - queryByTitle: queryByTitle2, - queryHelpers: queryHelpers2, - screen: screen2, - waitFor: waitFor2, - waitForElementToBeRemoved: waitForElementToBeRemoved2, - within, - prettyFormat: prettyFormat2, - } = testingLibrary, - { userEvent: userEvent2 } = (0, - _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_2__.wV)( - { userEvent }, - { intercept: !0 }, - ), - { expect: expect3 } = (0, - _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_2__.wV)( - { expect: expect2 }, - { - getKeys: (obj, depth) => { - let privateApi = ["assert", "__methods", "__flags", "_obj"]; - if (obj.constructor === Assertion) { - let keys2 = Object.keys(Object.getPrototypeOf(obj)).filter( - (it) => !privateApi.includes(it), - ); - return depth > 2 ? keys2 : [...keys2, "not"]; - } - return Object.keys(obj); - }, - intercept: (method) => "expect" !== method, - }, - ), - traverseArgs = (value, depth = 0, key) => { - if (depth > 5 || null == value) return value; - if (isMockFunction(value)) return key && value.mockName(key), value; - if ( - "function" == typeof value && - "isAction" in value && - value.isAction && - (!("implicit" in value) || !value.implicit) - ) { - let mock = fn2(value); - return key && mock.mockName(key), mock; - } - if (Array.isArray(value)) - return depth++, value.map((item) => traverseArgs(item, depth)); - if ("object" == typeof value && value.constructor === Object) { - depth++; - for (let [k2, v] of Object.entries(value)) - Object.getOwnPropertyDescriptor(value, k2)?.writable && - (value[k2] = traverseArgs(v, depth, k2)); - return value; - } - return value; - }; - (_storybook_global__WEBPACK_IMPORTED_MODULE_0__.global.__STORYBOOK_TEST_LOADERS__ = - [ - ({ parameters }) => { - !0 === parameters?.test?.mockReset - ? (function resetAllMocks() { - mocks.forEach((spy) => spy.mockReset()); - })() - : !0 === parameters?.test?.clearMocks - ? (function clearAllMocks() { - mocks.forEach((spy) => spy.mockClear()); - })() - : !1 !== parameters?.test?.restoreMocks && - (function restoreAllMocks() { - mocks.forEach((spy) => spy.mockRestore()); - })(); - }, - ({ initialArgs }) => { - traverseArgs(initialArgs); - }, - (context) => { - globalThis.HTMLElement && - context.canvasElement instanceof globalThis.HTMLElement && - (context.canvas = within(context.canvasElement)); - }, - ]), - (_storybook_global__WEBPACK_IMPORTED_MODULE_0__.global.__STORYBOOK_TEST_ON_MOCK_CALL__ = - function onMockCall(callback) { - return ( - listeners.add(callback), - () => { - listeners.delete(callback); - } - ); - }); - }, - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ), - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ); - function _typeof(o) { - return ( - (_typeof = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (o) { - return typeof o; - } - : function (o) { - return o && - "function" == typeof Symbol && - o.constructor === Symbol && - o !== Symbol.prototype - ? "symbol" - : typeof o; - }), - _typeof(o) - ); - } - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - (descriptor.enumerable = descriptor.enumerable || !1), - (descriptor.configurable = !0), - "value" in descriptor && (descriptor.writable = !0), - Object.defineProperty( - target, - ((arg = descriptor.key), - (key = void 0), - (key = (function _toPrimitive(input, hint) { - if ("object" !== _typeof(input) || null === input) return input; - var prim = input[Symbol.toPrimitive]; - if (void 0 !== prim) { - var res = prim.call(input, hint || "default"); - if ("object" !== _typeof(res)) return res; - throw new TypeError( - "@@toPrimitive must return a primitive value.", - ); - } - return ("string" === hint ? String : Number)(input); - })(arg, "string")), - "symbol" === _typeof(key) ? key : String(key)), - descriptor, - ); - } - var arg, key; - } - function _createClass(Constructor, protoProps, staticProps) { - return ( - protoProps && _defineProperties(Constructor.prototype, protoProps), - staticProps && _defineProperties(Constructor, staticProps), - Object.defineProperty(Constructor, "prototype", { writable: !1 }), - Constructor - ); - } - var isDeepEqual, - isDeepStrictEqual, - _require$codes = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/errors.js", - ).codes, - ERR_AMBIGUOUS_ARGUMENT = _require$codes.ERR_AMBIGUOUS_ARGUMENT, - ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, - ERR_INVALID_ARG_VALUE = _require$codes.ERR_INVALID_ARG_VALUE, - ERR_INVALID_RETURN_VALUE = _require$codes.ERR_INVALID_RETURN_VALUE, - ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS, - AssertionError = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/assert/assertion_error.js", - ), - inspect = __webpack_require__( - "../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js", - ).inspect, - _require$types = __webpack_require__( - "../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js", - ).types, - isPromise = _require$types.isPromise, - isRegExp = _require$types.isRegExp, - objectAssign = __webpack_require__( - "../node_modules/.pnpm/object.assign@4.1.4/node_modules/object.assign/polyfill.js", - )(), - objectIs = __webpack_require__( - "../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/polyfill.js", - )(), - RegExpPrototypeTest = __webpack_require__( - "../node_modules/.pnpm/call-bind@1.0.5/node_modules/call-bind/callBound.js", - )("RegExp.prototype.test"); - new Map(); - function lazyLoadComparison() { - var comparison = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/util/comparisons.js", - ); - (isDeepEqual = comparison.isDeepEqual), - (isDeepStrictEqual = comparison.isDeepStrictEqual); - } - var warned = !1, - assert = (module.exports = ok), - NO_EXCEPTION_SENTINEL = {}; - function innerFail(obj) { - if (obj.message instanceof Error) throw obj.message; - throw new AssertionError(obj); - } - function innerOk(fn, argLen, value, message) { - if (!value) { - var generatedMessage = !1; - if (0 === argLen) - (generatedMessage = !0), - (message = "No value argument passed to `assert.ok()`"); - else if (message instanceof Error) throw message; - var err = new AssertionError({ - actual: value, - expected: !0, - message, - operator: "==", - stackStartFn: fn, - }); - throw ((err.generatedMessage = generatedMessage), err); - } - } - function ok() { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - innerOk.apply(void 0, [ok, args.length].concat(args)); - } - (assert.fail = function fail( - actual, - expected, - message, - operator, - stackStartFn, - ) { - var internalMessage, - argsLen = arguments.length; - if (0 === argsLen) internalMessage = "Failed"; - else if (1 === argsLen) (message = actual), (actual = void 0); - else { - if (!1 === warned) - (warned = !0), - (process.emitWarning - ? process.emitWarning - : console.warn.bind(console))( - "assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.", - "DeprecationWarning", - "DEP0094", - ); - 2 === argsLen && (operator = "!="); - } - if (message instanceof Error) throw message; - var errArgs = { - actual, - expected, - operator: void 0 === operator ? "fail" : operator, - stackStartFn: stackStartFn || fail, - }; - void 0 !== message && (errArgs.message = message); - var err = new AssertionError(errArgs); - throw ( - (internalMessage && - ((err.message = internalMessage), (err.generatedMessage = !0)), - err) - ); - }), - (assert.AssertionError = AssertionError), - (assert.ok = ok), - (assert.equal = function equal(actual, expected, message) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - actual != expected && - innerFail({ - actual, - expected, - message, - operator: "==", - stackStartFn: equal, - }); - }), - (assert.notEqual = function notEqual(actual, expected, message) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - actual == expected && - innerFail({ - actual, - expected, - message, - operator: "!=", - stackStartFn: notEqual, - }); - }), - (assert.deepEqual = function deepEqual(actual, expected, message) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - void 0 === isDeepEqual && lazyLoadComparison(), - isDeepEqual(actual, expected) || - innerFail({ - actual, - expected, - message, - operator: "deepEqual", - stackStartFn: deepEqual, - }); - }), - (assert.notDeepEqual = function notDeepEqual( - actual, - expected, - message, - ) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - void 0 === isDeepEqual && lazyLoadComparison(), - isDeepEqual(actual, expected) && - innerFail({ - actual, - expected, - message, - operator: "notDeepEqual", - stackStartFn: notDeepEqual, - }); - }), - (assert.deepStrictEqual = function deepStrictEqual( - actual, - expected, - message, - ) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - void 0 === isDeepEqual && lazyLoadComparison(), - isDeepStrictEqual(actual, expected) || - innerFail({ - actual, - expected, - message, - operator: "deepStrictEqual", - stackStartFn: deepStrictEqual, - }); - }), - (assert.notDeepStrictEqual = function notDeepStrictEqual( - actual, - expected, - message, - ) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - void 0 === isDeepEqual && lazyLoadComparison(); - isDeepStrictEqual(actual, expected) && - innerFail({ - actual, - expected, - message, - operator: "notDeepStrictEqual", - stackStartFn: notDeepStrictEqual, - }); - }), - (assert.strictEqual = function strictEqual(actual, expected, message) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - objectIs(actual, expected) || - innerFail({ - actual, - expected, - message, - operator: "strictEqual", - stackStartFn: strictEqual, - }); - }), - (assert.notStrictEqual = function notStrictEqual( - actual, - expected, - message, - ) { - if (arguments.length < 2) - throw new ERR_MISSING_ARGS("actual", "expected"); - objectIs(actual, expected) && - innerFail({ - actual, - expected, - message, - operator: "notStrictEqual", - stackStartFn: notStrictEqual, - }); - }); - var Comparison = _createClass(function Comparison(obj, keys, actual) { - var _this = this; - !(function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) - throw new TypeError("Cannot call a class as a function"); - })(this, Comparison), - keys.forEach(function (key) { - key in obj && - (void 0 !== actual && - "string" == typeof actual[key] && - isRegExp(obj[key]) && - RegExpPrototypeTest(obj[key], actual[key]) - ? (_this[key] = actual[key]) - : (_this[key] = obj[key])); - }); - }); - function expectedException(actual, expected, msg, fn) { - if ("function" != typeof expected) { - if (isRegExp(expected)) return RegExpPrototypeTest(expected, actual); - if (2 === arguments.length) - throw new ERR_INVALID_ARG_TYPE( - "expected", - ["Function", "RegExp"], - expected, - ); - if ("object" !== _typeof(actual) || null === actual) { - var err = new AssertionError({ - actual, - expected, - message: msg, - operator: "deepStrictEqual", - stackStartFn: fn, - }); - throw ((err.operator = fn.name), err); - } - var keys = Object.keys(expected); - if (expected instanceof Error) keys.push("name", "message"); - else if (0 === keys.length) - throw new ERR_INVALID_ARG_VALUE( - "error", - expected, - "may not be an empty object", - ); - return ( - void 0 === isDeepEqual && lazyLoadComparison(), - keys.forEach(function (key) { - ("string" == typeof actual[key] && - isRegExp(expected[key]) && - RegExpPrototypeTest(expected[key], actual[key])) || - (function compareExceptionKey( - actual, - expected, - key, - message, - keys, - fn, - ) { - if ( - !(key in actual) || - !isDeepStrictEqual(actual[key], expected[key]) - ) { - if (!message) { - var a = new Comparison(actual, keys), - b = new Comparison(expected, keys, actual), - err = new AssertionError({ - actual: a, - expected: b, - operator: "deepStrictEqual", - stackStartFn: fn, - }); - throw ( - ((err.actual = actual), - (err.expected = expected), - (err.operator = fn.name), - err) - ); - } - innerFail({ - actual, - expected, - message, - operator: fn.name, - stackStartFn: fn, - }); - } - })(actual, expected, key, msg, keys, fn); - }), - !0 - ); - } - return ( - (void 0 !== expected.prototype && actual instanceof expected) || - (!Error.isPrototypeOf(expected) && !0 === expected.call({}, actual)) - ); - } - function getActual(fn) { - if ("function" != typeof fn) - throw new ERR_INVALID_ARG_TYPE("fn", "Function", fn); - try { - fn(); - } catch (e) { - return e; - } - return NO_EXCEPTION_SENTINEL; - } - function checkIsPromise(obj) { - return ( - isPromise(obj) || - (null !== obj && - "object" === _typeof(obj) && - "function" == typeof obj.then && - "function" == typeof obj.catch) - ); - } - function waitForActual(promiseFn) { - return Promise.resolve().then(function () { - var resultPromise; - if ("function" == typeof promiseFn) { - if (!checkIsPromise((resultPromise = promiseFn()))) - throw new ERR_INVALID_RETURN_VALUE( - "instance of Promise", - "promiseFn", - resultPromise, - ); - } else { - if (!checkIsPromise(promiseFn)) - throw new ERR_INVALID_ARG_TYPE( - "promiseFn", - ["Function", "Promise"], - promiseFn, - ); - resultPromise = promiseFn; - } - return Promise.resolve() - .then(function () { - return resultPromise; - }) - .then(function () { - return NO_EXCEPTION_SENTINEL; - }) - .catch(function (e) { - return e; - }); - }); - } - function expectsError(stackStartFn, actual, error, message) { - if ("string" == typeof error) { - if (4 === arguments.length) - throw new ERR_INVALID_ARG_TYPE( - "error", - ["Object", "Error", "Function", "RegExp"], - error, - ); - if ("object" === _typeof(actual) && null !== actual) { - if (actual.message === error) - throw new ERR_AMBIGUOUS_ARGUMENT( - "error/message", - 'The error message "'.concat( - actual.message, - '" is identical to the message.', - ), - ); - } else if (actual === error) - throw new ERR_AMBIGUOUS_ARGUMENT( - "error/message", - 'The error "'.concat(actual, '" is identical to the message.'), - ); - (message = error), (error = void 0); - } else if ( - null != error && - "object" !== _typeof(error) && - "function" != typeof error - ) - throw new ERR_INVALID_ARG_TYPE( - "error", - ["Object", "Error", "Function", "RegExp"], - error, - ); - if (actual === NO_EXCEPTION_SENTINEL) { - var details = ""; - error && error.name && (details += " (".concat(error.name, ")")), - (details += message ? ": ".concat(message) : "."); - var fnType = - "rejects" === stackStartFn.name ? "rejection" : "exception"; - innerFail({ - actual: void 0, - expected: error, - operator: stackStartFn.name, - message: "Missing expected ".concat(fnType).concat(details), - stackStartFn, - }); - } - if (error && !expectedException(actual, error, message, stackStartFn)) - throw actual; - } - function expectsNoError(stackStartFn, actual, error, message) { - if (actual !== NO_EXCEPTION_SENTINEL) { - if ( - ("string" == typeof error && ((message = error), (error = void 0)), - !error || expectedException(actual, error)) - ) { - var details = message ? ": ".concat(message) : ".", - fnType = - "doesNotReject" === stackStartFn.name - ? "rejection" - : "exception"; - innerFail({ - actual, - expected: error, - operator: stackStartFn.name, - message: - "Got unwanted ".concat(fnType).concat(details, "\n") + - 'Actual message: "'.concat(actual && actual.message, '"'), - stackStartFn, - }); - } - throw actual; - } - } - function internalMatch(string, regexp, message, fn, fnName) { - if (!isRegExp(regexp)) - throw new ERR_INVALID_ARG_TYPE("regexp", "RegExp", regexp); - var match = "match" === fnName; - if ( - "string" != typeof string || - RegExpPrototypeTest(regexp, string) !== match - ) { - if (message instanceof Error) throw message; - var generatedMessage = !message; - message = - message || - ("string" != typeof string - ? 'The "string" argument must be of type string. Received type ' + - "".concat(_typeof(string), " (").concat(inspect(string), ")") - : (match - ? "The input did not match the regular expression " - : "The input was expected to not match the regular expression ") + - "" - .concat(inspect(regexp), ". Input:\n\n") - .concat(inspect(string), "\n")); - var err = new AssertionError({ - actual: string, - expected: regexp, - message, - operator: fnName, - stackStartFn: fn, - }); - throw ((err.generatedMessage = generatedMessage), err); - } - } - function strict() { - for ( - var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; - _key6 < _len6; - _key6++ - ) - args[_key6] = arguments[_key6]; - innerOk.apply(void 0, [strict, args.length].concat(args)); - } - (assert.throws = function throws(promiseFn) { - for ( - var _len2 = arguments.length, - args = new Array(_len2 > 1 ? _len2 - 1 : 0), - _key2 = 1; - _key2 < _len2; - _key2++ - ) - args[_key2 - 1] = arguments[_key2]; - expectsError.apply(void 0, [throws, getActual(promiseFn)].concat(args)); - }), - (assert.rejects = function rejects(promiseFn) { - for ( - var _len3 = arguments.length, - args = new Array(_len3 > 1 ? _len3 - 1 : 0), - _key3 = 1; - _key3 < _len3; - _key3++ - ) - args[_key3 - 1] = arguments[_key3]; - return waitForActual(promiseFn).then(function (result) { - return expectsError.apply(void 0, [rejects, result].concat(args)); - }); - }), - (assert.doesNotThrow = function doesNotThrow(fn) { - for ( - var _len4 = arguments.length, - args = new Array(_len4 > 1 ? _len4 - 1 : 0), - _key4 = 1; - _key4 < _len4; - _key4++ - ) - args[_key4 - 1] = arguments[_key4]; - expectsNoError.apply( - void 0, - [doesNotThrow, getActual(fn)].concat(args), - ); - }), - (assert.doesNotReject = function doesNotReject(fn) { - for ( - var _len5 = arguments.length, - args = new Array(_len5 > 1 ? _len5 - 1 : 0), - _key5 = 1; - _key5 < _len5; - _key5++ - ) - args[_key5 - 1] = arguments[_key5]; - return waitForActual(fn).then(function (result) { - return expectsNoError.apply( - void 0, - [doesNotReject, result].concat(args), - ); - }); - }), - (assert.ifError = function ifError(err) { - if (null != err) { - var message = "ifError got unwanted exception: "; - "object" === _typeof(err) && "string" == typeof err.message - ? 0 === err.message.length && err.constructor - ? (message += err.constructor.name) - : (message += err.message) - : (message += inspect(err)); - var newErr = new AssertionError({ - actual: err, - expected: null, - operator: "ifError", - message, - stackStartFn: ifError, - }), - origStack = err.stack; - if ("string" == typeof origStack) { - var tmp2 = origStack.split("\n"); - tmp2.shift(); - for ( - var tmp1 = newErr.stack.split("\n"), i = 0; - i < tmp2.length; - i++ - ) { - var pos = tmp1.indexOf(tmp2[i]); - if (-1 !== pos) { - tmp1 = tmp1.slice(0, pos); - break; - } - } - newErr.stack = "" - .concat(tmp1.join("\n"), "\n") - .concat(tmp2.join("\n")); - } - throw newErr; - } - }), - (assert.match = function match(string, regexp, message) { - internalMatch(string, regexp, message, match, "match"); - }), - (assert.doesNotMatch = function doesNotMatch(string, regexp, message) { - internalMatch(string, regexp, message, doesNotMatch, "doesNotMatch"); - }), - (assert.strict = objectAssign(strict, assert, { - equal: assert.strictEqual, - deepEqual: assert.deepStrictEqual, - notEqual: assert.notStrictEqual, - notDeepEqual: assert.notDeepStrictEqual, - })), - (assert.strict.strict = assert.strict); - }, - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/assert/assertion_error.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - function ownKeys(e, r) { - var t = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - r && - (o = o.filter(function (r) { - return Object.getOwnPropertyDescriptor(e, r).enumerable; - })), - t.push.apply(t, o); - } - return t; - } - function _objectSpread(e) { - for (var r = 1; r < arguments.length; r++) { - var t = null != arguments[r] ? arguments[r] : {}; - r % 2 - ? ownKeys(Object(t), !0).forEach(function (r) { - _defineProperty(e, r, t[r]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - e, - Object.getOwnPropertyDescriptors(t), - ) - : ownKeys(Object(t)).forEach(function (r) { - Object.defineProperty( - e, - r, - Object.getOwnPropertyDescriptor(t, r), - ); - }); - } - return e; - } - function _defineProperty(obj, key, value) { - return ( - (key = _toPropertyKey(key)) in obj - ? Object.defineProperty(obj, key, { - value, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (obj[key] = value), - obj - ); - } - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - (descriptor.enumerable = descriptor.enumerable || !1), - (descriptor.configurable = !0), - "value" in descriptor && (descriptor.writable = !0), - Object.defineProperty( - target, - _toPropertyKey(descriptor.key), - descriptor, - ); - } - } - function _toPropertyKey(arg) { - var key = (function _toPrimitive(input, hint) { - if ("object" !== _typeof(input) || null === input) return input; - var prim = input[Symbol.toPrimitive]; - if (void 0 !== prim) { - var res = prim.call(input, hint || "default"); - if ("object" !== _typeof(res)) return res; - throw new TypeError( - "@@toPrimitive must return a primitive value.", - ); - } - return ("string" === hint ? String : Number)(input); - })(arg, "string"); - return "symbol" === _typeof(key) ? key : String(key); - } - function _possibleConstructorReturn(self, call) { - if (call && ("object" === _typeof(call) || "function" == typeof call)) - return call; - if (void 0 !== call) - throw new TypeError( - "Derived constructors may only return object or undefined", - ); - return _assertThisInitialized(self); - } - function _assertThisInitialized(self) { - if (void 0 === self) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return self; - } - function _wrapNativeSuper(Class) { - var _cache = "function" == typeof Map ? new Map() : void 0; - return ( - (_wrapNativeSuper = function _wrapNativeSuper(Class) { - if ( - null === Class || - !(function _isNativeFunction(fn) { - return ( - -1 !== Function.toString.call(fn).indexOf("[native code]") - ); - })(Class) - ) - return Class; - if ("function" != typeof Class) - throw new TypeError( - "Super expression must either be null or a function", - ); - if (void 0 !== _cache) { - if (_cache.has(Class)) return _cache.get(Class); - _cache.set(Class, Wrapper); - } - function Wrapper() { - return _construct( - Class, - arguments, - _getPrototypeOf(this).constructor, - ); - } - return ( - (Wrapper.prototype = Object.create(Class.prototype, { - constructor: { - value: Wrapper, - enumerable: !1, - writable: !0, - configurable: !0, - }, - })), - _setPrototypeOf(Wrapper, Class) - ); - }), - _wrapNativeSuper(Class) - ); - } - function _construct(Parent, args, Class) { - return ( - (_construct = _isNativeReflectConstruct() - ? Reflect.construct.bind() - : function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var instance = new (Function.bind.apply(Parent, a))(); - return ( - Class && _setPrototypeOf(instance, Class.prototype), - instance - ); - }), - _construct.apply(null, arguments) - ); - } - function _isNativeReflectConstruct() { - if ("undefined" == typeof Reflect || !Reflect.construct) return !1; - if (Reflect.construct.sham) return !1; - if ("function" == typeof Proxy) return !0; - try { - return ( - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ), - !0 - ); - } catch (e) { - return !1; - } - } - function _setPrototypeOf(o, p) { - return ( - (_setPrototypeOf = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function _setPrototypeOf(o, p) { - return (o.__proto__ = p), o; - }), - _setPrototypeOf(o, p) - ); - } - function _getPrototypeOf(o) { - return ( - (_getPrototypeOf = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }), - _getPrototypeOf(o) - ); - } - function _typeof(o) { - return ( - (_typeof = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (o) { - return typeof o; - } - : function (o) { - return o && - "function" == typeof Symbol && - o.constructor === Symbol && - o !== Symbol.prototype - ? "symbol" - : typeof o; - }), - _typeof(o) - ); - } - var inspect = __webpack_require__( - "../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js", - ).inspect, - ERR_INVALID_ARG_TYPE = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/errors.js", - ).codes.ERR_INVALID_ARG_TYPE; - function endsWith(str, search, this_len) { - return ( - (void 0 === this_len || this_len > str.length) && - (this_len = str.length), - str.substring(this_len - search.length, this_len) === search - ); - } - var blue = "", - green = "", - red = "", - white = "", - kReadableOperator = { - deepStrictEqual: "Expected values to be strictly deep-equal:", - strictEqual: "Expected values to be strictly equal:", - strictEqualObject: - 'Expected "actual" to be reference-equal to "expected":', - deepEqual: "Expected values to be loosely deep-equal:", - equal: "Expected values to be loosely equal:", - notDeepStrictEqual: - 'Expected "actual" not to be strictly deep-equal to:', - notStrictEqual: 'Expected "actual" to be strictly unequal to:', - notStrictEqualObject: - 'Expected "actual" not to be reference-equal to "expected":', - notDeepEqual: 'Expected "actual" not to be loosely deep-equal to:', - notEqual: 'Expected "actual" to be loosely unequal to:', - notIdentical: "Values identical but not reference-equal:", - }; - function copyError(source) { - var keys = Object.keys(source), - target = Object.create(Object.getPrototypeOf(source)); - return ( - keys.forEach(function (key) { - target[key] = source[key]; - }), - Object.defineProperty(target, "message", { value: source.message }), - target - ); - } - function inspectValue(val) { - return inspect(val, { - compact: !1, - customInspect: !1, - depth: 1e3, - maxArrayLength: 1 / 0, - showHidden: !1, - breakLength: 1 / 0, - showProxy: !1, - sorted: !0, - getters: !0, - }); - } - function createErrDiff(actual, expected, operator) { - var other = "", - res = "", - lastPos = 0, - end = "", - skipped = !1, - actualInspected = inspectValue(actual), - actualLines = actualInspected.split("\n"), - expectedLines = inspectValue(expected).split("\n"), - i = 0, - indicator = ""; - if ( - ("strictEqual" === operator && - "object" === _typeof(actual) && - "object" === _typeof(expected) && - null !== actual && - null !== expected && - (operator = "strictEqualObject"), - 1 === actualLines.length && - 1 === expectedLines.length && - actualLines[0] !== expectedLines[0]) - ) { - var inputLength = actualLines[0].length + expectedLines[0].length; - if (inputLength <= 10) { - if ( - !( - ("object" === _typeof(actual) && null !== actual) || - ("object" === _typeof(expected) && null !== expected) || - (0 === actual && 0 === expected) - ) - ) - return ( - "".concat(kReadableOperator[operator], "\n\n") + - "" - .concat(actualLines[0], " !== ") - .concat(expectedLines[0], "\n") - ); - } else if ("strictEqualObject" !== operator) { - if ( - inputLength < - (process.stderr && process.stderr.isTTY - ? process.stderr.columns - : 80) - ) { - for (; actualLines[0][i] === expectedLines[0][i]; ) i++; - i > 2 && - ((indicator = "\n ".concat( - (function repeat(str, count) { - if ( - ((count = Math.floor(count)), - 0 == str.length || 0 == count) - ) - return ""; - var maxCount = str.length * count; - for ( - count = Math.floor(Math.log(count) / Math.log(2)); - count; - - ) - (str += str), count--; - return str + str.substring(0, maxCount - str.length); - })(" ", i), - "^", - )), - (i = 0)); - } - } - } - for ( - var a = actualLines[actualLines.length - 1], - b = expectedLines[expectedLines.length - 1]; - a === b && - (i++ < 2 ? (end = "\n ".concat(a).concat(end)) : (other = a), - actualLines.pop(), - expectedLines.pop(), - 0 !== actualLines.length && 0 !== expectedLines.length); - - ) - (a = actualLines[actualLines.length - 1]), - (b = expectedLines[expectedLines.length - 1]); - var maxLines = Math.max(actualLines.length, expectedLines.length); - if (0 === maxLines) { - var _actualLines = actualInspected.split("\n"); - if (_actualLines.length > 30) - for ( - _actualLines[26] = "".concat(blue, "...").concat(white); - _actualLines.length > 27; - - ) - _actualLines.pop(); - return "" - .concat(kReadableOperator.notIdentical, "\n\n") - .concat(_actualLines.join("\n"), "\n"); - } - i > 3 && - ((end = "\n".concat(blue, "...").concat(white).concat(end)), - (skipped = !0)), - "" !== other && - ((end = "\n ".concat(other).concat(end)), (other = "")); - var printedLines = 0, - msg = - kReadableOperator[operator] + - "\n" - .concat(green, "+ actual") - .concat(white, " ") - .concat(red, "- expected") - .concat(white), - skippedMsg = " " - .concat(blue, "...") - .concat(white, " Lines skipped"); - for (i = 0; i < maxLines; i++) { - var cur = i - lastPos; - if (actualLines.length < i + 1) - cur > 1 && - i > 2 && - (cur > 4 - ? ((res += "\n".concat(blue, "...").concat(white)), - (skipped = !0)) - : cur > 3 && - ((res += "\n ".concat(expectedLines[i - 2])), - printedLines++), - (res += "\n ".concat(expectedLines[i - 1])), - printedLines++), - (lastPos = i), - (other += "\n" - .concat(red, "-") - .concat(white, " ") - .concat(expectedLines[i])), - printedLines++; - else if (expectedLines.length < i + 1) - cur > 1 && - i > 2 && - (cur > 4 - ? ((res += "\n".concat(blue, "...").concat(white)), - (skipped = !0)) - : cur > 3 && - ((res += "\n ".concat(actualLines[i - 2])), - printedLines++), - (res += "\n ".concat(actualLines[i - 1])), - printedLines++), - (lastPos = i), - (res += "\n" - .concat(green, "+") - .concat(white, " ") - .concat(actualLines[i])), - printedLines++; - else { - var expectedLine = expectedLines[i], - actualLine = actualLines[i], - divergingLines = - actualLine !== expectedLine && - (!endsWith(actualLine, ",") || - actualLine.slice(0, -1) !== expectedLine); - divergingLines && - endsWith(expectedLine, ",") && - expectedLine.slice(0, -1) === actualLine && - ((divergingLines = !1), (actualLine += ",")), - divergingLines - ? (cur > 1 && - i > 2 && - (cur > 4 - ? ((res += "\n".concat(blue, "...").concat(white)), - (skipped = !0)) - : cur > 3 && - ((res += "\n ".concat(actualLines[i - 2])), - printedLines++), - (res += "\n ".concat(actualLines[i - 1])), - printedLines++), - (lastPos = i), - (res += "\n" - .concat(green, "+") - .concat(white, " ") - .concat(actualLine)), - (other += "\n" - .concat(red, "-") - .concat(white, " ") - .concat(expectedLine)), - (printedLines += 2)) - : ((res += other), - (other = ""), - (1 !== cur && 0 !== i) || - ((res += "\n ".concat(actualLine)), printedLines++)); - } - if (printedLines > 20 && i < maxLines - 2) - return ( - "" - .concat(msg) - .concat(skippedMsg, "\n") - .concat(res, "\n") - .concat(blue, "...") - .concat(white) - .concat(other, "\n") + "".concat(blue, "...").concat(white) - ); - } - return "" - .concat(msg) - .concat(skipped ? skippedMsg : "", "\n") - .concat(res) - .concat(other) - .concat(end) - .concat(indicator); - } - var AssertionError = (function (_Error, _inspect$custom) { - !(function _inherits(subClass, superClass) { - if ("function" != typeof superClass && null !== superClass) - throw new TypeError( - "Super expression must either be null or a function", - ); - (subClass.prototype = Object.create( - superClass && superClass.prototype, - { - constructor: { - value: subClass, - writable: !0, - configurable: !0, - }, - }, - )), - Object.defineProperty(subClass, "prototype", { writable: !1 }), - superClass && _setPrototypeOf(subClass, superClass); - })(AssertionError, _Error); - var _super = (function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var result, - Super = _getPrototypeOf(Derived); - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else result = Super.apply(this, arguments); - return _possibleConstructorReturn(this, result); - }; - })(AssertionError); - function AssertionError(options) { - var _this; - if ( - ((function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) - throw new TypeError("Cannot call a class as a function"); - })(this, AssertionError), - "object" !== _typeof(options) || null === options) - ) - throw new ERR_INVALID_ARG_TYPE("options", "Object", options); - var message = options.message, - operator = options.operator, - stackStartFn = options.stackStartFn, - actual = options.actual, - expected = options.expected, - limit = Error.stackTraceLimit; - if (((Error.stackTraceLimit = 0), null != message)) - _this = _super.call(this, String(message)); - else if ( - (process.stderr && - process.stderr.isTTY && - (process.stderr && - process.stderr.getColorDepth && - 1 !== process.stderr.getColorDepth() - ? ((blue = ""), - (green = ""), - (white = ""), - (red = "")) - : ((blue = ""), (green = ""), (white = ""), (red = ""))), - "object" === _typeof(actual) && - null !== actual && - "object" === _typeof(expected) && - null !== expected && - "stack" in actual && - actual instanceof Error && - "stack" in expected && - expected instanceof Error && - ((actual = copyError(actual)), - (expected = copyError(expected))), - "deepStrictEqual" === operator || "strictEqual" === operator) - ) - _this = _super.call( - this, - createErrDiff(actual, expected, operator), - ); - else if ( - "notDeepStrictEqual" === operator || - "notStrictEqual" === operator - ) { - var base = kReadableOperator[operator], - res = inspectValue(actual).split("\n"); - if ( - ("notStrictEqual" === operator && - "object" === _typeof(actual) && - null !== actual && - (base = kReadableOperator.notStrictEqualObject), - res.length > 30) - ) - for ( - res[26] = "".concat(blue, "...").concat(white); - res.length > 27; - - ) - res.pop(); - _this = - 1 === res.length - ? _super.call(this, "".concat(base, " ").concat(res[0])) - : _super.call( - this, - "".concat(base, "\n\n").concat(res.join("\n"), "\n"), - ); - } else { - var _res = inspectValue(actual), - other = "", - knownOperators = kReadableOperator[operator]; - "notDeepEqual" === operator || "notEqual" === operator - ? (_res = "" - .concat(kReadableOperator[operator], "\n\n") - .concat(_res)).length > 1024 && - (_res = "".concat(_res.slice(0, 1021), "...")) - : ((other = "".concat(inspectValue(expected))), - _res.length > 512 && - (_res = "".concat(_res.slice(0, 509), "...")), - other.length > 512 && - (other = "".concat(other.slice(0, 509), "...")), - "deepEqual" === operator || "equal" === operator - ? (_res = "" - .concat(knownOperators, "\n\n") - .concat(_res, "\n\nshould equal\n\n")) - : (other = " ".concat(operator, " ").concat(other))), - (_this = _super.call(this, "".concat(_res).concat(other))); - } - return ( - (Error.stackTraceLimit = limit), - (_this.generatedMessage = !message), - Object.defineProperty(_assertThisInitialized(_this), "name", { - value: "AssertionError [ERR_ASSERTION]", - enumerable: !1, - writable: !0, - configurable: !0, - }), - (_this.code = "ERR_ASSERTION"), - (_this.actual = actual), - (_this.expected = expected), - (_this.operator = operator), - Error.captureStackTrace && - Error.captureStackTrace( - _assertThisInitialized(_this), - stackStartFn, - ), - _this.stack, - (_this.name = "AssertionError"), - _possibleConstructorReturn(_this) - ); - } - return ( - (function _createClass(Constructor, protoProps, staticProps) { - return ( - protoProps && - _defineProperties(Constructor.prototype, protoProps), - staticProps && _defineProperties(Constructor, staticProps), - Object.defineProperty(Constructor, "prototype", { - writable: !1, - }), - Constructor - ); - })(AssertionError, [ - { - key: "toString", - value: function toString() { - return "" - .concat(this.name, " [") - .concat(this.code, "]: ") - .concat(this.message); - }, - }, - { - key: _inspect$custom, - value: function value(recurseTimes, ctx) { - return inspect( - this, - _objectSpread( - _objectSpread({}, ctx), - {}, - { customInspect: !1, depth: 0 }, - ), - ); - }, - }, - ]), - AssertionError - ); - })(_wrapNativeSuper(Error), inspect.custom); - module.exports = AssertionError; - }, - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/errors.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - function _typeof(o) { - return ( - (_typeof = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (o) { - return typeof o; - } - : function (o) { - return o && - "function" == typeof Symbol && - o.constructor === Symbol && - o !== Symbol.prototype - ? "symbol" - : typeof o; - }), - _typeof(o) - ); - } - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - (descriptor.enumerable = descriptor.enumerable || !1), - (descriptor.configurable = !0), - "value" in descriptor && (descriptor.writable = !0), - Object.defineProperty( - target, - ((arg = descriptor.key), - (key = void 0), - (key = (function _toPrimitive(input, hint) { - if ("object" !== _typeof(input) || null === input) - return input; - var prim = input[Symbol.toPrimitive]; - if (void 0 !== prim) { - var res = prim.call(input, hint || "default"); - if ("object" !== _typeof(res)) return res; - throw new TypeError( - "@@toPrimitive must return a primitive value.", - ); - } - return ("string" === hint ? String : Number)(input); - })(arg, "string")), - "symbol" === _typeof(key) ? key : String(key)), - descriptor, - ); - } - var arg, key; - } - function _setPrototypeOf(o, p) { - return ( - (_setPrototypeOf = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function _setPrototypeOf(o, p) { - return (o.__proto__ = p), o; - }), - _setPrototypeOf(o, p) - ); - } - function _createSuper(Derived) { - var hasNativeReflectConstruct = - (function _isNativeReflectConstruct() { - if ("undefined" == typeof Reflect || !Reflect.construct) - return !1; - if (Reflect.construct.sham) return !1; - if ("function" == typeof Proxy) return !0; - try { - return ( - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ), - !0 - ); - } catch (e) { - return !1; - } - })(); - return function _createSuperInternal() { - var result, - Super = _getPrototypeOf(Derived); - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else result = Super.apply(this, arguments); - return (function _possibleConstructorReturn(self, call) { - if ( - call && - ("object" === _typeof(call) || "function" == typeof call) - ) - return call; - if (void 0 !== call) - throw new TypeError( - "Derived constructors may only return object or undefined", - ); - return (function _assertThisInitialized(self) { - if (void 0 === self) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return self; - })(self); - })(this, result); - }; - } - function _getPrototypeOf(o) { - return ( - (_getPrototypeOf = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }), - _getPrototypeOf(o) - ); - } - var assert, - util, - codes = {}; - function createErrorType(code, message, Base) { - Base || (Base = Error); - var NodeError = (function (_Base) { - !(function _inherits(subClass, superClass) { - if ("function" != typeof superClass && null !== superClass) - throw new TypeError( - "Super expression must either be null or a function", - ); - (subClass.prototype = Object.create( - superClass && superClass.prototype, - { - constructor: { - value: subClass, - writable: !0, - configurable: !0, - }, - }, - )), - Object.defineProperty(subClass, "prototype", { writable: !1 }), - superClass && _setPrototypeOf(subClass, superClass); - })(NodeError, _Base); - var _super = _createSuper(NodeError); - function NodeError(arg1, arg2, arg3) { - var _this; - return ( - (function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) - throw new TypeError("Cannot call a class as a function"); - })(this, NodeError), - (_this = _super.call( - this, - (function getMessage(arg1, arg2, arg3) { - return "string" == typeof message - ? message - : message(arg1, arg2, arg3); - })(arg1, arg2, arg3), - )), - (_this.code = code), - _this - ); - } - return (function _createClass( - Constructor, - protoProps, - staticProps, - ) { - return ( - protoProps && - _defineProperties(Constructor.prototype, protoProps), - staticProps && _defineProperties(Constructor, staticProps), - Object.defineProperty(Constructor, "prototype", { - writable: !1, - }), - Constructor - ); - })(NodeError); - })(Base); - codes[code] = NodeError; - } - function oneOf(expected, thing) { - if (Array.isArray(expected)) { - var len = expected.length; - return ( - (expected = expected.map(function (i) { - return String(i); - })), - len > 2 - ? "one of " - .concat(thing, " ") - .concat(expected.slice(0, len - 1).join(", "), ", or ") + - expected[len - 1] - : 2 === len - ? "one of " - .concat(thing, " ") - .concat(expected[0], " or ") - .concat(expected[1]) - : "of ".concat(thing, " ").concat(expected[0]) - ); - } - return "of ".concat(thing, " ").concat(String(expected)); - } - createErrorType( - "ERR_AMBIGUOUS_ARGUMENT", - 'The "%s" argument is ambiguous. %s', - TypeError, - ), - createErrorType( - "ERR_INVALID_ARG_TYPE", - function (name, expected, actual) { - var determiner, msg; - if ( - (void 0 === assert && - (assert = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js", - )), - assert("string" == typeof name, "'name' must be a string"), - "string" == typeof expected && - (function startsWith(str, search, pos) { - return ( - str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === - search - ); - })(expected, "not ") - ? ((determiner = "must not be"), - (expected = expected.replace(/^not /, ""))) - : (determiner = "must be"), - (function endsWith(str, search, this_len) { - return ( - (void 0 === this_len || this_len > str.length) && - (this_len = str.length), - str.substring(this_len - search.length, this_len) === search - ); - })(name, " argument")) - ) - msg = "The " - .concat(name, " ") - .concat(determiner, " ") - .concat(oneOf(expected, "type")); - else { - var type = (function includes(str, search, start) { - return ( - "number" != typeof start && (start = 0), - !(start + search.length > str.length) && - -1 !== str.indexOf(search, start) - ); - })(name, ".") - ? "property" - : "argument"; - msg = 'The "' - .concat(name, '" ') - .concat(type, " ") - .concat(determiner, " ") - .concat(oneOf(expected, "type")); - } - return (msg += ". Received type ".concat(_typeof(actual))); - }, - TypeError, - ), - createErrorType( - "ERR_INVALID_ARG_VALUE", - function (name, value) { - var reason = - arguments.length > 2 && void 0 !== arguments[2] - ? arguments[2] - : "is invalid"; - void 0 === util && - (util = __webpack_require__( - "../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js", - )); - var inspected = util.inspect(value); - return ( - inspected.length > 128 && - (inspected = "".concat(inspected.slice(0, 128), "...")), - "The argument '" - .concat(name, "' ") - .concat(reason, ". Received ") - .concat(inspected) - ); - }, - TypeError, - RangeError, - ), - createErrorType( - "ERR_INVALID_RETURN_VALUE", - function (input, name, value) { - var type; - return ( - (type = - value && value.constructor && value.constructor.name - ? "instance of ".concat(value.constructor.name) - : "type ".concat(_typeof(value))), - "Expected " - .concat(input, ' to be returned from the "') - .concat(name, '"') + " function but got ".concat(type, ".") - ); - }, - TypeError, - ), - createErrorType( - "ERR_MISSING_ARGS", - function () { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - void 0 === assert && - (assert = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js", - )), - assert( - args.length > 0, - "At least one arg needs to be specified", - ); - var msg = "The ", - len = args.length; - switch ( - ((args = args.map(function (a) { - return '"'.concat(a, '"'); - })), - len) - ) { - case 1: - msg += "".concat(args[0], " argument"); - break; - case 2: - msg += "" - .concat(args[0], " and ") - .concat(args[1], " arguments"); - break; - default: - (msg += args.slice(0, len - 1).join(", ")), - (msg += ", and ".concat(args[len - 1], " arguments")); - } - return "".concat(msg, " must be specified"); - }, - TypeError, - ), - (module.exports.codes = codes); - }, - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/util/comparisons.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - function _slicedToArray(arr, i) { - return ( - (function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - })(arr) || - (function _iterableToArrayLimit(r, l) { - var t = - null == r - ? null - : ("undefined" != typeof Symbol && r[Symbol.iterator]) || - r["@@iterator"]; - if (null != t) { - var e, - n, - i, - u, - a = [], - f = !0, - o = !1; - try { - if (((i = (t = t.call(r)).next), 0 === l)) { - if (Object(t) !== t) return; - f = !1; - } else - for ( - ; - !(f = (e = i.call(t)).done) && - (a.push(e.value), a.length !== l); - f = !0 - ); - } catch (r) { - (o = !0), (n = r); - } finally { - try { - if ( - !f && - null != t.return && - ((u = t.return()), Object(u) !== u) - ) - return; - } finally { - if (o) throw n; - } - } - return a; - } - })(arr, i) || - (function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if ("string" == typeof o) return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - "Object" === n && o.constructor && (n = o.constructor.name); - if ("Map" === n || "Set" === n) return Array.from(o); - if ( - "Arguments" === n || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ) - return _arrayLikeToArray(o, minLen); - })(arr, i) || - (function _nonIterableRest() { - throw new TypeError( - "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", - ); - })() - ); - } - function _arrayLikeToArray(arr, len) { - (null == len || len > arr.length) && (len = arr.length); - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; - } - function _typeof(o) { - return ( - (_typeof = - "function" == typeof Symbol && "symbol" == typeof Symbol.iterator - ? function (o) { - return typeof o; - } - : function (o) { - return o && - "function" == typeof Symbol && - o.constructor === Symbol && - o !== Symbol.prototype - ? "symbol" - : typeof o; - }), - _typeof(o) - ); - } - var regexFlagsSupported = void 0 !== /a/g.flags, - arrayFromSet = function arrayFromSet(set) { - var array = []; - return ( - set.forEach(function (value) { - return array.push(value); - }), - array - ); - }, - arrayFromMap = function arrayFromMap(map) { - var array = []; - return ( - map.forEach(function (value, key) { - return array.push([key, value]); - }), - array - ); - }, - objectIs = Object.is - ? Object.is - : __webpack_require__( - "../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/index.js", - ), - objectGetOwnPropertySymbols = Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols - : function () { - return []; - }, - numberIsNaN = Number.isNaN - ? Number.isNaN - : __webpack_require__( - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js", - ); - function uncurryThis(f) { - return f.call.bind(f); - } - var hasOwnProperty = uncurryThis(Object.prototype.hasOwnProperty), - propertyIsEnumerable = uncurryThis( - Object.prototype.propertyIsEnumerable, - ), - objectToString = uncurryThis(Object.prototype.toString), - _require$types = __webpack_require__( - "../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js", - ).types, - isAnyArrayBuffer = _require$types.isAnyArrayBuffer, - isArrayBufferView = _require$types.isArrayBufferView, - isDate = _require$types.isDate, - isMap = _require$types.isMap, - isRegExp = _require$types.isRegExp, - isSet = _require$types.isSet, - isNativeError = _require$types.isNativeError, - isBoxedPrimitive = _require$types.isBoxedPrimitive, - isNumberObject = _require$types.isNumberObject, - isStringObject = _require$types.isStringObject, - isBooleanObject = _require$types.isBooleanObject, - isBigIntObject = _require$types.isBigIntObject, - isSymbolObject = _require$types.isSymbolObject, - isFloat32Array = _require$types.isFloat32Array, - isFloat64Array = _require$types.isFloat64Array; - function isNonIndex(key) { - if (0 === key.length || key.length > 10) return !0; - for (var i = 0; i < key.length; i++) { - var code = key.charCodeAt(i); - if (code < 48 || code > 57) return !0; - } - return 10 === key.length && key >= Math.pow(2, 32); - } - function getOwnNonIndexProperties(value) { - return Object.keys(value) - .filter(isNonIndex) - .concat( - objectGetOwnPropertySymbols(value).filter( - Object.prototype.propertyIsEnumerable.bind(value), - ), - ); - } - function compare(a, b) { - if (a === b) return 0; - for ( - var x = a.length, y = b.length, i = 0, len = Math.min(x, y); - i < len; - ++i - ) - if (a[i] !== b[i]) { - (x = a[i]), (y = b[i]); - break; - } - return x < y ? -1 : y < x ? 1 : 0; - } - function innerDeepEqual(val1, val2, strict, memos) { - if (val1 === val2) - return 0 !== val1 || !strict || objectIs(val1, val2); - if (strict) { - if ("object" !== _typeof(val1)) - return ( - "number" == typeof val1 && - numberIsNaN(val1) && - numberIsNaN(val2) - ); - if ("object" !== _typeof(val2) || null === val1 || null === val2) - return !1; - if (Object.getPrototypeOf(val1) !== Object.getPrototypeOf(val2)) - return !1; - } else { - if (null === val1 || "object" !== _typeof(val1)) - return ( - (null === val2 || "object" !== _typeof(val2)) && val1 == val2 - ); - if (null === val2 || "object" !== _typeof(val2)) return !1; - } - var val1Tag = objectToString(val1); - if (val1Tag !== objectToString(val2)) return !1; - if (Array.isArray(val1)) { - if (val1.length !== val2.length) return !1; - var keys1 = getOwnNonIndexProperties(val1), - keys2 = getOwnNonIndexProperties(val2); - return ( - keys1.length === keys2.length && - keyCheck(val1, val2, strict, memos, 1, keys1) - ); - } - if ( - "[object Object]" === val1Tag && - ((!isMap(val1) && isMap(val2)) || (!isSet(val1) && isSet(val2))) - ) - return !1; - if (isDate(val1)) { - if ( - !isDate(val2) || - Date.prototype.getTime.call(val1) !== - Date.prototype.getTime.call(val2) - ) - return !1; - } else if (isRegExp(val1)) { - if ( - !isRegExp(val2) || - !(function areSimilarRegExps(a, b) { - return regexFlagsSupported - ? a.source === b.source && a.flags === b.flags - : RegExp.prototype.toString.call(a) === - RegExp.prototype.toString.call(b); - })(val1, val2) - ) - return !1; - } else if (isNativeError(val1) || val1 instanceof Error) { - if (val1.message !== val2.message || val1.name !== val2.name) - return !1; - } else { - if (isArrayBufferView(val1)) { - if (strict || (!isFloat32Array(val1) && !isFloat64Array(val1))) { - if ( - !(function areSimilarTypedArrays(a, b) { - return ( - a.byteLength === b.byteLength && - 0 === - compare( - new Uint8Array(a.buffer, a.byteOffset, a.byteLength), - new Uint8Array(b.buffer, b.byteOffset, b.byteLength), - ) - ); - })(val1, val2) - ) - return !1; - } else if ( - !(function areSimilarFloatArrays(a, b) { - if (a.byteLength !== b.byteLength) return !1; - for (var offset = 0; offset < a.byteLength; offset++) - if (a[offset] !== b[offset]) return !1; - return !0; - })(val1, val2) - ) - return !1; - var _keys = getOwnNonIndexProperties(val1), - _keys2 = getOwnNonIndexProperties(val2); - return ( - _keys.length === _keys2.length && - keyCheck(val1, val2, strict, memos, 0, _keys) - ); - } - if (isSet(val1)) - return ( - !(!isSet(val2) || val1.size !== val2.size) && - keyCheck(val1, val2, strict, memos, 2) - ); - if (isMap(val1)) - return ( - !(!isMap(val2) || val1.size !== val2.size) && - keyCheck(val1, val2, strict, memos, 3) - ); - if (isAnyArrayBuffer(val1)) { - if ( - !(function areEqualArrayBuffers(buf1, buf2) { - return ( - buf1.byteLength === buf2.byteLength && - 0 === compare(new Uint8Array(buf1), new Uint8Array(buf2)) - ); - })(val1, val2) - ) - return !1; - } else if ( - isBoxedPrimitive(val1) && - !(function isEqualBoxedPrimitive(val1, val2) { - return isNumberObject(val1) - ? isNumberObject(val2) && - objectIs( - Number.prototype.valueOf.call(val1), - Number.prototype.valueOf.call(val2), - ) - : isStringObject(val1) - ? isStringObject(val2) && - String.prototype.valueOf.call(val1) === - String.prototype.valueOf.call(val2) - : isBooleanObject(val1) - ? isBooleanObject(val2) && - Boolean.prototype.valueOf.call(val1) === - Boolean.prototype.valueOf.call(val2) - : isBigIntObject(val1) - ? isBigIntObject(val2) && - BigInt.prototype.valueOf.call(val1) === - BigInt.prototype.valueOf.call(val2) - : isSymbolObject(val2) && - Symbol.prototype.valueOf.call(val1) === - Symbol.prototype.valueOf.call(val2); - })(val1, val2) - ) - return !1; - } - return keyCheck(val1, val2, strict, memos, 0); - } - function getEnumerables(val, keys) { - return keys.filter(function (k) { - return propertyIsEnumerable(val, k); - }); - } - function keyCheck(val1, val2, strict, memos, iterationType, aKeys) { - if (5 === arguments.length) { - aKeys = Object.keys(val1); - var bKeys = Object.keys(val2); - if (aKeys.length !== bKeys.length) return !1; - } - for (var i = 0; i < aKeys.length; i++) - if (!hasOwnProperty(val2, aKeys[i])) return !1; - if (strict && 5 === arguments.length) { - var symbolKeysA = objectGetOwnPropertySymbols(val1); - if (0 !== symbolKeysA.length) { - var count = 0; - for (i = 0; i < symbolKeysA.length; i++) { - var key = symbolKeysA[i]; - if (propertyIsEnumerable(val1, key)) { - if (!propertyIsEnumerable(val2, key)) return !1; - aKeys.push(key), count++; - } else if (propertyIsEnumerable(val2, key)) return !1; - } - var symbolKeysB = objectGetOwnPropertySymbols(val2); - if ( - symbolKeysA.length !== symbolKeysB.length && - getEnumerables(val2, symbolKeysB).length !== count - ) - return !1; - } else { - var _symbolKeysB = objectGetOwnPropertySymbols(val2); - if ( - 0 !== _symbolKeysB.length && - 0 !== getEnumerables(val2, _symbolKeysB).length - ) - return !1; - } - } - if ( - 0 === aKeys.length && - (0 === iterationType || - (1 === iterationType && 0 === val1.length) || - 0 === val1.size) - ) - return !0; - if (void 0 === memos) - memos = { val1: new Map(), val2: new Map(), position: 0 }; - else { - var val2MemoA = memos.val1.get(val1); - if (void 0 !== val2MemoA) { - var val2MemoB = memos.val2.get(val2); - if (void 0 !== val2MemoB) return val2MemoA === val2MemoB; - } - memos.position++; - } - memos.val1.set(val1, memos.position), - memos.val2.set(val2, memos.position); - var areEq = (function objEquiv( - a, - b, - strict, - keys, - memos, - iterationType, - ) { - var i = 0; - if (2 === iterationType) { - if ( - !(function setEquiv(a, b, strict, memo) { - for ( - var set = null, aValues = arrayFromSet(a), i = 0; - i < aValues.length; - i++ - ) { - var val = aValues[i]; - if ("object" === _typeof(val) && null !== val) - null === set && (set = new Set()), set.add(val); - else if (!b.has(val)) { - if (strict) return !1; - if (!setMightHaveLoosePrim(a, b, val)) return !1; - null === set && (set = new Set()), set.add(val); - } - } - if (null !== set) { - for ( - var bValues = arrayFromSet(b), _i = 0; - _i < bValues.length; - _i++ - ) { - var _val = bValues[_i]; - if ("object" === _typeof(_val) && null !== _val) { - if (!setHasEqualElement(set, _val, strict, memo)) - return !1; - } else if ( - !strict && - !a.has(_val) && - !setHasEqualElement(set, _val, strict, memo) - ) - return !1; - } - return 0 === set.size; - } - return !0; - })(a, b, strict, memos) - ) - return !1; - } else if (3 === iterationType) { - if ( - !(function mapEquiv(a, b, strict, memo) { - for ( - var set = null, aEntries = arrayFromMap(a), i = 0; - i < aEntries.length; - i++ - ) { - var _aEntries$i = _slicedToArray(aEntries[i], 2), - key = _aEntries$i[0], - item1 = _aEntries$i[1]; - if ("object" === _typeof(key) && null !== key) - null === set && (set = new Set()), set.add(key); - else { - var item2 = b.get(key); - if ( - (void 0 === item2 && !b.has(key)) || - !innerDeepEqual(item1, item2, strict, memo) - ) { - if (strict) return !1; - if (!mapMightHaveLoosePrim(a, b, key, item1, memo)) - return !1; - null === set && (set = new Set()), set.add(key); - } - } - } - if (null !== set) { - for ( - var bEntries = arrayFromMap(b), _i2 = 0; - _i2 < bEntries.length; - _i2++ - ) { - var _bEntries$_i = _slicedToArray(bEntries[_i2], 2), - _key = _bEntries$_i[0], - item = _bEntries$_i[1]; - if ("object" === _typeof(_key) && null !== _key) { - if (!mapHasEqualEntry(set, a, _key, item, strict, memo)) - return !1; - } else if ( - !( - strict || - (a.has(_key) && - innerDeepEqual(a.get(_key), item, !1, memo)) || - mapHasEqualEntry(set, a, _key, item, !1, memo) - ) - ) - return !1; - } - return 0 === set.size; - } - return !0; - })(a, b, strict, memos) - ) - return !1; - } else if (1 === iterationType) - for (; i < a.length; i++) { - if (!hasOwnProperty(a, i)) { - if (hasOwnProperty(b, i)) return !1; - for (var keysA = Object.keys(a); i < keysA.length; i++) { - var key = keysA[i]; - if ( - !hasOwnProperty(b, key) || - !innerDeepEqual(a[key], b[key], strict, memos) - ) - return !1; - } - return keysA.length === Object.keys(b).length; - } - if ( - !hasOwnProperty(b, i) || - !innerDeepEqual(a[i], b[i], strict, memos) - ) - return !1; - } - for (i = 0; i < keys.length; i++) { - var _key2 = keys[i]; - if (!innerDeepEqual(a[_key2], b[_key2], strict, memos)) return !1; - } - return !0; - })(val1, val2, strict, aKeys, memos, iterationType); - return memos.val1.delete(val1), memos.val2.delete(val2), areEq; - } - function setHasEqualElement(set, val1, strict, memo) { - for ( - var setValues = arrayFromSet(set), i = 0; - i < setValues.length; - i++ - ) { - var val2 = setValues[i]; - if (innerDeepEqual(val1, val2, strict, memo)) - return set.delete(val2), !0; - } - return !1; - } - function findLooseMatchingPrimitives(prim) { - switch (_typeof(prim)) { - case "undefined": - return null; - case "object": - return; - case "symbol": - return !1; - case "string": - prim = +prim; - case "number": - if (numberIsNaN(prim)) return !1; - } - return !0; - } - function setMightHaveLoosePrim(a, b, prim) { - var altValue = findLooseMatchingPrimitives(prim); - return null != altValue - ? altValue - : b.has(altValue) && !a.has(altValue); - } - function mapMightHaveLoosePrim(a, b, prim, item, memo) { - var altValue = findLooseMatchingPrimitives(prim); - if (null != altValue) return altValue; - var curB = b.get(altValue); - return ( - !( - (void 0 === curB && !b.has(altValue)) || - !innerDeepEqual(item, curB, !1, memo) - ) && - !a.has(altValue) && - innerDeepEqual(item, curB, !1, memo) - ); - } - function mapHasEqualEntry(set, map, key1, item1, strict, memo) { - for ( - var setValues = arrayFromSet(set), i = 0; - i < setValues.length; - i++ - ) { - var key2 = setValues[i]; - if ( - innerDeepEqual(key1, key2, strict, memo) && - innerDeepEqual(item1, map.get(key2), strict, memo) - ) - return set.delete(key2), !0; - } - return !1; - } - module.exports = { - isDeepEqual: function isDeepEqual(val1, val2) { - return innerDeepEqual(val1, val2, false); - }, - isDeepStrictEqual: function isDeepStrictEqual(val1, val2) { - return innerDeepEqual(val1, val2, true); - }, - }; - }, - "../node_modules/.pnpm/available-typed-arrays@1.0.5/node_modules/available-typed-arrays/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var possibleNames = [ - "BigInt64Array", - "BigUint64Array", - "Float32Array", - "Float64Array", - "Int16Array", - "Int32Array", - "Int8Array", - "Uint16Array", - "Uint32Array", - "Uint8Array", - "Uint8ClampedArray", - ], - g = - "undefined" == typeof globalThis - ? __webpack_require__.g - : globalThis; - module.exports = function availableTypedArrays() { - for (var out = [], i = 0; i < possibleNames.length; i++) - "function" == typeof g[possibleNames[i]] && - (out[out.length] = possibleNames[i]); - return out; - }; - }, - "../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js": ( - __unused_webpack_module, - exports, - ) => { - "use strict"; - (exports.byteLength = function byteLength(b64) { - var lens = getLens(b64), - validLen = lens[0], - placeHoldersLen = lens[1]; - return (3 * (validLen + placeHoldersLen)) / 4 - placeHoldersLen; - }), - (exports.toByteArray = function toByteArray(b64) { - var tmp, - i, - lens = getLens(b64), - validLen = lens[0], - placeHoldersLen = lens[1], - arr = new Arr( - (function _byteLength(b64, validLen, placeHoldersLen) { - return (3 * (validLen + placeHoldersLen)) / 4 - placeHoldersLen; - })(0, validLen, placeHoldersLen), - ), - curByte = 0, - len = placeHoldersLen > 0 ? validLen - 4 : validLen; - for (i = 0; i < len; i += 4) - (tmp = - (revLookup[b64.charCodeAt(i)] << 18) | - (revLookup[b64.charCodeAt(i + 1)] << 12) | - (revLookup[b64.charCodeAt(i + 2)] << 6) | - revLookup[b64.charCodeAt(i + 3)]), - (arr[curByte++] = (tmp >> 16) & 255), - (arr[curByte++] = (tmp >> 8) & 255), - (arr[curByte++] = 255 & tmp); - 2 === placeHoldersLen && - ((tmp = - (revLookup[b64.charCodeAt(i)] << 2) | - (revLookup[b64.charCodeAt(i + 1)] >> 4)), - (arr[curByte++] = 255 & tmp)); - 1 === placeHoldersLen && - ((tmp = - (revLookup[b64.charCodeAt(i)] << 10) | - (revLookup[b64.charCodeAt(i + 1)] << 4) | - (revLookup[b64.charCodeAt(i + 2)] >> 2)), - (arr[curByte++] = (tmp >> 8) & 255), - (arr[curByte++] = 255 & tmp)); - return arr; - }), - (exports.fromByteArray = function fromByteArray(uint8) { - for ( - var tmp, - len = uint8.length, - extraBytes = len % 3, - parts = [], - i = 0, - len2 = len - extraBytes; - i < len2; - i += 16383 - ) - parts.push( - encodeChunk(uint8, i, i + 16383 > len2 ? len2 : i + 16383), - ); - 1 === extraBytes - ? ((tmp = uint8[len - 1]), - parts.push(lookup[tmp >> 2] + lookup[(tmp << 4) & 63] + "==")) - : 2 === extraBytes && - ((tmp = (uint8[len - 2] << 8) + uint8[len - 1]), - parts.push( - lookup[tmp >> 10] + - lookup[(tmp >> 4) & 63] + - lookup[(tmp << 2) & 63] + - "=", - )); - return parts.join(""); - }); - for ( - var lookup = [], - revLookup = [], - Arr = "undefined" != typeof Uint8Array ? Uint8Array : Array, - code = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", - i = 0; - i < 64; - ++i - ) - (lookup[i] = code[i]), (revLookup[code.charCodeAt(i)] = i); - function getLens(b64) { - var len = b64.length; - if (len % 4 > 0) - throw new Error("Invalid string. Length must be a multiple of 4"); - var validLen = b64.indexOf("="); - return ( - -1 === validLen && (validLen = len), - [validLen, validLen === len ? 0 : 4 - (validLen % 4)] - ); - } - function encodeChunk(uint8, start, end) { - for (var tmp, num, output = [], i = start; i < end; i += 3) - (tmp = - ((uint8[i] << 16) & 16711680) + - ((uint8[i + 1] << 8) & 65280) + - (255 & uint8[i + 2])), - output.push( - lookup[((num = tmp) >> 18) & 63] + - lookup[(num >> 12) & 63] + - lookup[(num >> 6) & 63] + - lookup[63 & num], - ); - return output.join(""); - } - (revLookup["-".charCodeAt(0)] = 62), (revLookup["_".charCodeAt(0)] = 63); - }, - "../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js": - (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - var Buffer = __webpack_require__( - "../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js", - ).Buffer, - process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ), - assert = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js", - ), - Zstream = __webpack_require__( - "../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/zstream.js", - ), - zlib_deflate = __webpack_require__( - "../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/deflate.js", - ), - zlib_inflate = __webpack_require__( - "../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inflate.js", - ), - constants = __webpack_require__( - "../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/constants.js", - ); - for (var key in constants) exports[key] = constants[key]; - (exports.NONE = 0), - (exports.DEFLATE = 1), - (exports.INFLATE = 2), - (exports.GZIP = 3), - (exports.GUNZIP = 4), - (exports.DEFLATERAW = 5), - (exports.INFLATERAW = 6), - (exports.UNZIP = 7); - function Zlib(mode) { - if ( - "number" != typeof mode || - mode < exports.DEFLATE || - mode > exports.UNZIP - ) - throw new TypeError("Bad argument"); - (this.dictionary = null), - (this.err = 0), - (this.flush = 0), - (this.init_done = !1), - (this.level = 0), - (this.memLevel = 0), - (this.mode = mode), - (this.strategy = 0), - (this.windowBits = 0), - (this.write_in_progress = !1), - (this.pending_close = !1), - (this.gzip_id_bytes_read = 0); - } - (Zlib.prototype.close = function () { - this.write_in_progress - ? (this.pending_close = !0) - : ((this.pending_close = !1), - assert(this.init_done, "close before init"), - assert(this.mode <= exports.UNZIP), - this.mode === exports.DEFLATE || - this.mode === exports.GZIP || - this.mode === exports.DEFLATERAW - ? zlib_deflate.deflateEnd(this.strm) - : (this.mode !== exports.INFLATE && - this.mode !== exports.GUNZIP && - this.mode !== exports.INFLATERAW && - this.mode !== exports.UNZIP) || - zlib_inflate.inflateEnd(this.strm), - (this.mode = exports.NONE), - (this.dictionary = null)); - }), - (Zlib.prototype.write = function ( - flush, - input, - in_off, - in_len, - out, - out_off, - out_len, - ) { - return this._write( - !0, - flush, - input, - in_off, - in_len, - out, - out_off, - out_len, - ); - }), - (Zlib.prototype.writeSync = function ( - flush, - input, - in_off, - in_len, - out, - out_off, - out_len, - ) { - return this._write( - !1, - flush, - input, - in_off, - in_len, - out, - out_off, - out_len, - ); - }), - (Zlib.prototype._write = function ( - async, - flush, - input, - in_off, - in_len, - out, - out_off, - out_len, - ) { - if ( - (assert.equal(arguments.length, 8), - assert(this.init_done, "write before init"), - assert(this.mode !== exports.NONE, "already finalized"), - assert.equal( - !1, - this.write_in_progress, - "write already in progress", - ), - assert.equal(!1, this.pending_close, "close is pending"), - (this.write_in_progress = !0), - assert.equal(!1, void 0 === flush, "must provide flush value"), - (this.write_in_progress = !0), - flush !== exports.Z_NO_FLUSH && - flush !== exports.Z_PARTIAL_FLUSH && - flush !== exports.Z_SYNC_FLUSH && - flush !== exports.Z_FULL_FLUSH && - flush !== exports.Z_FINISH && - flush !== exports.Z_BLOCK) - ) - throw new Error("Invalid flush value"); - if ( - (null == input && - ((input = Buffer.alloc(0)), (in_len = 0), (in_off = 0)), - (this.strm.avail_in = in_len), - (this.strm.input = input), - (this.strm.next_in = in_off), - (this.strm.avail_out = out_len), - (this.strm.output = out), - (this.strm.next_out = out_off), - (this.flush = flush), - !async) - ) - return ( - this._process(), this._checkError() ? this._afterSync() : void 0 - ); - var self = this; - return ( - process.nextTick(function () { - self._process(), self._after(); - }), - this - ); - }), - (Zlib.prototype._afterSync = function () { - var avail_out = this.strm.avail_out, - avail_in = this.strm.avail_in; - return (this.write_in_progress = !1), [avail_in, avail_out]; - }), - (Zlib.prototype._process = function () { - var next_expected_header_byte = null; - switch (this.mode) { - case exports.DEFLATE: - case exports.GZIP: - case exports.DEFLATERAW: - this.err = zlib_deflate.deflate(this.strm, this.flush); - break; - case exports.UNZIP: - switch ( - (this.strm.avail_in > 0 && - (next_expected_header_byte = this.strm.next_in), - this.gzip_id_bytes_read) - ) { - case 0: - if (null === next_expected_header_byte) break; - if (31 !== this.strm.input[next_expected_header_byte]) { - this.mode = exports.INFLATE; - break; - } - if ( - ((this.gzip_id_bytes_read = 1), - next_expected_header_byte++, - 1 === this.strm.avail_in) - ) - break; - case 1: - if (null === next_expected_header_byte) break; - 139 === this.strm.input[next_expected_header_byte] - ? ((this.gzip_id_bytes_read = 2), - (this.mode = exports.GUNZIP)) - : (this.mode = exports.INFLATE); - break; - default: - throw new Error( - "invalid number of gzip magic number bytes read", - ); - } - case exports.INFLATE: - case exports.GUNZIP: - case exports.INFLATERAW: - for ( - this.err = zlib_inflate.inflate(this.strm, this.flush), - this.err === exports.Z_NEED_DICT && - this.dictionary && - ((this.err = zlib_inflate.inflateSetDictionary( - this.strm, - this.dictionary, - )), - this.err === exports.Z_OK - ? (this.err = zlib_inflate.inflate( - this.strm, - this.flush, - )) - : this.err === exports.Z_DATA_ERROR && - (this.err = exports.Z_NEED_DICT)); - this.strm.avail_in > 0 && - this.mode === exports.GUNZIP && - this.err === exports.Z_STREAM_END && - 0 !== this.strm.next_in[0]; - - ) - this.reset(), - (this.err = zlib_inflate.inflate(this.strm, this.flush)); - break; - default: - throw new Error("Unknown mode " + this.mode); - } - }), - (Zlib.prototype._checkError = function () { - switch (this.err) { - case exports.Z_OK: - case exports.Z_BUF_ERROR: - if ( - 0 !== this.strm.avail_out && - this.flush === exports.Z_FINISH - ) - return this._error("unexpected end of file"), !1; - break; - case exports.Z_STREAM_END: - break; - case exports.Z_NEED_DICT: - return ( - null == this.dictionary - ? this._error("Missing dictionary") - : this._error("Bad dictionary"), - !1 - ); - default: - return this._error("Zlib error"), !1; - } - return !0; - }), - (Zlib.prototype._after = function () { - if (this._checkError()) { - var avail_out = this.strm.avail_out, - avail_in = this.strm.avail_in; - (this.write_in_progress = !1), - this.callback(avail_in, avail_out), - this.pending_close && this.close(); - } - }), - (Zlib.prototype._error = function (message) { - this.strm.msg && (message = this.strm.msg), - this.onerror(message, this.err), - (this.write_in_progress = !1), - this.pending_close && this.close(); - }), - (Zlib.prototype.init = function ( - windowBits, - level, - memLevel, - strategy, - dictionary, - ) { - assert( - 4 === arguments.length || 5 === arguments.length, - "init(windowBits, level, memLevel, strategy, [dictionary])", - ), - assert(windowBits >= 8 && windowBits <= 15, "invalid windowBits"), - assert(level >= -1 && level <= 9, "invalid compression level"), - assert(memLevel >= 1 && memLevel <= 9, "invalid memlevel"), - assert( - strategy === exports.Z_FILTERED || - strategy === exports.Z_HUFFMAN_ONLY || - strategy === exports.Z_RLE || - strategy === exports.Z_FIXED || - strategy === exports.Z_DEFAULT_STRATEGY, - "invalid strategy", - ), - this._init(level, windowBits, memLevel, strategy, dictionary), - this._setDictionary(); - }), - (Zlib.prototype.params = function () { - throw new Error("deflateParams Not supported"); - }), - (Zlib.prototype.reset = function () { - this._reset(), this._setDictionary(); - }), - (Zlib.prototype._init = function ( - level, - windowBits, - memLevel, - strategy, - dictionary, - ) { - switch ( - ((this.level = level), - (this.windowBits = windowBits), - (this.memLevel = memLevel), - (this.strategy = strategy), - (this.flush = exports.Z_NO_FLUSH), - (this.err = exports.Z_OK), - (this.mode !== exports.GZIP && this.mode !== exports.GUNZIP) || - (this.windowBits += 16), - this.mode === exports.UNZIP && (this.windowBits += 32), - (this.mode !== exports.DEFLATERAW && - this.mode !== exports.INFLATERAW) || - (this.windowBits = -1 * this.windowBits), - (this.strm = new Zstream()), - this.mode) - ) { - case exports.DEFLATE: - case exports.GZIP: - case exports.DEFLATERAW: - this.err = zlib_deflate.deflateInit2( - this.strm, - this.level, - exports.Z_DEFLATED, - this.windowBits, - this.memLevel, - this.strategy, - ); - break; - case exports.INFLATE: - case exports.GUNZIP: - case exports.INFLATERAW: - case exports.UNZIP: - this.err = zlib_inflate.inflateInit2( - this.strm, - this.windowBits, - ); - break; - default: - throw new Error("Unknown mode " + this.mode); - } - this.err !== exports.Z_OK && this._error("Init error"), - (this.dictionary = dictionary), - (this.write_in_progress = !1), - (this.init_done = !0); - }), - (Zlib.prototype._setDictionary = function () { - if (null != this.dictionary) { - switch (((this.err = exports.Z_OK), this.mode)) { - case exports.DEFLATE: - case exports.DEFLATERAW: - this.err = zlib_deflate.deflateSetDictionary( - this.strm, - this.dictionary, - ); - } - this.err !== exports.Z_OK && - this._error("Failed to set dictionary"); - } - }), - (Zlib.prototype._reset = function () { - switch (((this.err = exports.Z_OK), this.mode)) { - case exports.DEFLATE: - case exports.DEFLATERAW: - case exports.GZIP: - this.err = zlib_deflate.deflateReset(this.strm); - break; - case exports.INFLATE: - case exports.INFLATERAW: - case exports.GUNZIP: - this.err = zlib_inflate.inflateReset(this.strm); - } - this.err !== exports.Z_OK && this._error("Failed to reset stream"); - }), - (exports.Zlib = Zlib); - }, - "../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/index.js": - (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ), - Buffer = __webpack_require__( - "../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js", - ).Buffer, - Transform = __webpack_require__( - "../node_modules/.pnpm/stream-browserify@3.0.0/node_modules/stream-browserify/index.js", - ).Transform, - binding = __webpack_require__( - "../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js", - ), - util = __webpack_require__( - "../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js", - ), - assert = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js", - ).ok, - kMaxLength = __webpack_require__( - "../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js", - ).kMaxLength, - kRangeErrorMessage = - "Cannot create final Buffer. It would be larger than 0x" + - kMaxLength.toString(16) + - " bytes"; - (binding.Z_MIN_WINDOWBITS = 8), - (binding.Z_MAX_WINDOWBITS = 15), - (binding.Z_DEFAULT_WINDOWBITS = 15), - (binding.Z_MIN_CHUNK = 64), - (binding.Z_MAX_CHUNK = 1 / 0), - (binding.Z_DEFAULT_CHUNK = 16384), - (binding.Z_MIN_MEMLEVEL = 1), - (binding.Z_MAX_MEMLEVEL = 9), - (binding.Z_DEFAULT_MEMLEVEL = 8), - (binding.Z_MIN_LEVEL = -1), - (binding.Z_MAX_LEVEL = 9), - (binding.Z_DEFAULT_LEVEL = binding.Z_DEFAULT_COMPRESSION); - for ( - var bkeys = Object.keys(binding), bk = 0; - bk < bkeys.length; - bk++ - ) { - var bkey = bkeys[bk]; - bkey.match(/^Z/) && - Object.defineProperty(exports, bkey, { - enumerable: !0, - value: binding[bkey], - writable: !1, - }); - } - for ( - var codes = { - Z_OK: binding.Z_OK, - Z_STREAM_END: binding.Z_STREAM_END, - Z_NEED_DICT: binding.Z_NEED_DICT, - Z_ERRNO: binding.Z_ERRNO, - Z_STREAM_ERROR: binding.Z_STREAM_ERROR, - Z_DATA_ERROR: binding.Z_DATA_ERROR, - Z_MEM_ERROR: binding.Z_MEM_ERROR, - Z_BUF_ERROR: binding.Z_BUF_ERROR, - Z_VERSION_ERROR: binding.Z_VERSION_ERROR, - }, - ckeys = Object.keys(codes), - ck = 0; - ck < ckeys.length; - ck++ - ) { - var ckey = ckeys[ck]; - codes[codes[ckey]] = ckey; - } - function zlibBuffer(engine, buffer, callback) { - var buffers = [], - nread = 0; - function flow() { - for (var chunk; null !== (chunk = engine.read()); ) - buffers.push(chunk), (nread += chunk.length); - engine.once("readable", flow); - } - function onEnd() { - var buf, - err = null; - nread >= kMaxLength - ? (err = new RangeError(kRangeErrorMessage)) - : (buf = Buffer.concat(buffers, nread)), - (buffers = []), - engine.close(), - callback(err, buf); - } - engine.on("error", function onError(err) { - engine.removeListener("end", onEnd), - engine.removeListener("readable", flow), - callback(err); - }), - engine.on("end", onEnd), - engine.end(buffer), - flow(); - } - function zlibBufferSync(engine, buffer) { - if ( - ("string" == typeof buffer && (buffer = Buffer.from(buffer)), - !Buffer.isBuffer(buffer)) - ) - throw new TypeError("Not a string or buffer"); - var flushFlag = engine._finishFlushFlag; - return engine._processChunk(buffer, flushFlag); - } - function Deflate(opts) { - if (!(this instanceof Deflate)) return new Deflate(opts); - Zlib.call(this, opts, binding.DEFLATE); - } - function Inflate(opts) { - if (!(this instanceof Inflate)) return new Inflate(opts); - Zlib.call(this, opts, binding.INFLATE); - } - function Gzip(opts) { - if (!(this instanceof Gzip)) return new Gzip(opts); - Zlib.call(this, opts, binding.GZIP); - } - function Gunzip(opts) { - if (!(this instanceof Gunzip)) return new Gunzip(opts); - Zlib.call(this, opts, binding.GUNZIP); - } - function DeflateRaw(opts) { - if (!(this instanceof DeflateRaw)) return new DeflateRaw(opts); - Zlib.call(this, opts, binding.DEFLATERAW); - } - function InflateRaw(opts) { - if (!(this instanceof InflateRaw)) return new InflateRaw(opts); - Zlib.call(this, opts, binding.INFLATERAW); - } - function Unzip(opts) { - if (!(this instanceof Unzip)) return new Unzip(opts); - Zlib.call(this, opts, binding.UNZIP); - } - function isValidFlushFlag(flag) { - return ( - flag === binding.Z_NO_FLUSH || - flag === binding.Z_PARTIAL_FLUSH || - flag === binding.Z_SYNC_FLUSH || - flag === binding.Z_FULL_FLUSH || - flag === binding.Z_FINISH || - flag === binding.Z_BLOCK - ); - } - function Zlib(opts, mode) { - var _this = this; - if ( - ((this._opts = opts = opts || {}), - (this._chunkSize = opts.chunkSize || exports.Z_DEFAULT_CHUNK), - Transform.call(this, opts), - opts.flush && !isValidFlushFlag(opts.flush)) - ) - throw new Error("Invalid flush flag: " + opts.flush); - if (opts.finishFlush && !isValidFlushFlag(opts.finishFlush)) - throw new Error("Invalid flush flag: " + opts.finishFlush); - if ( - ((this._flushFlag = opts.flush || binding.Z_NO_FLUSH), - (this._finishFlushFlag = - void 0 !== opts.finishFlush - ? opts.finishFlush - : binding.Z_FINISH), - opts.chunkSize && - (opts.chunkSize < exports.Z_MIN_CHUNK || - opts.chunkSize > exports.Z_MAX_CHUNK)) - ) - throw new Error("Invalid chunk size: " + opts.chunkSize); - if ( - opts.windowBits && - (opts.windowBits < exports.Z_MIN_WINDOWBITS || - opts.windowBits > exports.Z_MAX_WINDOWBITS) - ) - throw new Error("Invalid windowBits: " + opts.windowBits); - if ( - opts.level && - (opts.level < exports.Z_MIN_LEVEL || - opts.level > exports.Z_MAX_LEVEL) - ) - throw new Error("Invalid compression level: " + opts.level); - if ( - opts.memLevel && - (opts.memLevel < exports.Z_MIN_MEMLEVEL || - opts.memLevel > exports.Z_MAX_MEMLEVEL) - ) - throw new Error("Invalid memLevel: " + opts.memLevel); - if ( - opts.strategy && - opts.strategy != exports.Z_FILTERED && - opts.strategy != exports.Z_HUFFMAN_ONLY && - opts.strategy != exports.Z_RLE && - opts.strategy != exports.Z_FIXED && - opts.strategy != exports.Z_DEFAULT_STRATEGY - ) - throw new Error("Invalid strategy: " + opts.strategy); - if (opts.dictionary && !Buffer.isBuffer(opts.dictionary)) - throw new Error( - "Invalid dictionary: it should be a Buffer instance", - ); - this._handle = new binding.Zlib(mode); - var self = this; - (this._hadError = !1), - (this._handle.onerror = function (message, errno) { - _close(self), (self._hadError = !0); - var error = new Error(message); - (error.errno = errno), - (error.code = exports.codes[errno]), - self.emit("error", error); - }); - var level = exports.Z_DEFAULT_COMPRESSION; - "number" == typeof opts.level && (level = opts.level); - var strategy = exports.Z_DEFAULT_STRATEGY; - "number" == typeof opts.strategy && (strategy = opts.strategy), - this._handle.init( - opts.windowBits || exports.Z_DEFAULT_WINDOWBITS, - level, - opts.memLevel || exports.Z_DEFAULT_MEMLEVEL, - strategy, - opts.dictionary, - ), - (this._buffer = Buffer.allocUnsafe(this._chunkSize)), - (this._offset = 0), - (this._level = level), - (this._strategy = strategy), - this.once("end", this.close), - Object.defineProperty(this, "_closed", { - get: function () { - return !_this._handle; - }, - configurable: !0, - enumerable: !0, - }); - } - function _close(engine, callback) { - callback && process.nextTick(callback), - engine._handle && (engine._handle.close(), (engine._handle = null)); - } - function emitCloseNT(self) { - self.emit("close"); - } - Object.defineProperty(exports, "codes", { - enumerable: !0, - value: Object.freeze(codes), - writable: !1, - }), - (exports.Deflate = Deflate), - (exports.Inflate = Inflate), - (exports.Gzip = Gzip), - (exports.Gunzip = Gunzip), - (exports.DeflateRaw = DeflateRaw), - (exports.InflateRaw = InflateRaw), - (exports.Unzip = Unzip), - (exports.createDeflate = function (o) { - return new Deflate(o); - }), - (exports.createInflate = function (o) { - return new Inflate(o); - }), - (exports.createDeflateRaw = function (o) { - return new DeflateRaw(o); - }), - (exports.createInflateRaw = function (o) { - return new InflateRaw(o); - }), - (exports.createGzip = function (o) { - return new Gzip(o); - }), - (exports.createGunzip = function (o) { - return new Gunzip(o); - }), - (exports.createUnzip = function (o) { - return new Unzip(o); - }), - (exports.deflate = function (buffer, opts, callback) { - return ( - "function" == typeof opts && ((callback = opts), (opts = {})), - zlibBuffer(new Deflate(opts), buffer, callback) - ); - }), - (exports.deflateSync = function (buffer, opts) { - return zlibBufferSync(new Deflate(opts), buffer); - }), - (exports.gzip = function (buffer, opts, callback) { - return ( - "function" == typeof opts && ((callback = opts), (opts = {})), - zlibBuffer(new Gzip(opts), buffer, callback) - ); - }), - (exports.gzipSync = function (buffer, opts) { - return zlibBufferSync(new Gzip(opts), buffer); - }), - (exports.deflateRaw = function (buffer, opts, callback) { - return ( - "function" == typeof opts && ((callback = opts), (opts = {})), - zlibBuffer(new DeflateRaw(opts), buffer, callback) - ); - }), - (exports.deflateRawSync = function (buffer, opts) { - return zlibBufferSync(new DeflateRaw(opts), buffer); - }), - (exports.unzip = function (buffer, opts, callback) { - return ( - "function" == typeof opts && ((callback = opts), (opts = {})), - zlibBuffer(new Unzip(opts), buffer, callback) - ); - }), - (exports.unzipSync = function (buffer, opts) { - return zlibBufferSync(new Unzip(opts), buffer); - }), - (exports.inflate = function (buffer, opts, callback) { - return ( - "function" == typeof opts && ((callback = opts), (opts = {})), - zlibBuffer(new Inflate(opts), buffer, callback) - ); - }), - (exports.inflateSync = function (buffer, opts) { - return zlibBufferSync(new Inflate(opts), buffer); - }), - (exports.gunzip = function (buffer, opts, callback) { - return ( - "function" == typeof opts && ((callback = opts), (opts = {})), - zlibBuffer(new Gunzip(opts), buffer, callback) - ); - }), - (exports.gunzipSync = function (buffer, opts) { - return zlibBufferSync(new Gunzip(opts), buffer); - }), - (exports.inflateRaw = function (buffer, opts, callback) { - return ( - "function" == typeof opts && ((callback = opts), (opts = {})), - zlibBuffer(new InflateRaw(opts), buffer, callback) - ); - }), - (exports.inflateRawSync = function (buffer, opts) { - return zlibBufferSync(new InflateRaw(opts), buffer); - }), - util.inherits(Zlib, Transform), - (Zlib.prototype.params = function (level, strategy, callback) { - if (level < exports.Z_MIN_LEVEL || level > exports.Z_MAX_LEVEL) - throw new RangeError("Invalid compression level: " + level); - if ( - strategy != exports.Z_FILTERED && - strategy != exports.Z_HUFFMAN_ONLY && - strategy != exports.Z_RLE && - strategy != exports.Z_FIXED && - strategy != exports.Z_DEFAULT_STRATEGY - ) - throw new TypeError("Invalid strategy: " + strategy); - if (this._level !== level || this._strategy !== strategy) { - var self = this; - this.flush(binding.Z_SYNC_FLUSH, function () { - assert(self._handle, "zlib binding closed"), - self._handle.params(level, strategy), - self._hadError || - ((self._level = level), - (self._strategy = strategy), - callback && callback()); - }); - } else process.nextTick(callback); - }), - (Zlib.prototype.reset = function () { - return ( - assert(this._handle, "zlib binding closed"), this._handle.reset() - ); - }), - (Zlib.prototype._flush = function (callback) { - this._transform(Buffer.alloc(0), "", callback); - }), - (Zlib.prototype.flush = function (kind, callback) { - var _this2 = this, - ws = this._writableState; - ("function" == typeof kind || (void 0 === kind && !callback)) && - ((callback = kind), (kind = binding.Z_FULL_FLUSH)), - ws.ended - ? callback && process.nextTick(callback) - : ws.ending - ? callback && this.once("end", callback) - : ws.needDrain - ? callback && - this.once("drain", function () { - return _this2.flush(kind, callback); - }) - : ((this._flushFlag = kind), - this.write(Buffer.alloc(0), "", callback)); - }), - (Zlib.prototype.close = function (callback) { - _close(this, callback), process.nextTick(emitCloseNT, this); - }), - (Zlib.prototype._transform = function (chunk, encoding, cb) { - var flushFlag, - ws = this._writableState, - last = - (ws.ending || ws.ended) && - (!chunk || ws.length === chunk.length); - return null === chunk || Buffer.isBuffer(chunk) - ? this._handle - ? (last - ? (flushFlag = this._finishFlushFlag) - : ((flushFlag = this._flushFlag), - chunk.length >= ws.length && - (this._flushFlag = - this._opts.flush || binding.Z_NO_FLUSH)), - void this._processChunk(chunk, flushFlag, cb)) - : cb(new Error("zlib binding closed")) - : cb(new Error("invalid input")); - }), - (Zlib.prototype._processChunk = function (chunk, flushFlag, cb) { - var availInBefore = chunk && chunk.length, - availOutBefore = this._chunkSize - this._offset, - inOff = 0, - self = this, - async = "function" == typeof cb; - if (!async) { - var error, - buffers = [], - nread = 0; - this.on("error", function (er) { - error = er; - }), - assert(this._handle, "zlib binding closed"); - do { - var res = this._handle.writeSync( - flushFlag, - chunk, - inOff, - availInBefore, - this._buffer, - this._offset, - availOutBefore, - ); - } while (!this._hadError && callback(res[0], res[1])); - if (this._hadError) throw error; - if (nread >= kMaxLength) - throw (_close(this), new RangeError(kRangeErrorMessage)); - var buf = Buffer.concat(buffers, nread); - return _close(this), buf; - } - assert(this._handle, "zlib binding closed"); - var req = this._handle.write( - flushFlag, - chunk, - inOff, - availInBefore, - this._buffer, - this._offset, - availOutBefore, - ); - function callback(availInAfter, availOutAfter) { - if ( - (this && ((this.buffer = null), (this.callback = null)), - !self._hadError) - ) { - var have = availOutBefore - availOutAfter; - if ((assert(have >= 0, "have should not go down"), have > 0)) { - var out = self._buffer.slice( - self._offset, - self._offset + have, - ); - (self._offset += have), - async - ? self.push(out) - : (buffers.push(out), (nread += out.length)); - } - if ( - ((0 === availOutAfter || self._offset >= self._chunkSize) && - ((availOutBefore = self._chunkSize), - (self._offset = 0), - (self._buffer = Buffer.allocUnsafe(self._chunkSize))), - 0 === availOutAfter) - ) { - if ( - ((inOff += availInBefore - availInAfter), - (availInBefore = availInAfter), - !async) - ) - return !0; - var newReq = self._handle.write( - flushFlag, - chunk, - inOff, - availInBefore, - self._buffer, - self._offset, - self._chunkSize, - ); - return ( - (newReq.callback = callback), void (newReq.buffer = chunk) - ); - } - if (!async) return !1; - cb(); - } - } - (req.buffer = chunk), (req.callback = callback); - }), - util.inherits(Deflate, Zlib), - util.inherits(Inflate, Zlib), - util.inherits(Gzip, Zlib), - util.inherits(Gunzip, Zlib), - util.inherits(DeflateRaw, Zlib), - util.inherits(InflateRaw, Zlib), - util.inherits(Unzip, Zlib); - }, - "../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js": ( - __unused_webpack_module, - exports, - __webpack_require__, - ) => { - "use strict"; - var console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ); - const base64 = __webpack_require__( - "../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js", - ), - ieee754 = __webpack_require__( - "../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js", - ), - customInspectSymbol = - "function" == typeof Symbol && "function" == typeof Symbol.for - ? Symbol.for("nodejs.util.inspect.custom") - : null; - (exports.Buffer = Buffer), - (exports.SlowBuffer = function SlowBuffer(length) { - +length != length && (length = 0); - return Buffer.alloc(+length); - }), - (exports.INSPECT_MAX_BYTES = 50); - const K_MAX_LENGTH = 2147483647; - function createBuffer(length) { - if (length > K_MAX_LENGTH) - throw new RangeError( - 'The value "' + length + '" is invalid for option "size"', - ); - const buf = new Uint8Array(length); - return Object.setPrototypeOf(buf, Buffer.prototype), buf; - } - function Buffer(arg, encodingOrOffset, length) { - if ("number" == typeof arg) { - if ("string" == typeof encodingOrOffset) - throw new TypeError( - 'The "string" argument must be of type string. Received type number', - ); - return allocUnsafe(arg); - } - return from(arg, encodingOrOffset, length); - } - function from(value, encodingOrOffset, length) { - if ("string" == typeof value) - return (function fromString(string, encoding) { - ("string" == typeof encoding && "" !== encoding) || - (encoding = "utf8"); - if (!Buffer.isEncoding(encoding)) - throw new TypeError("Unknown encoding: " + encoding); - const length = 0 | byteLength(string, encoding); - let buf = createBuffer(length); - const actual = buf.write(string, encoding); - actual !== length && (buf = buf.slice(0, actual)); - return buf; - })(value, encodingOrOffset); - if (ArrayBuffer.isView(value)) - return (function fromArrayView(arrayView) { - if (isInstance(arrayView, Uint8Array)) { - const copy = new Uint8Array(arrayView); - return fromArrayBuffer( - copy.buffer, - copy.byteOffset, - copy.byteLength, - ); - } - return fromArrayLike(arrayView); - })(value); - if (null == value) - throw new TypeError( - "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + - typeof value, - ); - if ( - isInstance(value, ArrayBuffer) || - (value && isInstance(value.buffer, ArrayBuffer)) - ) - return fromArrayBuffer(value, encodingOrOffset, length); - if ( - "undefined" != typeof SharedArrayBuffer && - (isInstance(value, SharedArrayBuffer) || - (value && isInstance(value.buffer, SharedArrayBuffer))) - ) - return fromArrayBuffer(value, encodingOrOffset, length); - if ("number" == typeof value) - throw new TypeError( - 'The "value" argument must not be of type number. Received type number', - ); - const valueOf = value.valueOf && value.valueOf(); - if (null != valueOf && valueOf !== value) - return Buffer.from(valueOf, encodingOrOffset, length); - const b = (function fromObject(obj) { - if (Buffer.isBuffer(obj)) { - const len = 0 | checked(obj.length), - buf = createBuffer(len); - return 0 === buf.length || obj.copy(buf, 0, 0, len), buf; - } - if (void 0 !== obj.length) - return "number" != typeof obj.length || numberIsNaN(obj.length) - ? createBuffer(0) - : fromArrayLike(obj); - if ("Buffer" === obj.type && Array.isArray(obj.data)) - return fromArrayLike(obj.data); - })(value); - if (b) return b; - if ( - "undefined" != typeof Symbol && - null != Symbol.toPrimitive && - "function" == typeof value[Symbol.toPrimitive] - ) - return Buffer.from( - value[Symbol.toPrimitive]("string"), - encodingOrOffset, - length, - ); - throw new TypeError( - "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + - typeof value, - ); - } - function assertSize(size) { - if ("number" != typeof size) - throw new TypeError('"size" argument must be of type number'); - if (size < 0) - throw new RangeError( - 'The value "' + size + '" is invalid for option "size"', - ); - } - function allocUnsafe(size) { - return assertSize(size), createBuffer(size < 0 ? 0 : 0 | checked(size)); - } - function fromArrayLike(array) { - const length = array.length < 0 ? 0 : 0 | checked(array.length), - buf = createBuffer(length); - for (let i = 0; i < length; i += 1) buf[i] = 255 & array[i]; - return buf; - } - function fromArrayBuffer(array, byteOffset, length) { - if (byteOffset < 0 || array.byteLength < byteOffset) - throw new RangeError('"offset" is outside of buffer bounds'); - if (array.byteLength < byteOffset + (length || 0)) - throw new RangeError('"length" is outside of buffer bounds'); - let buf; - return ( - (buf = - void 0 === byteOffset && void 0 === length - ? new Uint8Array(array) - : void 0 === length - ? new Uint8Array(array, byteOffset) - : new Uint8Array(array, byteOffset, length)), - Object.setPrototypeOf(buf, Buffer.prototype), - buf - ); - } - function checked(length) { - if (length >= K_MAX_LENGTH) - throw new RangeError( - "Attempt to allocate Buffer larger than maximum size: 0x" + - K_MAX_LENGTH.toString(16) + - " bytes", - ); - return 0 | length; - } - function byteLength(string, encoding) { - if (Buffer.isBuffer(string)) return string.length; - if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) - return string.byteLength; - if ("string" != typeof string) - throw new TypeError( - 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + - typeof string, - ); - const len = string.length, - mustMatch = arguments.length > 2 && !0 === arguments[2]; - if (!mustMatch && 0 === len) return 0; - let loweredCase = !1; - for (;;) - switch (encoding) { - case "ascii": - case "latin1": - case "binary": - return len; - case "utf8": - case "utf-8": - return utf8ToBytes(string).length; - case "ucs2": - case "ucs-2": - case "utf16le": - case "utf-16le": - return 2 * len; - case "hex": - return len >>> 1; - case "base64": - return base64ToBytes(string).length; - default: - if (loweredCase) - return mustMatch ? -1 : utf8ToBytes(string).length; - (encoding = ("" + encoding).toLowerCase()), (loweredCase = !0); - } - } - function slowToString(encoding, start, end) { - let loweredCase = !1; - if ( - ((void 0 === start || start < 0) && (start = 0), start > this.length) - ) - return ""; - if ( - ((void 0 === end || end > this.length) && (end = this.length), - end <= 0) - ) - return ""; - if ((end >>>= 0) <= (start >>>= 0)) return ""; - for (encoding || (encoding = "utf8"); ; ) - switch (encoding) { - case "hex": - return hexSlice(this, start, end); - case "utf8": - case "utf-8": - return utf8Slice(this, start, end); - case "ascii": - return asciiSlice(this, start, end); - case "latin1": - case "binary": - return latin1Slice(this, start, end); - case "base64": - return base64Slice(this, start, end); - case "ucs2": - case "ucs-2": - case "utf16le": - case "utf-16le": - return utf16leSlice(this, start, end); - default: - if (loweredCase) - throw new TypeError("Unknown encoding: " + encoding); - (encoding = (encoding + "").toLowerCase()), (loweredCase = !0); - } - } - function swap(b, n, m) { - const i = b[n]; - (b[n] = b[m]), (b[m] = i); - } - function bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) { - if (0 === buffer.length) return -1; - if ( - ("string" == typeof byteOffset - ? ((encoding = byteOffset), (byteOffset = 0)) - : byteOffset > 2147483647 - ? (byteOffset = 2147483647) - : byteOffset < -2147483648 && (byteOffset = -2147483648), - numberIsNaN((byteOffset = +byteOffset)) && - (byteOffset = dir ? 0 : buffer.length - 1), - byteOffset < 0 && (byteOffset = buffer.length + byteOffset), - byteOffset >= buffer.length) - ) { - if (dir) return -1; - byteOffset = buffer.length - 1; - } else if (byteOffset < 0) { - if (!dir) return -1; - byteOffset = 0; - } - if ( - ("string" == typeof val && (val = Buffer.from(val, encoding)), - Buffer.isBuffer(val)) - ) - return 0 === val.length - ? -1 - : arrayIndexOf(buffer, val, byteOffset, encoding, dir); - if ("number" == typeof val) - return ( - (val &= 255), - "function" == typeof Uint8Array.prototype.indexOf - ? dir - ? Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) - : Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) - : arrayIndexOf(buffer, [val], byteOffset, encoding, dir) - ); - throw new TypeError("val must be string, number or Buffer"); - } - function arrayIndexOf(arr, val, byteOffset, encoding, dir) { - let i, - indexSize = 1, - arrLength = arr.length, - valLength = val.length; - if ( - void 0 !== encoding && - ("ucs2" === (encoding = String(encoding).toLowerCase()) || - "ucs-2" === encoding || - "utf16le" === encoding || - "utf-16le" === encoding) - ) { - if (arr.length < 2 || val.length < 2) return -1; - (indexSize = 2), - (arrLength /= 2), - (valLength /= 2), - (byteOffset /= 2); - } - function read(buf, i) { - return 1 === indexSize ? buf[i] : buf.readUInt16BE(i * indexSize); - } - if (dir) { - let foundIndex = -1; - for (i = byteOffset; i < arrLength; i++) - if ( - read(arr, i) === read(val, -1 === foundIndex ? 0 : i - foundIndex) - ) { - if ( - (-1 === foundIndex && (foundIndex = i), - i - foundIndex + 1 === valLength) - ) - return foundIndex * indexSize; - } else - -1 !== foundIndex && (i -= i - foundIndex), (foundIndex = -1); - } else - for ( - byteOffset + valLength > arrLength && - (byteOffset = arrLength - valLength), - i = byteOffset; - i >= 0; - i-- - ) { - let found = !0; - for (let j = 0; j < valLength; j++) - if (read(arr, i + j) !== read(val, j)) { - found = !1; - break; - } - if (found) return i; - } - return -1; - } - function hexWrite(buf, string, offset, length) { - offset = Number(offset) || 0; - const remaining = buf.length - offset; - length - ? (length = Number(length)) > remaining && (length = remaining) - : (length = remaining); - const strLen = string.length; - let i; - for ( - length > strLen / 2 && (length = strLen / 2), i = 0; - i < length; - ++i - ) { - const parsed = parseInt(string.substr(2 * i, 2), 16); - if (numberIsNaN(parsed)) return i; - buf[offset + i] = parsed; - } - return i; - } - function utf8Write(buf, string, offset, length) { - return blitBuffer( - utf8ToBytes(string, buf.length - offset), - buf, - offset, - length, - ); - } - function asciiWrite(buf, string, offset, length) { - return blitBuffer( - (function asciiToBytes(str) { - const byteArray = []; - for (let i = 0; i < str.length; ++i) - byteArray.push(255 & str.charCodeAt(i)); - return byteArray; - })(string), - buf, - offset, - length, - ); - } - function base64Write(buf, string, offset, length) { - return blitBuffer(base64ToBytes(string), buf, offset, length); - } - function ucs2Write(buf, string, offset, length) { - return blitBuffer( - (function utf16leToBytes(str, units) { - let c, hi, lo; - const byteArray = []; - for (let i = 0; i < str.length && !((units -= 2) < 0); ++i) - (c = str.charCodeAt(i)), - (hi = c >> 8), - (lo = c % 256), - byteArray.push(lo), - byteArray.push(hi); - return byteArray; - })(string, buf.length - offset), - buf, - offset, - length, - ); - } - function base64Slice(buf, start, end) { - return 0 === start && end === buf.length - ? base64.fromByteArray(buf) - : base64.fromByteArray(buf.slice(start, end)); - } - function utf8Slice(buf, start, end) { - end = Math.min(buf.length, end); - const res = []; - let i = start; - for (; i < end; ) { - const firstByte = buf[i]; - let codePoint = null, - bytesPerSequence = - firstByte > 239 - ? 4 - : firstByte > 223 - ? 3 - : firstByte > 191 - ? 2 - : 1; - if (i + bytesPerSequence <= end) { - let secondByte, thirdByte, fourthByte, tempCodePoint; - switch (bytesPerSequence) { - case 1: - firstByte < 128 && (codePoint = firstByte); - break; - case 2: - (secondByte = buf[i + 1]), - 128 == (192 & secondByte) && - ((tempCodePoint = - ((31 & firstByte) << 6) | (63 & secondByte)), - tempCodePoint > 127 && (codePoint = tempCodePoint)); - break; - case 3: - (secondByte = buf[i + 1]), - (thirdByte = buf[i + 2]), - 128 == (192 & secondByte) && - 128 == (192 & thirdByte) && - ((tempCodePoint = - ((15 & firstByte) << 12) | - ((63 & secondByte) << 6) | - (63 & thirdByte)), - tempCodePoint > 2047 && - (tempCodePoint < 55296 || tempCodePoint > 57343) && - (codePoint = tempCodePoint)); - break; - case 4: - (secondByte = buf[i + 1]), - (thirdByte = buf[i + 2]), - (fourthByte = buf[i + 3]), - 128 == (192 & secondByte) && - 128 == (192 & thirdByte) && - 128 == (192 & fourthByte) && - ((tempCodePoint = - ((15 & firstByte) << 18) | - ((63 & secondByte) << 12) | - ((63 & thirdByte) << 6) | - (63 & fourthByte)), - tempCodePoint > 65535 && - tempCodePoint < 1114112 && - (codePoint = tempCodePoint)); - } - } - null === codePoint - ? ((codePoint = 65533), (bytesPerSequence = 1)) - : codePoint > 65535 && - ((codePoint -= 65536), - res.push(((codePoint >>> 10) & 1023) | 55296), - (codePoint = 56320 | (1023 & codePoint))), - res.push(codePoint), - (i += bytesPerSequence); - } - return (function decodeCodePointsArray(codePoints) { - const len = codePoints.length; - if (len <= MAX_ARGUMENTS_LENGTH) - return String.fromCharCode.apply(String, codePoints); - let res = "", - i = 0; - for (; i < len; ) - res += String.fromCharCode.apply( - String, - codePoints.slice(i, (i += MAX_ARGUMENTS_LENGTH)), - ); - return res; - })(res); - } - (exports.kMaxLength = K_MAX_LENGTH), - (Buffer.TYPED_ARRAY_SUPPORT = (function typedArraySupport() { - try { - const arr = new Uint8Array(1), - proto = { - foo: function () { - return 42; - }, - }; - return ( - Object.setPrototypeOf(proto, Uint8Array.prototype), - Object.setPrototypeOf(arr, proto), - 42 === arr.foo() - ); - } catch (e) { - return !1; - } - })()), - Buffer.TYPED_ARRAY_SUPPORT || - void 0 === console || - "function" != typeof console.error || - console.error( - "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.", - ), - Object.defineProperty(Buffer.prototype, "parent", { - enumerable: !0, - get: function () { - if (Buffer.isBuffer(this)) return this.buffer; - }, - }), - Object.defineProperty(Buffer.prototype, "offset", { - enumerable: !0, - get: function () { - if (Buffer.isBuffer(this)) return this.byteOffset; - }, - }), - (Buffer.poolSize = 8192), - (Buffer.from = function (value, encodingOrOffset, length) { - return from(value, encodingOrOffset, length); - }), - Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype), - Object.setPrototypeOf(Buffer, Uint8Array), - (Buffer.alloc = function (size, fill, encoding) { - return (function alloc(size, fill, encoding) { - return ( - assertSize(size), - size <= 0 - ? createBuffer(size) - : void 0 !== fill - ? "string" == typeof encoding - ? createBuffer(size).fill(fill, encoding) - : createBuffer(size).fill(fill) - : createBuffer(size) - ); - })(size, fill, encoding); - }), - (Buffer.allocUnsafe = function (size) { - return allocUnsafe(size); - }), - (Buffer.allocUnsafeSlow = function (size) { - return allocUnsafe(size); - }), - (Buffer.isBuffer = function isBuffer(b) { - return null != b && !0 === b._isBuffer && b !== Buffer.prototype; - }), - (Buffer.compare = function compare(a, b) { - if ( - (isInstance(a, Uint8Array) && - (a = Buffer.from(a, a.offset, a.byteLength)), - isInstance(b, Uint8Array) && - (b = Buffer.from(b, b.offset, b.byteLength)), - !Buffer.isBuffer(a) || !Buffer.isBuffer(b)) - ) - throw new TypeError( - 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array', - ); - if (a === b) return 0; - let x = a.length, - y = b.length; - for (let i = 0, len = Math.min(x, y); i < len; ++i) - if (a[i] !== b[i]) { - (x = a[i]), (y = b[i]); - break; - } - return x < y ? -1 : y < x ? 1 : 0; - }), - (Buffer.isEncoding = function isEncoding(encoding) { - switch (String(encoding).toLowerCase()) { - case "hex": - case "utf8": - case "utf-8": - case "ascii": - case "latin1": - case "binary": - case "base64": - case "ucs2": - case "ucs-2": - case "utf16le": - case "utf-16le": - return !0; - default: - return !1; - } - }), - (Buffer.concat = function concat(list, length) { - if (!Array.isArray(list)) - throw new TypeError('"list" argument must be an Array of Buffers'); - if (0 === list.length) return Buffer.alloc(0); - let i; - if (void 0 === length) - for (length = 0, i = 0; i < list.length; ++i) - length += list[i].length; - const buffer = Buffer.allocUnsafe(length); - let pos = 0; - for (i = 0; i < list.length; ++i) { - let buf = list[i]; - if (isInstance(buf, Uint8Array)) - pos + buf.length > buffer.length - ? (Buffer.isBuffer(buf) || (buf = Buffer.from(buf)), - buf.copy(buffer, pos)) - : Uint8Array.prototype.set.call(buffer, buf, pos); - else { - if (!Buffer.isBuffer(buf)) - throw new TypeError( - '"list" argument must be an Array of Buffers', - ); - buf.copy(buffer, pos); - } - pos += buf.length; - } - return buffer; - }), - (Buffer.byteLength = byteLength), - (Buffer.prototype._isBuffer = !0), - (Buffer.prototype.swap16 = function swap16() { - const len = this.length; - if (len % 2 != 0) - throw new RangeError("Buffer size must be a multiple of 16-bits"); - for (let i = 0; i < len; i += 2) swap(this, i, i + 1); - return this; - }), - (Buffer.prototype.swap32 = function swap32() { - const len = this.length; - if (len % 4 != 0) - throw new RangeError("Buffer size must be a multiple of 32-bits"); - for (let i = 0; i < len; i += 4) - swap(this, i, i + 3), swap(this, i + 1, i + 2); - return this; - }), - (Buffer.prototype.swap64 = function swap64() { - const len = this.length; - if (len % 8 != 0) - throw new RangeError("Buffer size must be a multiple of 64-bits"); - for (let i = 0; i < len; i += 8) - swap(this, i, i + 7), - swap(this, i + 1, i + 6), - swap(this, i + 2, i + 5), - swap(this, i + 3, i + 4); - return this; - }), - (Buffer.prototype.toString = function toString() { - const length = this.length; - return 0 === length - ? "" - : 0 === arguments.length - ? utf8Slice(this, 0, length) - : slowToString.apply(this, arguments); - }), - (Buffer.prototype.toLocaleString = Buffer.prototype.toString), - (Buffer.prototype.equals = function equals(b) { - if (!Buffer.isBuffer(b)) - throw new TypeError("Argument must be a Buffer"); - return this === b || 0 === Buffer.compare(this, b); - }), - (Buffer.prototype.inspect = function inspect() { - let str = ""; - const max = exports.INSPECT_MAX_BYTES; - return ( - (str = this.toString("hex", 0, max) - .replace(/(.{2})/g, "$1 ") - .trim()), - this.length > max && (str += " ... "), - "" - ); - }), - customInspectSymbol && - (Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect), - (Buffer.prototype.compare = function compare( - target, - start, - end, - thisStart, - thisEnd, - ) { - if ( - (isInstance(target, Uint8Array) && - (target = Buffer.from(target, target.offset, target.byteLength)), - !Buffer.isBuffer(target)) - ) - throw new TypeError( - 'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + - typeof target, - ); - if ( - (void 0 === start && (start = 0), - void 0 === end && (end = target ? target.length : 0), - void 0 === thisStart && (thisStart = 0), - void 0 === thisEnd && (thisEnd = this.length), - start < 0 || - end > target.length || - thisStart < 0 || - thisEnd > this.length) - ) - throw new RangeError("out of range index"); - if (thisStart >= thisEnd && start >= end) return 0; - if (thisStart >= thisEnd) return -1; - if (start >= end) return 1; - if (this === target) return 0; - let x = (thisEnd >>>= 0) - (thisStart >>>= 0), - y = (end >>>= 0) - (start >>>= 0); - const len = Math.min(x, y), - thisCopy = this.slice(thisStart, thisEnd), - targetCopy = target.slice(start, end); - for (let i = 0; i < len; ++i) - if (thisCopy[i] !== targetCopy[i]) { - (x = thisCopy[i]), (y = targetCopy[i]); - break; - } - return x < y ? -1 : y < x ? 1 : 0; - }), - (Buffer.prototype.includes = function includes( - val, - byteOffset, - encoding, - ) { - return -1 !== this.indexOf(val, byteOffset, encoding); - }), - (Buffer.prototype.indexOf = function indexOf( - val, - byteOffset, - encoding, - ) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, !0); - }), - (Buffer.prototype.lastIndexOf = function lastIndexOf( - val, - byteOffset, - encoding, - ) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, !1); - }), - (Buffer.prototype.write = function write( - string, - offset, - length, - encoding, - ) { - if (void 0 === offset) - (encoding = "utf8"), (length = this.length), (offset = 0); - else if (void 0 === length && "string" == typeof offset) - (encoding = offset), (length = this.length), (offset = 0); - else { - if (!isFinite(offset)) - throw new Error( - "Buffer.write(string, encoding, offset[, length]) is no longer supported", - ); - (offset >>>= 0), - isFinite(length) - ? ((length >>>= 0), void 0 === encoding && (encoding = "utf8")) - : ((encoding = length), (length = void 0)); - } - const remaining = this.length - offset; - if ( - ((void 0 === length || length > remaining) && (length = remaining), - (string.length > 0 && (length < 0 || offset < 0)) || - offset > this.length) - ) - throw new RangeError("Attempt to write outside buffer bounds"); - encoding || (encoding = "utf8"); - let loweredCase = !1; - for (;;) - switch (encoding) { - case "hex": - return hexWrite(this, string, offset, length); - case "utf8": - case "utf-8": - return utf8Write(this, string, offset, length); - case "ascii": - case "latin1": - case "binary": - return asciiWrite(this, string, offset, length); - case "base64": - return base64Write(this, string, offset, length); - case "ucs2": - case "ucs-2": - case "utf16le": - case "utf-16le": - return ucs2Write(this, string, offset, length); - default: - if (loweredCase) - throw new TypeError("Unknown encoding: " + encoding); - (encoding = ("" + encoding).toLowerCase()), (loweredCase = !0); - } - }), - (Buffer.prototype.toJSON = function toJSON() { - return { - type: "Buffer", - data: Array.prototype.slice.call(this._arr || this, 0), - }; - }); - const MAX_ARGUMENTS_LENGTH = 4096; - function asciiSlice(buf, start, end) { - let ret = ""; - end = Math.min(buf.length, end); - for (let i = start; i < end; ++i) - ret += String.fromCharCode(127 & buf[i]); - return ret; - } - function latin1Slice(buf, start, end) { - let ret = ""; - end = Math.min(buf.length, end); - for (let i = start; i < end; ++i) ret += String.fromCharCode(buf[i]); - return ret; - } - function hexSlice(buf, start, end) { - const len = buf.length; - (!start || start < 0) && (start = 0), - (!end || end < 0 || end > len) && (end = len); - let out = ""; - for (let i = start; i < end; ++i) out += hexSliceLookupTable[buf[i]]; - return out; - } - function utf16leSlice(buf, start, end) { - const bytes = buf.slice(start, end); - let res = ""; - for (let i = 0; i < bytes.length - 1; i += 2) - res += String.fromCharCode(bytes[i] + 256 * bytes[i + 1]); - return res; - } - function checkOffset(offset, ext, length) { - if (offset % 1 != 0 || offset < 0) - throw new RangeError("offset is not uint"); - if (offset + ext > length) - throw new RangeError("Trying to access beyond buffer length"); - } - function checkInt(buf, value, offset, ext, max, min) { - if (!Buffer.isBuffer(buf)) - throw new TypeError('"buffer" argument must be a Buffer instance'); - if (value > max || value < min) - throw new RangeError('"value" argument is out of bounds'); - if (offset + ext > buf.length) - throw new RangeError("Index out of range"); - } - function wrtBigUInt64LE(buf, value, offset, min, max) { - checkIntBI(value, min, max, buf, offset, 7); - let lo = Number(value & BigInt(4294967295)); - (buf[offset++] = lo), - (lo >>= 8), - (buf[offset++] = lo), - (lo >>= 8), - (buf[offset++] = lo), - (lo >>= 8), - (buf[offset++] = lo); - let hi = Number((value >> BigInt(32)) & BigInt(4294967295)); - return ( - (buf[offset++] = hi), - (hi >>= 8), - (buf[offset++] = hi), - (hi >>= 8), - (buf[offset++] = hi), - (hi >>= 8), - (buf[offset++] = hi), - offset - ); - } - function wrtBigUInt64BE(buf, value, offset, min, max) { - checkIntBI(value, min, max, buf, offset, 7); - let lo = Number(value & BigInt(4294967295)); - (buf[offset + 7] = lo), - (lo >>= 8), - (buf[offset + 6] = lo), - (lo >>= 8), - (buf[offset + 5] = lo), - (lo >>= 8), - (buf[offset + 4] = lo); - let hi = Number((value >> BigInt(32)) & BigInt(4294967295)); - return ( - (buf[offset + 3] = hi), - (hi >>= 8), - (buf[offset + 2] = hi), - (hi >>= 8), - (buf[offset + 1] = hi), - (hi >>= 8), - (buf[offset] = hi), - offset + 8 - ); - } - function checkIEEE754(buf, value, offset, ext, max, min) { - if (offset + ext > buf.length) - throw new RangeError("Index out of range"); - if (offset < 0) throw new RangeError("Index out of range"); - } - function writeFloat(buf, value, offset, littleEndian, noAssert) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkIEEE754(buf, 0, offset, 4), - ieee754.write(buf, value, offset, littleEndian, 23, 4), - offset + 4 - ); - } - function writeDouble(buf, value, offset, littleEndian, noAssert) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkIEEE754(buf, 0, offset, 8), - ieee754.write(buf, value, offset, littleEndian, 52, 8), - offset + 8 - ); - } - (Buffer.prototype.slice = function slice(start, end) { - const len = this.length; - (start = ~~start) < 0 - ? (start += len) < 0 && (start = 0) - : start > len && (start = len), - (end = void 0 === end ? len : ~~end) < 0 - ? (end += len) < 0 && (end = 0) - : end > len && (end = len), - end < start && (end = start); - const newBuf = this.subarray(start, end); - return Object.setPrototypeOf(newBuf, Buffer.prototype), newBuf; - }), - (Buffer.prototype.readUintLE = Buffer.prototype.readUIntLE = - function readUIntLE(offset, byteLength, noAssert) { - (offset >>>= 0), - (byteLength >>>= 0), - noAssert || checkOffset(offset, byteLength, this.length); - let val = this[offset], - mul = 1, - i = 0; - for (; ++i < byteLength && (mul *= 256); ) - val += this[offset + i] * mul; - return val; - }), - (Buffer.prototype.readUintBE = Buffer.prototype.readUIntBE = - function readUIntBE(offset, byteLength, noAssert) { - (offset >>>= 0), - (byteLength >>>= 0), - noAssert || checkOffset(offset, byteLength, this.length); - let val = this[offset + --byteLength], - mul = 1; - for (; byteLength > 0 && (mul *= 256); ) - val += this[offset + --byteLength] * mul; - return val; - }), - (Buffer.prototype.readUint8 = Buffer.prototype.readUInt8 = - function readUInt8(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 1, this.length), - this[offset] - ); - }), - (Buffer.prototype.readUint16LE = Buffer.prototype.readUInt16LE = - function readUInt16LE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 2, this.length), - this[offset] | (this[offset + 1] << 8) - ); - }), - (Buffer.prototype.readUint16BE = Buffer.prototype.readUInt16BE = - function readUInt16BE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 2, this.length), - (this[offset] << 8) | this[offset + 1] - ); - }), - (Buffer.prototype.readUint32LE = Buffer.prototype.readUInt32LE = - function readUInt32LE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 4, this.length), - (this[offset] | - (this[offset + 1] << 8) | - (this[offset + 2] << 16)) + - 16777216 * this[offset + 3] - ); - }), - (Buffer.prototype.readUint32BE = Buffer.prototype.readUInt32BE = - function readUInt32BE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 4, this.length), - 16777216 * this[offset] + - ((this[offset + 1] << 16) | - (this[offset + 2] << 8) | - this[offset + 3]) - ); - }), - (Buffer.prototype.readBigUInt64LE = defineBigIntMethod( - function readBigUInt64LE(offset) { - validateNumber((offset >>>= 0), "offset"); - const first = this[offset], - last = this[offset + 7]; - (void 0 !== first && void 0 !== last) || - boundsError(offset, this.length - 8); - const lo = - first + - 256 * this[++offset] + - 65536 * this[++offset] + - this[++offset] * 2 ** 24, - hi = - this[++offset] + - 256 * this[++offset] + - 65536 * this[++offset] + - last * 2 ** 24; - return BigInt(lo) + (BigInt(hi) << BigInt(32)); - }, - )), - (Buffer.prototype.readBigUInt64BE = defineBigIntMethod( - function readBigUInt64BE(offset) { - validateNumber((offset >>>= 0), "offset"); - const first = this[offset], - last = this[offset + 7]; - (void 0 !== first && void 0 !== last) || - boundsError(offset, this.length - 8); - const hi = - first * 2 ** 24 + - 65536 * this[++offset] + - 256 * this[++offset] + - this[++offset], - lo = - this[++offset] * 2 ** 24 + - 65536 * this[++offset] + - 256 * this[++offset] + - last; - return (BigInt(hi) << BigInt(32)) + BigInt(lo); - }, - )), - (Buffer.prototype.readIntLE = function readIntLE( - offset, - byteLength, - noAssert, - ) { - (offset >>>= 0), - (byteLength >>>= 0), - noAssert || checkOffset(offset, byteLength, this.length); - let val = this[offset], - mul = 1, - i = 0; - for (; ++i < byteLength && (mul *= 256); ) - val += this[offset + i] * mul; - return ( - (mul *= 128), - val >= mul && (val -= Math.pow(2, 8 * byteLength)), - val - ); - }), - (Buffer.prototype.readIntBE = function readIntBE( - offset, - byteLength, - noAssert, - ) { - (offset >>>= 0), - (byteLength >>>= 0), - noAssert || checkOffset(offset, byteLength, this.length); - let i = byteLength, - mul = 1, - val = this[offset + --i]; - for (; i > 0 && (mul *= 256); ) val += this[offset + --i] * mul; - return ( - (mul *= 128), - val >= mul && (val -= Math.pow(2, 8 * byteLength)), - val - ); - }), - (Buffer.prototype.readInt8 = function readInt8(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 1, this.length), - 128 & this[offset] ? -1 * (255 - this[offset] + 1) : this[offset] - ); - }), - (Buffer.prototype.readInt16LE = function readInt16LE(offset, noAssert) { - (offset >>>= 0), noAssert || checkOffset(offset, 2, this.length); - const val = this[offset] | (this[offset + 1] << 8); - return 32768 & val ? 4294901760 | val : val; - }), - (Buffer.prototype.readInt16BE = function readInt16BE(offset, noAssert) { - (offset >>>= 0), noAssert || checkOffset(offset, 2, this.length); - const val = this[offset + 1] | (this[offset] << 8); - return 32768 & val ? 4294901760 | val : val; - }), - (Buffer.prototype.readInt32LE = function readInt32LE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 4, this.length), - this[offset] | - (this[offset + 1] << 8) | - (this[offset + 2] << 16) | - (this[offset + 3] << 24) - ); - }), - (Buffer.prototype.readInt32BE = function readInt32BE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 4, this.length), - (this[offset] << 24) | - (this[offset + 1] << 16) | - (this[offset + 2] << 8) | - this[offset + 3] - ); - }), - (Buffer.prototype.readBigInt64LE = defineBigIntMethod( - function readBigInt64LE(offset) { - validateNumber((offset >>>= 0), "offset"); - const first = this[offset], - last = this[offset + 7]; - (void 0 !== first && void 0 !== last) || - boundsError(offset, this.length - 8); - const val = - this[offset + 4] + - 256 * this[offset + 5] + - 65536 * this[offset + 6] + - (last << 24); - return ( - (BigInt(val) << BigInt(32)) + - BigInt( - first + - 256 * this[++offset] + - 65536 * this[++offset] + - this[++offset] * 2 ** 24, - ) - ); - }, - )), - (Buffer.prototype.readBigInt64BE = defineBigIntMethod( - function readBigInt64BE(offset) { - validateNumber((offset >>>= 0), "offset"); - const first = this[offset], - last = this[offset + 7]; - (void 0 !== first && void 0 !== last) || - boundsError(offset, this.length - 8); - const val = - (first << 24) + - 65536 * this[++offset] + - 256 * this[++offset] + - this[++offset]; - return ( - (BigInt(val) << BigInt(32)) + - BigInt( - this[++offset] * 2 ** 24 + - 65536 * this[++offset] + - 256 * this[++offset] + - last, - ) - ); - }, - )), - (Buffer.prototype.readFloatLE = function readFloatLE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 4, this.length), - ieee754.read(this, offset, !0, 23, 4) - ); - }), - (Buffer.prototype.readFloatBE = function readFloatBE(offset, noAssert) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 4, this.length), - ieee754.read(this, offset, !1, 23, 4) - ); - }), - (Buffer.prototype.readDoubleLE = function readDoubleLE( - offset, - noAssert, - ) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 8, this.length), - ieee754.read(this, offset, !0, 52, 8) - ); - }), - (Buffer.prototype.readDoubleBE = function readDoubleBE( - offset, - noAssert, - ) { - return ( - (offset >>>= 0), - noAssert || checkOffset(offset, 8, this.length), - ieee754.read(this, offset, !1, 52, 8) - ); - }), - (Buffer.prototype.writeUintLE = Buffer.prototype.writeUIntLE = - function writeUIntLE(value, offset, byteLength, noAssert) { - if ( - ((value = +value), - (offset >>>= 0), - (byteLength >>>= 0), - !noAssert) - ) { - checkInt( - this, - value, - offset, - byteLength, - Math.pow(2, 8 * byteLength) - 1, - 0, - ); - } - let mul = 1, - i = 0; - for (this[offset] = 255 & value; ++i < byteLength && (mul *= 256); ) - this[offset + i] = (value / mul) & 255; - return offset + byteLength; - }), - (Buffer.prototype.writeUintBE = Buffer.prototype.writeUIntBE = - function writeUIntBE(value, offset, byteLength, noAssert) { - if ( - ((value = +value), - (offset >>>= 0), - (byteLength >>>= 0), - !noAssert) - ) { - checkInt( - this, - value, - offset, - byteLength, - Math.pow(2, 8 * byteLength) - 1, - 0, - ); - } - let i = byteLength - 1, - mul = 1; - for (this[offset + i] = 255 & value; --i >= 0 && (mul *= 256); ) - this[offset + i] = (value / mul) & 255; - return offset + byteLength; - }), - (Buffer.prototype.writeUint8 = Buffer.prototype.writeUInt8 = - function writeUInt8(value, offset, noAssert) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 1, 255, 0), - (this[offset] = 255 & value), - offset + 1 - ); - }), - (Buffer.prototype.writeUint16LE = Buffer.prototype.writeUInt16LE = - function writeUInt16LE(value, offset, noAssert) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 2, 65535, 0), - (this[offset] = 255 & value), - (this[offset + 1] = value >>> 8), - offset + 2 - ); - }), - (Buffer.prototype.writeUint16BE = Buffer.prototype.writeUInt16BE = - function writeUInt16BE(value, offset, noAssert) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 2, 65535, 0), - (this[offset] = value >>> 8), - (this[offset + 1] = 255 & value), - offset + 2 - ); - }), - (Buffer.prototype.writeUint32LE = Buffer.prototype.writeUInt32LE = - function writeUInt32LE(value, offset, noAssert) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 4, 4294967295, 0), - (this[offset + 3] = value >>> 24), - (this[offset + 2] = value >>> 16), - (this[offset + 1] = value >>> 8), - (this[offset] = 255 & value), - offset + 4 - ); - }), - (Buffer.prototype.writeUint32BE = Buffer.prototype.writeUInt32BE = - function writeUInt32BE(value, offset, noAssert) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 4, 4294967295, 0), - (this[offset] = value >>> 24), - (this[offset + 1] = value >>> 16), - (this[offset + 2] = value >>> 8), - (this[offset + 3] = 255 & value), - offset + 4 - ); - }), - (Buffer.prototype.writeBigUInt64LE = defineBigIntMethod( - function writeBigUInt64LE(value, offset = 0) { - return wrtBigUInt64LE( - this, - value, - offset, - BigInt(0), - BigInt("0xffffffffffffffff"), - ); - }, - )), - (Buffer.prototype.writeBigUInt64BE = defineBigIntMethod( - function writeBigUInt64BE(value, offset = 0) { - return wrtBigUInt64BE( - this, - value, - offset, - BigInt(0), - BigInt("0xffffffffffffffff"), - ); - }, - )), - (Buffer.prototype.writeIntLE = function writeIntLE( - value, - offset, - byteLength, - noAssert, - ) { - if (((value = +value), (offset >>>= 0), !noAssert)) { - const limit = Math.pow(2, 8 * byteLength - 1); - checkInt(this, value, offset, byteLength, limit - 1, -limit); - } - let i = 0, - mul = 1, - sub = 0; - for (this[offset] = 255 & value; ++i < byteLength && (mul *= 256); ) - value < 0 && 0 === sub && 0 !== this[offset + i - 1] && (sub = 1), - (this[offset + i] = (((value / mul) | 0) - sub) & 255); - return offset + byteLength; - }), - (Buffer.prototype.writeIntBE = function writeIntBE( - value, - offset, - byteLength, - noAssert, - ) { - if (((value = +value), (offset >>>= 0), !noAssert)) { - const limit = Math.pow(2, 8 * byteLength - 1); - checkInt(this, value, offset, byteLength, limit - 1, -limit); - } - let i = byteLength - 1, - mul = 1, - sub = 0; - for (this[offset + i] = 255 & value; --i >= 0 && (mul *= 256); ) - value < 0 && 0 === sub && 0 !== this[offset + i + 1] && (sub = 1), - (this[offset + i] = (((value / mul) | 0) - sub) & 255); - return offset + byteLength; - }), - (Buffer.prototype.writeInt8 = function writeInt8( - value, - offset, - noAssert, - ) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 1, 127, -128), - value < 0 && (value = 255 + value + 1), - (this[offset] = 255 & value), - offset + 1 - ); - }), - (Buffer.prototype.writeInt16LE = function writeInt16LE( - value, - offset, - noAssert, - ) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 2, 32767, -32768), - (this[offset] = 255 & value), - (this[offset + 1] = value >>> 8), - offset + 2 - ); - }), - (Buffer.prototype.writeInt16BE = function writeInt16BE( - value, - offset, - noAssert, - ) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || checkInt(this, value, offset, 2, 32767, -32768), - (this[offset] = value >>> 8), - (this[offset + 1] = 255 & value), - offset + 2 - ); - }), - (Buffer.prototype.writeInt32LE = function writeInt32LE( - value, - offset, - noAssert, - ) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || - checkInt(this, value, offset, 4, 2147483647, -2147483648), - (this[offset] = 255 & value), - (this[offset + 1] = value >>> 8), - (this[offset + 2] = value >>> 16), - (this[offset + 3] = value >>> 24), - offset + 4 - ); - }), - (Buffer.prototype.writeInt32BE = function writeInt32BE( - value, - offset, - noAssert, - ) { - return ( - (value = +value), - (offset >>>= 0), - noAssert || - checkInt(this, value, offset, 4, 2147483647, -2147483648), - value < 0 && (value = 4294967295 + value + 1), - (this[offset] = value >>> 24), - (this[offset + 1] = value >>> 16), - (this[offset + 2] = value >>> 8), - (this[offset + 3] = 255 & value), - offset + 4 - ); - }), - (Buffer.prototype.writeBigInt64LE = defineBigIntMethod( - function writeBigInt64LE(value, offset = 0) { - return wrtBigUInt64LE( - this, - value, - offset, - -BigInt("0x8000000000000000"), - BigInt("0x7fffffffffffffff"), - ); - }, - )), - (Buffer.prototype.writeBigInt64BE = defineBigIntMethod( - function writeBigInt64BE(value, offset = 0) { - return wrtBigUInt64BE( - this, - value, - offset, - -BigInt("0x8000000000000000"), - BigInt("0x7fffffffffffffff"), - ); - }, - )), - (Buffer.prototype.writeFloatLE = function writeFloatLE( - value, - offset, - noAssert, - ) { - return writeFloat(this, value, offset, !0, noAssert); - }), - (Buffer.prototype.writeFloatBE = function writeFloatBE( - value, - offset, - noAssert, - ) { - return writeFloat(this, value, offset, !1, noAssert); - }), - (Buffer.prototype.writeDoubleLE = function writeDoubleLE( - value, - offset, - noAssert, - ) { - return writeDouble(this, value, offset, !0, noAssert); - }), - (Buffer.prototype.writeDoubleBE = function writeDoubleBE( - value, - offset, - noAssert, - ) { - return writeDouble(this, value, offset, !1, noAssert); - }), - (Buffer.prototype.copy = function copy( - target, - targetStart, - start, - end, - ) { - if (!Buffer.isBuffer(target)) - throw new TypeError("argument should be a Buffer"); - if ( - (start || (start = 0), - end || 0 === end || (end = this.length), - targetStart >= target.length && (targetStart = target.length), - targetStart || (targetStart = 0), - end > 0 && end < start && (end = start), - end === start) - ) - return 0; - if (0 === target.length || 0 === this.length) return 0; - if (targetStart < 0) - throw new RangeError("targetStart out of bounds"); - if (start < 0 || start >= this.length) - throw new RangeError("Index out of range"); - if (end < 0) throw new RangeError("sourceEnd out of bounds"); - end > this.length && (end = this.length), - target.length - targetStart < end - start && - (end = target.length - targetStart + start); - const len = end - start; - return ( - this === target && - "function" == typeof Uint8Array.prototype.copyWithin - ? this.copyWithin(targetStart, start, end) - : Uint8Array.prototype.set.call( - target, - this.subarray(start, end), - targetStart, - ), - len - ); - }), - (Buffer.prototype.fill = function fill(val, start, end, encoding) { - if ("string" == typeof val) { - if ( - ("string" == typeof start - ? ((encoding = start), (start = 0), (end = this.length)) - : "string" == typeof end && - ((encoding = end), (end = this.length)), - void 0 !== encoding && "string" != typeof encoding) - ) - throw new TypeError("encoding must be a string"); - if ("string" == typeof encoding && !Buffer.isEncoding(encoding)) - throw new TypeError("Unknown encoding: " + encoding); - if (1 === val.length) { - const code = val.charCodeAt(0); - (("utf8" === encoding && code < 128) || "latin1" === encoding) && - (val = code); - } - } else - "number" == typeof val - ? (val &= 255) - : "boolean" == typeof val && (val = Number(val)); - if (start < 0 || this.length < start || this.length < end) - throw new RangeError("Out of range index"); - if (end <= start) return this; - let i; - if ( - ((start >>>= 0), - (end = void 0 === end ? this.length : end >>> 0), - val || (val = 0), - "number" == typeof val) - ) - for (i = start; i < end; ++i) this[i] = val; - else { - const bytes = Buffer.isBuffer(val) - ? val - : Buffer.from(val, encoding), - len = bytes.length; - if (0 === len) - throw new TypeError( - 'The value "' + val + '" is invalid for argument "value"', - ); - for (i = 0; i < end - start; ++i) this[i + start] = bytes[i % len]; - } - return this; - }); - const errors = {}; - function E(sym, getMessage, Base) { - errors[sym] = class NodeError extends Base { - constructor() { - super(), - Object.defineProperty(this, "message", { - value: getMessage.apply(this, arguments), - writable: !0, - configurable: !0, - }), - (this.name = `${this.name} [${sym}]`), - this.stack, - delete this.name; - } - get code() { - return sym; - } - set code(value) { - Object.defineProperty(this, "code", { - configurable: !0, - enumerable: !0, - value, - writable: !0, - }); - } - toString() { - return `${this.name} [${sym}]: ${this.message}`; - } - }; - } - function addNumericalSeparator(val) { - let res = "", - i = val.length; - const start = "-" === val[0] ? 1 : 0; - for (; i >= start + 4; i -= 3) res = `_${val.slice(i - 3, i)}${res}`; - return `${val.slice(0, i)}${res}`; - } - function checkIntBI(value, min, max, buf, offset, byteLength) { - if (value > max || value < min) { - const n = "bigint" == typeof min ? "n" : ""; - let range; - throw ( - ((range = - byteLength > 3 - ? 0 === min || min === BigInt(0) - ? `>= 0${n} and < 2${n} ** ${8 * (byteLength + 1)}${n}` - : `>= -(2${n} ** ${8 * (byteLength + 1) - 1}${n}) and < 2 ** ${8 * (byteLength + 1) - 1}${n}` - : `>= ${min}${n} and <= ${max}${n}`), - new errors.ERR_OUT_OF_RANGE("value", range, value)) - ); - } - !(function checkBounds(buf, offset, byteLength) { - validateNumber(offset, "offset"), - (void 0 !== buf[offset] && void 0 !== buf[offset + byteLength]) || - boundsError(offset, buf.length - (byteLength + 1)); - })(buf, offset, byteLength); - } - function validateNumber(value, name) { - if ("number" != typeof value) - throw new errors.ERR_INVALID_ARG_TYPE(name, "number", value); - } - function boundsError(value, length, type) { - if (Math.floor(value) !== value) - throw ( - (validateNumber(value, type), - new errors.ERR_OUT_OF_RANGE(type || "offset", "an integer", value)) - ); - if (length < 0) throw new errors.ERR_BUFFER_OUT_OF_BOUNDS(); - throw new errors.ERR_OUT_OF_RANGE( - type || "offset", - `>= ${type ? 1 : 0} and <= ${length}`, - value, - ); - } - E( - "ERR_BUFFER_OUT_OF_BOUNDS", - function (name) { - return name - ? `${name} is outside of buffer bounds` - : "Attempt to access memory outside buffer bounds"; - }, - RangeError, - ), - E( - "ERR_INVALID_ARG_TYPE", - function (name, actual) { - return `The "${name}" argument must be of type number. Received type ${typeof actual}`; - }, - TypeError, - ), - E( - "ERR_OUT_OF_RANGE", - function (str, range, input) { - let msg = `The value of "${str}" is out of range.`, - received = input; - return ( - Number.isInteger(input) && Math.abs(input) > 2 ** 32 - ? (received = addNumericalSeparator(String(input))) - : "bigint" == typeof input && - ((received = String(input)), - (input > BigInt(2) ** BigInt(32) || - input < -(BigInt(2) ** BigInt(32))) && - (received = addNumericalSeparator(received)), - (received += "n")), - (msg += ` It must be ${range}. Received ${received}`), - msg - ); - }, - RangeError, - ); - const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g; - function utf8ToBytes(string, units) { - let codePoint; - units = units || 1 / 0; - const length = string.length; - let leadSurrogate = null; - const bytes = []; - for (let i = 0; i < length; ++i) { - if ( - ((codePoint = string.charCodeAt(i)), - codePoint > 55295 && codePoint < 57344) - ) { - if (!leadSurrogate) { - if (codePoint > 56319) { - (units -= 3) > -1 && bytes.push(239, 191, 189); - continue; - } - if (i + 1 === length) { - (units -= 3) > -1 && bytes.push(239, 191, 189); - continue; - } - leadSurrogate = codePoint; - continue; - } - if (codePoint < 56320) { - (units -= 3) > -1 && bytes.push(239, 191, 189), - (leadSurrogate = codePoint); - continue; - } - codePoint = - 65536 + (((leadSurrogate - 55296) << 10) | (codePoint - 56320)); - } else - leadSurrogate && (units -= 3) > -1 && bytes.push(239, 191, 189); - if (((leadSurrogate = null), codePoint < 128)) { - if ((units -= 1) < 0) break; - bytes.push(codePoint); - } else if (codePoint < 2048) { - if ((units -= 2) < 0) break; - bytes.push((codePoint >> 6) | 192, (63 & codePoint) | 128); - } else if (codePoint < 65536) { - if ((units -= 3) < 0) break; - bytes.push( - (codePoint >> 12) | 224, - ((codePoint >> 6) & 63) | 128, - (63 & codePoint) | 128, - ); - } else { - if (!(codePoint < 1114112)) throw new Error("Invalid code point"); - if ((units -= 4) < 0) break; - bytes.push( - (codePoint >> 18) | 240, - ((codePoint >> 12) & 63) | 128, - ((codePoint >> 6) & 63) | 128, - (63 & codePoint) | 128, - ); - } - } - return bytes; - } - function base64ToBytes(str) { - return base64.toByteArray( - (function base64clean(str) { - if ( - (str = (str = str.split("=")[0]) - .trim() - .replace(INVALID_BASE64_RE, "")).length < 2 - ) - return ""; - for (; str.length % 4 != 0; ) str += "="; - return str; - })(str), - ); - } - function blitBuffer(src, dst, offset, length) { - let i; - for ( - i = 0; - i < length && !(i + offset >= dst.length || i >= src.length); - ++i - ) - dst[i + offset] = src[i]; - return i; - } - function isInstance(obj, type) { - return ( - obj instanceof type || - (null != obj && - null != obj.constructor && - null != obj.constructor.name && - obj.constructor.name === type.name) - ); - } - function numberIsNaN(obj) { - return obj != obj; - } - const hexSliceLookupTable = (function () { - const table = new Array(256); - for (let i = 0; i < 16; ++i) { - const i16 = 16 * i; - for (let j = 0; j < 16; ++j) - table[i16 + j] = "0123456789abcdef"[i] + "0123456789abcdef"[j]; - } - return table; - })(); - function defineBigIntMethod(fn) { - return "undefined" == typeof BigInt ? BufferBigIntNotDefined : fn; - } - function BufferBigIntNotDefined() { - throw new Error("BigInt not supported"); - } - }, - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ), - $apply = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js", - ), - $call = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js", - ), - $reflectApply = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js", - ); - module.exports = $reflectApply || bind.call($call, $apply); - }, - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/applyBind.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ), - $apply = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js", - ), - actualApply = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js", - ); - module.exports = function applyBind() { - return actualApply(bind, $apply, arguments); - }; - }, - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js": - (module) => { - "use strict"; - module.exports = Function.prototype.apply; - }, - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js": - (module) => { - "use strict"; - module.exports = Function.prototype.call; - }, - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ), - $TypeError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js", - ), - $call = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js", - ), - $actualApply = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js", - ); - module.exports = function callBindBasic(args) { - if (args.length < 1 || "function" != typeof args[0]) - throw new $TypeError("a function is required"); - return $actualApply(bind, $call, args); - }; - }, - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js": - (module) => { - "use strict"; - module.exports = - "undefined" != typeof Reflect && Reflect && Reflect.apply; - }, - "../node_modules/.pnpm/call-bind@1.0.5/node_modules/call-bind/callBound.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var GetIntrinsic = __webpack_require__( - "../node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js", - ), - callBind = __webpack_require__( - "../node_modules/.pnpm/call-bind@1.0.5/node_modules/call-bind/index.js", - ), - $indexOf = callBind(GetIntrinsic("String.prototype.indexOf")); - module.exports = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = GetIntrinsic(name, !!allowMissing); - return "function" == typeof intrinsic && - $indexOf(name, ".prototype.") > -1 - ? callBind(intrinsic) - : intrinsic; - }; - }, - "../node_modules/.pnpm/call-bind@1.0.5/node_modules/call-bind/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ), - GetIntrinsic = __webpack_require__( - "../node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js", - ), - setFunctionLength = __webpack_require__( - "../node_modules/.pnpm/set-function-length@1.1.1/node_modules/set-function-length/index.js", - ), - $TypeError = GetIntrinsic("%TypeError%"), - $apply = GetIntrinsic("%Function.prototype.apply%"), - $call = GetIntrinsic("%Function.prototype.call%"), - $reflectApply = - GetIntrinsic("%Reflect.apply%", !0) || bind.call($call, $apply), - $defineProperty = GetIntrinsic("%Object.defineProperty%", !0), - $max = GetIntrinsic("%Math.max%"); - if ($defineProperty) - try { - $defineProperty({}, "a", { value: 1 }); - } catch (e) { - $defineProperty = null; - } - module.exports = function callBind(originalFunction) { - if ("function" != typeof originalFunction) - throw new $TypeError("a function is required"); - var func = $reflectApply(bind, $call, arguments); - return setFunctionLength( - func, - 1 + $max(0, originalFunction.length - (arguments.length - 1)), - !0, - ); - }; - var applyBind = function applyBind() { - return $reflectApply(bind, $apply, arguments); - }; - $defineProperty - ? $defineProperty(module.exports, "apply", { value: applyBind }) - : (module.exports.apply = applyBind); - }, - "../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var setFunctionLength = __webpack_require__( - "../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js", - ), - $defineProperty = __webpack_require__( - "../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js", - ), - callBindBasic = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js", - ), - applyBind = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/applyBind.js", - ); - (module.exports = function callBind(originalFunction) { - var func = callBindBasic(arguments), - adjustedLength = originalFunction.length - (arguments.length - 1); - return setFunctionLength( - func, - 1 + (adjustedLength > 0 ? adjustedLength : 0), - !0, - ); - }), - $defineProperty - ? $defineProperty(module.exports, "apply", { value: applyBind }) - : (module.exports.apply = applyBind); - }, - "../node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var GetIntrinsic = __webpack_require__( - "../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js", - ), - callBindBasic = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js", - ), - $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]); - module.exports = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = GetIntrinsic(name, !!allowMissing); - return "function" == typeof intrinsic && - $indexOf(name, ".prototype.") > -1 - ? callBindBasic([intrinsic]) - : intrinsic; - }; - }, - "../node_modules/.pnpm/client-only@0.0.1/node_modules/client-only/index.js": - () => {}, - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - var util = __webpack_require__( - "../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js", - ), - assert = __webpack_require__( - "../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js", - ); - function now() { - return new Date().getTime(); - } - var console, - slice = Array.prototype.slice, - times = {}; - console = - void 0 !== __webpack_require__.g && __webpack_require__.g.console - ? __webpack_require__.g.console - : "undefined" != typeof window && window.console - ? window.console - : {}; - for ( - var functions = [ - [function log() {}, "log"], - [ - function info() { - console.log.apply(console, arguments); - }, - "info", - ], - [ - function warn() { - console.log.apply(console, arguments); - }, - "warn", - ], - [ - function error() { - console.warn.apply(console, arguments); - }, - "error", - ], - [ - function time(label) { - times[label] = now(); - }, - "time", - ], - [ - function timeEnd(label) { - var time = times[label]; - if (!time) throw new Error("No such label: " + label); - delete times[label]; - var duration = now() - time; - console.log(label + ": " + duration + "ms"); - }, - "timeEnd", - ], - [ - function trace() { - var err = new Error(); - (err.name = "Trace"), - (err.message = util.format.apply(null, arguments)), - console.error(err.stack); - }, - "trace", - ], - [ - function dir(object) { - console.log(util.inspect(object) + "\n"); - }, - "dir", - ], - [ - function consoleAssert(expression) { - if (!expression) { - var arr = slice.call(arguments, 1); - assert.ok(!1, util.format.apply(null, arr)); - } - }, - "assert", - ], - ], - i = 0; - i < functions.length; - i++ - ) { - var tuple = functions[i], - f = tuple[0], - name = tuple[1]; - console[name] || (console[name] = f); - } - module.exports = console; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js": - (module) => { - "use strict"; - module.exports = function (cssWithMappingToString) { - var list = []; - return ( - (list.toString = function toString() { - return this.map(function (item) { - var content = "", - needLayer = void 0 !== item[5]; - return ( - item[4] && (content += "@supports (".concat(item[4], ") {")), - item[2] && (content += "@media ".concat(item[2], " {")), - needLayer && - (content += "@layer".concat( - item[5].length > 0 ? " ".concat(item[5]) : "", - " {", - )), - (content += cssWithMappingToString(item)), - needLayer && (content += "}"), - item[2] && (content += "}"), - item[4] && (content += "}"), - content - ); - }).join(""); - }), - (list.i = function i(modules, media, dedupe, supports, layer) { - "string" == typeof modules && - (modules = [[null, modules, void 0]]); - var alreadyImportedModules = {}; - if (dedupe) - for (var k = 0; k < this.length; k++) { - var id = this[k][0]; - null != id && (alreadyImportedModules[id] = !0); - } - for (var _k = 0; _k < modules.length; _k++) { - var item = [].concat(modules[_k]); - (dedupe && alreadyImportedModules[item[0]]) || - (void 0 !== layer && - (void 0 === item[5] || - (item[1] = "@layer" - .concat( - item[5].length > 0 ? " ".concat(item[5]) : "", - " {", - ) - .concat(item[1], "}")), - (item[5] = layer)), - media && - (item[2] - ? ((item[1] = "@media " - .concat(item[2], " {") - .concat(item[1], "}")), - (item[2] = media)) - : (item[2] = media)), - supports && - (item[4] - ? ((item[1] = "@supports (" - .concat(item[4], ") {") - .concat(item[1], "}")), - (item[4] = supports)) - : (item[4] = "".concat(supports))), - list.push(item)); - } - }), - list - ); - }; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js": - (module) => { - "use strict"; - module.exports = function (item) { - var content = item[1], - cssMapping = item[3]; - if (!cssMapping) return content; - if ("function" == typeof btoa) { - var base64 = btoa( - unescape(encodeURIComponent(JSON.stringify(cssMapping))), - ), - data = - "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat( - base64, - ), - sourceMapping = "/*# ".concat(data, " */"); - return [content].concat([sourceMapping]).join("\n"); - } - return [content].join("\n"); - }; - }, - "../node_modules/.pnpm/define-data-property@1.1.1/node_modules/define-data-property/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var hasPropertyDescriptors = __webpack_require__( - "../node_modules/.pnpm/has-property-descriptors@1.0.1/node_modules/has-property-descriptors/index.js", - )(), - GetIntrinsic = __webpack_require__( - "../node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js", - ), - $defineProperty = - hasPropertyDescriptors && - GetIntrinsic("%Object.defineProperty%", !0); - if ($defineProperty) - try { - $defineProperty({}, "a", { value: 1 }); - } catch (e) { - $defineProperty = !1; - } - var $SyntaxError = GetIntrinsic("%SyntaxError%"), - $TypeError = GetIntrinsic("%TypeError%"), - gopd = __webpack_require__( - "../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js", - ); - module.exports = function defineDataProperty(obj, property, value) { - if (!obj || ("object" != typeof obj && "function" != typeof obj)) - throw new $TypeError("`obj` must be an object or a function`"); - if ("string" != typeof property && "symbol" != typeof property) - throw new $TypeError("`property` must be a string or a symbol`"); - if ( - arguments.length > 3 && - "boolean" != typeof arguments[3] && - null !== arguments[3] - ) - throw new $TypeError( - "`nonEnumerable`, if provided, must be a boolean or null", - ); - if ( - arguments.length > 4 && - "boolean" != typeof arguments[4] && - null !== arguments[4] - ) - throw new $TypeError( - "`nonWritable`, if provided, must be a boolean or null", - ); - if ( - arguments.length > 5 && - "boolean" != typeof arguments[5] && - null !== arguments[5] - ) - throw new $TypeError( - "`nonConfigurable`, if provided, must be a boolean or null", - ); - if (arguments.length > 6 && "boolean" != typeof arguments[6]) - throw new $TypeError("`loose`, if provided, must be a boolean"); - var nonEnumerable = arguments.length > 3 ? arguments[3] : null, - nonWritable = arguments.length > 4 ? arguments[4] : null, - nonConfigurable = arguments.length > 5 ? arguments[5] : null, - loose = arguments.length > 6 && arguments[6], - desc = !!gopd && gopd(obj, property); - if ($defineProperty) - $defineProperty(obj, property, { - configurable: - null === nonConfigurable && desc - ? desc.configurable - : !nonConfigurable, - enumerable: - null === nonEnumerable && desc - ? desc.enumerable - : !nonEnumerable, - value, - writable: - null === nonWritable && desc ? desc.writable : !nonWritable, - }); - else { - if (!loose && (nonEnumerable || nonWritable || nonConfigurable)) - throw new $SyntaxError( - "This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.", - ); - obj[property] = value; - } - }; - }, - "../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var $defineProperty = __webpack_require__( - "../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js", - ), - $SyntaxError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js", - ), - $TypeError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js", - ), - gopd = __webpack_require__( - "../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js", - ); - module.exports = function defineDataProperty(obj, property, value) { - if (!obj || ("object" != typeof obj && "function" != typeof obj)) - throw new $TypeError("`obj` must be an object or a function`"); - if ("string" != typeof property && "symbol" != typeof property) - throw new $TypeError("`property` must be a string or a symbol`"); - if ( - arguments.length > 3 && - "boolean" != typeof arguments[3] && - null !== arguments[3] - ) - throw new $TypeError( - "`nonEnumerable`, if provided, must be a boolean or null", - ); - if ( - arguments.length > 4 && - "boolean" != typeof arguments[4] && - null !== arguments[4] - ) - throw new $TypeError( - "`nonWritable`, if provided, must be a boolean or null", - ); - if ( - arguments.length > 5 && - "boolean" != typeof arguments[5] && - null !== arguments[5] - ) - throw new $TypeError( - "`nonConfigurable`, if provided, must be a boolean or null", - ); - if (arguments.length > 6 && "boolean" != typeof arguments[6]) - throw new $TypeError("`loose`, if provided, must be a boolean"); - var nonEnumerable = arguments.length > 3 ? arguments[3] : null, - nonWritable = arguments.length > 4 ? arguments[4] : null, - nonConfigurable = arguments.length > 5 ? arguments[5] : null, - loose = arguments.length > 6 && arguments[6], - desc = !!gopd && gopd(obj, property); - if ($defineProperty) - $defineProperty(obj, property, { - configurable: - null === nonConfigurable && desc - ? desc.configurable - : !nonConfigurable, - enumerable: - null === nonEnumerable && desc - ? desc.enumerable - : !nonEnumerable, - value, - writable: - null === nonWritable && desc ? desc.writable : !nonWritable, - }); - else { - if (!loose && (nonEnumerable || nonWritable || nonConfigurable)) - throw new $SyntaxError( - "This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.", - ); - obj[property] = value; - } - }; - }, - "../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var keys = __webpack_require__( - "../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js", - ), - hasSymbols = - "function" == typeof Symbol && "symbol" == typeof Symbol("foo"), - toStr = Object.prototype.toString, - concat = Array.prototype.concat, - defineDataProperty = __webpack_require__( - "../node_modules/.pnpm/define-data-property@1.1.1/node_modules/define-data-property/index.js", - ), - supportsDescriptors = __webpack_require__( - "../node_modules/.pnpm/has-property-descriptors@1.0.1/node_modules/has-property-descriptors/index.js", - )(), - defineProperty = function (object, name, value, predicate) { - if (name in object) - if (!0 === predicate) { - if (object[name] === value) return; - } else if ( - "function" != typeof (fn = predicate) || - "[object Function]" !== toStr.call(fn) || - !predicate() - ) - return; - var fn; - supportsDescriptors - ? defineDataProperty(object, name, value, !0) - : defineDataProperty(object, name, value); - }, - defineProperties = function (object, map) { - var predicates = arguments.length > 2 ? arguments[2] : {}, - props = keys(map); - hasSymbols && - (props = concat.call(props, Object.getOwnPropertySymbols(map))); - for (var i = 0; i < props.length; i += 1) - defineProperty( - object, - props[i], - map[props[i]], - predicates[props[i]], - ); - }; - (defineProperties.supportsDescriptors = !!supportsDescriptors), - (module.exports = defineProperties); - }, - "../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var hasProtoAccessor, - callBind = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js", - ), - gOPD = __webpack_require__( - "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js", - ); - try { - hasProtoAccessor = [].__proto__ === Array.prototype; - } catch (e) { - if ( - !e || - "object" != typeof e || - !("code" in e) || - "ERR_PROTO_ACCESS" !== e.code - ) - throw e; - } - var desc = - !!hasProtoAccessor && gOPD && gOPD(Object.prototype, "__proto__"), - $Object = Object, - $getPrototypeOf = $Object.getPrototypeOf; - module.exports = - desc && "function" == typeof desc.get - ? callBind([desc.get]) - : "function" == typeof $getPrototypeOf && - function getDunder(value) { - return $getPrototypeOf(null == value ? value : $Object(value)); - }; - }, - "../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js": - (module) => { - "use strict"; - var $defineProperty = Object.defineProperty || !1; - if ($defineProperty) - try { - $defineProperty({}, "a", { value: 1 }); - } catch (e) { - $defineProperty = !1; - } - module.exports = $defineProperty; - }, - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js": ( - module, - ) => { - "use strict"; - module.exports = EvalError; - }, - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js": ( - module, - ) => { - "use strict"; - module.exports = Error; - }, - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js": ( - module, - ) => { - "use strict"; - module.exports = RangeError; - }, - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js": ( - module, - ) => { - "use strict"; - module.exports = ReferenceError; - }, - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js": ( - module, - ) => { - "use strict"; - module.exports = SyntaxError; - }, - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js": ( - module, - ) => { - "use strict"; - module.exports = TypeError; - }, - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js": ( - module, - ) => { - "use strict"; - module.exports = URIError; - }, - "../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js": - (module) => { - "use strict"; - module.exports = Object; - }, - "../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var ReflectOwnKeys, - console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - R = "object" == typeof Reflect ? Reflect : null, - ReflectApply = - R && "function" == typeof R.apply - ? R.apply - : function ReflectApply(target, receiver, args) { - return Function.prototype.apply.call(target, receiver, args); - }; - ReflectOwnKeys = - R && "function" == typeof R.ownKeys - ? R.ownKeys - : Object.getOwnPropertySymbols - ? function ReflectOwnKeys(target) { - return Object.getOwnPropertyNames(target).concat( - Object.getOwnPropertySymbols(target), - ); - } - : function ReflectOwnKeys(target) { - return Object.getOwnPropertyNames(target); - }; - var NumberIsNaN = - Number.isNaN || - function NumberIsNaN(value) { - return value != value; - }; - function EventEmitter() { - EventEmitter.init.call(this); - } - (module.exports = EventEmitter), - (module.exports.once = function once(emitter, name) { - return new Promise(function (resolve, reject) { - function errorListener(err) { - emitter.removeListener(name, resolver), reject(err); - } - function resolver() { - "function" == typeof emitter.removeListener && - emitter.removeListener("error", errorListener), - resolve([].slice.call(arguments)); - } - eventTargetAgnosticAddListener(emitter, name, resolver, { - once: !0, - }), - "error" !== name && - (function addErrorHandlerIfEventEmitter( - emitter, - handler, - flags, - ) { - "function" == typeof emitter.on && - eventTargetAgnosticAddListener( - emitter, - "error", - handler, - flags, - ); - })(emitter, errorListener, { once: !0 }); - }); - }), - (EventEmitter.EventEmitter = EventEmitter), - (EventEmitter.prototype._events = void 0), - (EventEmitter.prototype._eventsCount = 0), - (EventEmitter.prototype._maxListeners = void 0); - var defaultMaxListeners = 10; - function checkListener(listener) { - if ("function" != typeof listener) - throw new TypeError( - 'The "listener" argument must be of type Function. Received type ' + - typeof listener, - ); - } - function _getMaxListeners(that) { - return void 0 === that._maxListeners - ? EventEmitter.defaultMaxListeners - : that._maxListeners; - } - function _addListener(target, type, listener, prepend) { - var m, events, existing; - if ( - (checkListener(listener), - void 0 === (events = target._events) - ? ((events = target._events = Object.create(null)), - (target._eventsCount = 0)) - : (void 0 !== events.newListener && - (target.emit( - "newListener", - type, - listener.listener ? listener.listener : listener, - ), - (events = target._events)), - (existing = events[type])), - void 0 === existing) - ) - (existing = events[type] = listener), ++target._eventsCount; - else if ( - ("function" == typeof existing - ? (existing = events[type] = - prepend ? [listener, existing] : [existing, listener]) - : prepend - ? existing.unshift(listener) - : existing.push(listener), - (m = _getMaxListeners(target)) > 0 && - existing.length > m && - !existing.warned) - ) { - existing.warned = !0; - var w = new Error( - "Possible EventEmitter memory leak detected. " + - existing.length + - " " + - String(type) + - " listeners added. Use emitter.setMaxListeners() to increase limit", - ); - (w.name = "MaxListenersExceededWarning"), - (w.emitter = target), - (w.type = type), - (w.count = existing.length), - (function ProcessEmitWarning(warning) { - console && console.warn && console.warn(warning); - })(w); - } - return target; - } - function onceWrapper() { - if (!this.fired) - return ( - this.target.removeListener(this.type, this.wrapFn), - (this.fired = !0), - 0 === arguments.length - ? this.listener.call(this.target) - : this.listener.apply(this.target, arguments) - ); - } - function _onceWrap(target, type, listener) { - var state = { fired: !1, wrapFn: void 0, target, type, listener }, - wrapped = onceWrapper.bind(state); - return (wrapped.listener = listener), (state.wrapFn = wrapped), wrapped; - } - function _listeners(target, type, unwrap) { - var events = target._events; - if (void 0 === events) return []; - var evlistener = events[type]; - return void 0 === evlistener - ? [] - : "function" == typeof evlistener - ? unwrap - ? [evlistener.listener || evlistener] - : [evlistener] - : unwrap - ? (function unwrapListeners(arr) { - for ( - var ret = new Array(arr.length), i = 0; - i < ret.length; - ++i - ) - ret[i] = arr[i].listener || arr[i]; - return ret; - })(evlistener) - : arrayClone(evlistener, evlistener.length); - } - function listenerCount(type) { - var events = this._events; - if (void 0 !== events) { - var evlistener = events[type]; - if ("function" == typeof evlistener) return 1; - if (void 0 !== evlistener) return evlistener.length; - } - return 0; - } - function arrayClone(arr, n) { - for (var copy = new Array(n), i = 0; i < n; ++i) copy[i] = arr[i]; - return copy; - } - function eventTargetAgnosticAddListener(emitter, name, listener, flags) { - if ("function" == typeof emitter.on) - flags.once - ? emitter.once(name, listener) - : emitter.on(name, listener); - else { - if ("function" != typeof emitter.addEventListener) - throw new TypeError( - 'The "emitter" argument must be of type EventEmitter. Received type ' + - typeof emitter, - ); - emitter.addEventListener(name, function wrapListener(arg) { - flags.once && emitter.removeEventListener(name, wrapListener), - listener(arg); - }); - } - } - Object.defineProperty(EventEmitter, "defaultMaxListeners", { - enumerable: !0, - get: function () { - return defaultMaxListeners; - }, - set: function (arg) { - if ("number" != typeof arg || arg < 0 || NumberIsNaN(arg)) - throw new RangeError( - 'The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + - arg + - ".", - ); - defaultMaxListeners = arg; - }, - }), - (EventEmitter.init = function () { - (void 0 !== this._events && - this._events !== Object.getPrototypeOf(this)._events) || - ((this._events = Object.create(null)), (this._eventsCount = 0)), - (this._maxListeners = this._maxListeners || void 0); - }), - (EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) { - if ("number" != typeof n || n < 0 || NumberIsNaN(n)) - throw new RangeError( - 'The value of "n" is out of range. It must be a non-negative number. Received ' + - n + - ".", - ); - return (this._maxListeners = n), this; - }), - (EventEmitter.prototype.getMaxListeners = function getMaxListeners() { - return _getMaxListeners(this); - }), - (EventEmitter.prototype.emit = function emit(type) { - for (var args = [], i = 1; i < arguments.length; i++) - args.push(arguments[i]); - var doError = "error" === type, - events = this._events; - if (void 0 !== events) doError = doError && void 0 === events.error; - else if (!doError) return !1; - if (doError) { - var er; - if ((args.length > 0 && (er = args[0]), er instanceof Error)) - throw er; - var err = new Error( - "Unhandled error." + (er ? " (" + er.message + ")" : ""), - ); - throw ((err.context = er), err); - } - var handler = events[type]; - if (void 0 === handler) return !1; - if ("function" == typeof handler) ReflectApply(handler, this, args); - else { - var len = handler.length, - listeners = arrayClone(handler, len); - for (i = 0; i < len; ++i) ReflectApply(listeners[i], this, args); - } - return !0; - }), - (EventEmitter.prototype.addListener = function addListener( - type, - listener, - ) { - return _addListener(this, type, listener, !1); - }), - (EventEmitter.prototype.on = EventEmitter.prototype.addListener), - (EventEmitter.prototype.prependListener = function prependListener( - type, - listener, - ) { - return _addListener(this, type, listener, !0); - }), - (EventEmitter.prototype.once = function once(type, listener) { - return ( - checkListener(listener), - this.on(type, _onceWrap(this, type, listener)), - this - ); - }), - (EventEmitter.prototype.prependOnceListener = - function prependOnceListener(type, listener) { - return ( - checkListener(listener), - this.prependListener(type, _onceWrap(this, type, listener)), - this - ); - }), - (EventEmitter.prototype.removeListener = function removeListener( - type, - listener, - ) { - var list, events, position, i, originalListener; - if ((checkListener(listener), void 0 === (events = this._events))) - return this; - if (void 0 === (list = events[type])) return this; - if (list === listener || list.listener === listener) - 0 == --this._eventsCount - ? (this._events = Object.create(null)) - : (delete events[type], - events.removeListener && - this.emit("removeListener", type, list.listener || listener)); - else if ("function" != typeof list) { - for (position = -1, i = list.length - 1; i >= 0; i--) - if (list[i] === listener || list[i].listener === listener) { - (originalListener = list[i].listener), (position = i); - break; - } - if (position < 0) return this; - 0 === position - ? list.shift() - : (function spliceOne(list, index) { - for (; index + 1 < list.length; index++) - list[index] = list[index + 1]; - list.pop(); - })(list, position), - 1 === list.length && (events[type] = list[0]), - void 0 !== events.removeListener && - this.emit("removeListener", type, originalListener || listener); - } - return this; - }), - (EventEmitter.prototype.off = EventEmitter.prototype.removeListener), - (EventEmitter.prototype.removeAllListeners = - function removeAllListeners(type) { - var listeners, events, i; - if (void 0 === (events = this._events)) return this; - if (void 0 === events.removeListener) - return ( - 0 === arguments.length - ? ((this._events = Object.create(null)), - (this._eventsCount = 0)) - : void 0 !== events[type] && - (0 == --this._eventsCount - ? (this._events = Object.create(null)) - : delete events[type]), - this - ); - if (0 === arguments.length) { - var key, - keys = Object.keys(events); - for (i = 0; i < keys.length; ++i) - "removeListener" !== (key = keys[i]) && - this.removeAllListeners(key); - return ( - this.removeAllListeners("removeListener"), - (this._events = Object.create(null)), - (this._eventsCount = 0), - this - ); - } - if ("function" == typeof (listeners = events[type])) - this.removeListener(type, listeners); - else if (void 0 !== listeners) - for (i = listeners.length - 1; i >= 0; i--) - this.removeListener(type, listeners[i]); - return this; - }), - (EventEmitter.prototype.listeners = function listeners(type) { - return _listeners(this, type, !0); - }), - (EventEmitter.prototype.rawListeners = function rawListeners(type) { - return _listeners(this, type, !1); - }), - (EventEmitter.listenerCount = function (emitter, type) { - return "function" == typeof emitter.listenerCount - ? emitter.listenerCount(type) - : listenerCount.call(emitter, type); - }), - (EventEmitter.prototype.listenerCount = listenerCount), - (EventEmitter.prototype.eventNames = function eventNames() { - return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : []; - }); - }, - "../node_modules/.pnpm/for-each@0.3.3/node_modules/for-each/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var isCallable = __webpack_require__( - "../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js", - ), - toStr = Object.prototype.toString, - hasOwnProperty = Object.prototype.hasOwnProperty; - module.exports = function forEach(list, iterator, thisArg) { - if (!isCallable(iterator)) - throw new TypeError("iterator must be a function"); - var receiver; - arguments.length >= 3 && (receiver = thisArg), - "[object Array]" === toStr.call(list) - ? (function forEachArray(array, iterator, receiver) { - for (var i = 0, len = array.length; i < len; i++) - hasOwnProperty.call(array, i) && - (null == receiver - ? iterator(array[i], i, array) - : iterator.call(receiver, array[i], i, array)); - })(list, iterator, receiver) - : "string" == typeof list - ? (function forEachString(string, iterator, receiver) { - for (var i = 0, len = string.length; i < len; i++) - null == receiver - ? iterator(string.charAt(i), i, string) - : iterator.call(receiver, string.charAt(i), i, string); - })(list, iterator, receiver) - : (function forEachObject(object, iterator, receiver) { - for (var k in object) - hasOwnProperty.call(object, k) && - (null == receiver - ? iterator(object[k], k, object) - : iterator.call(receiver, object[k], k, object)); - })(list, iterator, receiver); - }; - }, - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js": - (module) => { - "use strict"; - var toStr = Object.prototype.toString, - max = Math.max, - concatty = function concatty(a, b) { - for (var arr = [], i = 0; i < a.length; i += 1) arr[i] = a[i]; - for (var j = 0; j < b.length; j += 1) arr[j + a.length] = b[j]; - return arr; - }; - module.exports = function bind(that) { - var target = this; - if ( - "function" != typeof target || - "[object Function]" !== toStr.apply(target) - ) - throw new TypeError( - "Function.prototype.bind called on incompatible " + target, - ); - for ( - var bound, - args = (function slicy(arrLike, offset) { - for ( - var arr = [], i = offset || 0, j = 0; - i < arrLike.length; - i += 1, j += 1 - ) - arr[j] = arrLike[i]; - return arr; - })(arguments, 1), - boundLength = max(0, target.length - args.length), - boundArgs = [], - i = 0; - i < boundLength; - i++ - ) - boundArgs[i] = "$" + i; - if ( - ((bound = Function( - "binder", - "return function (" + - (function (arr, joiner) { - for (var str = "", i = 0; i < arr.length; i += 1) - (str += arr[i]), i + 1 < arr.length && (str += joiner); - return str; - })(boundArgs, ",") + - "){ return binder.apply(this,arguments); }", - )(function () { - if (this instanceof bound) { - var result = target.apply(this, concatty(args, arguments)); - return Object(result) === result ? result : this; - } - return target.apply(that, concatty(args, arguments)); - })), - target.prototype) - ) { - var Empty = function Empty() {}; - (Empty.prototype = target.prototype), - (bound.prototype = new Empty()), - (Empty.prototype = null); - } - return bound; - }; - }, - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var implementation = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js", - ); - module.exports = Function.prototype.bind || implementation; - }, - "../node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var $SyntaxError = SyntaxError, - $Function = Function, - $TypeError = TypeError, - getEvalledConstructor = function (expressionSyntax) { - try { - return $Function( - '"use strict"; return (' + expressionSyntax + ").constructor;", - )(); - } catch (e) {} - }, - $gOPD = Object.getOwnPropertyDescriptor; - if ($gOPD) - try { - $gOPD({}, ""); - } catch (e) { - $gOPD = null; - } - var throwTypeError = function () { - throw new $TypeError(); - }, - ThrowTypeError = $gOPD - ? (function () { - try { - return throwTypeError; - } catch (calleeThrows) { - try { - return $gOPD(arguments, "callee").get; - } catch (gOPDthrows) { - return throwTypeError; - } - } - })() - : throwTypeError, - hasSymbols = __webpack_require__( - "../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js", - )(), - hasProto = __webpack_require__( - "../node_modules/.pnpm/has-proto@1.0.1/node_modules/has-proto/index.js", - )(), - getProto = - Object.getPrototypeOf || - (hasProto - ? function (x) { - return x.__proto__; - } - : null), - needsEval = {}, - TypedArray = - "undefined" != typeof Uint8Array && getProto - ? getProto(Uint8Array) - : undefined, - INTRINSICS = { - "%AggregateError%": - "undefined" == typeof AggregateError ? undefined : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": - "undefined" == typeof ArrayBuffer ? undefined : ArrayBuffer, - "%ArrayIteratorPrototype%": - hasSymbols && getProto - ? getProto([][Symbol.iterator]()) - : undefined, - "%AsyncFromSyncIteratorPrototype%": undefined, - "%AsyncFunction%": needsEval, - "%AsyncGenerator%": needsEval, - "%AsyncGeneratorFunction%": needsEval, - "%AsyncIteratorPrototype%": needsEval, - "%Atomics%": "undefined" == typeof Atomics ? undefined : Atomics, - "%BigInt%": "undefined" == typeof BigInt ? undefined : BigInt, - "%BigInt64Array%": - "undefined" == typeof BigInt64Array ? undefined : BigInt64Array, - "%BigUint64Array%": - "undefined" == typeof BigUint64Array ? undefined : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": "undefined" == typeof DataView ? undefined : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": Error, - "%eval%": eval, - "%EvalError%": EvalError, - "%Float32Array%": - "undefined" == typeof Float32Array ? undefined : Float32Array, - "%Float64Array%": - "undefined" == typeof Float64Array ? undefined : Float64Array, - "%FinalizationRegistry%": - "undefined" == typeof FinalizationRegistry - ? undefined - : FinalizationRegistry, - "%Function%": $Function, - "%GeneratorFunction%": needsEval, - "%Int8Array%": - "undefined" == typeof Int8Array ? undefined : Int8Array, - "%Int16Array%": - "undefined" == typeof Int16Array ? undefined : Int16Array, - "%Int32Array%": - "undefined" == typeof Int32Array ? undefined : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": - hasSymbols && getProto - ? getProto(getProto([][Symbol.iterator]())) - : undefined, - "%JSON%": "object" == typeof JSON ? JSON : undefined, - "%Map%": "undefined" == typeof Map ? undefined : Map, - "%MapIteratorPrototype%": - "undefined" != typeof Map && hasSymbols && getProto - ? getProto(new Map()[Symbol.iterator]()) - : undefined, - "%Math%": Math, - "%Number%": Number, - "%Object%": Object, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": "undefined" == typeof Promise ? undefined : Promise, - "%Proxy%": "undefined" == typeof Proxy ? undefined : Proxy, - "%RangeError%": RangeError, - "%ReferenceError%": ReferenceError, - "%Reflect%": "undefined" == typeof Reflect ? undefined : Reflect, - "%RegExp%": RegExp, - "%Set%": "undefined" == typeof Set ? undefined : Set, - "%SetIteratorPrototype%": - "undefined" != typeof Set && hasSymbols && getProto - ? getProto(new Set()[Symbol.iterator]()) - : undefined, - "%SharedArrayBuffer%": - "undefined" == typeof SharedArrayBuffer - ? undefined - : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": - hasSymbols && getProto - ? getProto(""[Symbol.iterator]()) - : undefined, - "%Symbol%": hasSymbols ? Symbol : undefined, - "%SyntaxError%": $SyntaxError, - "%ThrowTypeError%": ThrowTypeError, - "%TypedArray%": TypedArray, - "%TypeError%": $TypeError, - "%Uint8Array%": - "undefined" == typeof Uint8Array ? undefined : Uint8Array, - "%Uint8ClampedArray%": - "undefined" == typeof Uint8ClampedArray - ? undefined - : Uint8ClampedArray, - "%Uint16Array%": - "undefined" == typeof Uint16Array ? undefined : Uint16Array, - "%Uint32Array%": - "undefined" == typeof Uint32Array ? undefined : Uint32Array, - "%URIError%": URIError, - "%WeakMap%": "undefined" == typeof WeakMap ? undefined : WeakMap, - "%WeakRef%": "undefined" == typeof WeakRef ? undefined : WeakRef, - "%WeakSet%": "undefined" == typeof WeakSet ? undefined : WeakSet, - }; - if (getProto) - try { - null.error; - } catch (e) { - var errorProto = getProto(getProto(e)); - INTRINSICS["%Error.prototype%"] = errorProto; - } - var doEval = function doEval(name) { - var value; - if ("%AsyncFunction%" === name) - value = getEvalledConstructor("async function () {}"); - else if ("%GeneratorFunction%" === name) - value = getEvalledConstructor("function* () {}"); - else if ("%AsyncGeneratorFunction%" === name) - value = getEvalledConstructor("async function* () {}"); - else if ("%AsyncGenerator%" === name) { - var fn = doEval("%AsyncGeneratorFunction%"); - fn && (value = fn.prototype); - } else if ("%AsyncIteratorPrototype%" === name) { - var gen = doEval("%AsyncGenerator%"); - gen && getProto && (value = getProto(gen.prototype)); - } - return (INTRINSICS[name] = value), value; - }, - LEGACY_ALIASES = { - "%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"], - }, - bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ), - hasOwn = __webpack_require__( - "../node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js", - ), - $concat = bind.call(Function.call, Array.prototype.concat), - $spliceApply = bind.call(Function.apply, Array.prototype.splice), - $replace = bind.call(Function.call, String.prototype.replace), - $strSlice = bind.call(Function.call, String.prototype.slice), - $exec = bind.call(Function.call, RegExp.prototype.exec), - rePropName = - /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, - reEscapeChar = /\\(\\)?/g, - getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var alias, - intrinsicName = name; - if ( - (hasOwn(LEGACY_ALIASES, intrinsicName) && - (intrinsicName = - "%" + (alias = LEGACY_ALIASES[intrinsicName])[0] + "%"), - hasOwn(INTRINSICS, intrinsicName)) - ) { - var value = INTRINSICS[intrinsicName]; - if ( - (value === needsEval && (value = doEval(intrinsicName)), - void 0 === value && !allowMissing) - ) - throw new $TypeError( - "intrinsic " + - name + - " exists, but is not available. Please file an issue!", - ); - return { alias, name: intrinsicName, value }; - } - throw new $SyntaxError("intrinsic " + name + " does not exist!"); - }; - module.exports = function GetIntrinsic(name, allowMissing) { - if ("string" != typeof name || 0 === name.length) - throw new $TypeError("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && "boolean" != typeof allowMissing) - throw new $TypeError('"allowMissing" argument must be a boolean'); - if (null === $exec(/^%?[^%]*%?$/, name)) - throw new $SyntaxError( - "`%` may not be present anywhere but at the beginning and end of the intrinsic name", - ); - var parts = (function stringToPath(string) { - var first = $strSlice(string, 0, 1), - last = $strSlice(string, -1); - if ("%" === first && "%" !== last) - throw new $SyntaxError( - "invalid intrinsic syntax, expected closing `%`", - ); - if ("%" === last && "%" !== first) - throw new $SyntaxError( - "invalid intrinsic syntax, expected opening `%`", - ); - var result = []; - return ( - $replace( - string, - rePropName, - function (match, number, quote, subString) { - result[result.length] = quote - ? $replace(subString, reEscapeChar, "$1") - : number || match; - }, - ), - result - ); - })(name), - intrinsicBaseName = parts.length > 0 ? parts[0] : "", - intrinsic = getBaseIntrinsic( - "%" + intrinsicBaseName + "%", - allowMissing, - ), - intrinsicRealName = intrinsic.name, - value = intrinsic.value, - skipFurtherCaching = !1, - alias = intrinsic.alias; - alias && - ((intrinsicBaseName = alias[0]), - $spliceApply(parts, $concat([0, 1], alias))); - for (var i = 1, isOwn = !0; i < parts.length; i += 1) { - var part = parts[i], - first = $strSlice(part, 0, 1), - last = $strSlice(part, -1); - if ( - ('"' === first || - "'" === first || - "`" === first || - '"' === last || - "'" === last || - "`" === last) && - first !== last - ) - throw new $SyntaxError( - "property names with quotes must have matching quotes", - ); - if ( - (("constructor" !== part && isOwn) || (skipFurtherCaching = !0), - hasOwn( - INTRINSICS, - (intrinsicRealName = - "%" + (intrinsicBaseName += "." + part) + "%"), - )) - ) - value = INTRINSICS[intrinsicRealName]; - else if (null != value) { - if (!(part in value)) { - if (!allowMissing) - throw new $TypeError( - "base intrinsic for " + - name + - " exists, but the property is not available.", - ); - return; - } - if ($gOPD && i + 1 >= parts.length) { - var desc = $gOPD(value, part); - value = - (isOwn = !!desc) && - "get" in desc && - !("originalValue" in desc.get) - ? desc.get - : value[part]; - } else (isOwn = hasOwn(value, part)), (value = value[part]); - isOwn && - !skipFurtherCaching && - (INTRINSICS[intrinsicRealName] = value); - } - } - return value; - }; - }, - "../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var $Object = __webpack_require__( - "../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js", - ), - $Error = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js", - ), - $EvalError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js", - ), - $RangeError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js", - ), - $ReferenceError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js", - ), - $SyntaxError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js", - ), - $TypeError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js", - ), - $URIError = __webpack_require__( - "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js", - ), - abs = __webpack_require__( - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/abs.js", - ), - floor = __webpack_require__( - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/floor.js", - ), - max = __webpack_require__( - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/max.js", - ), - min = __webpack_require__( - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/min.js", - ), - pow = __webpack_require__( - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/pow.js", - ), - $Function = Function, - getEvalledConstructor = function (expressionSyntax) { - try { - return $Function( - '"use strict"; return (' + expressionSyntax + ").constructor;", - )(); - } catch (e) {} - }, - $gOPD = __webpack_require__( - "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js", - ), - $defineProperty = __webpack_require__( - "../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js", - ), - throwTypeError = function () { - throw new $TypeError(); - }, - ThrowTypeError = $gOPD - ? (function () { - try { - return throwTypeError; - } catch (calleeThrows) { - try { - return $gOPD(arguments, "callee").get; - } catch (gOPDthrows) { - return throwTypeError; - } - } - })() - : throwTypeError, - hasSymbols = __webpack_require__( - "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js", - )(), - getDunderProto = __webpack_require__( - "../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js", - ), - getProto = - ("function" == typeof Reflect && Reflect.getPrototypeOf) || - $Object.getPrototypeOf || - getDunderProto, - $apply = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js", - ), - $call = __webpack_require__( - "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js", - ), - needsEval = {}, - TypedArray = - "undefined" != typeof Uint8Array && getProto - ? getProto(Uint8Array) - : undefined, - INTRINSICS = { - __proto__: null, - "%AggregateError%": - "undefined" == typeof AggregateError ? undefined : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": - "undefined" == typeof ArrayBuffer ? undefined : ArrayBuffer, - "%ArrayIteratorPrototype%": - hasSymbols && getProto - ? getProto([][Symbol.iterator]()) - : undefined, - "%AsyncFromSyncIteratorPrototype%": undefined, - "%AsyncFunction%": needsEval, - "%AsyncGenerator%": needsEval, - "%AsyncGeneratorFunction%": needsEval, - "%AsyncIteratorPrototype%": needsEval, - "%Atomics%": "undefined" == typeof Atomics ? undefined : Atomics, - "%BigInt%": "undefined" == typeof BigInt ? undefined : BigInt, - "%BigInt64Array%": - "undefined" == typeof BigInt64Array ? undefined : BigInt64Array, - "%BigUint64Array%": - "undefined" == typeof BigUint64Array ? undefined : BigUint64Array, - "%Boolean%": Boolean, - "%DataView%": "undefined" == typeof DataView ? undefined : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": $Error, - "%eval%": eval, - "%EvalError%": $EvalError, - "%Float32Array%": - "undefined" == typeof Float32Array ? undefined : Float32Array, - "%Float64Array%": - "undefined" == typeof Float64Array ? undefined : Float64Array, - "%FinalizationRegistry%": - "undefined" == typeof FinalizationRegistry - ? undefined - : FinalizationRegistry, - "%Function%": $Function, - "%GeneratorFunction%": needsEval, - "%Int8Array%": - "undefined" == typeof Int8Array ? undefined : Int8Array, - "%Int16Array%": - "undefined" == typeof Int16Array ? undefined : Int16Array, - "%Int32Array%": - "undefined" == typeof Int32Array ? undefined : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": - hasSymbols && getProto - ? getProto(getProto([][Symbol.iterator]())) - : undefined, - "%JSON%": "object" == typeof JSON ? JSON : undefined, - "%Map%": "undefined" == typeof Map ? undefined : Map, - "%MapIteratorPrototype%": - "undefined" != typeof Map && hasSymbols && getProto - ? getProto(new Map()[Symbol.iterator]()) - : undefined, - "%Math%": Math, - "%Number%": Number, - "%Object%": $Object, - "%Object.getOwnPropertyDescriptor%": $gOPD, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": "undefined" == typeof Promise ? undefined : Promise, - "%Proxy%": "undefined" == typeof Proxy ? undefined : Proxy, - "%RangeError%": $RangeError, - "%ReferenceError%": $ReferenceError, - "%Reflect%": "undefined" == typeof Reflect ? undefined : Reflect, - "%RegExp%": RegExp, - "%Set%": "undefined" == typeof Set ? undefined : Set, - "%SetIteratorPrototype%": - "undefined" != typeof Set && hasSymbols && getProto - ? getProto(new Set()[Symbol.iterator]()) - : undefined, - "%SharedArrayBuffer%": - "undefined" == typeof SharedArrayBuffer - ? undefined - : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": - hasSymbols && getProto - ? getProto(""[Symbol.iterator]()) - : undefined, - "%Symbol%": hasSymbols ? Symbol : undefined, - "%SyntaxError%": $SyntaxError, - "%ThrowTypeError%": ThrowTypeError, - "%TypedArray%": TypedArray, - "%TypeError%": $TypeError, - "%Uint8Array%": - "undefined" == typeof Uint8Array ? undefined : Uint8Array, - "%Uint8ClampedArray%": - "undefined" == typeof Uint8ClampedArray - ? undefined - : Uint8ClampedArray, - "%Uint16Array%": - "undefined" == typeof Uint16Array ? undefined : Uint16Array, - "%Uint32Array%": - "undefined" == typeof Uint32Array ? undefined : Uint32Array, - "%URIError%": $URIError, - "%WeakMap%": "undefined" == typeof WeakMap ? undefined : WeakMap, - "%WeakRef%": "undefined" == typeof WeakRef ? undefined : WeakRef, - "%WeakSet%": "undefined" == typeof WeakSet ? undefined : WeakSet, - "%Function.prototype.call%": $call, - "%Function.prototype.apply%": $apply, - "%Object.defineProperty%": $defineProperty, - "%Math.abs%": abs, - "%Math.floor%": floor, - "%Math.max%": max, - "%Math.min%": min, - "%Math.pow%": pow, - }; - if (getProto) - try { - null.error; - } catch (e) { - var errorProto = getProto(getProto(e)); - INTRINSICS["%Error.prototype%"] = errorProto; - } - var doEval = function doEval(name) { - var value; - if ("%AsyncFunction%" === name) - value = getEvalledConstructor("async function () {}"); - else if ("%GeneratorFunction%" === name) - value = getEvalledConstructor("function* () {}"); - else if ("%AsyncGeneratorFunction%" === name) - value = getEvalledConstructor("async function* () {}"); - else if ("%AsyncGenerator%" === name) { - var fn = doEval("%AsyncGeneratorFunction%"); - fn && (value = fn.prototype); - } else if ("%AsyncIteratorPrototype%" === name) { - var gen = doEval("%AsyncGenerator%"); - gen && getProto && (value = getProto(gen.prototype)); - } - return (INTRINSICS[name] = value), value; - }, - LEGACY_ALIASES = { - __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"], - }, - bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ), - hasOwn = __webpack_require__( - "../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js", - ), - $concat = bind.call($call, Array.prototype.concat), - $spliceApply = bind.call($apply, Array.prototype.splice), - $replace = bind.call($call, String.prototype.replace), - $strSlice = bind.call($call, String.prototype.slice), - $exec = bind.call($call, RegExp.prototype.exec), - rePropName = - /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, - reEscapeChar = /\\(\\)?/g, - getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var alias, - intrinsicName = name; - if ( - (hasOwn(LEGACY_ALIASES, intrinsicName) && - (intrinsicName = - "%" + (alias = LEGACY_ALIASES[intrinsicName])[0] + "%"), - hasOwn(INTRINSICS, intrinsicName)) - ) { - var value = INTRINSICS[intrinsicName]; - if ( - (value === needsEval && (value = doEval(intrinsicName)), - void 0 === value && !allowMissing) - ) - throw new $TypeError( - "intrinsic " + - name + - " exists, but is not available. Please file an issue!", - ); - return { alias, name: intrinsicName, value }; - } - throw new $SyntaxError("intrinsic " + name + " does not exist!"); - }; - module.exports = function GetIntrinsic(name, allowMissing) { - if ("string" != typeof name || 0 === name.length) - throw new $TypeError("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && "boolean" != typeof allowMissing) - throw new $TypeError('"allowMissing" argument must be a boolean'); - if (null === $exec(/^%?[^%]*%?$/, name)) - throw new $SyntaxError( - "`%` may not be present anywhere but at the beginning and end of the intrinsic name", - ); - var parts = (function stringToPath(string) { - var first = $strSlice(string, 0, 1), - last = $strSlice(string, -1); - if ("%" === first && "%" !== last) - throw new $SyntaxError( - "invalid intrinsic syntax, expected closing `%`", - ); - if ("%" === last && "%" !== first) - throw new $SyntaxError( - "invalid intrinsic syntax, expected opening `%`", - ); - var result = []; - return ( - $replace( - string, - rePropName, - function (match, number, quote, subString) { - result[result.length] = quote - ? $replace(subString, reEscapeChar, "$1") - : number || match; - }, - ), - result - ); - })(name), - intrinsicBaseName = parts.length > 0 ? parts[0] : "", - intrinsic = getBaseIntrinsic( - "%" + intrinsicBaseName + "%", - allowMissing, - ), - intrinsicRealName = intrinsic.name, - value = intrinsic.value, - skipFurtherCaching = !1, - alias = intrinsic.alias; - alias && - ((intrinsicBaseName = alias[0]), - $spliceApply(parts, $concat([0, 1], alias))); - for (var i = 1, isOwn = !0; i < parts.length; i += 1) { - var part = parts[i], - first = $strSlice(part, 0, 1), - last = $strSlice(part, -1); - if ( - ('"' === first || - "'" === first || - "`" === first || - '"' === last || - "'" === last || - "`" === last) && - first !== last - ) - throw new $SyntaxError( - "property names with quotes must have matching quotes", - ); - if ( - (("constructor" !== part && isOwn) || (skipFurtherCaching = !0), - hasOwn( - INTRINSICS, - (intrinsicRealName = - "%" + (intrinsicBaseName += "." + part) + "%"), - )) - ) - value = INTRINSICS[intrinsicRealName]; - else if (null != value) { - if (!(part in value)) { - if (!allowMissing) - throw new $TypeError( - "base intrinsic for " + - name + - " exists, but the property is not available.", - ); - return; - } - if ($gOPD && i + 1 >= parts.length) { - var desc = $gOPD(value, part); - value = - (isOwn = !!desc) && - "get" in desc && - !("originalValue" in desc.get) - ? desc.get - : value[part]; - } else (isOwn = hasOwn(value, part)), (value = value[part]); - isOwn && - !skipFurtherCaching && - (INTRINSICS[intrinsicRealName] = value); - } - } - return value; - }; - }, - "../node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var $gOPD = __webpack_require__( - "../node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js", - )("%Object.getOwnPropertyDescriptor%", !0); - if ($gOPD) - try { - $gOPD([], "length"); - } catch (e) { - $gOPD = null; - } - module.exports = $gOPD; - }, - "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js": (module) => { - "use strict"; - module.exports = Object.getOwnPropertyDescriptor; - }, - "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var $gOPD = __webpack_require__( - "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js", - ); - if ($gOPD) - try { - $gOPD([], "length"); - } catch (e) { - $gOPD = null; - } - module.exports = $gOPD; - }, - "../node_modules/.pnpm/has-property-descriptors@1.0.1/node_modules/has-property-descriptors/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var $defineProperty = __webpack_require__( - "../node_modules/.pnpm/get-intrinsic@1.2.2/node_modules/get-intrinsic/index.js", - )("%Object.defineProperty%", !0), - hasPropertyDescriptors = function hasPropertyDescriptors() { - if ($defineProperty) - try { - return $defineProperty({}, "a", { value: 1 }), !0; - } catch (e) { - return !1; - } - return !1; - }; - (hasPropertyDescriptors.hasArrayLengthDefineBug = - function hasArrayLengthDefineBug() { - if (!hasPropertyDescriptors()) return null; - try { - return 1 !== $defineProperty([], "length", { value: 1 }).length; - } catch (e) { - return !0; - } - }), - (module.exports = hasPropertyDescriptors); - }, - "../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var $defineProperty = __webpack_require__( - "../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js", - ), - hasPropertyDescriptors = function hasPropertyDescriptors() { - return !!$defineProperty; - }; - (hasPropertyDescriptors.hasArrayLengthDefineBug = - function hasArrayLengthDefineBug() { - if (!$defineProperty) return null; - try { - return 1 !== $defineProperty([], "length", { value: 1 }).length; - } catch (e) { - return !0; - } - }), - (module.exports = hasPropertyDescriptors); - }, - "../node_modules/.pnpm/has-proto@1.0.1/node_modules/has-proto/index.js": ( - module, - ) => { - "use strict"; - var test = { foo: {} }, - $Object = Object; - module.exports = function hasProto() { - return ( - { __proto__: test }.foo === test.foo && - !({ __proto__: null } instanceof $Object) - ); - }; - }, - "../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var origSymbol = "undefined" != typeof Symbol && Symbol, - hasSymbolSham = __webpack_require__( - "../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js", - ); - module.exports = function hasNativeSymbols() { - return ( - "function" == typeof origSymbol && - "function" == typeof Symbol && - "symbol" == typeof origSymbol("foo") && - "symbol" == typeof Symbol("bar") && - hasSymbolSham() - ); - }; - }, - "../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js": - (module) => { - "use strict"; - module.exports = function hasSymbols() { - if ( - "function" != typeof Symbol || - "function" != typeof Object.getOwnPropertySymbols - ) - return !1; - if ("symbol" == typeof Symbol.iterator) return !0; - var obj = {}, - sym = Symbol("test"), - symObj = Object(sym); - if ("string" == typeof sym) return !1; - if ("[object Symbol]" !== Object.prototype.toString.call(sym)) - return !1; - if ("[object Symbol]" !== Object.prototype.toString.call(symObj)) - return !1; - for (sym in ((obj[sym] = 42), obj)) return !1; - if ("function" == typeof Object.keys && 0 !== Object.keys(obj).length) - return !1; - if ( - "function" == typeof Object.getOwnPropertyNames && - 0 !== Object.getOwnPropertyNames(obj).length - ) - return !1; - var syms = Object.getOwnPropertySymbols(obj); - if (1 !== syms.length || syms[0] !== sym) return !1; - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) return !1; - if ("function" == typeof Object.getOwnPropertyDescriptor) { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (42 !== descriptor.value || !0 !== descriptor.enumerable) - return !1; - } - return !0; - }; - }, - "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var origSymbol = "undefined" != typeof Symbol && Symbol, - hasSymbolSham = __webpack_require__( - "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js", - ); - module.exports = function hasNativeSymbols() { - return ( - "function" == typeof origSymbol && - "function" == typeof Symbol && - "symbol" == typeof origSymbol("foo") && - "symbol" == typeof Symbol("bar") && - hasSymbolSham() - ); - }; - }, - "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js": - (module) => { - "use strict"; - module.exports = function hasSymbols() { - if ( - "function" != typeof Symbol || - "function" != typeof Object.getOwnPropertySymbols - ) - return !1; - if ("symbol" == typeof Symbol.iterator) return !0; - var obj = {}, - sym = Symbol("test"), - symObj = Object(sym); - if ("string" == typeof sym) return !1; - if ("[object Symbol]" !== Object.prototype.toString.call(sym)) - return !1; - if ("[object Symbol]" !== Object.prototype.toString.call(symObj)) - return !1; - for (var _ in ((obj[sym] = 42), obj)) return !1; - if ("function" == typeof Object.keys && 0 !== Object.keys(obj).length) - return !1; - if ( - "function" == typeof Object.getOwnPropertyNames && - 0 !== Object.getOwnPropertyNames(obj).length - ) - return !1; - var syms = Object.getOwnPropertySymbols(obj); - if (1 !== syms.length || syms[0] !== sym) return !1; - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) return !1; - if ("function" == typeof Object.getOwnPropertyDescriptor) { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (42 !== descriptor.value || !0 !== descriptor.enumerable) - return !1; - } - return !0; - }; - }, - "../node_modules/.pnpm/has-tostringtag@1.0.0/node_modules/has-tostringtag/shams.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var hasSymbols = __webpack_require__( - "../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js", - ); - module.exports = function hasToStringTagShams() { - return hasSymbols() && !!Symbol.toStringTag; - }; - }, - "../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var hasSymbols = __webpack_require__( - "../node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.js", - ); - module.exports = function hasToStringTagShams() { - return hasSymbols() && !!Symbol.toStringTag; - }; - }, - "../node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var call = Function.prototype.call, - $hasOwn = Object.prototype.hasOwnProperty, - bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ); - module.exports = bind.call(call, $hasOwn); - }, - "../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var call = Function.prototype.call, - $hasOwn = Object.prototype.hasOwnProperty, - bind = __webpack_require__( - "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js", - ); - module.exports = bind.call(call, $hasOwn); - }, - "../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js": ( - __unused_webpack_module, - exports, - ) => { - (exports.read = function (buffer, offset, isLE, mLen, nBytes) { - var e, - m, - eLen = 8 * nBytes - mLen - 1, - eMax = (1 << eLen) - 1, - eBias = eMax >> 1, - nBits = -7, - i = isLE ? nBytes - 1 : 0, - d = isLE ? -1 : 1, - s = buffer[offset + i]; - for ( - i += d, e = s & ((1 << -nBits) - 1), s >>= -nBits, nBits += eLen; - nBits > 0; - e = 256 * e + buffer[offset + i], i += d, nBits -= 8 - ); - for ( - m = e & ((1 << -nBits) - 1), e >>= -nBits, nBits += mLen; - nBits > 0; - m = 256 * m + buffer[offset + i], i += d, nBits -= 8 - ); - if (0 === e) e = 1 - eBias; - else { - if (e === eMax) return m ? NaN : (1 / 0) * (s ? -1 : 1); - (m += Math.pow(2, mLen)), (e -= eBias); - } - return (s ? -1 : 1) * m * Math.pow(2, e - mLen); - }), - (exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { - var e, - m, - c, - eLen = 8 * nBytes - mLen - 1, - eMax = (1 << eLen) - 1, - eBias = eMax >> 1, - rt = 23 === mLen ? Math.pow(2, -24) - Math.pow(2, -77) : 0, - i = isLE ? 0 : nBytes - 1, - d = isLE ? 1 : -1, - s = value < 0 || (0 === value && 1 / value < 0) ? 1 : 0; - for ( - value = Math.abs(value), - isNaN(value) || value === 1 / 0 - ? ((m = isNaN(value) ? 1 : 0), (e = eMax)) - : ((e = Math.floor(Math.log(value) / Math.LN2)), - value * (c = Math.pow(2, -e)) < 1 && (e--, (c *= 2)), - (value += - e + eBias >= 1 ? rt / c : rt * Math.pow(2, 1 - eBias)) * - c >= - 2 && (e++, (c /= 2)), - e + eBias >= eMax - ? ((m = 0), (e = eMax)) - : e + eBias >= 1 - ? ((m = (value * c - 1) * Math.pow(2, mLen)), - (e += eBias)) - : ((m = - value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)), - (e = 0))); - mLen >= 8; - buffer[offset + i] = 255 & m, i += d, m /= 256, mLen -= 8 - ); - for ( - e = (e << mLen) | m, eLen += mLen; - eLen > 0; - buffer[offset + i] = 255 & e, i += d, e /= 256, eLen -= 8 - ); - buffer[offset + i - d] |= 128 * s; - }); - }, - "../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js": - (module) => { - "function" == typeof Object.create - ? (module.exports = function inherits(ctor, superCtor) { - superCtor && - ((ctor.super_ = superCtor), - (ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: !1, - writable: !0, - configurable: !0, - }, - }))); - }) - : (module.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - var TempCtor = function () {}; - (TempCtor.prototype = superCtor.prototype), - (ctor.prototype = new TempCtor()), - (ctor.prototype.constructor = ctor); - } - }); - }, - "../node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var hasToStringTag = __webpack_require__( - "../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js", - )(), - $toString = __webpack_require__( - "../node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.js", - )("Object.prototype.toString"), - isStandardArguments = function isArguments(value) { - return ( - !( - hasToStringTag && - value && - "object" == typeof value && - Symbol.toStringTag in value - ) && "[object Arguments]" === $toString(value) - ); - }, - isLegacyArguments = function isArguments(value) { - return ( - !!isStandardArguments(value) || - (null !== value && - "object" == typeof value && - "length" in value && - "number" == typeof value.length && - value.length >= 0 && - "[object Array]" !== $toString(value) && - "callee" in value && - "[object Function]" === $toString(value.callee)) - ); - }, - supportsStandardArguments = (function () { - return isStandardArguments(arguments); - })(); - (isStandardArguments.isLegacyArguments = isLegacyArguments), - (module.exports = supportsStandardArguments - ? isStandardArguments - : isLegacyArguments); - }, - "../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js": - (module) => { - "use strict"; - var badArrayLike, - isCallableMarker, - fnToStr = Function.prototype.toString, - reflectApply = - "object" == typeof Reflect && null !== Reflect && Reflect.apply; - if ( - "function" == typeof reflectApply && - "function" == typeof Object.defineProperty - ) - try { - (badArrayLike = Object.defineProperty({}, "length", { - get: function () { - throw isCallableMarker; - }, - })), - (isCallableMarker = {}), - reflectApply( - function () { - throw 42; - }, - null, - badArrayLike, - ); - } catch (_) { - _ !== isCallableMarker && (reflectApply = null); - } - else reflectApply = null; - var constructorRegex = /^\s*class\b/, - isES6ClassFn = function isES6ClassFunction(value) { - try { - var fnStr = fnToStr.call(value); - return constructorRegex.test(fnStr); - } catch (e) { - return !1; - } - }, - tryFunctionObject = function tryFunctionToStr(value) { - try { - return !isES6ClassFn(value) && (fnToStr.call(value), !0); - } catch (e) { - return !1; - } - }, - toStr = Object.prototype.toString, - hasToStringTag = "function" == typeof Symbol && !!Symbol.toStringTag, - isIE68 = !(0 in [,]), - isDDA = function isDocumentDotAll() { - return !1; - }; - if ("object" == typeof document) { - var all = document.all; - toStr.call(all) === toStr.call(document.all) && - (isDDA = function isDocumentDotAll(value) { - if ( - (isIE68 || !value) && - (void 0 === value || "object" == typeof value) - ) - try { - var str = toStr.call(value); - return ( - ("[object HTMLAllCollection]" === str || - "[object HTML document.all class]" === str || - "[object HTMLCollection]" === str || - "[object Object]" === str) && - null == value("") - ); - } catch (e) {} - return !1; - }); - } - module.exports = reflectApply - ? function isCallable(value) { - if (isDDA(value)) return !0; - if (!value) return !1; - if ("function" != typeof value && "object" != typeof value) - return !1; - try { - reflectApply(value, null, badArrayLike); - } catch (e) { - if (e !== isCallableMarker) return !1; - } - return !isES6ClassFn(value) && tryFunctionObject(value); - } - : function isCallable(value) { - if (isDDA(value)) return !0; - if (!value) return !1; - if ("function" != typeof value && "object" != typeof value) - return !1; - if (hasToStringTag) return tryFunctionObject(value); - if (isES6ClassFn(value)) return !1; - var strClass = toStr.call(value); - return ( - !( - "[object Function]" !== strClass && - "[object GeneratorFunction]" !== strClass && - !/^\[object HTML/.test(strClass) - ) && tryFunctionObject(value) - ); - }; - }, - "../node_modules/.pnpm/is-generator-function@1.0.10/node_modules/is-generator-function/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var GeneratorFunction, - toStr = Object.prototype.toString, - fnToStr = Function.prototype.toString, - isFnRegex = /^\s*(?:function)?\*/, - hasToStringTag = __webpack_require__( - "../node_modules/.pnpm/has-tostringtag@1.0.0/node_modules/has-tostringtag/shams.js", - )(), - getProto = Object.getPrototypeOf; - module.exports = function isGeneratorFunction(fn) { - if ("function" != typeof fn) return !1; - if (isFnRegex.test(fnToStr.call(fn))) return !0; - if (!hasToStringTag) - return "[object GeneratorFunction]" === toStr.call(fn); - if (!getProto) return !1; - if (void 0 === GeneratorFunction) { - var generatorFunc = (function () { - if (!hasToStringTag) return !1; - try { - return Function("return function*() {}")(); - } catch (e) {} - })(); - GeneratorFunction = !!generatorFunc && getProto(generatorFunc); - } - return getProto(fn) === GeneratorFunction; - }; - }, - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js": - (module) => { - "use strict"; - module.exports = function isNaN(value) { - return value != value; - }; - }, - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var callBind = __webpack_require__( - "../node_modules/.pnpm/call-bind@1.0.5/node_modules/call-bind/index.js", - ), - define = __webpack_require__( - "../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js", - ), - implementation = __webpack_require__( - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js", - ), - getPolyfill = __webpack_require__( - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js", - ), - shim = __webpack_require__( - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js", - ), - polyfill = callBind(getPolyfill(), Number); - define(polyfill, { getPolyfill, implementation, shim }), - (module.exports = polyfill); - }, - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var implementation = __webpack_require__( - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js", - ); - module.exports = function getPolyfill() { - return Number.isNaN && Number.isNaN(NaN) && !Number.isNaN("a") - ? Number.isNaN - : implementation; - }; - }, - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js": ( - module, - __unused_webpack_exports, - __webpack_require__, - ) => { - "use strict"; - var define = __webpack_require__( - "../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js", - ), - getPolyfill = __webpack_require__( - "../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js", - ); - module.exports = function shimNumberIsNaN() { - var polyfill = getPolyfill(); - return ( - define( - Number, - { isNaN: polyfill }, - { - isNaN: function testIsNaN() { - return Number.isNaN !== polyfill; - }, - }, - ), - polyfill - ); - }; - }, - "../node_modules/.pnpm/is-typed-array@1.1.12/node_modules/is-typed-array/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - "use strict"; - var whichTypedArray = __webpack_require__( - "../node_modules/.pnpm/which-typed-array@1.1.13/node_modules/which-typed-array/index.js", - ); - module.exports = function isTypedArray(value) { - return !!whichTypedArray(value); - }; - }, - "../node_modules/.pnpm/jsdoc-type-pratt-parser@4.1.0/node_modules/jsdoc-type-pratt-parser/dist/index.js": - function (__unused_webpack_module, exports) { - !(function (exports) { - "use strict"; - function tokenToString(token) { - return void 0 !== token.text && "" !== token.text - ? `'${token.type}' with value '${token.text}'` - : `'${token.type}'`; - } - class NoParsletFoundError extends Error { - constructor(token) { - super(`No parslet found for token: ${tokenToString(token)}`), - (this.token = token), - Object.setPrototypeOf(this, NoParsletFoundError.prototype); - } - getToken() { - return this.token; - } - } - class EarlyEndOfParseError extends Error { - constructor(token) { - super( - `The parsing ended early. The next token was: ${tokenToString(token)}`, - ), - (this.token = token), - Object.setPrototypeOf(this, EarlyEndOfParseError.prototype); - } - getToken() { - return this.token; - } - } - class UnexpectedTypeError extends Error { - constructor(result, message) { - let error = `Unexpected type: '${result.type}'.`; - void 0 !== message && (error += ` Message: ${message}`), - super(error), - Object.setPrototypeOf(this, UnexpectedTypeError.prototype); - } - } - function makePunctuationRule(type) { - return (text) => - text.startsWith(type) ? { type, text: type } : null; - } - function getQuoted(text) { - let char, - position = 0; - const mark = text[0]; - let escaped = !1; - if ("'" !== mark && '"' !== mark) return null; - for (; position < text.length; ) { - if ( - (position++, (char = text[position]), !escaped && char === mark) - ) { - position++; - break; - } - escaped = !escaped && "\\" === char; - } - if (char !== mark) throw new Error("Unterminated String"); - return text.slice(0, position); - } - const identifierStartRegex = - /[$_\p{ID_Start}]|\\u\p{Hex_Digit}{4}|\\u\{0*(?:\p{Hex_Digit}{1,5}|10\p{Hex_Digit}{4})\}/u, - identifierContinueRegex = - /[$\-\p{ID_Continue}\u200C\u200D]|\\u\p{Hex_Digit}{4}|\\u\{0*(?:\p{Hex_Digit}{1,5}|10\p{Hex_Digit}{4})\}/u; - function getIdentifier(text) { - let char = text[0]; - if (!identifierStartRegex.test(char)) return null; - let position = 1; - do { - if ( - ((char = text[position]), !identifierContinueRegex.test(char)) - ) - break; - position++; - } while (position < text.length); - return text.slice(0, position); - } - const numberRegex = - /^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/; - function getNumber(text) { - var _a, _b; - return null !== - (_b = - null === (_a = numberRegex.exec(text)) || void 0 === _a - ? void 0 - : _a[0]) && void 0 !== _b - ? _b - : null; - } - const identifierRule = (text) => { - const value = getIdentifier(text); - return null == value ? null : { type: "Identifier", text: value }; - }; - function makeKeyWordRule(type) { - return (text) => { - if (!text.startsWith(type)) return null; - const prepends = text[type.length]; - return void 0 !== prepends && - identifierContinueRegex.test(prepends) - ? null - : { type, text: type }; - }; - } - const stringValueRule = (text) => { - const value = getQuoted(text); - return null == value - ? null - : { type: "StringValue", text: value }; - }, - numberRule = (text) => { - const value = getNumber(text); - return null === value ? null : { type: "Number", text: value }; - }, - rules = [ - (text) => (text.length > 0 ? null : { type: "EOF", text: "" }), - makePunctuationRule("=>"), - makePunctuationRule("("), - makePunctuationRule(")"), - makePunctuationRule("{"), - makePunctuationRule("}"), - makePunctuationRule("["), - makePunctuationRule("]"), - makePunctuationRule("|"), - makePunctuationRule("&"), - makePunctuationRule("<"), - makePunctuationRule(">"), - makePunctuationRule(","), - makePunctuationRule(";"), - makePunctuationRule("*"), - makePunctuationRule("?"), - makePunctuationRule("!"), - makePunctuationRule("="), - makePunctuationRule(":"), - makePunctuationRule("..."), - makePunctuationRule("."), - makePunctuationRule("#"), - makePunctuationRule("~"), - makePunctuationRule("/"), - makePunctuationRule("@"), - makeKeyWordRule("undefined"), - makeKeyWordRule("null"), - makeKeyWordRule("function"), - makeKeyWordRule("this"), - makeKeyWordRule("new"), - makeKeyWordRule("module"), - makeKeyWordRule("event"), - makeKeyWordRule("external"), - makeKeyWordRule("typeof"), - makeKeyWordRule("keyof"), - makeKeyWordRule("readonly"), - makeKeyWordRule("import"), - makeKeyWordRule("is"), - makeKeyWordRule("in"), - makeKeyWordRule("asserts"), - numberRule, - identifierRule, - stringValueRule, - ], - breakingWhitespaceRegex = /^\s*\n\s*/; - class Lexer { - static create(text) { - const current = this.read(text); - text = current.text; - const next = this.read(text); - return ( - (text = next.text), - new Lexer(text, void 0, current.token, next.token) - ); - } - constructor(text, previous, current, next) { - (this.text = ""), - (this.text = text), - (this.previous = previous), - (this.current = current), - (this.next = next); - } - static read(text, startOfLine = !1) { - (startOfLine = startOfLine || breakingWhitespaceRegex.test(text)), - (text = text.trim()); - for (const rule of rules) { - const partial = rule(text); - if (null !== partial) { - const token = Object.assign(Object.assign({}, partial), { - startOfLine, - }); - return { - text: (text = text.slice(token.text.length)), - token, - }; - } - } - throw new Error("Unexpected Token " + text); - } - advance() { - const next = Lexer.read(this.text); - return new Lexer(next.text, this.current, this.next, next.token); - } - } - function assertRootResult(result) { - if (void 0 === result) throw new Error("Unexpected undefined"); - if ( - "JsdocTypeKeyValue" === result.type || - "JsdocTypeParameterList" === result.type || - "JsdocTypeProperty" === result.type || - "JsdocTypeReadonlyProperty" === result.type || - "JsdocTypeObjectField" === result.type || - "JsdocTypeJsdocObjectField" === result.type || - "JsdocTypeIndexSignature" === result.type || - "JsdocTypeMappedType" === result.type - ) - throw new UnexpectedTypeError(result); - return result; - } - function assertPlainKeyValueOrRootResult(result) { - return "JsdocTypeKeyValue" === result.type - ? assertPlainKeyValueResult(result) - : assertRootResult(result); - } - function assertPlainKeyValueOrNameResult(result) { - return "JsdocTypeName" === result.type - ? result - : assertPlainKeyValueResult(result); - } - function assertPlainKeyValueResult(result) { - if ("JsdocTypeKeyValue" !== result.type) - throw new UnexpectedTypeError(result); - return result; - } - function assertNumberOrVariadicNameResult(result) { - var _a; - if ("JsdocTypeVariadic" === result.type) { - if ( - "JsdocTypeName" === - (null === (_a = result.element) || void 0 === _a - ? void 0 - : _a.type) - ) - return result; - throw new UnexpectedTypeError(result); - } - if ( - "JsdocTypeNumber" !== result.type && - "JsdocTypeName" !== result.type - ) - throw new UnexpectedTypeError(result); - return result; - } - function isSquaredProperty(result) { - return ( - "JsdocTypeIndexSignature" === result.type || - "JsdocTypeMappedType" === result.type - ); - } - var Precedence; - !(function (Precedence) { - (Precedence[(Precedence.ALL = 0)] = "ALL"), - (Precedence[(Precedence.PARAMETER_LIST = 1)] = "PARAMETER_LIST"), - (Precedence[(Precedence.OBJECT = 2)] = "OBJECT"), - (Precedence[(Precedence.KEY_VALUE = 3)] = "KEY_VALUE"), - (Precedence[(Precedence.INDEX_BRACKETS = 4)] = "INDEX_BRACKETS"), - (Precedence[(Precedence.UNION = 5)] = "UNION"), - (Precedence[(Precedence.INTERSECTION = 6)] = "INTERSECTION"), - (Precedence[(Precedence.PREFIX = 7)] = "PREFIX"), - (Precedence[(Precedence.INFIX = 8)] = "INFIX"), - (Precedence[(Precedence.TUPLE = 9)] = "TUPLE"), - (Precedence[(Precedence.SYMBOL = 10)] = "SYMBOL"), - (Precedence[(Precedence.OPTIONAL = 11)] = "OPTIONAL"), - (Precedence[(Precedence.NULLABLE = 12)] = "NULLABLE"), - (Precedence[(Precedence.KEY_OF_TYPE_OF = 13)] = "KEY_OF_TYPE_OF"), - (Precedence[(Precedence.FUNCTION = 14)] = "FUNCTION"), - (Precedence[(Precedence.ARROW = 15)] = "ARROW"), - (Precedence[(Precedence.ARRAY_BRACKETS = 16)] = "ARRAY_BRACKETS"), - (Precedence[(Precedence.GENERIC = 17)] = "GENERIC"), - (Precedence[(Precedence.NAME_PATH = 18)] = "NAME_PATH"), - (Precedence[(Precedence.PARENTHESIS = 19)] = "PARENTHESIS"), - (Precedence[(Precedence.SPECIAL_TYPES = 20)] = "SPECIAL_TYPES"); - })(Precedence || (Precedence = {})); - class Parser { - constructor(grammar, textOrLexer, baseParser) { - (this.grammar = grammar), - (this._lexer = - "string" == typeof textOrLexer - ? Lexer.create(textOrLexer) - : textOrLexer), - (this.baseParser = baseParser); - } - get lexer() { - return this._lexer; - } - parse() { - const result = this.parseType(Precedence.ALL); - if ("EOF" !== this.lexer.current.type) - throw new EarlyEndOfParseError(this.lexer.current); - return result; - } - parseType(precedence) { - return assertRootResult(this.parseIntermediateType(precedence)); - } - parseIntermediateType(precedence) { - const result = this.tryParslets(null, precedence); - if (null === result) - throw new NoParsletFoundError(this.lexer.current); - return this.parseInfixIntermediateType(result, precedence); - } - parseInfixIntermediateType(left, precedence) { - let result = this.tryParslets(left, precedence); - for (; null !== result; ) - (left = result), (result = this.tryParslets(left, precedence)); - return left; - } - tryParslets(left, precedence) { - for (const parslet of this.grammar) { - const result = parslet(this, precedence, left); - if (null !== result) return result; - } - return null; - } - consume(types) { - return ( - Array.isArray(types) || (types = [types]), - !!types.includes(this.lexer.current.type) && - ((this._lexer = this.lexer.advance()), !0) - ); - } - acceptLexerState(parser) { - this._lexer = parser.lexer; - } - } - function isQuestionMarkUnknownType(next) { - return ( - "EOF" === next || - "|" === next || - "," === next || - ")" === next || - ">" === next - ); - } - const nullableParslet = (parser, precedence, left) => { - const type = parser.lexer.current.type, - next = parser.lexer.next.type; - return (null == left && - "?" === type && - !isQuestionMarkUnknownType(next)) || - (null != left && "?" === type) - ? (parser.consume("?"), - null == left - ? { - type: "JsdocTypeNullable", - element: parser.parseType(Precedence.NULLABLE), - meta: { position: "prefix" }, - } - : { - type: "JsdocTypeNullable", - element: assertRootResult(left), - meta: { position: "suffix" }, - }) - : null; - }; - function composeParslet(options) { - const parslet = (parser, curPrecedence, left) => { - const type = parser.lexer.current.type, - next = parser.lexer.next.type; - if (null === left) { - if ("parsePrefix" in options && options.accept(type, next)) - return options.parsePrefix(parser); - } else if ( - "parseInfix" in options && - options.precedence > curPrecedence && - options.accept(type, next) - ) - return options.parseInfix(parser, left); - return null; - }; - return ( - Object.defineProperty(parslet, "name", { value: options.name }), - parslet - ); - } - const optionalParslet = composeParslet({ - name: "optionalParslet", - accept: (type) => "=" === type, - precedence: Precedence.OPTIONAL, - parsePrefix: (parser) => ( - parser.consume("="), - { - type: "JsdocTypeOptional", - element: parser.parseType(Precedence.OPTIONAL), - meta: { position: "prefix" }, - } - ), - parseInfix: (parser, left) => ( - parser.consume("="), - { - type: "JsdocTypeOptional", - element: assertRootResult(left), - meta: { position: "suffix" }, - } - ), - }), - numberParslet = composeParslet({ - name: "numberParslet", - accept: (type) => "Number" === type, - parsePrefix: (parser) => { - const value = parseFloat(parser.lexer.current.text); - return ( - parser.consume("Number"), { type: "JsdocTypeNumber", value } - ); - }, - }), - parenthesisParslet = composeParslet({ - name: "parenthesisParslet", - accept: (type) => "(" === type, - parsePrefix: (parser) => { - if ((parser.consume("("), parser.consume(")"))) - return { type: "JsdocTypeParameterList", elements: [] }; - const result = parser.parseIntermediateType(Precedence.ALL); - if (!parser.consume(")")) - throw new Error("Unterminated parenthesis"); - return "JsdocTypeParameterList" === result.type - ? result - : "JsdocTypeKeyValue" === result.type - ? { type: "JsdocTypeParameterList", elements: [result] } - : { - type: "JsdocTypeParenthesis", - element: assertRootResult(result), - }; - }, - }), - specialTypesParslet = composeParslet({ - name: "specialTypesParslet", - accept: (type, next) => - ("?" === type && isQuestionMarkUnknownType(next)) || - "null" === type || - "undefined" === type || - "*" === type, - parsePrefix: (parser) => { - if (parser.consume("null")) return { type: "JsdocTypeNull" }; - if (parser.consume("undefined")) - return { type: "JsdocTypeUndefined" }; - if (parser.consume("*")) return { type: "JsdocTypeAny" }; - if (parser.consume("?")) return { type: "JsdocTypeUnknown" }; - throw new Error( - "Unacceptable token: " + parser.lexer.current.text, - ); - }, - }), - notNullableParslet = composeParslet({ - name: "notNullableParslet", - accept: (type) => "!" === type, - precedence: Precedence.NULLABLE, - parsePrefix: (parser) => ( - parser.consume("!"), - { - type: "JsdocTypeNotNullable", - element: parser.parseType(Precedence.NULLABLE), - meta: { position: "prefix" }, - } - ), - parseInfix: (parser, left) => ( - parser.consume("!"), - { - type: "JsdocTypeNotNullable", - element: assertRootResult(left), - meta: { position: "suffix" }, - } - ), - }); - function createParameterListParslet({ allowTrailingComma }) { - return composeParslet({ - name: "parameterListParslet", - accept: (type) => "," === type, - precedence: Precedence.PARAMETER_LIST, - parseInfix: (parser, left) => { - const elements = [assertPlainKeyValueOrRootResult(left)]; - parser.consume(","); - do { - try { - const next = parser.parseIntermediateType( - Precedence.PARAMETER_LIST, - ); - elements.push(assertPlainKeyValueOrRootResult(next)); - } catch (e) { - if (allowTrailingComma && e instanceof NoParsletFoundError) - break; - throw e; - } - } while (parser.consume(",")); - if ( - elements.length > 0 && - elements - .slice(0, -1) - .some((e) => "JsdocTypeVariadic" === e.type) - ) - throw new Error( - "Only the last parameter may be a rest parameter", - ); - return { type: "JsdocTypeParameterList", elements }; - }, - }); - } - const genericParslet = composeParslet({ - name: "genericParslet", - accept: (type, next) => - "<" === type || ("." === type && "<" === next), - precedence: Precedence.GENERIC, - parseInfix: (parser, left) => { - const dot = parser.consume("."); - parser.consume("<"); - const objects = []; - do { - objects.push(parser.parseType(Precedence.PARAMETER_LIST)); - } while (parser.consume(",")); - if (!parser.consume(">")) - throw new Error("Unterminated generic parameter list"); - return { - type: "JsdocTypeGeneric", - left: assertRootResult(left), - elements: objects, - meta: { brackets: "angle", dot }, - }; - }, - }), - unionParslet = composeParslet({ - name: "unionParslet", - accept: (type) => "|" === type, - precedence: Precedence.UNION, - parseInfix: (parser, left) => { - parser.consume("|"); - const elements = []; - do { - elements.push(parser.parseType(Precedence.UNION)); - } while (parser.consume("|")); - return { - type: "JsdocTypeUnion", - elements: [assertRootResult(left), ...elements], - }; - }, - }), - baseGrammar = [ - nullableParslet, - optionalParslet, - numberParslet, - parenthesisParslet, - specialTypesParslet, - notNullableParslet, - createParameterListParslet({ allowTrailingComma: !0 }), - genericParslet, - unionParslet, - optionalParslet, - ]; - function createNamePathParslet({ - allowSquareBracketsOnAnyType, - allowJsdocNamePaths, - pathGrammar, - }) { - return function namePathParslet(parser, precedence, left) { - if (null == left || precedence >= Precedence.NAME_PATH) - return null; - const type = parser.lexer.current.type, - next = parser.lexer.next.type; - if ( - !( - ("." === type && "<" !== next) || - ("[" === type && - (allowSquareBracketsOnAnyType || - "JsdocTypeName" === left.type)) || - (allowJsdocNamePaths && ("~" === type || "#" === type)) - ) - ) - return null; - let pathType, - brackets = !1; - parser.consume(".") - ? (pathType = "property") - : parser.consume("[") - ? ((pathType = "property-brackets"), (brackets = !0)) - : parser.consume("~") - ? (pathType = "inner") - : (parser.consume("#"), (pathType = "instance")); - const pathParser = - null !== pathGrammar - ? new Parser(pathGrammar, parser.lexer, parser) - : parser, - parsed = pathParser.parseIntermediateType(Precedence.NAME_PATH); - let right; - switch ((parser.acceptLexerState(pathParser), parsed.type)) { - case "JsdocTypeName": - right = { - type: "JsdocTypeProperty", - value: parsed.value, - meta: { quote: void 0 }, - }; - break; - case "JsdocTypeNumber": - right = { - type: "JsdocTypeProperty", - value: parsed.value.toString(10), - meta: { quote: void 0 }, - }; - break; - case "JsdocTypeStringValue": - right = { - type: "JsdocTypeProperty", - value: parsed.value, - meta: { quote: parsed.meta.quote }, - }; - break; - case "JsdocTypeSpecialNamePath": - if ("event" !== parsed.specialType) - throw new UnexpectedTypeError( - parsed, - "Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'", - ); - right = parsed; - break; - default: - throw new UnexpectedTypeError( - parsed, - "Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'", - ); - } - if (brackets && !parser.consume("]")) { - const token = parser.lexer.current; - throw new Error( - `Unterminated square brackets. Next token is '${token.type}' with text '${token.text}'`, - ); - } - return { - type: "JsdocTypeNamePath", - left: assertRootResult(left), - right, - pathType, - }; - }; - } - function createNameParslet({ allowedAdditionalTokens }) { - return composeParslet({ - name: "nameParslet", - accept: (type) => - "Identifier" === type || - "this" === type || - "new" === type || - allowedAdditionalTokens.includes(type), - parsePrefix: (parser) => { - const { type, text } = parser.lexer.current; - return ( - parser.consume(type), { type: "JsdocTypeName", value: text } - ); - }, - }); - } - const stringValueParslet = composeParslet({ - name: "stringValueParslet", - accept: (type) => "StringValue" === type, - parsePrefix: (parser) => { - const text = parser.lexer.current.text; - return ( - parser.consume("StringValue"), - { - type: "JsdocTypeStringValue", - value: text.slice(1, -1), - meta: { quote: "'" === text[0] ? "single" : "double" }, - } - ); - }, - }); - function createSpecialNamePathParslet({ pathGrammar, allowedTypes }) { - return composeParslet({ - name: "specialNamePathParslet", - accept: (type) => allowedTypes.includes(type), - parsePrefix: (parser) => { - const type = parser.lexer.current.type; - if ((parser.consume(type), !parser.consume(":"))) - return { type: "JsdocTypeName", value: type }; - let result, - token = parser.lexer.current; - if (parser.consume("StringValue")) - result = { - type: "JsdocTypeSpecialNamePath", - value: token.text.slice(1, -1), - specialType: type, - meta: { - quote: "'" === token.text[0] ? "single" : "double", - }, - }; - else { - let value = ""; - const allowed = ["Identifier", "@", "/"]; - for (; allowed.some((type) => parser.consume(type)); ) - (value += token.text), (token = parser.lexer.current); - result = { - type: "JsdocTypeSpecialNamePath", - value, - specialType: type, - meta: { quote: void 0 }, - }; - } - const moduleParser = new Parser( - pathGrammar, - parser.lexer, - parser, - ), - moduleResult = moduleParser.parseInfixIntermediateType( - result, - Precedence.ALL, - ); - return ( - parser.acceptLexerState(moduleParser), - assertRootResult(moduleResult) - ); - }, - }); - } - const basePathGrammar = [ - createNameParslet({ - allowedAdditionalTokens: ["external", "module"], - }), - stringValueParslet, - numberParslet, - createNamePathParslet({ - allowSquareBracketsOnAnyType: !1, - allowJsdocNamePaths: !0, - pathGrammar: null, - }), - ], - pathGrammar = [ - ...basePathGrammar, - createSpecialNamePathParslet({ - allowedTypes: ["event"], - pathGrammar: basePathGrammar, - }), - ]; - function getParameters(value) { - let parameters; - if ("JsdocTypeParameterList" === value.type) - parameters = value.elements; - else { - if ("JsdocTypeParenthesis" !== value.type) - throw new UnexpectedTypeError(value); - parameters = [value.element]; - } - return parameters.map((p) => assertPlainKeyValueOrRootResult(p)); - } - function getUnnamedParameters(value) { - const parameters = getParameters(value); - if (parameters.some((p) => "JsdocTypeKeyValue" === p.type)) - throw new Error("No parameter should be named"); - return parameters; - } - function createFunctionParslet({ - allowNamedParameters, - allowNoReturnType, - allowWithoutParenthesis, - allowNewAsFunctionKeyword, - }) { - return composeParslet({ - name: "functionParslet", - accept: (type, next) => - "function" === type || - (allowNewAsFunctionKeyword && "new" === type && "(" === next), - parsePrefix: (parser) => { - const newKeyword = parser.consume("new"); - parser.consume("function"); - const hasParenthesis = "(" === parser.lexer.current.type; - if (!hasParenthesis) { - if (!allowWithoutParenthesis) - throw new Error("function is missing parameter list"); - return { type: "JsdocTypeName", value: "function" }; - } - let result = { - type: "JsdocTypeFunction", - parameters: [], - arrow: !1, - constructor: newKeyword, - parenthesis: hasParenthesis, - }; - const value = parser.parseIntermediateType(Precedence.FUNCTION); - if (void 0 === allowNamedParameters) - result.parameters = getUnnamedParameters(value); - else { - if ( - newKeyword && - "JsdocTypeFunction" === value.type && - value.arrow - ) - return (result = value), (result.constructor = !0), result; - result.parameters = getParameters(value); - for (const p of result.parameters) - if ( - "JsdocTypeKeyValue" === p.type && - !allowNamedParameters.includes(p.key) - ) - throw new Error( - `only allowed named parameters are ${allowNamedParameters.join(", ")} but got ${p.type}`, - ); - } - if (parser.consume(":")) - result.returnType = parser.parseType(Precedence.PREFIX); - else if (!allowNoReturnType) - throw new Error("function is missing return type"); - return result; - }, - }); - } - function createVariadicParslet({ - allowPostfix, - allowEnclosingBrackets, - }) { - return composeParslet({ - name: "variadicParslet", - accept: (type) => "..." === type, - precedence: Precedence.PREFIX, - parsePrefix: (parser) => { - parser.consume("..."); - const brackets = allowEnclosingBrackets && parser.consume("["); - try { - const element = parser.parseType(Precedence.PREFIX); - if (brackets && !parser.consume("]")) - throw new Error("Unterminated variadic type. Missing ']'"); - return { - type: "JsdocTypeVariadic", - element: assertRootResult(element), - meta: { position: "prefix", squareBrackets: brackets }, - }; - } catch (e) { - if (e instanceof NoParsletFoundError) { - if (brackets) - throw new Error( - "Empty square brackets for variadic are not allowed.", - ); - return { - type: "JsdocTypeVariadic", - meta: { position: void 0, squareBrackets: !1 }, - }; - } - throw e; - } - }, - parseInfix: allowPostfix - ? (parser, left) => ( - parser.consume("..."), - { - type: "JsdocTypeVariadic", - element: assertRootResult(left), - meta: { position: "suffix", squareBrackets: !1 }, - } - ) - : void 0, - }); - } - const symbolParslet = composeParslet({ - name: "symbolParslet", - accept: (type) => "(" === type, - precedence: Precedence.SYMBOL, - parseInfix: (parser, left) => { - if ("JsdocTypeName" !== left.type) - throw new Error( - "Symbol expects a name on the left side. (Reacting on '(')", - ); - parser.consume("("); - const result = { type: "JsdocTypeSymbol", value: left.value }; - if (!parser.consume(")")) { - const next = parser.parseIntermediateType(Precedence.SYMBOL); - if ( - ((result.element = assertNumberOrVariadicNameResult(next)), - !parser.consume(")")) - ) - throw new Error("Symbol does not end after value"); - } - return result; - }, - }), - arrayBracketsParslet = composeParslet({ - name: "arrayBracketsParslet", - precedence: Precedence.ARRAY_BRACKETS, - accept: (type, next) => "[" === type && "]" === next, - parseInfix: (parser, left) => ( - parser.consume("["), - parser.consume("]"), - { - type: "JsdocTypeGeneric", - left: { type: "JsdocTypeName", value: "Array" }, - elements: [assertRootResult(left)], - meta: { brackets: "square", dot: !1 }, - } - ), - }); - function createObjectParslet({ objectFieldGrammar, allowKeyTypes }) { - return composeParslet({ - name: "objectParslet", - accept: (type) => "{" === type, - parsePrefix: (parser) => { - parser.consume("{"); - const result = { - type: "JsdocTypeObject", - meta: { separator: "comma" }, - elements: [], - }; - if (!parser.consume("}")) { - let separator; - const fieldParser = new Parser( - objectFieldGrammar, - parser.lexer, - parser, - ); - for (;;) { - fieldParser.acceptLexerState(parser); - let field = fieldParser.parseIntermediateType( - Precedence.OBJECT, - ); - parser.acceptLexerState(fieldParser), - void 0 === field && - allowKeyTypes && - (field = parser.parseIntermediateType( - Precedence.OBJECT, - )); - let optional = !1; - if ( - ("JsdocTypeNullable" === field.type && - ((optional = !0), (field = field.element)), - "JsdocTypeNumber" === field.type || - "JsdocTypeName" === field.type || - "JsdocTypeStringValue" === field.type) - ) { - let quote; - "JsdocTypeStringValue" === field.type && - (quote = field.meta.quote), - result.elements.push({ - type: "JsdocTypeObjectField", - key: field.value.toString(), - right: void 0, - optional, - readonly: !1, - meta: { quote }, - }); - } else { - if ( - "JsdocTypeObjectField" !== field.type && - "JsdocTypeJsdocObjectField" !== field.type - ) - throw new UnexpectedTypeError(field); - result.elements.push(field); - } - if (parser.lexer.current.startOfLine) - separator = "linebreak"; - else if (parser.consume(",")) separator = "comma"; - else { - if (!parser.consume(";")) break; - separator = "semicolon"; - } - if ("}" === parser.lexer.current.type) break; - } - if ( - ((result.meta.separator = - null != separator ? separator : "comma"), - !parser.consume("}")) - ) - throw new Error("Unterminated record type. Missing '}'"); - } - return result; - }, - }); - } - function createObjectFieldParslet({ - allowSquaredProperties, - allowKeyTypes, - allowReadonly, - allowOptional, - }) { - return composeParslet({ - name: "objectFieldParslet", - precedence: Precedence.KEY_VALUE, - accept: (type) => ":" === type, - parseInfix: (parser, left) => { - var _a; - let optional = !1, - readonlyProperty = !1; - allowOptional && - "JsdocTypeNullable" === left.type && - ((optional = !0), (left = left.element)), - allowReadonly && - "JsdocTypeReadonlyProperty" === left.type && - ((readonlyProperty = !0), (left = left.element)); - const parentParser = - null !== (_a = parser.baseParser) && void 0 !== _a - ? _a - : parser; - if ( - (parentParser.acceptLexerState(parser), - "JsdocTypeNumber" === left.type || - "JsdocTypeName" === left.type || - "JsdocTypeStringValue" === left.type || - isSquaredProperty(left)) - ) { - if (isSquaredProperty(left) && !allowSquaredProperties) - throw new UnexpectedTypeError(left); - let quote; - parentParser.consume(":"), - "JsdocTypeStringValue" === left.type && - (quote = left.meta.quote); - const right = parentParser.parseType(Precedence.KEY_VALUE); - return ( - parser.acceptLexerState(parentParser), - { - type: "JsdocTypeObjectField", - key: isSquaredProperty(left) - ? left - : left.value.toString(), - right, - optional, - readonly: readonlyProperty, - meta: { quote }, - } - ); - } - { - if (!allowKeyTypes) throw new UnexpectedTypeError(left); - parentParser.consume(":"); - const right = parentParser.parseType(Precedence.KEY_VALUE); - return ( - parser.acceptLexerState(parentParser), - { - type: "JsdocTypeJsdocObjectField", - left: assertRootResult(left), - right, - } - ); - } - }, - }); - } - function createKeyValueParslet({ allowOptional, allowVariadic }) { - return composeParslet({ - name: "keyValueParslet", - precedence: Precedence.KEY_VALUE, - accept: (type) => ":" === type, - parseInfix: (parser, left) => { - let optional = !1, - variadic = !1; - if ( - (allowOptional && - "JsdocTypeNullable" === left.type && - ((optional = !0), (left = left.element)), - allowVariadic && - "JsdocTypeVariadic" === left.type && - void 0 !== left.element && - ((variadic = !0), (left = left.element)), - "JsdocTypeName" !== left.type) - ) - throw new UnexpectedTypeError(left); - parser.consume(":"); - const right = parser.parseType(Precedence.KEY_VALUE); - return { - type: "JsdocTypeKeyValue", - key: left.value, - right, - optional, - variadic, - }; - }, - }); - } - const jsdocBaseGrammar = [ - ...baseGrammar, - createFunctionParslet({ - allowWithoutParenthesis: !0, - allowNamedParameters: ["this", "new"], - allowNoReturnType: !0, - allowNewAsFunctionKeyword: !1, - }), - stringValueParslet, - createSpecialNamePathParslet({ - allowedTypes: ["module", "external", "event"], - pathGrammar, - }), - createVariadicParslet({ - allowEnclosingBrackets: !0, - allowPostfix: !0, - }), - createNameParslet({ allowedAdditionalTokens: ["keyof"] }), - symbolParslet, - arrayBracketsParslet, - createNamePathParslet({ - allowSquareBracketsOnAnyType: !1, - allowJsdocNamePaths: !0, - pathGrammar, - }), - ], - jsdocGrammar = [ - ...jsdocBaseGrammar, - createObjectParslet({ - objectFieldGrammar: [ - createNameParslet({ - allowedAdditionalTokens: ["module", "in"], - }), - createObjectFieldParslet({ - allowSquaredProperties: !1, - allowKeyTypes: !0, - allowOptional: !1, - allowReadonly: !1, - }), - ...jsdocBaseGrammar, - ], - allowKeyTypes: !0, - }), - createKeyValueParslet({ allowOptional: !0, allowVariadic: !0 }), - ], - typeOfParslet = composeParslet({ - name: "typeOfParslet", - accept: (type) => "typeof" === type, - parsePrefix: (parser) => ( - parser.consume("typeof"), - { - type: "JsdocTypeTypeof", - element: assertRootResult( - parser.parseType(Precedence.KEY_OF_TYPE_OF), - ), - } - ), - }), - objectFieldGrammar$1 = [ - createNameParslet({ - allowedAdditionalTokens: [ - "module", - "keyof", - "event", - "external", - "in", - ], - }), - nullableParslet, - optionalParslet, - stringValueParslet, - numberParslet, - createObjectFieldParslet({ - allowSquaredProperties: !1, - allowKeyTypes: !1, - allowOptional: !1, - allowReadonly: !1, - }), - ], - closureGrammar = [ - ...baseGrammar, - createObjectParslet({ - allowKeyTypes: !1, - objectFieldGrammar: objectFieldGrammar$1, - }), - createNameParslet({ - allowedAdditionalTokens: ["event", "external", "in"], - }), - typeOfParslet, - createFunctionParslet({ - allowWithoutParenthesis: !1, - allowNamedParameters: ["this", "new"], - allowNoReturnType: !0, - allowNewAsFunctionKeyword: !1, - }), - createVariadicParslet({ - allowEnclosingBrackets: !1, - allowPostfix: !1, - }), - createNameParslet({ allowedAdditionalTokens: ["keyof"] }), - createSpecialNamePathParslet({ - allowedTypes: ["module"], - pathGrammar, - }), - createNamePathParslet({ - allowSquareBracketsOnAnyType: !1, - allowJsdocNamePaths: !0, - pathGrammar, - }), - createKeyValueParslet({ allowOptional: !1, allowVariadic: !1 }), - symbolParslet, - ], - assertsParslet = composeParslet({ - name: "assertsParslet", - accept: (type) => "asserts" === type, - parsePrefix: (parser) => { - parser.consume("asserts"); - const left = parser.parseIntermediateType(Precedence.SYMBOL); - if ("JsdocTypeName" !== left.type) - throw new UnexpectedTypeError( - left, - "A typescript asserts always has to have a name on the left side.", - ); - return ( - parser.consume("is"), - { - type: "JsdocTypeAsserts", - left, - right: assertRootResult( - parser.parseIntermediateType(Precedence.INFIX), - ), - } - ); - }, - }); - function createTupleParslet({ allowQuestionMark }) { - return composeParslet({ - name: "tupleParslet", - accept: (type) => "[" === type, - parsePrefix: (parser) => { - parser.consume("["); - const result = { type: "JsdocTypeTuple", elements: [] }; - if (parser.consume("]")) return result; - const typeList = parser.parseIntermediateType(Precedence.ALL); - if ( - ("JsdocTypeParameterList" === typeList.type - ? "JsdocTypeKeyValue" === typeList.elements[0].type - ? (result.elements = typeList.elements.map( - assertPlainKeyValueResult, - )) - : (result.elements = - typeList.elements.map(assertRootResult)) - : "JsdocTypeKeyValue" === typeList.type - ? (result.elements = [ - assertPlainKeyValueResult(typeList), - ]) - : (result.elements = [assertRootResult(typeList)]), - !parser.consume("]")) - ) - throw new Error("Unterminated '['"); - if ( - !allowQuestionMark && - result.elements.some((e) => "JsdocTypeUnknown" === e.type) - ) - throw new Error("Question mark in tuple not allowed"); - return result; - }, - }); - } - const keyOfParslet = composeParslet({ - name: "keyOfParslet", - accept: (type) => "keyof" === type, - parsePrefix: (parser) => ( - parser.consume("keyof"), - { - type: "JsdocTypeKeyof", - element: assertRootResult( - parser.parseType(Precedence.KEY_OF_TYPE_OF), - ), - } - ), - }), - importParslet = composeParslet({ - name: "importParslet", - accept: (type) => "import" === type, - parsePrefix: (parser) => { - if ((parser.consume("import"), !parser.consume("("))) - throw new Error("Missing parenthesis after import keyword"); - const path = parser.parseType(Precedence.PREFIX); - if ("JsdocTypeStringValue" !== path.type) - throw new Error( - "Only string values are allowed as paths for imports", - ); - if (!parser.consume(")")) - throw new Error( - "Missing closing parenthesis after import keyword", - ); - return { type: "JsdocTypeImport", element: path }; - }, - }), - readonlyPropertyParslet = composeParslet({ - name: "readonlyPropertyParslet", - accept: (type) => "readonly" === type, - parsePrefix: (parser) => ( - parser.consume("readonly"), - { - type: "JsdocTypeReadonlyProperty", - element: parser.parseType(Precedence.KEY_VALUE), - } - ), - }), - arrowFunctionParslet = composeParslet({ - name: "arrowFunctionParslet", - precedence: Precedence.ARROW, - accept: (type) => "=>" === type, - parseInfix: (parser, left) => ( - parser.consume("=>"), - { - type: "JsdocTypeFunction", - parameters: getParameters(left).map( - assertPlainKeyValueOrNameResult, - ), - arrow: !0, - constructor: !1, - parenthesis: !0, - returnType: parser.parseType(Precedence.OBJECT), - } - ), - }), - intersectionParslet = composeParslet({ - name: "intersectionParslet", - accept: (type) => "&" === type, - precedence: Precedence.INTERSECTION, - parseInfix: (parser, left) => { - parser.consume("&"); - const elements = []; - do { - elements.push(parser.parseType(Precedence.INTERSECTION)); - } while (parser.consume("&")); - return { - type: "JsdocTypeIntersection", - elements: [assertRootResult(left), ...elements], - }; - }, - }), - predicateParslet = composeParslet({ - name: "predicateParslet", - precedence: Precedence.INFIX, - accept: (type) => "is" === type, - parseInfix: (parser, left) => { - if ("JsdocTypeName" !== left.type) - throw new UnexpectedTypeError( - left, - "A typescript predicate always has to have a name on the left side.", - ); - return ( - parser.consume("is"), - { - type: "JsdocTypePredicate", - left, - right: assertRootResult( - parser.parseIntermediateType(Precedence.INFIX), - ), - } - ); - }, - }), - objectSquaredPropertyParslet = composeParslet({ - name: "objectSquareBracketPropertyParslet", - accept: (type) => "[" === type, - parsePrefix: (parser) => { - if (void 0 === parser.baseParser) - throw new Error("Only allowed inside object grammar"); - parser.consume("["); - const key = parser.lexer.current.text; - let result; - if ((parser.consume("Identifier"), parser.consume(":"))) { - const parentParser = parser.baseParser; - parentParser.acceptLexerState(parser), - (result = { - type: "JsdocTypeIndexSignature", - key, - right: parentParser.parseType(Precedence.INDEX_BRACKETS), - }), - parser.acceptLexerState(parentParser); - } else { - if (!parser.consume("in")) - throw new Error( - "Missing ':' or 'in' inside square bracketed property.", - ); - { - const parentParser = parser.baseParser; - parentParser.acceptLexerState(parser), - (result = { - type: "JsdocTypeMappedType", - key, - right: parentParser.parseType( - Precedence.ARRAY_BRACKETS, - ), - }), - parser.acceptLexerState(parentParser); - } - } - if (!parser.consume("]")) - throw new Error("Unterminated square brackets"); - return result; - }, - }), - objectFieldGrammar = [ - readonlyPropertyParslet, - createNameParslet({ - allowedAdditionalTokens: [ - "module", - "event", - "keyof", - "event", - "external", - "in", - ], - }), - nullableParslet, - optionalParslet, - stringValueParslet, - numberParslet, - createObjectFieldParslet({ - allowSquaredProperties: !0, - allowKeyTypes: !1, - allowOptional: !0, - allowReadonly: !0, - }), - objectSquaredPropertyParslet, - ], - typescriptGrammar = [ - ...baseGrammar, - createObjectParslet({ allowKeyTypes: !1, objectFieldGrammar }), - typeOfParslet, - keyOfParslet, - importParslet, - stringValueParslet, - createFunctionParslet({ - allowWithoutParenthesis: !0, - allowNoReturnType: !1, - allowNamedParameters: ["this", "new", "args"], - allowNewAsFunctionKeyword: !0, - }), - createTupleParslet({ allowQuestionMark: !1 }), - createVariadicParslet({ - allowEnclosingBrackets: !1, - allowPostfix: !1, - }), - assertsParslet, - createNameParslet({ - allowedAdditionalTokens: ["event", "external", "in"], - }), - createSpecialNamePathParslet({ - allowedTypes: ["module"], - pathGrammar, - }), - arrayBracketsParslet, - arrowFunctionParslet, - createNamePathParslet({ - allowSquareBracketsOnAnyType: !0, - allowJsdocNamePaths: !1, - pathGrammar, - }), - intersectionParslet, - predicateParslet, - createKeyValueParslet({ allowVariadic: !0, allowOptional: !0 }), - ]; - function parse(expression, mode) { - switch (mode) { - case "closure": - return new Parser(closureGrammar, expression).parse(); - case "jsdoc": - return new Parser(jsdocGrammar, expression).parse(); - case "typescript": - return new Parser(typescriptGrammar, expression).parse(); - } - } - function tryParse( - expression, - modes = ["typescript", "closure", "jsdoc"], - ) { - let error; - for (const mode of modes) - try { - return parse(expression, mode); - } catch (e) { - error = e; - } - throw error; - } - function transform(rules, parseResult) { - const rule = rules[parseResult.type]; - if (void 0 === rule) - throw new Error( - `In this set of transform rules exists no rule for type ${parseResult.type}.`, - ); - return rule(parseResult, (aParseResult) => - transform(rules, aParseResult), - ); - } - function notAvailableTransform(parseResult) { - throw new Error( - "This transform is not available. Are you trying the correct parsing mode?", - ); - } - function extractSpecialParams(source) { - const result = { params: [] }; - for (const param of source.parameters) - "JsdocTypeKeyValue" === param.type - ? "this" === param.key - ? (result.this = param.right) - : "new" === param.key - ? (result.new = param.right) - : result.params.push(param) - : result.params.push(param); - return result; - } - function applyPosition(position, target, value) { - return "prefix" === position ? value + target : target + value; - } - function quote(value, quote) { - switch (quote) { - case "double": - return `"${value}"`; - case "single": - return `'${value}'`; - case void 0: - return value; - } - } - function stringifyRules() { - return { - JsdocTypeParenthesis: (result, transform) => - `(${void 0 !== result.element ? transform(result.element) : ""})`, - JsdocTypeKeyof: (result, transform) => - `keyof ${transform(result.element)}`, - JsdocTypeFunction: (result, transform) => { - if (result.arrow) { - if (void 0 === result.returnType) - throw new Error("Arrow function needs a return type."); - let stringified = `(${result.parameters.map(transform).join(", ")}) => ${transform(result.returnType)}`; - return ( - result.constructor && (stringified = "new " + stringified), - stringified - ); - } - { - let stringified = result.constructor ? "new" : "function"; - return result.parenthesis - ? ((stringified += `(${result.parameters.map(transform).join(", ")})`), - void 0 !== result.returnType && - (stringified += `: ${transform(result.returnType)}`), - stringified) - : stringified; - } - }, - JsdocTypeName: (result) => result.value, - JsdocTypeTuple: (result, transform) => - `[${result.elements.map(transform).join(", ")}]`, - JsdocTypeVariadic: (result, transform) => - void 0 === result.meta.position - ? "..." - : applyPosition( - result.meta.position, - transform(result.element), - "...", - ), - JsdocTypeNamePath: (result, transform) => { - const left = transform(result.left), - right = transform(result.right); - switch (result.pathType) { - case "inner": - return `${left}~${right}`; - case "instance": - return `${left}#${right}`; - case "property": - return `${left}.${right}`; - case "property-brackets": - return `${left}[${right}]`; - } - }, - JsdocTypeStringValue: (result) => - quote(result.value, result.meta.quote), - JsdocTypeAny: () => "*", - JsdocTypeGeneric: (result, transform) => { - if ("square" === result.meta.brackets) { - const element = result.elements[0], - transformed = transform(element); - return "JsdocTypeUnion" === element.type || - "JsdocTypeIntersection" === element.type - ? `(${transformed})[]` - : `${transformed}[]`; - } - return `${transform(result.left)}${result.meta.dot ? "." : ""}<${result.elements.map(transform).join(", ")}>`; - }, - JsdocTypeImport: (result, transform) => - `import(${transform(result.element)})`, - JsdocTypeObjectField: (result, transform) => { - let text = ""; - return ( - result.readonly && (text += "readonly "), - "string" == typeof result.key - ? (text += quote(result.key, result.meta.quote)) - : (text += transform(result.key)), - result.optional && (text += "?"), - void 0 === result.right - ? text - : text + `: ${transform(result.right)}` - ); - }, - JsdocTypeJsdocObjectField: (result, transform) => - `${transform(result.left)}: ${transform(result.right)}`, - JsdocTypeKeyValue: (result, transform) => { - let text = result.key; - return ( - result.optional && (text += "?"), - result.variadic && (text = "..." + text), - void 0 === result.right - ? text - : text + `: ${transform(result.right)}` - ); - }, - JsdocTypeSpecialNamePath: (result) => - `${result.specialType}:${quote(result.value, result.meta.quote)}`, - JsdocTypeNotNullable: (result, transform) => - applyPosition( - result.meta.position, - transform(result.element), - "!", - ), - JsdocTypeNull: () => "null", - JsdocTypeNullable: (result, transform) => - applyPosition( - result.meta.position, - transform(result.element), - "?", - ), - JsdocTypeNumber: (result) => result.value.toString(), - JsdocTypeObject: (result, transform) => - `{${result.elements.map(transform).join(("comma" === result.meta.separator ? "," : ";") + " ")}}`, - JsdocTypeOptional: (result, transform) => - applyPosition( - result.meta.position, - transform(result.element), - "=", - ), - JsdocTypeSymbol: (result, transform) => - `${result.value}(${void 0 !== result.element ? transform(result.element) : ""})`, - JsdocTypeTypeof: (result, transform) => - `typeof ${transform(result.element)}`, - JsdocTypeUndefined: () => "undefined", - JsdocTypeUnion: (result, transform) => - result.elements.map(transform).join(" | "), - JsdocTypeUnknown: () => "?", - JsdocTypeIntersection: (result, transform) => - result.elements.map(transform).join(" & "), - JsdocTypeProperty: (result) => - quote(result.value, result.meta.quote), - JsdocTypePredicate: (result, transform) => - `${transform(result.left)} is ${transform(result.right)}`, - JsdocTypeIndexSignature: (result, transform) => - `[${result.key}: ${transform(result.right)}]`, - JsdocTypeMappedType: (result, transform) => - `[${result.key} in ${transform(result.right)}]`, - JsdocTypeAsserts: (result, transform) => - `asserts ${transform(result.left)} is ${transform(result.right)}`, - }; - } - const storedStringifyRules = stringifyRules(); - function stringify(result) { - return transform(storedStringifyRules, result); - } - const reservedWords = [ - "null", - "true", - "false", - "break", - "case", - "catch", - "class", - "const", - "continue", - "debugger", - "default", - "delete", - "do", - "else", - "export", - "extends", - "finally", - "for", - "function", - "if", - "import", - "in", - "instanceof", - "new", - "return", - "super", - "switch", - "this", - "throw", - "try", - "typeof", - "var", - "void", - "while", - "with", - "yield", - ]; - function makeName(value) { - const result = { type: "NameExpression", name: value }; - return ( - reservedWords.includes(value) && (result.reservedWord = !0), - result - ); - } - const catharsisTransformRules = { - JsdocTypeOptional: (result, transform) => { - const transformed = transform(result.element); - return (transformed.optional = !0), transformed; - }, - JsdocTypeNullable: (result, transform) => { - const transformed = transform(result.element); - return (transformed.nullable = !0), transformed; - }, - JsdocTypeNotNullable: (result, transform) => { - const transformed = transform(result.element); - return (transformed.nullable = !1), transformed; - }, - JsdocTypeVariadic: (result, transform) => { - if (void 0 === result.element) - throw new Error( - "dots without value are not allowed in catharsis mode", - ); - const transformed = transform(result.element); - return (transformed.repeatable = !0), transformed; - }, - JsdocTypeAny: () => ({ type: "AllLiteral" }), - JsdocTypeNull: () => ({ type: "NullLiteral" }), - JsdocTypeStringValue: (result) => - makeName(quote(result.value, result.meta.quote)), - JsdocTypeUndefined: () => ({ type: "UndefinedLiteral" }), - JsdocTypeUnknown: () => ({ type: "UnknownLiteral" }), - JsdocTypeFunction: (result, transform) => { - const params = extractSpecialParams(result), - transformed = { - type: "FunctionType", - params: params.params.map(transform), - }; - return ( - void 0 !== params.this && - (transformed.this = transform(params.this)), - void 0 !== params.new && - (transformed.new = transform(params.new)), - void 0 !== result.returnType && - (transformed.result = transform(result.returnType)), - transformed - ); - }, - JsdocTypeGeneric: (result, transform) => ({ - type: "TypeApplication", - applications: result.elements.map((o) => transform(o)), - expression: transform(result.left), - }), - JsdocTypeSpecialNamePath: (result) => - makeName( - result.specialType + - ":" + - quote(result.value, result.meta.quote), - ), - JsdocTypeName: (result) => - "function" !== result.value - ? makeName(result.value) - : { type: "FunctionType", params: [] }, - JsdocTypeNumber: (result) => makeName(result.value.toString()), - JsdocTypeObject: (result, transform) => { - const transformed = { type: "RecordType", fields: [] }; - for (const field of result.elements) - "JsdocTypeObjectField" !== field.type && - "JsdocTypeJsdocObjectField" !== field.type - ? transformed.fields.push({ - type: "FieldType", - key: transform(field), - value: void 0, - }) - : transformed.fields.push(transform(field)); - return transformed; - }, - JsdocTypeObjectField: (result, transform) => { - if ("string" != typeof result.key) - throw new Error( - "Index signatures and mapped types are not supported", - ); - return { - type: "FieldType", - key: makeName(quote(result.key, result.meta.quote)), - value: - void 0 === result.right ? void 0 : transform(result.right), - }; - }, - JsdocTypeJsdocObjectField: (result, transform) => ({ - type: "FieldType", - key: transform(result.left), - value: transform(result.right), - }), - JsdocTypeUnion: (result, transform) => ({ - type: "TypeUnion", - elements: result.elements.map((e) => transform(e)), - }), - JsdocTypeKeyValue: (result, transform) => ({ - type: "FieldType", - key: makeName(result.key), - value: void 0 === result.right ? void 0 : transform(result.right), - }), - JsdocTypeNamePath: (result, transform) => { - const leftResult = transform(result.left); - let rightValue; - rightValue = - "JsdocTypeSpecialNamePath" === result.right.type - ? transform(result.right).name - : quote(result.right.value, result.right.meta.quote); - const joiner = - "inner" === result.pathType - ? "~" - : "instance" === result.pathType - ? "#" - : "."; - return makeName(`${leftResult.name}${joiner}${rightValue}`); - }, - JsdocTypeSymbol: (result) => { - let value = "", - element = result.element, - trailingDots = !1; - return ( - "JsdocTypeVariadic" === - (null == element ? void 0 : element.type) && - ("prefix" === element.meta.position - ? (value = "...") - : (trailingDots = !0), - (element = element.element)), - "JsdocTypeName" === (null == element ? void 0 : element.type) - ? (value += element.value) - : "JsdocTypeNumber" === - (null == element ? void 0 : element.type) && - (value += element.value.toString()), - trailingDots && (value += "..."), - makeName(`${result.value}(${value})`) - ); - }, - JsdocTypeParenthesis: (result, transform) => - transform(assertRootResult(result.element)), - JsdocTypeMappedType: notAvailableTransform, - JsdocTypeIndexSignature: notAvailableTransform, - JsdocTypeImport: notAvailableTransform, - JsdocTypeKeyof: notAvailableTransform, - JsdocTypeTuple: notAvailableTransform, - JsdocTypeTypeof: notAvailableTransform, - JsdocTypeIntersection: notAvailableTransform, - JsdocTypeProperty: notAvailableTransform, - JsdocTypePredicate: notAvailableTransform, - JsdocTypeAsserts: notAvailableTransform, - }; - function catharsisTransform(result) { - return transform(catharsisTransformRules, result); - } - function getQuoteStyle(quote) { - switch (quote) { - case void 0: - return "none"; - case "single": - return "single"; - case "double": - return "double"; - } - } - function getMemberType(type) { - switch (type) { - case "inner": - return "INNER_MEMBER"; - case "instance": - return "INSTANCE_MEMBER"; - case "property": - case "property-brackets": - return "MEMBER"; - } - } - function nestResults(type, results) { - return 2 === results.length - ? { type, left: results[0], right: results[1] } - : { - type, - left: results[0], - right: nestResults(type, results.slice(1)), - }; - } - const jtpRules = { - JsdocTypeOptional: (result, transform) => ({ - type: "OPTIONAL", - value: transform(result.element), - meta: { - syntax: - "prefix" === result.meta.position - ? "PREFIX_EQUAL_SIGN" - : "SUFFIX_EQUALS_SIGN", - }, - }), - JsdocTypeNullable: (result, transform) => ({ - type: "NULLABLE", - value: transform(result.element), - meta: { - syntax: - "prefix" === result.meta.position - ? "PREFIX_QUESTION_MARK" - : "SUFFIX_QUESTION_MARK", - }, - }), - JsdocTypeNotNullable: (result, transform) => ({ - type: "NOT_NULLABLE", - value: transform(result.element), - meta: { - syntax: - "prefix" === result.meta.position - ? "PREFIX_BANG" - : "SUFFIX_BANG", - }, - }), - JsdocTypeVariadic: (result, transform) => { - const transformed = { - type: "VARIADIC", - meta: { - syntax: - "prefix" === result.meta.position - ? "PREFIX_DOTS" - : "suffix" === result.meta.position - ? "SUFFIX_DOTS" - : "ONLY_DOTS", - }, - }; - return ( - void 0 !== result.element && - (transformed.value = transform(result.element)), - transformed - ); - }, - JsdocTypeName: (result) => ({ type: "NAME", name: result.value }), - JsdocTypeTypeof: (result, transform) => ({ - type: "TYPE_QUERY", - name: transform(result.element), - }), - JsdocTypeTuple: (result, transform) => ({ - type: "TUPLE", - entries: result.elements.map(transform), - }), - JsdocTypeKeyof: (result, transform) => ({ - type: "KEY_QUERY", - value: transform(result.element), - }), - JsdocTypeImport: (result) => ({ - type: "IMPORT", - path: { - type: "STRING_VALUE", - quoteStyle: getQuoteStyle(result.element.meta.quote), - string: result.element.value, - }, - }), - JsdocTypeUndefined: () => ({ type: "NAME", name: "undefined" }), - JsdocTypeAny: () => ({ type: "ANY" }), - JsdocTypeFunction: (result, transform) => { - const specialParams = extractSpecialParams(result), - transformed = { - type: result.arrow ? "ARROW" : "FUNCTION", - params: specialParams.params.map((param) => { - if ("JsdocTypeKeyValue" === param.type) { - if (void 0 === param.right) - throw new Error( - "Function parameter without ':' is not expected to be 'KEY_VALUE'", - ); - return { - type: "NAMED_PARAMETER", - name: param.key, - typeName: transform(param.right), - }; - } - return transform(param); - }), - new: null, - returns: null, - }; - return ( - void 0 !== specialParams.this - ? (transformed.this = transform(specialParams.this)) - : result.arrow || (transformed.this = null), - void 0 !== specialParams.new && - (transformed.new = transform(specialParams.new)), - void 0 !== result.returnType && - (transformed.returns = transform(result.returnType)), - transformed - ); - }, - JsdocTypeGeneric: (result, transform) => { - const transformed = { - type: "GENERIC", - subject: transform(result.left), - objects: result.elements.map(transform), - meta: { - syntax: - "square" === result.meta.brackets - ? "SQUARE_BRACKET" - : result.meta.dot - ? "ANGLE_BRACKET_WITH_DOT" - : "ANGLE_BRACKET", - }, - }; - return ( - "square" !== result.meta.brackets || - "JsdocTypeFunction" !== result.elements[0].type || - result.elements[0].parenthesis || - (transformed.objects[0] = { type: "NAME", name: "function" }), - transformed - ); - }, - JsdocTypeObjectField: (result, transform) => { - if ("string" != typeof result.key) - throw new Error( - "Index signatures and mapped types are not supported", - ); - if (void 0 === result.right) - return { - type: "RECORD_ENTRY", - key: result.key, - quoteStyle: getQuoteStyle(result.meta.quote), - value: null, - readonly: !1, - }; - let right = transform(result.right); - return ( - result.optional && - (right = { - type: "OPTIONAL", - value: right, - meta: { syntax: "SUFFIX_KEY_QUESTION_MARK" }, - }), - { - type: "RECORD_ENTRY", - key: result.key.toString(), - quoteStyle: getQuoteStyle(result.meta.quote), - value: right, - readonly: !1, - } - ); - }, - JsdocTypeJsdocObjectField: () => { - throw new Error("Keys may not be typed in jsdoctypeparser."); - }, - JsdocTypeKeyValue: (result, transform) => { - if (void 0 === result.right) - return { - type: "RECORD_ENTRY", - key: result.key, - quoteStyle: "none", - value: null, - readonly: !1, - }; - let right = transform(result.right); - return ( - result.optional && - (right = { - type: "OPTIONAL", - value: right, - meta: { syntax: "SUFFIX_KEY_QUESTION_MARK" }, - }), - { - type: "RECORD_ENTRY", - key: result.key, - quoteStyle: "none", - value: right, - readonly: !1, - } - ); - }, - JsdocTypeObject: (result, transform) => { - const entries = []; - for (const field of result.elements) - ("JsdocTypeObjectField" !== field.type && - "JsdocTypeJsdocObjectField" !== field.type) || - entries.push(transform(field)); - return { type: "RECORD", entries }; - }, - JsdocTypeSpecialNamePath: (result) => { - if ("module" !== result.specialType) - throw new Error( - `jsdoctypeparser does not support type ${result.specialType} at this point.`, - ); - return { - type: "MODULE", - value: { - type: "FILE_PATH", - quoteStyle: getQuoteStyle(result.meta.quote), - path: result.value, - }, - }; - }, - JsdocTypeNamePath: (result, transform) => { - let name, - quoteStyle, - hasEventPrefix = !1; - "JsdocTypeSpecialNamePath" === result.right.type && - "event" === result.right.specialType - ? ((hasEventPrefix = !0), - (name = result.right.value), - (quoteStyle = getQuoteStyle(result.right.meta.quote))) - : ((name = result.right.value), - (quoteStyle = getQuoteStyle(result.right.meta.quote))); - const transformed = { - type: getMemberType(result.pathType), - owner: transform(result.left), - name, - quoteStyle, - hasEventPrefix, - }; - if ("MODULE" === transformed.owner.type) { - const tModule = transformed.owner; - return ( - (transformed.owner = transformed.owner.value), - (tModule.value = transformed), - tModule - ); - } - return transformed; - }, - JsdocTypeUnion: (result, transform) => - nestResults("UNION", result.elements.map(transform)), - JsdocTypeParenthesis: (result, transform) => ({ - type: "PARENTHESIS", - value: transform(assertRootResult(result.element)), - }), - JsdocTypeNull: () => ({ type: "NAME", name: "null" }), - JsdocTypeUnknown: () => ({ type: "UNKNOWN" }), - JsdocTypeStringValue: (result) => ({ - type: "STRING_VALUE", - quoteStyle: getQuoteStyle(result.meta.quote), - string: result.value, - }), - JsdocTypeIntersection: (result, transform) => - nestResults("INTERSECTION", result.elements.map(transform)), - JsdocTypeNumber: (result) => ({ - type: "NUMBER_VALUE", - number: result.value.toString(), - }), - JsdocTypeSymbol: notAvailableTransform, - JsdocTypeProperty: notAvailableTransform, - JsdocTypePredicate: notAvailableTransform, - JsdocTypeMappedType: notAvailableTransform, - JsdocTypeIndexSignature: notAvailableTransform, - JsdocTypeAsserts: notAvailableTransform, - }; - function jtpTransform(result) { - return transform(jtpRules, result); - } - function identityTransformRules() { - return { - JsdocTypeIntersection: (result, transform) => ({ - type: "JsdocTypeIntersection", - elements: result.elements.map(transform), - }), - JsdocTypeGeneric: (result, transform) => ({ - type: "JsdocTypeGeneric", - left: transform(result.left), - elements: result.elements.map(transform), - meta: { dot: result.meta.dot, brackets: result.meta.brackets }, - }), - JsdocTypeNullable: (result) => result, - JsdocTypeUnion: (result, transform) => ({ - type: "JsdocTypeUnion", - elements: result.elements.map(transform), - }), - JsdocTypeUnknown: (result) => result, - JsdocTypeUndefined: (result) => result, - JsdocTypeTypeof: (result, transform) => ({ - type: "JsdocTypeTypeof", - element: transform(result.element), - }), - JsdocTypeSymbol: (result, transform) => { - const transformed = { - type: "JsdocTypeSymbol", - value: result.value, - }; - return ( - void 0 !== result.element && - (transformed.element = transform(result.element)), - transformed - ); - }, - JsdocTypeOptional: (result, transform) => ({ - type: "JsdocTypeOptional", - element: transform(result.element), - meta: { position: result.meta.position }, - }), - JsdocTypeObject: (result, transform) => ({ - type: "JsdocTypeObject", - meta: { separator: "comma" }, - elements: result.elements.map(transform), - }), - JsdocTypeNumber: (result) => result, - JsdocTypeNull: (result) => result, - JsdocTypeNotNullable: (result, transform) => ({ - type: "JsdocTypeNotNullable", - element: transform(result.element), - meta: { position: result.meta.position }, - }), - JsdocTypeSpecialNamePath: (result) => result, - JsdocTypeObjectField: (result, transform) => ({ - type: "JsdocTypeObjectField", - key: result.key, - right: - void 0 === result.right ? void 0 : transform(result.right), - optional: result.optional, - readonly: result.readonly, - meta: result.meta, - }), - JsdocTypeJsdocObjectField: (result, transform) => ({ - type: "JsdocTypeJsdocObjectField", - left: transform(result.left), - right: transform(result.right), - }), - JsdocTypeKeyValue: (result, transform) => ({ - type: "JsdocTypeKeyValue", - key: result.key, - right: - void 0 === result.right ? void 0 : transform(result.right), - optional: result.optional, - variadic: result.variadic, - }), - JsdocTypeImport: (result, transform) => ({ - type: "JsdocTypeImport", - element: transform(result.element), - }), - JsdocTypeAny: (result) => result, - JsdocTypeStringValue: (result) => result, - JsdocTypeNamePath: (result) => result, - JsdocTypeVariadic: (result, transform) => { - const transformed = { - type: "JsdocTypeVariadic", - meta: { - position: result.meta.position, - squareBrackets: result.meta.squareBrackets, - }, - }; - return ( - void 0 !== result.element && - (transformed.element = transform(result.element)), - transformed - ); - }, - JsdocTypeTuple: (result, transform) => ({ - type: "JsdocTypeTuple", - elements: result.elements.map(transform), - }), - JsdocTypeName: (result) => result, - JsdocTypeFunction: (result, transform) => { - const transformed = { - type: "JsdocTypeFunction", - arrow: result.arrow, - parameters: result.parameters.map(transform), - constructor: result.constructor, - parenthesis: result.parenthesis, - }; - return ( - void 0 !== result.returnType && - (transformed.returnType = transform(result.returnType)), - transformed - ); - }, - JsdocTypeKeyof: (result, transform) => ({ - type: "JsdocTypeKeyof", - element: transform(result.element), - }), - JsdocTypeParenthesis: (result, transform) => ({ - type: "JsdocTypeParenthesis", - element: transform(result.element), - }), - JsdocTypeProperty: (result) => result, - JsdocTypePredicate: (result, transform) => ({ - type: "JsdocTypePredicate", - left: transform(result.left), - right: transform(result.right), - }), - JsdocTypeIndexSignature: (result, transform) => ({ - type: "JsdocTypeIndexSignature", - key: result.key, - right: transform(result.right), - }), - JsdocTypeMappedType: (result, transform) => ({ - type: "JsdocTypeMappedType", - key: result.key, - right: transform(result.right), - }), - JsdocTypeAsserts: (result, transform) => ({ - type: "JsdocTypeAsserts", - left: transform(result.left), - right: transform(result.right), - }), - }; - } - const visitorKeys = { - JsdocTypeAny: [], - JsdocTypeFunction: ["parameters", "returnType"], - JsdocTypeGeneric: ["left", "elements"], - JsdocTypeImport: [], - JsdocTypeIndexSignature: ["right"], - JsdocTypeIntersection: ["elements"], - JsdocTypeKeyof: ["element"], - JsdocTypeKeyValue: ["right"], - JsdocTypeMappedType: ["right"], - JsdocTypeName: [], - JsdocTypeNamePath: ["left", "right"], - JsdocTypeNotNullable: ["element"], - JsdocTypeNull: [], - JsdocTypeNullable: ["element"], - JsdocTypeNumber: [], - JsdocTypeObject: ["elements"], - JsdocTypeObjectField: ["right"], - JsdocTypeJsdocObjectField: ["left", "right"], - JsdocTypeOptional: ["element"], - JsdocTypeParenthesis: ["element"], - JsdocTypeSpecialNamePath: [], - JsdocTypeStringValue: [], - JsdocTypeSymbol: ["element"], - JsdocTypeTuple: ["elements"], - JsdocTypeTypeof: ["element"], - JsdocTypeUndefined: [], - JsdocTypeUnion: ["elements"], - JsdocTypeUnknown: [], - JsdocTypeVariadic: ["element"], - JsdocTypeProperty: [], - JsdocTypePredicate: ["left", "right"], - JsdocTypeAsserts: ["left", "right"], - }; - function _traverse(node, parentNode, property, onEnter, onLeave) { - null == onEnter || onEnter(node, parentNode, property); - const keysToVisit = visitorKeys[node.type]; - for (const key of keysToVisit) { - const value = node[key]; - if (void 0 !== value) - if (Array.isArray(value)) - for (const element of value) - _traverse(element, node, key, onEnter, onLeave); - else _traverse(value, node, key, onEnter, onLeave); - } - null == onLeave || onLeave(node, parentNode, property); - } - function traverse(node, onEnter, onLeave) { - _traverse(node, void 0, void 0, onEnter, onLeave); - } - (exports.catharsisTransform = catharsisTransform), - (exports.identityTransformRules = identityTransformRules), - (exports.jtpTransform = jtpTransform), - (exports.parse = parse), - (exports.stringify = stringify), - (exports.stringifyRules = stringifyRules), - (exports.transform = transform), - (exports.traverse = traverse), - (exports.tryParse = tryParse), - (exports.visitorKeys = visitorKeys); - })(exports); - }, - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/abs.js": - (module) => { - "use strict"; - module.exports = Math.abs; - }, - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/floor.js": - (module) => { - "use strict"; - module.exports = Math.floor; - }, - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/max.js": - (module) => { - "use strict"; - module.exports = Math.max; - }, - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/min.js": - (module) => { - "use strict"; - module.exports = Math.min; - }, - "../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/pow.js": - (module) => { - "use strict"; - module.exports = Math.pow; - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/config.js": - (module, __unused_webpack_exports, __webpack_require__) => { - module.exports = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/runtime-config.external.js", - ); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/deployment-id.js": - (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - function getDeploymentIdQueryOrEmptyString() { - return process.env.NEXT_DEPLOYMENT_ID - ? `?dpl=${process.env.NEXT_DEPLOYMENT_ID}` - : ""; - } - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "getDeploymentIdQueryOrEmptyString", { - enumerable: !0, - get: function () { - return getDeploymentIdQueryOrEmptyString; - }, - }); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/add-base-path.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "addBasePath", { - enumerable: !0, - get: function () { - return addBasePath; - }, - }); - const _addpathprefix = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js", - ), - _normalizetrailingslash = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/normalize-trailing-slash.js", - ), - basePath = process.env.__NEXT_ROUTER_BASEPATH || ""; - function addBasePath(path, required) { - return (0, _normalizetrailingslash.normalizePathTrailingSlash)( - process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required - ? path - : (0, _addpathprefix.addPathPrefix)(path, basePath), - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/add-locale.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "addLocale", { - enumerable: !0, - get: function () { - return addLocale; - }, - }); - const _normalizetrailingslash = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/normalize-trailing-slash.js", - ), - addLocale = function (path) { - for ( - var _len = arguments.length, - args = new Array(_len > 1 ? _len - 1 : 0), - _key = 1; - _key < _len; - _key++ - ) - args[_key - 1] = arguments[_key]; - return process.env.__NEXT_I18N_SUPPORT - ? (0, _normalizetrailingslash.normalizePathTrailingSlash)( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/add-locale.js", - ).addLocale(path, ...args), - ) - : path; - }; - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/app-router-headers.js": - (module, exports) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - RSC_HEADER: function () { - return RSC_HEADER; - }, - ACTION: function () { - return ACTION; - }, - NEXT_ROUTER_STATE_TREE: function () { - return NEXT_ROUTER_STATE_TREE; - }, - NEXT_ROUTER_PREFETCH_HEADER: function () { - return NEXT_ROUTER_PREFETCH_HEADER; - }, - NEXT_URL: function () { - return NEXT_URL; - }, - RSC_CONTENT_TYPE_HEADER: function () { - return RSC_CONTENT_TYPE_HEADER; - }, - RSC_VARY_HEADER: function () { - return RSC_VARY_HEADER; - }, - FLIGHT_PARAMETERS: function () { - return FLIGHT_PARAMETERS; - }, - NEXT_RSC_UNION_QUERY: function () { - return NEXT_RSC_UNION_QUERY; - }, - }); - const RSC_HEADER = "RSC", - ACTION = "Next-Action", - NEXT_ROUTER_STATE_TREE = "Next-Router-State-Tree", - NEXT_ROUTER_PREFETCH_HEADER = "Next-Router-Prefetch", - NEXT_URL = "Next-Url", - RSC_CONTENT_TYPE_HEADER = "text/x-component", - RSC_VARY_HEADER = - RSC_HEADER + - ", " + - NEXT_ROUTER_STATE_TREE + - ", " + - NEXT_ROUTER_PREFETCH_HEADER + - ", " + - NEXT_URL, - FLIGHT_PARAMETERS = [ - [RSC_HEADER], - [NEXT_ROUTER_STATE_TREE], - [NEXT_ROUTER_PREFETCH_HEADER], - ], - NEXT_RSC_UNION_QUERY = "_rsc"; - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/async-local-storage.js": - (module, exports) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "createAsyncLocalStorage", { - enumerable: !0, - get: function () { - return createAsyncLocalStorage; - }, - }); - const sharedAsyncLocalStorageNotAvailableError = new Error( - "Invariant: AsyncLocalStorage accessed in runtime where it is not available", - ); - class FakeAsyncLocalStorage { - disable() { - throw sharedAsyncLocalStorageNotAvailableError; - } - getStore() {} - run() { - throw sharedAsyncLocalStorageNotAvailableError; - } - exit() { - throw sharedAsyncLocalStorageNotAvailableError; - } - enterWith() { - throw sharedAsyncLocalStorageNotAvailableError; - } - } - const maybeGlobalAsyncLocalStorage = globalThis.AsyncLocalStorage; - function createAsyncLocalStorage() { - return maybeGlobalAsyncLocalStorage - ? new maybeGlobalAsyncLocalStorage() - : new FakeAsyncLocalStorage(); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/bailout-to-client-rendering.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "bailoutToClientRendering", { - enumerable: !0, - get: function () { - return bailoutToClientRendering; - }, - }); - const _nossrerror = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/lazy-dynamic/no-ssr-error.js", - ), - _staticgenerationasyncstorageexternal = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/static-generation-async-storage.external.js", - ); - function bailoutToClientRendering() { - const staticGenerationStore = - _staticgenerationasyncstorageexternal.staticGenerationAsyncStorage.getStore(); - return ( - !!(null == staticGenerationStore - ? void 0 - : staticGenerationStore.forceStatic) || - ((null == staticGenerationStore - ? void 0 - : staticGenerationStore.isStaticGeneration) && - (0, _nossrerror.throwWithNoSSR)(), - !1) - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/client-hook-in-server-component-error.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "clientHookInServerComponentError", { - enumerable: !0, - get: function () { - return clientHookInServerComponentError; - }, - }); - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ); - function clientHookInServerComponentError(hookName) { - 0; - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/is-next-router-error.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "isNextRouterError", { - enumerable: !0, - get: function () { - return isNextRouterError; - }, - }); - const _notfound = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/not-found.js", - ), - _redirect = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/redirect.js", - ); - function isNextRouterError(error) { - return ( - error && - error.digest && - ((0, _redirect.isRedirectError)(error) || - (0, _notfound.isNotFoundError)(error)) - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/navigation.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - ReadonlyURLSearchParams: function () { - return ReadonlyURLSearchParams; - }, - useSearchParams: function () { - return useSearchParams; - }, - usePathname: function () { - return usePathname; - }, - ServerInsertedHTMLContext: function () { - return _serverinsertedhtmlsharedruntime.ServerInsertedHTMLContext; - }, - useServerInsertedHTML: function () { - return _serverinsertedhtmlsharedruntime.useServerInsertedHTML; - }, - useRouter: function () { - return useRouter; - }, - useParams: function () { - return useParams; - }, - useSelectedLayoutSegments: function () { - return useSelectedLayoutSegments; - }, - useSelectedLayoutSegment: function () { - return useSelectedLayoutSegment; - }, - redirect: function () { - return _redirect.redirect; - }, - permanentRedirect: function () { - return _redirect.permanentRedirect; - }, - RedirectType: function () { - return _redirect.RedirectType; - }, - notFound: function () { - return _notfound.notFound; - }, - }); - const _react = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - _approutercontextsharedruntime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js", - ), - _hooksclientcontextsharedruntime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js", - ), - _clienthookinservercomponenterror = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/client-hook-in-server-component-error.js", - ), - _getsegmentvalue = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js", - ), - _serverinsertedhtmlsharedruntime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js", - ), - _redirect = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/redirect.js", - ), - _notfound = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/not-found.js", - ), - INTERNAL_URLSEARCHPARAMS_INSTANCE = Symbol( - "internal for urlsearchparams readonly", - ); - function readonlyURLSearchParamsError() { - return new Error("ReadonlyURLSearchParams cannot be modified"); - } - class ReadonlyURLSearchParams { - [Symbol.iterator]() { - return this[INTERNAL_URLSEARCHPARAMS_INSTANCE][Symbol.iterator](); - } - append() { - throw readonlyURLSearchParamsError(); - } - delete() { - throw readonlyURLSearchParamsError(); - } - set() { - throw readonlyURLSearchParamsError(); - } - sort() { - throw readonlyURLSearchParamsError(); - } - constructor(urlSearchParams) { - (this[INTERNAL_URLSEARCHPARAMS_INSTANCE] = urlSearchParams), - (this.entries = urlSearchParams.entries.bind(urlSearchParams)), - (this.forEach = urlSearchParams.forEach.bind(urlSearchParams)), - (this.get = urlSearchParams.get.bind(urlSearchParams)), - (this.getAll = urlSearchParams.getAll.bind(urlSearchParams)), - (this.has = urlSearchParams.has.bind(urlSearchParams)), - (this.keys = urlSearchParams.keys.bind(urlSearchParams)), - (this.values = urlSearchParams.values.bind(urlSearchParams)), - (this.toString = urlSearchParams.toString.bind(urlSearchParams)), - (this.size = urlSearchParams.size); - } - } - function useSearchParams() { - (0, - _clienthookinservercomponenterror.clientHookInServerComponentError)( - "useSearchParams", - ); - const searchParams = (0, _react.useContext)( - _hooksclientcontextsharedruntime.SearchParamsContext, - ), - readonlySearchParams = (0, _react.useMemo)( - () => - searchParams ? new ReadonlyURLSearchParams(searchParams) : null, - [searchParams], - ); - if ("undefined" == typeof window) { - const { bailoutToClientRendering } = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/bailout-to-client-rendering.js", - ); - if (bailoutToClientRendering()) return readonlySearchParams; - } - return readonlySearchParams; - } - function usePathname() { - return ( - (0, - _clienthookinservercomponenterror.clientHookInServerComponentError)( - "usePathname", - ), - (0, _react.useContext)( - _hooksclientcontextsharedruntime.PathnameContext, - ) - ); - } - function useRouter() { - (0, - _clienthookinservercomponenterror.clientHookInServerComponentError)( - "useRouter", - ); - const router = (0, _react.useContext)( - _approutercontextsharedruntime.AppRouterContext, - ); - if (null === router) - throw new Error("invariant expected app router to be mounted"); - return router; - } - function getSelectedParams(tree, params) { - void 0 === params && (params = {}); - const parallelRoutes = tree[1]; - for (const parallelRoute of Object.values(parallelRoutes)) { - const segment = parallelRoute[0], - isDynamicParameter = Array.isArray(segment), - segmentValue = isDynamicParameter ? segment[1] : segment; - if (!segmentValue || segmentValue.startsWith("__PAGE__")) continue; - isDynamicParameter && ("c" === segment[2] || "oc" === segment[2]) - ? (params[segment[0]] = segment[1].split("/")) - : isDynamicParameter && (params[segment[0]] = segment[1]), - (params = getSelectedParams(parallelRoute, params)); - } - return params; - } - function useParams() { - (0, - _clienthookinservercomponenterror.clientHookInServerComponentError)( - "useParams", - ); - const globalLayoutRouter = (0, _react.useContext)( - _approutercontextsharedruntime.GlobalLayoutRouterContext, - ), - pathParams = (0, _react.useContext)( - _hooksclientcontextsharedruntime.PathParamsContext, - ); - return (0, _react.useMemo)( - () => - (null == globalLayoutRouter ? void 0 : globalLayoutRouter.tree) - ? getSelectedParams(globalLayoutRouter.tree) - : pathParams, - [ - null == globalLayoutRouter ? void 0 : globalLayoutRouter.tree, - pathParams, - ], - ); - } - function getSelectedLayoutSegmentPath( - tree, - parallelRouteKey, - first, - segmentPath, - ) { - let node; - if ( - (void 0 === first && (first = !0), - void 0 === segmentPath && (segmentPath = []), - first) - ) - node = tree[1][parallelRouteKey]; - else { - const parallelRoutes = tree[1]; - var _parallelRoutes_children; - node = - null != (_parallelRoutes_children = parallelRoutes.children) - ? _parallelRoutes_children - : Object.values(parallelRoutes)[0]; - } - if (!node) return segmentPath; - const segment = node[0], - segmentValue = (0, _getsegmentvalue.getSegmentValue)(segment); - return !segmentValue || segmentValue.startsWith("__PAGE__") - ? segmentPath - : (segmentPath.push(segmentValue), - getSelectedLayoutSegmentPath( - node, - parallelRouteKey, - !1, - segmentPath, - )); - } - function useSelectedLayoutSegments(parallelRouteKey) { - void 0 === parallelRouteKey && (parallelRouteKey = "children"), - (0, - _clienthookinservercomponenterror.clientHookInServerComponentError)( - "useSelectedLayoutSegments", - ); - const { tree } = (0, _react.useContext)( - _approutercontextsharedruntime.LayoutRouterContext, - ); - return getSelectedLayoutSegmentPath(tree, parallelRouteKey); - } - function useSelectedLayoutSegment(parallelRouteKey) { - void 0 === parallelRouteKey && (parallelRouteKey = "children"), - (0, - _clienthookinservercomponenterror.clientHookInServerComponentError)( - "useSelectedLayoutSegment", - ); - const selectedLayoutSegments = - useSelectedLayoutSegments(parallelRouteKey); - return 0 === selectedLayoutSegments.length - ? null - : selectedLayoutSegments[0]; - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/not-found.js": - (module, exports) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - notFound: function () { - return notFound; - }, - isNotFoundError: function () { - return isNotFoundError; - }, - }); - const NOT_FOUND_ERROR_CODE = "NEXT_NOT_FOUND"; - function notFound() { - const error = new Error(NOT_FOUND_ERROR_CODE); - throw ((error.digest = NOT_FOUND_ERROR_CODE), error); - } - function isNotFoundError(error) { - return ( - (null == error ? void 0 : error.digest) === NOT_FOUND_ERROR_CODE - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/redirect-boundary.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - RedirectErrorBoundary: function () { - return RedirectErrorBoundary; - }, - RedirectBoundary: function () { - return RedirectBoundary; - }, - }); - const _react = __webpack_require__( - "../node_modules/.pnpm/@swc+helpers@0.5.2/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs", - )._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - ), - _navigation = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/navigation.js", - ), - _redirect = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/redirect.js", - ); - function HandleRedirect(param) { - let { redirect, reset, redirectType } = param; - const router = (0, _navigation.useRouter)(); - return ( - (0, _react.useEffect)(() => { - _react.default.startTransition(() => { - redirectType === _redirect.RedirectType.push - ? router.push(redirect, {}) - : router.replace(redirect, {}), - reset(); - }); - }, [redirect, redirectType, reset, router]), - null - ); - } - class RedirectErrorBoundary extends _react.default.Component { - static getDerivedStateFromError(error) { - if ((0, _redirect.isRedirectError)(error)) { - return { - redirect: (0, _redirect.getURLFromRedirectError)(error), - redirectType: (0, _redirect.getRedirectTypeFromError)(error), - }; - } - throw error; - } - render() { - const { redirect, redirectType } = this.state; - return null !== redirect && null !== redirectType - ? _react.default.createElement(HandleRedirect, { - redirect, - redirectType, - reset: () => this.setState({ redirect: null }), - }) - : this.props.children; - } - constructor(props) { - super(props), (this.state = { redirect: null, redirectType: null }); - } - } - function RedirectBoundary(param) { - let { children } = param; - const router = (0, _navigation.useRouter)(); - return _react.default.createElement( - RedirectErrorBoundary, - { router }, - children, - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/redirect.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - RedirectType: function () { - return RedirectType; - }, - getRedirectError: function () { - return getRedirectError; - }, - redirect: function () { - return redirect; - }, - permanentRedirect: function () { - return permanentRedirect; - }, - isRedirectError: function () { - return isRedirectError; - }, - getURLFromRedirectError: function () { - return getURLFromRedirectError; - }, - getRedirectTypeFromError: function () { - return getRedirectTypeFromError; - }, - }); - const _requestasyncstorageexternal = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/request-async-storage.external.js", - ), - REDIRECT_ERROR_CODE = "NEXT_REDIRECT"; - var RedirectType; - function getRedirectError(url, type, permanent) { - void 0 === permanent && (permanent = !1); - const error = new Error(REDIRECT_ERROR_CODE); - error.digest = - REDIRECT_ERROR_CODE + ";" + type + ";" + url + ";" + permanent; - const requestStore = - _requestasyncstorageexternal.requestAsyncStorage.getStore(); - return ( - requestStore && - (error.mutableCookies = requestStore.mutableCookies), - error - ); - } - function redirect(url, type) { - throw ( - (void 0 === type && (type = "replace"), - getRedirectError(url, type, !1)) - ); - } - function permanentRedirect(url, type) { - throw ( - (void 0 === type && (type = "replace"), - getRedirectError(url, type, !0)) - ); - } - function isRedirectError(error) { - if ("string" != typeof (null == error ? void 0 : error.digest)) - return !1; - const [errorCode, type, destination, permanent] = error.digest.split( - ";", - 4, - ); - return !( - errorCode !== REDIRECT_ERROR_CODE || - ("replace" !== type && "push" !== type) || - "string" != typeof destination || - ("true" !== permanent && "false" !== permanent) - ); - } - function getURLFromRedirectError(error) { - return isRedirectError(error) ? error.digest.split(";", 3)[2] : null; - } - function getRedirectTypeFromError(error) { - if (!isRedirectError(error)) throw new Error("Not a redirect error"); - return error.digest.split(";", 2)[1]; - } - !(function (RedirectType) { - (RedirectType.push = "push"), (RedirectType.replace = "replace"); - })(RedirectType || (RedirectType = {})), - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { - value: !0, - }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/request-async-storage.external.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "requestAsyncStorage", { - enumerable: !0, - get: function () { - return requestAsyncStorage; - }, - }); - const requestAsyncStorage = (0, - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/async-local-storage.js", - ).createAsyncLocalStorage)(); - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js": - (module, exports) => { - "use strict"; - function getSegmentValue(segment) { - return Array.isArray(segment) ? segment[1] : segment; - } - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "getSegmentValue", { - enumerable: !0, - get: function () { - return getSegmentValue; - }, - }), - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { - value: !0, - }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/static-generation-async-storage.external.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "staticGenerationAsyncStorage", { - enumerable: !0, - get: function () { - return staticGenerationAsyncStorage; - }, - }); - const staticGenerationAsyncStorage = (0, - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/components/async-local-storage.js", - ).createAsyncLocalStorage)(); - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/detect-domain-locale.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "detectDomainLocale", { - enumerable: !0, - get: function () { - return detectDomainLocale; - }, - }); - const detectDomainLocale = function () { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - if (process.env.__NEXT_I18N_SUPPORT) - return __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js", - ).C(...args); - }; - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/has-base-path.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "hasBasePath", { - enumerable: !0, - get: function () { - return hasBasePath; - }, - }); - const _pathhasprefix = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js", - ), - basePath = process.env.__NEXT_ROUTER_BASEPATH || ""; - function hasBasePath(path) { - return (0, _pathhasprefix.pathHasPrefix)(path, basePath); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/head-manager.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - DOMAttributeNames: function () { - return DOMAttributeNames; - }, - isEqualNode: function () { - return isEqualNode; - }, - default: function () { - return initHeadManager; - }, - }); - const DOMAttributeNames = { - acceptCharset: "accept-charset", - className: "class", - htmlFor: "for", - httpEquiv: "http-equiv", - noModule: "noModule", - }; - function reactElementToDOM(param) { - let { type, props } = param; - const el = document.createElement(type); - for (const p in props) { - if (!props.hasOwnProperty(p)) continue; - if ("children" === p || "dangerouslySetInnerHTML" === p) continue; - if (void 0 === props[p]) continue; - const attr = DOMAttributeNames[p] || p.toLowerCase(); - "script" !== type || - ("async" !== attr && "defer" !== attr && "noModule" !== attr) - ? el.setAttribute(attr, props[p]) - : (el[attr] = !!props[p]); - } - const { children, dangerouslySetInnerHTML } = props; - return ( - dangerouslySetInnerHTML - ? (el.innerHTML = dangerouslySetInnerHTML.__html || "") - : children && - (el.textContent = - "string" == typeof children - ? children - : Array.isArray(children) - ? children.join("") - : ""), - el - ); - } - function isEqualNode(oldTag, newTag) { - if (oldTag instanceof HTMLElement && newTag instanceof HTMLElement) { - const nonce = newTag.getAttribute("nonce"); - if (nonce && !oldTag.getAttribute("nonce")) { - const cloneTag = newTag.cloneNode(!0); - return ( - cloneTag.setAttribute("nonce", ""), - (cloneTag.nonce = nonce), - nonce === oldTag.nonce && oldTag.isEqualNode(cloneTag) - ); - } - } - return oldTag.isEqualNode(newTag); - } - let updateElements; - function initHeadManager() { - return { - mountedInstances: new Set(), - updateHead: (head) => { - const tags = {}; - head.forEach((h) => { - if ("link" === h.type && h.props["data-optimized-fonts"]) { - if ( - document.querySelector( - 'style[data-href="' + h.props["data-href"] + '"]', - ) - ) - return; - (h.props.href = h.props["data-href"]), - (h.props["data-href"] = void 0); - } - const components = tags[h.type] || []; - components.push(h), (tags[h.type] = components); - }); - const titleComponent = tags.title ? tags.title[0] : null; - let title = ""; - if (titleComponent) { - const { children } = titleComponent.props; - title = - "string" == typeof children - ? children - : Array.isArray(children) - ? children.join("") - : ""; - } - title !== document.title && (document.title = title), - ["meta", "base", "link", "style", "script"].forEach((type) => { - updateElements(type, tags[type] || []); - }); - }, - }; - } - (updateElements = process.env.__NEXT_STRICT_NEXT_HEAD - ? (type, components) => { - const headEl = document.querySelector("head"); - if (!headEl) return; - const headMetaTags = - headEl.querySelectorAll('meta[name="next-head"]') || [], - oldTags = []; - if ("meta" === type) { - const metaCharset = headEl.querySelector("meta[charset]"); - metaCharset && oldTags.push(metaCharset); - } - for (let i = 0; i < headMetaTags.length; i++) { - var _headTag_tagName; - const headTag = headMetaTags[i].nextSibling; - (null == headTag || null == (_headTag_tagName = headTag.tagName) - ? void 0 - : _headTag_tagName.toLowerCase()) === type && - oldTags.push(headTag); - } - const newTags = components - .map(reactElementToDOM) - .filter((newTag) => { - for (let k = 0, len = oldTags.length; k < len; k++) { - if (isEqualNode(oldTags[k], newTag)) - return oldTags.splice(k, 1), !1; - } - return !0; - }); - oldTags.forEach((t) => { - var _t_parentNode; - const metaTag = t.previousSibling; - var _t_parentNode1; - metaTag && - "next-head" === metaTag.getAttribute("name") && - (null == (_t_parentNode1 = t.parentNode) || - _t_parentNode1.removeChild(metaTag)); - null == (_t_parentNode = t.parentNode) || - _t_parentNode.removeChild(t); - }), - newTags.forEach((t) => { - var _t_tagName; - const meta = document.createElement("meta"); - (meta.name = "next-head"), - (meta.content = "1"), - ("meta" === - (null == (_t_tagName = t.tagName) - ? void 0 - : _t_tagName.toLowerCase()) && - t.getAttribute("charset")) || - headEl.appendChild(meta), - headEl.appendChild(t); - }); - } - : (type, components) => { - const headEl = document.getElementsByTagName("head")[0], - headCountEl = headEl.querySelector( - "meta[name=next-head-count]", - ); - const headCount = Number(headCountEl.content), - oldTags = []; - for ( - let i = 0, j = headCountEl.previousElementSibling; - i < headCount; - i++, j = (null == j ? void 0 : j.previousElementSibling) || null - ) { - var _j_tagName; - (null == j || null == (_j_tagName = j.tagName) - ? void 0 - : _j_tagName.toLowerCase()) === type && oldTags.push(j); - } - const newTags = components - .map(reactElementToDOM) - .filter((newTag) => { - for (let k = 0, len = oldTags.length; k < len; k++) { - if (isEqualNode(oldTags[k], newTag)) - return oldTags.splice(k, 1), !1; - } - return !0; - }); - oldTags.forEach((t) => { - var _t_parentNode; - return null == (_t_parentNode = t.parentNode) - ? void 0 - : _t_parentNode.removeChild(t); - }), - newTags.forEach((t) => headEl.insertBefore(t, headCountEl)), - (headCountEl.content = ( - headCount - - oldTags.length + - newTags.length - ).toString()); - }), - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { - value: !0, - }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/normalize-trailing-slash.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "normalizePathTrailingSlash", { - enumerable: !0, - get: function () { - return normalizePathTrailingSlash; - }, - }); - const _removetrailingslash = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js", - ), - _parsepath = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/parse-path.js", - ), - normalizePathTrailingSlash = (path) => { - if ( - !path.startsWith("/") || - process.env.__NEXT_MANUAL_TRAILING_SLASH - ) - return path; - const { pathname, query, hash } = (0, _parsepath.parsePath)(path); - return process.env.__NEXT_TRAILING_SLASH - ? /\.[^/]+\/?$/.test(pathname) - ? "" + - (0, _removetrailingslash.removeTrailingSlash)(pathname) + - query + - hash - : pathname.endsWith("/") - ? "" + pathname + query + hash - : pathname + "/" + query + hash - : "" + - (0, _removetrailingslash.removeTrailingSlash)(pathname) + - query + - hash; - }; - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/remove-base-path.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "removeBasePath", { - enumerable: !0, - get: function () { - return removeBasePath; - }, - }); - const _hasbasepath = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/has-base-path.js", - ), - basePath = process.env.__NEXT_ROUTER_BASEPATH || ""; - function removeBasePath(path) { - return ( - (process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && - !(0, _hasbasepath.hasBasePath)(path)) || - 0 === basePath.length || - (path = path.slice(basePath.length)).startsWith("/") || - (path = "/" + path), - path - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/remove-locale.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "removeLocale", { - enumerable: !0, - get: function () { - return removeLocale; - }, - }); - const _parsepath = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/parse-path.js", - ); - function removeLocale(path, locale) { - if (process.env.__NEXT_I18N_SUPPORT) { - const { pathname } = (0, _parsepath.parsePath)(path), - pathLower = pathname.toLowerCase(), - localeLower = null == locale ? void 0 : locale.toLowerCase(); - return locale && - (pathLower.startsWith("/" + localeLower + "/") || - pathLower === "/" + localeLower) - ? (pathname.length === locale.length + 1 ? "/" : "") + - path.slice(locale.length + 1) - : path; - } - return path; - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/request-idle-callback.js": - (module, exports) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - requestIdleCallback: function () { - return requestIdleCallback; - }, - cancelIdleCallback: function () { - return cancelIdleCallback; - }, - }); - const requestIdleCallback = - ("undefined" != typeof self && - self.requestIdleCallback && - self.requestIdleCallback.bind(window)) || - function (cb) { - let start = Date.now(); - return self.setTimeout(function () { - cb({ - didTimeout: !1, - timeRemaining: function () { - return Math.max(0, 50 - (Date.now() - start)); - }, - }); - }, 1); - }, - cancelIdleCallback = - ("undefined" != typeof self && - self.cancelIdleCallback && - self.cancelIdleCallback.bind(window)) || - function (id) { - return clearTimeout(id); - }; - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/resolve-href.js": - (module, exports, __webpack_require__) => { - "use strict"; - var console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "resolveHref", { - enumerable: !0, - get: function () { - return resolveHref; - }, - }); - const _querystring = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/querystring.js", - ), - _formaturl = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/format-url.js", - ), - _omit = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/omit.js", - ), - _utils = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/utils.js", - ), - _normalizetrailingslash = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/normalize-trailing-slash.js", - ), - _islocalurl = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/is-local-url.js", - ), - _utils1 = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/index.js", - ), - _interpolateas = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js", - ); - function resolveHref(router, href, resolveAs) { - let base, - urlAsString = - "string" == typeof href - ? href - : (0, _formaturl.formatWithValidation)(href); - const urlProtoMatch = urlAsString.match(/^[a-zA-Z]{1,}:\/\//), - urlAsStringNoProto = urlProtoMatch - ? urlAsString.slice(urlProtoMatch[0].length) - : urlAsString; - if ((urlAsStringNoProto.split("?", 1)[0] || "").match(/(\/\/|\\)/)) { - console.error( - "Invalid href '" + - urlAsString + - "' passed to next/router in page: '" + - router.pathname + - "'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.", - ); - const normalizedUrl = (0, _utils.normalizeRepeatedSlashes)( - urlAsStringNoProto, - ); - urlAsString = - (urlProtoMatch ? urlProtoMatch[0] : "") + normalizedUrl; - } - if (!(0, _islocalurl.isLocalURL)(urlAsString)) - return resolveAs ? [urlAsString] : urlAsString; - try { - base = new URL( - urlAsString.startsWith("#") ? router.asPath : router.pathname, - "http://n", - ); - } catch (_) { - base = new URL("/", "http://n"); - } - try { - const finalUrl = new URL(urlAsString, base); - finalUrl.pathname = (0, - _normalizetrailingslash.normalizePathTrailingSlash)( - finalUrl.pathname, - ); - let interpolatedAs = ""; - if ( - (0, _utils1.isDynamicRoute)(finalUrl.pathname) && - finalUrl.searchParams && - resolveAs - ) { - const query = (0, _querystring.searchParamsToUrlQuery)( - finalUrl.searchParams, - ), - { result, params } = (0, _interpolateas.interpolateAs)( - finalUrl.pathname, - finalUrl.pathname, - query, - ); - result && - (interpolatedAs = (0, _formaturl.formatWithValidation)({ - pathname: result, - hash: finalUrl.hash, - query: (0, _omit.omit)(query, params), - })); - } - const resolvedHref = - finalUrl.origin === base.origin - ? finalUrl.href.slice(finalUrl.origin.length) - : finalUrl.href; - return resolveAs - ? [resolvedHref, interpolatedAs || resolvedHref] - : resolvedHref; - } catch (_) { - return resolveAs ? [urlAsString] : urlAsString; - } - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/route-loader.js": - (module, exports, __webpack_require__) => { - "use strict"; - var process = __webpack_require__( - "../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - markAssetError: function () { - return markAssetError; - }, - isAssetError: function () { - return isAssetError; - }, - getClientBuildManifest: function () { - return getClientBuildManifest; - }, - createRouteLoader: function () { - return createRouteLoader; - }, - }); - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js", - ); - const _trustedtypes = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/trusted-types.js", - ), - _requestidlecallback = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/request-idle-callback.js", - ), - _deploymentid = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/deployment-id.js", - ), - MS_MAX_IDLE_DELAY = 3800; - function withFuture(key, map, generator) { - let resolver, - entry = map.get(key); - if (entry) - return "future" in entry ? entry.future : Promise.resolve(entry); - const prom = new Promise((resolve) => { - resolver = resolve; - }); - return ( - map.set(key, (entry = { resolve: resolver, future: prom })), - generator - ? generator() - .then((value) => (resolver(value), value)) - .catch((err) => { - throw (map.delete(key), err); - }) - : prom - ); - } - const ASSET_LOAD_ERROR = Symbol("ASSET_LOAD_ERROR"); - function markAssetError(err) { - return Object.defineProperty(err, ASSET_LOAD_ERROR, {}); - } - function isAssetError(err) { - return err && ASSET_LOAD_ERROR in err; - } - const canPrefetch = (function hasPrefetch(link) { - try { - return ( - (link = document.createElement("link")), - (!!window.MSInputMethodContext && !!document.documentMode) || - link.relList.supports("prefetch") - ); - } catch (e) { - return !1; - } - })(), - getAssetQueryString = () => - (0, _deploymentid.getDeploymentIdQueryOrEmptyString)(); - function resolvePromiseWithTimeout(p, ms, err) { - return new Promise((resolve, reject) => { - let cancelled = !1; - p - .then((r) => { - (cancelled = !0), resolve(r); - }) - .catch(reject), - (0, _requestidlecallback.requestIdleCallback)(() => - setTimeout(() => { - cancelled || reject(err); - }, ms), - ); - }); - } - function getClientBuildManifest() { - if (self.__BUILD_MANIFEST) - return Promise.resolve(self.__BUILD_MANIFEST); - return resolvePromiseWithTimeout( - new Promise((resolve) => { - const cb = self.__BUILD_MANIFEST_CB; - self.__BUILD_MANIFEST_CB = () => { - resolve(self.__BUILD_MANIFEST), cb && cb(); - }; - }), - MS_MAX_IDLE_DELAY, - markAssetError(new Error("Failed to load client build manifest")), - ); - } - function getFilesForRoute(assetPrefix, route) { - return getClientBuildManifest().then((manifest) => { - if (!(route in manifest)) - throw markAssetError( - new Error("Failed to lookup route: " + route), - ); - const allFiles = manifest[route].map( - (entry) => assetPrefix + "/_next/" + encodeURI(entry), - ); - return { - scripts: allFiles - .filter((v) => v.endsWith(".js")) - .map( - (v) => - (0, _trustedtypes.__unsafeCreateTrustedScriptURL)(v) + - getAssetQueryString(), - ), - css: allFiles - .filter((v) => v.endsWith(".css")) - .map((v) => v + getAssetQueryString()), - }; - }); - } - function createRouteLoader(assetPrefix) { - const entrypoints = new Map(), - loadedScripts = new Map(), - styleSheets = new Map(), - routes = new Map(); - function maybeExecuteScript(src) { - { - let prom = loadedScripts.get(src.toString()); - return ( - prom || - (document.querySelector('script[src^="' + src + '"]') - ? Promise.resolve() - : (loadedScripts.set( - src.toString(), - (prom = (function appendScript(src, script) { - return new Promise((resolve, reject) => { - ((script = document.createElement("script")).onload = - resolve), - (script.onerror = () => - reject( - markAssetError( - new Error("Failed to load script: " + src), - ), - )), - (script.crossOrigin = - process.env.__NEXT_CROSS_ORIGIN), - (script.src = src), - document.body.appendChild(script); - }); - })(src)), - ), - prom)) - ); - } - } - function fetchStyleSheet(href) { - let prom = styleSheets.get(href); - return ( - prom || - (styleSheets.set( - href, - (prom = fetch(href) - .then((res) => { - if (!res.ok) - throw new Error("Failed to load stylesheet: " + href); - return res.text().then((text) => ({ href, content: text })); - }) - .catch((err) => { - throw markAssetError(err); - })), - ), - prom) - ); - } - return { - whenEntrypoint: (route) => withFuture(route, entrypoints), - onEntrypoint(route, execute) { - (execute - ? Promise.resolve() - .then(() => execute()) - .then( - (exports1) => ({ - component: (exports1 && exports1.default) || exports1, - exports: exports1, - }), - (err) => ({ error: err }), - ) - : Promise.resolve(void 0) - ).then((input) => { - const old = entrypoints.get(route); - old && "resolve" in old - ? input && (entrypoints.set(route, input), old.resolve(input)) - : (input - ? entrypoints.set(route, input) - : entrypoints.delete(route), - routes.delete(route)); - }); - }, - loadRoute(route, prefetch) { - return withFuture(route, routes, () => - resolvePromiseWithTimeout( - getFilesForRoute(assetPrefix, route) - .then((param) => { - let { scripts, css } = param; - return Promise.all([ - entrypoints.has(route) - ? [] - : Promise.all(scripts.map(maybeExecuteScript)), - Promise.all(css.map(fetchStyleSheet)), - ]); - }) - .then((res) => - this.whenEntrypoint(route).then((entrypoint) => ({ - entrypoint, - styles: res[1], - })), - ), - MS_MAX_IDLE_DELAY, - markAssetError( - new Error("Route did not complete loading: " + route), - ), - ) - .then((param) => { - let { entrypoint, styles } = param; - const res = Object.assign({ styles }, entrypoint); - return "error" in entrypoint ? entrypoint : res; - }) - .catch((err) => { - if (prefetch) throw err; - return { error: err }; - }) - .finally(() => {}), - ); - }, - prefetch(route) { - let cn; - return (cn = navigator.connection) && - (cn.saveData || /2g/.test(cn.effectiveType)) - ? Promise.resolve() - : getFilesForRoute(assetPrefix, route) - .then((output) => - Promise.all( - canPrefetch - ? output.scripts.map((script) => - (function prefetchViaDom(href, as, link) { - return new Promise((resolve, reject) => { - const selector = - '\n link[rel="prefetch"][href^="' + - href + - '"],\n link[rel="preload"][href^="' + - href + - '"],\n script[src^="' + - href + - '"]'; - if (document.querySelector(selector)) - return resolve(); - (link = document.createElement("link")), - as && (link.as = as), - (link.rel = "prefetch"), - (link.crossOrigin = - process.env.__NEXT_CROSS_ORIGIN), - (link.onload = resolve), - (link.onerror = () => - reject( - markAssetError( - new Error( - "Failed to prefetch: " + href, - ), - ), - )), - (link.href = href), - document.head.appendChild(link); - }); - })(script.toString(), "script"), - ) - : [], - ), - ) - .then(() => { - (0, _requestidlecallback.requestIdleCallback)(() => - this.loadRoute(route, !0).catch(() => {}), - ); - }) - .catch(() => {}); - }, - }; - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/router.js": - (module, exports, __webpack_require__) => { - "use strict"; - var console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ); - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - Router: function () { - return _router.default; - }, - default: function () { - return _default; - }, - withRouter: function () { - return _withrouter.default; - }, - useRouter: function () { - return useRouter; - }, - createRouter: function () { - return createRouter; - }, - makePublicRouterInstance: function () { - return makePublicRouterInstance; - }, - }); - const _interop_require_default = __webpack_require__( - "../node_modules/.pnpm/@swc+helpers@0.5.2/node_modules/@swc/helpers/cjs/_interop_require_default.cjs", - ), - _react = _interop_require_default._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - ), - _router = _interop_require_default._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router/router.js", - ), - ), - _routercontextsharedruntime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/router-context.shared-runtime.js", - ), - _iserror = _interop_require_default._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/lib/is-error.js", - ), - ), - _withrouter = _interop_require_default._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/with-router.js", - ), - ), - singletonRouter = { - router: null, - readyCallbacks: [], - ready(callback) { - if (this.router) return callback(); - "undefined" != typeof window && - this.readyCallbacks.push(callback); - }, - }, - urlPropertyFields = [ - "pathname", - "route", - "query", - "asPath", - "components", - "isFallback", - "basePath", - "locale", - "locales", - "defaultLocale", - "isReady", - "isPreview", - "isLocaleDomain", - "domainLocales", - ], - coreMethodFields = [ - "push", - "replace", - "reload", - "back", - "prefetch", - "beforePopState", - ]; - function getRouter() { - if (!singletonRouter.router) { - throw new Error( - 'No router instance found.\nYou should only use "next/router" on the client side of your app.\n', - ); - } - return singletonRouter.router; - } - Object.defineProperty(singletonRouter, "events", { - get: () => _router.default.events, - }), - urlPropertyFields.forEach((field) => { - Object.defineProperty(singletonRouter, field, { - get: () => getRouter()[field], - }); - }), - coreMethodFields.forEach((field) => { - singletonRouter[field] = function () { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - return getRouter()[field](...args); - }; - }), - [ - "routeChangeStart", - "beforeHistoryChange", - "routeChangeComplete", - "routeChangeError", - "hashChangeStart", - "hashChangeComplete", - ].forEach((event) => { - singletonRouter.ready(() => { - _router.default.events.on(event, function () { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - const eventField = - "on" + event.charAt(0).toUpperCase() + event.substring(1), - _singletonRouter = singletonRouter; - if (_singletonRouter[eventField]) - try { - _singletonRouter[eventField](...args); - } catch (err) { - console.error( - "Error when running the Router event: " + eventField, - ), - console.error( - (0, _iserror.default)(err) - ? err.message + "\n" + err.stack - : err + "", - ); - } - }); - }); - }); - const _default = singletonRouter; - function useRouter() { - const router = _react.default.useContext( - _routercontextsharedruntime.RouterContext, - ); - if (!router) - throw new Error( - "NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted", - ); - return router; - } - function createRouter() { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - return ( - (singletonRouter.router = new _router.default(...args)), - singletonRouter.readyCallbacks.forEach((cb) => cb()), - (singletonRouter.readyCallbacks = []), - singletonRouter.router - ); - } - function makePublicRouterInstance(router) { - const scopedRouter = router, - instance = {}; - for (const property of urlPropertyFields) - "object" != typeof scopedRouter[property] - ? (instance[property] = scopedRouter[property]) - : (instance[property] = Object.assign( - Array.isArray(scopedRouter[property]) ? [] : {}, - scopedRouter[property], - )); - return ( - (instance.events = _router.default.events), - coreMethodFields.forEach((field) => { - instance[field] = function () { - for ( - var _len = arguments.length, args = new Array(_len), _key = 0; - _key < _len; - _key++ - ) - args[_key] = arguments[_key]; - return scopedRouter[field](...args); - }; - }), - instance - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/script.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - (function _export(target, all) { - for (var name in all) - Object.defineProperty(target, name, { - enumerable: !0, - get: all[name], - }); - })(exports, { - handleClientScriptLoad: function () { - return handleClientScriptLoad; - }, - initScriptLoader: function () { - return initScriptLoader; - }, - default: function () { - return _default; - }, - }); - const _interop_require_default = __webpack_require__( - "../node_modules/.pnpm/@swc+helpers@0.5.2/node_modules/@swc/helpers/cjs/_interop_require_default.cjs", - ), - _interop_require_wildcard = __webpack_require__( - "../node_modules/.pnpm/@swc+helpers@0.5.2/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs", - ), - _reactdom = _interop_require_default._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react-dom/index.js", - ), - ), - _react = _interop_require_wildcard._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - ), - _headmanagercontextsharedruntime = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js", - ), - _headmanager = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/head-manager.js", - ), - _requestidlecallback = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/request-idle-callback.js", - ), - ScriptCache = new Map(), - LoadCache = new Set(), - ignoreProps = [ - "onLoad", - "onReady", - "dangerouslySetInnerHTML", - "children", - "onError", - "strategy", - "stylesheets", - ], - loadScript = (props) => { - const { - src, - id, - onLoad = () => {}, - onReady = null, - dangerouslySetInnerHTML, - children = "", - strategy = "afterInteractive", - onError, - stylesheets, - } = props, - cacheKey = id || src; - if (cacheKey && LoadCache.has(cacheKey)) return; - if (ScriptCache.has(src)) - return ( - LoadCache.add(cacheKey), - void ScriptCache.get(src).then(onLoad, onError) - ); - const afterLoad = () => { - onReady && onReady(), LoadCache.add(cacheKey); - }, - el = document.createElement("script"), - loadPromise = new Promise((resolve, reject) => { - el.addEventListener("load", function (e) { - resolve(), onLoad && onLoad.call(this, e), afterLoad(); - }), - el.addEventListener("error", function (e) { - reject(e); - }); - }).catch(function (e) { - onError && onError(e); - }); - dangerouslySetInnerHTML - ? ((el.innerHTML = dangerouslySetInnerHTML.__html || ""), - afterLoad()) - : children - ? ((el.textContent = - "string" == typeof children - ? children - : Array.isArray(children) - ? children.join("") - : ""), - afterLoad()) - : src && ((el.src = src), ScriptCache.set(src, loadPromise)); - for (const [k, value] of Object.entries(props)) { - if (void 0 === value || ignoreProps.includes(k)) continue; - const attr = _headmanager.DOMAttributeNames[k] || k.toLowerCase(); - el.setAttribute(attr, value); - } - "worker" === strategy && el.setAttribute("type", "text/partytown"), - el.setAttribute("data-nscript", strategy), - stylesheets && - ((stylesheets) => { - if (_reactdom.default.preinit) - stylesheets.forEach((stylesheet) => { - _reactdom.default.preinit(stylesheet, { as: "style" }); - }); - else if ("undefined" != typeof window) { - let head = document.head; - stylesheets.forEach((stylesheet) => { - let link = document.createElement("link"); - (link.type = "text/css"), - (link.rel = "stylesheet"), - (link.href = stylesheet), - head.appendChild(link); - }); - } - })(stylesheets), - document.body.appendChild(el); - }; - function handleClientScriptLoad(props) { - const { strategy = "afterInteractive" } = props; - "lazyOnload" === strategy - ? window.addEventListener("load", () => { - (0, _requestidlecallback.requestIdleCallback)(() => - loadScript(props), - ); - }) - : loadScript(props); - } - function initScriptLoader(scriptLoaderItems) { - scriptLoaderItems.forEach(handleClientScriptLoad), - (function addBeforeInteractiveToCache() { - [ - ...document.querySelectorAll( - '[data-nscript="beforeInteractive"]', - ), - ...document.querySelectorAll( - '[data-nscript="beforePageRender"]', - ), - ].forEach((script) => { - const cacheKey = script.id || script.getAttribute("src"); - LoadCache.add(cacheKey); - }); - })(); - } - function Script(props) { - const { - id, - src = "", - onLoad = () => {}, - onReady = null, - strategy = "afterInteractive", - onError, - stylesheets, - ...restProps - } = props, - { updateScripts, scripts, getIsSsr, appDir, nonce } = (0, - _react.useContext)( - _headmanagercontextsharedruntime.HeadManagerContext, - ), - hasOnReadyEffectCalled = (0, _react.useRef)(!1); - (0, _react.useEffect)(() => { - const cacheKey = id || src; - hasOnReadyEffectCalled.current || - (onReady && cacheKey && LoadCache.has(cacheKey) && onReady(), - (hasOnReadyEffectCalled.current = !0)); - }, [onReady, id, src]); - const hasLoadScriptEffectCalled = (0, _react.useRef)(!1); - if ( - ((0, _react.useEffect)(() => { - hasLoadScriptEffectCalled.current || - ("afterInteractive" === strategy - ? loadScript(props) - : "lazyOnload" === strategy && - (function loadLazyScript(props) { - "complete" === document.readyState - ? (0, _requestidlecallback.requestIdleCallback)(() => - loadScript(props), - ) - : window.addEventListener("load", () => { - (0, _requestidlecallback.requestIdleCallback)(() => - loadScript(props), - ); - }); - })(props), - (hasLoadScriptEffectCalled.current = !0)); - }, [props, strategy]), - ("beforeInteractive" !== strategy && "worker" !== strategy) || - (updateScripts - ? ((scripts[strategy] = (scripts[strategy] || []).concat([ - { id, src, onLoad, onReady, onError, ...restProps }, - ])), - updateScripts(scripts)) - : getIsSsr && getIsSsr() - ? LoadCache.add(id || src) - : getIsSsr && !getIsSsr() && loadScript(props)), - appDir) - ) { - if ( - (stylesheets && - stylesheets.forEach((styleSrc) => { - _reactdom.default.preinit(styleSrc, { as: "style" }); - }), - "beforeInteractive" === strategy) - ) - return src - ? (_reactdom.default.preload( - src, - restProps.integrity - ? { as: "script", integrity: restProps.integrity } - : { as: "script" }, - ), - _react.default.createElement("script", { - nonce, - dangerouslySetInnerHTML: { - __html: - "(self.__next_s=self.__next_s||[]).push(" + - JSON.stringify([src]) + - ")", - }, - })) - : (restProps.dangerouslySetInnerHTML && - ((restProps.children = - restProps.dangerouslySetInnerHTML.__html), - delete restProps.dangerouslySetInnerHTML), - _react.default.createElement("script", { - nonce, - dangerouslySetInnerHTML: { - __html: - "(self.__next_s=self.__next_s||[]).push(" + - JSON.stringify([0, { ...restProps }]) + - ")", - }, - })); - "afterInteractive" === strategy && - src && - _reactdom.default.preload( - src, - restProps.integrity - ? { as: "script", integrity: restProps.integrity } - : { as: "script" }, - ); - } - return null; - } - Object.defineProperty(Script, "__nextScript", { value: !0 }); - const _default = Script; - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/trusted-types.js": - (module, exports) => { - "use strict"; - let policy; - function __unsafeCreateTrustedScriptURL(url) { - var _getPolicy; - return ( - (null == - (_getPolicy = (function getPolicy() { - var _window_trustedTypes; - return ( - void 0 === policy && - "undefined" != typeof window && - (policy = - (null == (_window_trustedTypes = window.trustedTypes) - ? void 0 - : _window_trustedTypes.createPolicy("nextjs", { - createHTML: (input) => input, - createScript: (input) => input, - createScriptURL: (input) => input, - })) || null), - policy - ); - })()) - ? void 0 - : _getPolicy.createScriptURL(url)) || url - ); - } - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "__unsafeCreateTrustedScriptURL", { - enumerable: !0, - get: function () { - return __unsafeCreateTrustedScriptURL; - }, - }), - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { - value: !0, - }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/with-router.js": - (module, exports, __webpack_require__) => { - "use strict"; - Object.defineProperty(exports, "__esModule", { value: !0 }), - Object.defineProperty(exports, "default", { - enumerable: !0, - get: function () { - return withRouter; - }, - }); - const _react = __webpack_require__( - "../node_modules/.pnpm/@swc+helpers@0.5.2/node_modules/@swc/helpers/cjs/_interop_require_default.cjs", - )._( - __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - ), - _router = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/router.js", - ); - function withRouter(ComposedComponent) { - function WithRouterWrapper(props) { - return _react.default.createElement(ComposedComponent, { - router: (0, _router.useRouter)(), - ...props, - }); - } - return ( - (WithRouterWrapper.getInitialProps = - ComposedComponent.getInitialProps), - (WithRouterWrapper.origGetInitialProps = - ComposedComponent.origGetInitialProps), - WithRouterWrapper - ); - } - ("function" == typeof exports.default || - ("object" == typeof exports.default && null !== exports.default)) && - void 0 === exports.default.__esModule && - (Object.defineProperty(exports.default, "__esModule", { value: !0 }), - Object.assign(exports.default, exports), - (module.exports = exports.default)); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/cookie/index.js": - (module) => { - (() => { - "use strict"; - "undefined" != typeof __nccwpck_require__ && - (__nccwpck_require__.ab = "//"); - var e = {}; - (() => { - var r = e; - (r.parse = function parse(e, r) { - if ("string" != typeof e) - throw new TypeError("argument str must be a string"); - for ( - var t = {}, - n = r || {}, - o = e.split(a), - s = n.decode || i, - p = 0; - p < o.length; - p++ - ) { - var f = o[p], - u = f.indexOf("="); - if (!(u < 0)) { - var v = f.substr(0, u).trim(), - c = f.substr(++u, f.length).trim(); - '"' == c[0] && (c = c.slice(1, -1)), - null == t[v] && (t[v] = tryDecode(c, s)); - } - } - return t; - }), - (r.serialize = function serialize(e, r, i) { - var a = i || {}, - o = a.encode || t; - if ("function" != typeof o) - throw new TypeError("option encode is invalid"); - if (!n.test(e)) throw new TypeError("argument name is invalid"); - var s = o(r); - if (s && !n.test(s)) - throw new TypeError("argument val is invalid"); - var p = e + "=" + s; - if (null != a.maxAge) { - var f = a.maxAge - 0; - if (isNaN(f) || !isFinite(f)) - throw new TypeError("option maxAge is invalid"); - p += "; Max-Age=" + Math.floor(f); - } - if (a.domain) { - if (!n.test(a.domain)) - throw new TypeError("option domain is invalid"); - p += "; Domain=" + a.domain; - } - if (a.path) { - if (!n.test(a.path)) - throw new TypeError("option path is invalid"); - p += "; Path=" + a.path; - } - if (a.expires) { - if ("function" != typeof a.expires.toUTCString) - throw new TypeError("option expires is invalid"); - p += "; Expires=" + a.expires.toUTCString(); - } - a.httpOnly && (p += "; HttpOnly"); - a.secure && (p += "; Secure"); - if (a.sameSite) { - switch ( - "string" == typeof a.sameSite - ? a.sameSite.toLowerCase() - : a.sameSite - ) { - case !0: - p += "; SameSite=Strict"; - break; - case "lax": - p += "; SameSite=Lax"; - break; - case "strict": - p += "; SameSite=Strict"; - break; - case "none": - p += "; SameSite=None"; - break; - default: - throw new TypeError("option sameSite is invalid"); - } - } - return p; - }); - var i = decodeURIComponent, - t = encodeURIComponent, - a = /; */, - n = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; - function tryDecode(e, r) { - try { - return r(e); - } catch (r) { - return e; - } - } - })(), - (module.exports = e); - })(); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/gzip-size/index.js": - (module, __unused_webpack_exports, __webpack_require__) => { - (() => { - var e = { - 154: (e, r, t) => { - var n = t(781), - o = ["write", "end", "destroy"], - i = ["resume", "pause"], - s = ["data", "close"], - c = Array.prototype.slice; - function forEach(e, r) { - if (e.forEach) return e.forEach(r); - for (var t = 0; t < e.length; t++) r(e[t], t); - } - e.exports = function duplex(e, r) { - var t = new n(), - a = !1; - return ( - forEach(o, proxyWriter), - forEach(i, proxyReader), - forEach(s, proxyStream), - r.on("end", handleEnd), - e.on("drain", function () { - t.emit("drain"); - }), - e.on("error", reemit), - r.on("error", reemit), - (t.writable = e.writable), - (t.readable = r.readable), - t - ); - function proxyWriter(r) { - t[r] = function method() { - return e[r].apply(e, arguments); - }; - } - function proxyReader(e) { - t[e] = function method() { - t.emit(e); - var n = r[e]; - if (n) return n.apply(r, arguments); - r.emit(e); - }; - } - function proxyStream(e) { - r.on(e, function reemit() { - var r = c.call(arguments); - r.unshift(e), t.emit.apply(t, r); - }); - } - function handleEnd() { - if (!a) { - a = !0; - var e = c.call(arguments); - e.unshift("end"), t.emit.apply(t, e); - } - } - function reemit(e) { - t.emit("error", e); - } - }; - }, - 349: (e, r, t) => { - "use strict"; - const n = t(147), - o = t(781), - i = t(796), - s = t(154), - c = t(530), - getOptions = (e) => Object.assign({ level: 9 }, e); - (e.exports = (e, r) => - e - ? c(i.gzip)(e, getOptions(r)) - .then((e) => e.length) - .catch((e) => 0) - : Promise.resolve(0)), - (e.exports.sync = (e, r) => - i.gzipSync(e, getOptions(r)).length), - (e.exports.stream = (e) => { - const r = new o.PassThrough(), - t = new o.PassThrough(), - n = s(r, t); - let c = 0; - const a = i - .createGzip(getOptions(e)) - .on("data", (e) => { - c += e.length; - }) - .on("error", () => { - n.gzipSize = 0; - }) - .on("end", () => { - (n.gzipSize = c), n.emit("gzip-size", c), t.end(); - }); - return r.pipe(a), r.pipe(t, { end: !1 }), n; - }), - (e.exports.file = (r, t) => - new Promise((o, i) => { - const s = n.createReadStream(r); - s.on("error", i); - const c = s.pipe(e.exports.stream(t)); - c.on("error", i), c.on("gzip-size", o); - })), - (e.exports.fileSync = (r, t) => - e.exports.sync(n.readFileSync(r), t)); - }, - 530: (e) => { - "use strict"; - const processFn = (e, r) => - function (...t) { - return new (0, r.promiseModule)((n, o) => { - r.multiArgs - ? t.push((...e) => { - r.errorFirst - ? e[0] - ? o(e) - : (e.shift(), n(e)) - : n(e); - }) - : r.errorFirst - ? t.push((e, r) => { - e ? o(e) : n(r); - }) - : t.push(n), - e.apply(this, t); - }); - }; - e.exports = (e, r) => { - r = Object.assign( - { - exclude: [/.+(Sync|Stream)$/], - errorFirst: !0, - promiseModule: Promise, - }, - r, - ); - const t = typeof e; - if (null === e || ("object" !== t && "function" !== t)) - throw new TypeError( - `Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null === e ? "null" : t}\``, - ); - const filter = (e) => { - const match = (r) => - "string" == typeof r ? e === r : r.test(e); - return r.include - ? r.include.some(match) - : !r.exclude.some(match); - }; - let n; - n = - "function" === t - ? function (...t) { - return r.excludeMain - ? e(...t) - : processFn(e, r).apply(this, t); - } - : Object.create(Object.getPrototypeOf(e)); - for (const t in e) { - const o = e[t]; - n[t] = - "function" == typeof o && filter(t) ? processFn(o, r) : o; - } - return n; - }; - }, - 147: (e) => { - "use strict"; - e.exports = __webpack_require__("?d72a"); - }, - 781: (e) => { - "use strict"; - e.exports = __webpack_require__( - "../node_modules/.pnpm/stream-browserify@3.0.0/node_modules/stream-browserify/index.js", - ); - }, - 796: (e) => { - "use strict"; - e.exports = __webpack_require__( - "../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/index.js", - ); - }, - }, - r = {}; - function __nccwpck_require__(t) { - var n = r[t]; - if (void 0 !== n) return n.exports; - var o = (r[t] = { exports: {} }), - i = !0; - try { - e[t](o, o.exports, __nccwpck_require__), (i = !1); - } finally { - i && delete r[t]; - } - return o.exports; - } - __nccwpck_require__.ab = "//"; - var t = __nccwpck_require__(349); - module.exports = t; - })(); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/path-to-regexp/index.js": - (__unused_webpack_module, exports) => { - "use strict"; - function parse(str, options) { - void 0 === options && (options = {}); - for ( - var tokens = (function lexer(str) { - for (var tokens = [], i = 0; i < str.length; ) { - var char = str[i]; - if ("*" !== char && "+" !== char && "?" !== char) - if ("\\" !== char) - if ("{" !== char) - if ("}" !== char) - if (":" !== char) - if ("(" !== char) - tokens.push({ - type: "CHAR", - index: i, - value: str[i++], - }); - else { - var count = 1, - pattern = ""; - if ("?" === str[(j = i + 1)]) - throw new TypeError( - 'Pattern cannot start with "?" at ' + j, - ); - for (; j < str.length; ) - if ("\\" !== str[j]) { - if (")" === str[j]) { - if (0 == --count) { - j++; - break; - } - } else if ( - "(" === str[j] && - (count++, "?" !== str[j + 1]) - ) - throw new TypeError( - "Capturing groups are not allowed at " + - j, - ); - pattern += str[j++]; - } else pattern += str[j++] + str[j++]; - if (count) - throw new TypeError( - "Unbalanced pattern at " + i, - ); - if (!pattern) - throw new TypeError("Missing pattern at " + i); - tokens.push({ - type: "PATTERN", - index: i, - value: pattern, - }), - (i = j); - } - else { - for (var name = "", j = i + 1; j < str.length; ) { - var code = str.charCodeAt(j); - if ( - !( - (code >= 48 && code <= 57) || - (code >= 65 && code <= 90) || - (code >= 97 && code <= 122) || - 95 === code - ) - ) - break; - name += str[j++]; - } - if (!name) - throw new TypeError( - "Missing parameter name at " + i, - ); - tokens.push({ - type: "NAME", - index: i, - value: name, - }), - (i = j); - } - else - tokens.push({ - type: "CLOSE", - index: i, - value: str[i++], - }); - else - tokens.push({ - type: "OPEN", - index: i, - value: str[i++], - }); - else - tokens.push({ - type: "ESCAPED_CHAR", - index: i++, - value: str[i++], - }); - else - tokens.push({ - type: "MODIFIER", - index: i, - value: str[i++], - }); - } - return ( - tokens.push({ type: "END", index: i, value: "" }), tokens - ); - })(str), - _a = options.prefixes, - prefixes = void 0 === _a ? "./" : _a, - defaultPattern = - "[^" + escapeString(options.delimiter || "/#?") + "]+?", - result = [], - key = 0, - i = 0, - path = "", - tryConsume = function (type) { - if (i < tokens.length && tokens[i].type === type) - return tokens[i++].value; - }, - mustConsume = function (type) { - var value = tryConsume(type); - if (void 0 !== value) return value; - var _a = tokens[i], - nextType = _a.type, - index = _a.index; - throw new TypeError( - "Unexpected " + - nextType + - " at " + - index + - ", expected " + - type, - ); - }, - consumeText = function () { - for ( - var value, result = ""; - (value = tryConsume("CHAR") || tryConsume("ESCAPED_CHAR")); - - ) - result += value; - return result; - }; - i < tokens.length; - - ) { - var char = tryConsume("CHAR"), - name = tryConsume("NAME"), - pattern = tryConsume("PATTERN"); - if (name || pattern) { - var prefix = char || ""; - -1 === prefixes.indexOf(prefix) && - ((path += prefix), (prefix = "")), - path && (result.push(path), (path = "")), - result.push({ - name: name || key++, - prefix, - suffix: "", - pattern: pattern || defaultPattern, - modifier: tryConsume("MODIFIER") || "", - }); - } else { - var value = char || tryConsume("ESCAPED_CHAR"); - if (value) path += value; - else if ( - (path && (result.push(path), (path = "")), tryConsume("OPEN")) - ) { - prefix = consumeText(); - var name_1 = tryConsume("NAME") || "", - pattern_1 = tryConsume("PATTERN") || "", - suffix = consumeText(); - mustConsume("CLOSE"), - result.push({ - name: name_1 || (pattern_1 ? key++ : ""), - pattern: name_1 && !pattern_1 ? defaultPattern : pattern_1, - prefix, - suffix, - modifier: tryConsume("MODIFIER") || "", - }); - } else mustConsume("END"); - } - } - return result; - } - function tokensToFunction(tokens, options) { - void 0 === options && (options = {}); - var reFlags = flags(options), - _a = options.encode, - encode = - void 0 === _a - ? function (x) { - return x; - } - : _a, - _b = options.validate, - validate = void 0 === _b || _b, - matches = tokens.map(function (token) { - if ("object" == typeof token) - return new RegExp("^(?:" + token.pattern + ")$", reFlags); - }); - return function (data) { - for (var path = "", i = 0; i < tokens.length; i++) { - var token = tokens[i]; - if ("string" != typeof token) { - var value = data ? data[token.name] : void 0, - optional = "?" === token.modifier || "*" === token.modifier, - repeat = "*" === token.modifier || "+" === token.modifier; - if (Array.isArray(value)) { - if (!repeat) - throw new TypeError( - 'Expected "' + - token.name + - '" to not repeat, but got an array', - ); - if (0 === value.length) { - if (optional) continue; - throw new TypeError( - 'Expected "' + token.name + '" to not be empty', - ); - } - for (var j = 0; j < value.length; j++) { - var segment = encode(value[j], token); - if (validate && !matches[i].test(segment)) - throw new TypeError( - 'Expected all "' + - token.name + - '" to match "' + - token.pattern + - '", but got "' + - segment + - '"', - ); - path += token.prefix + segment + token.suffix; - } - } else if ( - "string" != typeof value && - "number" != typeof value - ) { - if (!optional) { - var typeOfMessage = repeat ? "an array" : "a string"; - throw new TypeError( - 'Expected "' + token.name + '" to be ' + typeOfMessage, - ); - } - } else { - segment = encode(String(value), token); - if (validate && !matches[i].test(segment)) - throw new TypeError( - 'Expected "' + - token.name + - '" to match "' + - token.pattern + - '", but got "' + - segment + - '"', - ); - path += token.prefix + segment + token.suffix; - } - } else path += token; - } - return path; - }; - } - function regexpToFunction(re, keys, options) { - void 0 === options && (options = {}); - var _a = options.decode, - decode = - void 0 === _a - ? function (x) { - return x; - } - : _a; - return function (pathname) { - var m = re.exec(pathname); - if (!m) return !1; - for ( - var path = m[0], - index = m.index, - params = Object.create(null), - _loop_1 = function (i) { - if (void 0 === m[i]) return "continue"; - var key = keys[i - 1]; - "*" === key.modifier || "+" === key.modifier - ? (params[key.name] = m[i] - .split(key.prefix + key.suffix) - .map(function (value) { - return decode(value, key); - })) - : (params[key.name] = decode(m[i], key)); - }, - i = 1; - i < m.length; - i++ - ) - _loop_1(i); - return { path, index, params }; - }; - } - function escapeString(str) { - return str.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); - } - function flags(options) { - return options && options.sensitive ? "" : "i"; - } - function tokensToRegexp(tokens, keys, options) { - void 0 === options && (options = {}); - for ( - var _a = options.strict, - strict = void 0 !== _a && _a, - _b = options.start, - start = void 0 === _b || _b, - _c = options.end, - end = void 0 === _c || _c, - _d = options.encode, - encode = - void 0 === _d - ? function (x) { - return x; - } - : _d, - endsWith = "[" + escapeString(options.endsWith || "") + "]|$", - delimiter = "[" + escapeString(options.delimiter || "/#?") + "]", - route = start ? "^" : "", - _i = 0, - tokens_1 = tokens; - _i < tokens_1.length; - _i++ - ) { - var token = tokens_1[_i]; - if ("string" == typeof token) route += escapeString(encode(token)); - else { - var prefix = escapeString(encode(token.prefix)), - suffix = escapeString(encode(token.suffix)); - if (token.pattern) - if ((keys && keys.push(token), prefix || suffix)) - if ("+" === token.modifier || "*" === token.modifier) { - var mod = "*" === token.modifier ? "?" : ""; - route += - "(?:" + - prefix + - "((?:" + - token.pattern + - ")(?:" + - suffix + - prefix + - "(?:" + - token.pattern + - "))*)" + - suffix + - ")" + - mod; - } else - route += - "(?:" + - prefix + - "(" + - token.pattern + - ")" + - suffix + - ")" + - token.modifier; - else route += "(" + token.pattern + ")" + token.modifier; - else route += "(?:" + prefix + suffix + ")" + token.modifier; - } - } - if (end) - strict || (route += delimiter + "?"), - (route += options.endsWith ? "(?=" + endsWith + ")" : "$"); - else { - var endToken = tokens[tokens.length - 1], - isEndDelimited = - "string" == typeof endToken - ? delimiter.indexOf(endToken[endToken.length - 1]) > -1 - : void 0 === endToken; - strict || (route += "(?:" + delimiter + "(?=" + endsWith + "))?"), - isEndDelimited || - (route += "(?=" + delimiter + "|" + endsWith + ")"); - } - return new RegExp(route, flags(options)); - } - function pathToRegexp(path, keys, options) { - return path instanceof RegExp - ? (function regexpToRegexp(path, keys) { - if (!keys) return path; - var groups = path.source.match(/\((?!\?)/g); - if (groups) - for (var i = 0; i < groups.length; i++) - keys.push({ - name: i, - prefix: "", - suffix: "", - modifier: "", - pattern: "", - }); - return path; - })(path, keys) - : Array.isArray(path) - ? (function arrayToRegexp(paths, keys, options) { - var parts = paths.map(function (path) { - return pathToRegexp(path, keys, options).source; - }); - return new RegExp( - "(?:" + parts.join("|") + ")", - flags(options), - ); - })(path, keys, options) - : (function stringToRegexp(path, keys, options) { - return tokensToRegexp(parse(path, options), keys, options); - })(path, keys, options); - } - Object.defineProperty(exports, "__esModule", { value: !0 }), - (exports.parse = parse), - (exports.compile = function compile(str, options) { - return tokensToFunction(parse(str, options), options); - }), - (exports.tokensToFunction = tokensToFunction), - (exports.match = function match(str, options) { - var keys = []; - return regexpToFunction( - pathToRegexp(str, keys, options), - keys, - options, - ); - }), - (exports.regexpToFunction = regexpToFunction), - (exports.tokensToRegexp = tokensToRegexp), - (exports.pathToRegexp = pathToRegexp); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react-dom/cjs/react-dom-test-utils.production.js": - (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - var React = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - ReactDOM = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react-dom/index.js", - ); - function get(key) { - return key._reactInternals; - } - function getNearestMountedFiber(fiber) { - let node = fiber, - nearestMounted = fiber; - if (fiber.alternate) for (; node.return; ) node = node.return; - else { - let nextNode = node; - do { - (node = nextNode), - 4098 & node.flags && (nearestMounted = node.return), - (nextNode = node.return); - } while (nextNode); - } - return 3 === node.tag ? nearestMounted : null; - } - function assertIsMounted(fiber) { - if (getNearestMountedFiber(fiber) !== fiber) - throw new Error("Unable to find node on an unmounted component."); - } - const assign = Object.assign; - function getEventCharCode(nativeEvent) { - let charCode; - const keyCode = nativeEvent.keyCode; - return ( - "charCode" in nativeEvent - ? ((charCode = nativeEvent.charCode), - 0 === charCode && 13 === keyCode && (charCode = 13)) - : (charCode = keyCode), - 10 === charCode && (charCode = 13), - charCode >= 32 || 13 === charCode ? charCode : 0 - ); - } - function functionThatReturnsTrue() { - return !0; - } - function functionThatReturnsFalse() { - return !1; - } - function createSyntheticEvent(Interface) { - function SyntheticBaseEvent( - reactName, - reactEventType, - targetInst, - nativeEvent, - nativeEventTarget, - ) { - (this._reactName = reactName), - (this._targetInst = targetInst), - (this.type = reactEventType), - (this.nativeEvent = nativeEvent), - (this.target = nativeEventTarget), - (this.currentTarget = null); - for (const propName in Interface) { - if (!Interface.hasOwnProperty(propName)) continue; - const normalize = Interface[propName]; - this[propName] = normalize - ? normalize(nativeEvent) - : nativeEvent[propName]; - } - const defaultPrevented = - null != nativeEvent.defaultPrevented - ? nativeEvent.defaultPrevented - : !1 === nativeEvent.returnValue; - return ( - (this.isDefaultPrevented = defaultPrevented - ? functionThatReturnsTrue - : functionThatReturnsFalse), - (this.isPropagationStopped = functionThatReturnsFalse), - this - ); - } - return ( - assign(SyntheticBaseEvent.prototype, { - preventDefault: function () { - this.defaultPrevented = !0; - const event = this.nativeEvent; - event && - (event.preventDefault - ? event.preventDefault() - : "unknown" != typeof event.returnValue && - (event.returnValue = !1), - (this.isDefaultPrevented = functionThatReturnsTrue)); - }, - stopPropagation: function () { - const event = this.nativeEvent; - event && - (event.stopPropagation - ? event.stopPropagation() - : "unknown" != typeof event.cancelBubble && - (event.cancelBubble = !0), - (this.isPropagationStopped = functionThatReturnsTrue)); - }, - persist: function () {}, - isPersistent: functionThatReturnsTrue, - }), - SyntheticBaseEvent - ); - } - const EventInterface = { - eventPhase: 0, - bubbles: 0, - cancelable: 0, - timeStamp: function (event) { - return event.timeStamp || Date.now(); - }, - defaultPrevented: 0, - isTrusted: 0, - }, - SyntheticEvent = createSyntheticEvent(EventInterface), - UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }); - let lastMovementX, lastMovementY, lastMouseEvent; - createSyntheticEvent(UIEventInterface); - const MouseEventInterface = assign({}, UIEventInterface, { - screenX: 0, - screenY: 0, - clientX: 0, - clientY: 0, - pageX: 0, - pageY: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - getModifierState: getEventModifierState, - button: 0, - buttons: 0, - relatedTarget: function (event) { - return void 0 === event.relatedTarget - ? event.fromElement === event.srcElement - ? event.toElement - : event.fromElement - : event.relatedTarget; - }, - movementX: function (event) { - return "movementX" in event - ? event.movementX - : ((function updateMouseMovementPolyfillState(event) { - event !== lastMouseEvent && - (lastMouseEvent && "mousemove" === event.type - ? ((lastMovementX = - event.screenX - lastMouseEvent.screenX), - (lastMovementY = - event.screenY - lastMouseEvent.screenY)) - : ((lastMovementX = 0), (lastMovementY = 0)), - (lastMouseEvent = event)); - })(event), - lastMovementX); - }, - movementY: function (event) { - return "movementY" in event ? event.movementY : lastMovementY; - }, - }); - createSyntheticEvent(MouseEventInterface); - createSyntheticEvent( - assign({}, MouseEventInterface, { dataTransfer: 0 }), - ); - createSyntheticEvent( - assign({}, UIEventInterface, { relatedTarget: 0 }), - ); - createSyntheticEvent( - assign({}, EventInterface, { - animationName: 0, - elapsedTime: 0, - pseudoElement: 0, - }), - ); - createSyntheticEvent( - assign({}, EventInterface, { - clipboardData: function (event) { - return "clipboardData" in event - ? event.clipboardData - : window.clipboardData; - }, - }), - ); - createSyntheticEvent(assign({}, EventInterface, { data: 0 })); - const normalizeKey = { - Esc: "Escape", - Spacebar: " ", - Left: "ArrowLeft", - Up: "ArrowUp", - Right: "ArrowRight", - Down: "ArrowDown", - Del: "Delete", - Win: "OS", - Menu: "ContextMenu", - Apps: "ContextMenu", - Scroll: "ScrollLock", - MozPrintableKey: "Unidentified", - }, - translateToKey = { - 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", - }; - const modifierKeyToProp = { - Alt: "altKey", - Control: "ctrlKey", - Meta: "metaKey", - Shift: "shiftKey", - }; - function modifierStateGetter(keyArg) { - const nativeEvent = this.nativeEvent; - if (nativeEvent.getModifierState) - return nativeEvent.getModifierState(keyArg); - const keyProp = modifierKeyToProp[keyArg]; - return !!keyProp && !!nativeEvent[keyProp]; - } - function getEventModifierState(nativeEvent) { - return modifierStateGetter; - } - createSyntheticEvent( - assign({}, UIEventInterface, { - key: function getEventKey(nativeEvent) { - if (nativeEvent.key) { - const key = normalizeKey[nativeEvent.key] || nativeEvent.key; - if ("Unidentified" !== key) return key; - } - if ("keypress" === nativeEvent.type) { - const charCode = getEventCharCode(nativeEvent); - return 13 === charCode - ? "Enter" - : String.fromCharCode(charCode); - } - return "keydown" === nativeEvent.type || - "keyup" === nativeEvent.type - ? translateToKey[nativeEvent.keyCode] || "Unidentified" - : ""; - }, - code: 0, - location: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - repeat: 0, - locale: 0, - getModifierState: getEventModifierState, - charCode: function (event) { - return "keypress" === event.type ? getEventCharCode(event) : 0; - }, - keyCode: function (event) { - return "keydown" === event.type || "keyup" === event.type - ? event.keyCode - : 0; - }, - which: function (event) { - return "keypress" === event.type - ? getEventCharCode(event) - : "keydown" === event.type || "keyup" === event.type - ? event.keyCode - : 0; - }, - }), - ); - createSyntheticEvent( - assign({}, MouseEventInterface, { - pointerId: 0, - width: 0, - height: 0, - pressure: 0, - tangentialPressure: 0, - tiltX: 0, - tiltY: 0, - twist: 0, - pointerType: 0, - isPrimary: 0, - }), - ); - createSyntheticEvent( - assign({}, UIEventInterface, { - touches: 0, - targetTouches: 0, - changedTouches: 0, - altKey: 0, - metaKey: 0, - ctrlKey: 0, - shiftKey: 0, - getModifierState: getEventModifierState, - }), - ); - createSyntheticEvent( - assign({}, EventInterface, { - propertyName: 0, - elapsedTime: 0, - pseudoElement: 0, - }), - ); - createSyntheticEvent( - assign({}, MouseEventInterface, { - deltaX: (event) => - "deltaX" in event - ? event.deltaX - : "wheelDeltaX" in event - ? -event.wheelDeltaX - : 0, - deltaY: (event) => - "deltaY" in event - ? event.deltaY - : "wheelDeltaY" in event - ? -event.wheelDeltaY - : "wheelDelta" in event - ? -event.wheelDelta - : 0, - deltaZ: 0, - deltaMode: 0, - }), - ); - function invokeGuardedCallbackImpl(name, func, context) { - { - const funcArgs = Array.prototype.slice.call(arguments, 3); - try { - func.apply(context, funcArgs); - } catch (error) { - this.onError(error); - } - } - } - let hasError = !1, - caughtError = null, - hasRethrowError = !1, - rethrowError = null; - const reporter = { - onError(error) { - (hasError = !0), (caughtError = error); - }, - }; - function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) { - (hasError = !1), - (caughtError = null), - invokeGuardedCallbackImpl.apply(reporter, arguments); - } - function invokeGuardedCallbackAndCatchFirstError( - name, - func, - context, - a, - b, - c, - d, - e, - f, - ) { - if ((invokeGuardedCallback.apply(this, arguments), hasError)) { - const error = (function clearCaughtError() { - if (hasError) { - const error = caughtError; - return (hasError = !1), (caughtError = null), error; - } - throw new Error( - "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.", - ); - })(); - hasRethrowError || ((hasRethrowError = !0), (rethrowError = error)); - } - } - const isArrayImpl = Array.isArray; - function isArray(a) { - return isArrayImpl(a); - } - const EventInternals = - ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, - getInstanceFromNode = EventInternals[0], - getNodeFromInstance = EventInternals[1], - getFiberCurrentPropsFromNode = EventInternals[2], - enqueueStateRestore = EventInternals[3], - restoreStateIfNeeded = EventInternals[4], - act = React.unstable_act; - function Event(suffix) {} - function findAllInRenderedFiberTreeInternal(fiber, test) { - if (!fiber) return []; - const currentParent = (function findCurrentFiberUsingSlowPath(fiber) { - const alternate = fiber.alternate; - if (!alternate) { - const nearestMounted = getNearestMountedFiber(fiber); - if (null === nearestMounted) - throw new Error( - "Unable to find node on an unmounted component.", - ); - return nearestMounted !== fiber ? null : fiber; - } - let a = fiber, - b = alternate; - for (;;) { - const parentA = a.return; - if (null === parentA) break; - const parentB = parentA.alternate; - if (null === parentB) { - const nextParent = parentA.return; - if (null !== nextParent) { - a = b = nextParent; - continue; - } - break; - } - if (parentA.child === parentB.child) { - let child = parentA.child; - for (; child; ) { - if (child === a) return assertIsMounted(parentA), fiber; - if (child === b) return assertIsMounted(parentA), alternate; - child = child.sibling; - } - throw new Error( - "Unable to find node on an unmounted component.", - ); - } - if (a.return !== b.return) (a = parentA), (b = parentB); - else { - let didFindChild = !1, - child = parentA.child; - for (; child; ) { - if (child === a) { - (didFindChild = !0), (a = parentA), (b = parentB); - break; - } - if (child === b) { - (didFindChild = !0), (b = parentA), (a = parentB); - break; - } - child = child.sibling; - } - if (!didFindChild) { - for (child = parentB.child; child; ) { - if (child === a) { - (didFindChild = !0), (a = parentB), (b = parentA); - break; - } - if (child === b) { - (didFindChild = !0), (b = parentB), (a = parentA); - break; - } - child = child.sibling; - } - if (!didFindChild) - throw new Error( - "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.", - ); - } - } - if (a.alternate !== b) - throw new Error( - "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.", - ); - } - if (3 !== a.tag) - throw new Error("Unable to find node on an unmounted component."); - return a.stateNode.current === a ? fiber : alternate; - })(fiber); - if (!currentParent) return []; - let node = currentParent; - const ret = []; - for (;;) { - if ( - 5 === node.tag || - 6 === node.tag || - 1 === node.tag || - 0 === node.tag || - 26 === node.tag || - 27 === node.tag - ) { - const publicInst = node.stateNode; - test(publicInst) && ret.push(publicInst); - } - if (node.child) (node.child.return = node), (node = node.child); - else { - if (node === currentParent) return ret; - for (; !node.sibling; ) { - if (!node.return || node.return === currentParent) return ret; - node = node.return; - } - (node.sibling.return = node.return), (node = node.sibling); - } - } - } - function validateClassInstance(inst, methodName) { - if (!inst) return; - if (get(inst)) return; - let received; - const stringified = String(inst); - throw ( - ((received = isArray(inst) - ? "an array" - : inst && 1 === inst.nodeType && inst.tagName - ? "a DOM node" - : "[object Object]" === stringified - ? "object with keys {" + Object.keys(inst).join(", ") + "}" - : stringified), - new Error( - methodName + - "(...): the first argument must be a React class instance. Instead received: " + - received + - ".", - )) - ); - } - function isDOMComponent(inst) { - return !(!inst || 1 !== inst.nodeType || !inst.tagName); - } - function isCompositeComponent(inst) { - return ( - !isDOMComponent(inst) && - null != inst && - "function" == typeof inst.render && - "function" == typeof inst.setState - ); - } - function isCompositeComponentWithType(inst, type) { - if (!isCompositeComponent(inst)) return !1; - return get(inst).type === type; - } - function findAllInRenderedTree(inst, test) { - if ((validateClassInstance(inst, "findAllInRenderedTree"), !inst)) - return []; - return findAllInRenderedFiberTreeInternal(get(inst), test); - } - function scryRenderedDOMComponentsWithClass(root, classNames) { - return ( - validateClassInstance(root, "scryRenderedDOMComponentsWithClass"), - findAllInRenderedTree(root, function (inst) { - if (isDOMComponent(inst)) { - let className = inst.className; - "string" != typeof className && - (className = inst.getAttribute("class") || ""); - const classList = className.split(/\s+/); - if (!isArray(classNames)) { - if (void 0 === classNames) - throw new Error( - "TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.", - ); - classNames = classNames.split(/\s+/); - } - return classNames.every(function (name) { - return -1 !== classList.indexOf(name); - }); - } - return !1; - }) - ); - } - function scryRenderedDOMComponentsWithTag(root, tagName) { - return ( - validateClassInstance(root, "scryRenderedDOMComponentsWithTag"), - findAllInRenderedTree(root, function (inst) { - return ( - isDOMComponent(inst) && - inst.tagName.toUpperCase() === tagName.toUpperCase() - ); - }) - ); - } - function scryRenderedComponentsWithType(root, componentType) { - return ( - validateClassInstance(root, "scryRenderedComponentsWithType"), - findAllInRenderedTree(root, function (inst) { - return isCompositeComponentWithType(inst, componentType); - }) - ); - } - function executeDispatch(event, listener, inst) { - const type = event.type || "unknown-event"; - (event.currentTarget = getNodeFromInstance(inst)), - invokeGuardedCallbackAndCatchFirstError( - type, - listener, - void 0, - event, - ), - (event.currentTarget = null); - } - function executeDispatchesAndRelease(event) { - event && - (!(function executeDispatchesInOrder(event) { - const dispatchListeners = event._dispatchListeners, - dispatchInstances = event._dispatchInstances; - if (isArray(dispatchListeners)) - for ( - let i = 0; - i < dispatchListeners.length && !event.isPropagationStopped(); - i++ - ) - executeDispatch( - event, - dispatchListeners[i], - dispatchInstances[i], - ); - else - dispatchListeners && - executeDispatch(event, dispatchListeners, dispatchInstances); - (event._dispatchListeners = null), - (event._dispatchInstances = null); - })(event), - event.isPersistent() || event.constructor.release(event)); - } - function getParent(inst) { - do { - inst = inst.return; - } while (inst && 5 !== inst.tag && 27 !== inst.tag); - return inst || null; - } - function traverseTwoPhase(inst, fn, arg) { - const path = []; - for (; inst; ) path.push(inst), (inst = getParent(inst)); - let i; - for (i = path.length; i-- > 0; ) fn(path[i], "captured", arg); - for (i = 0; i < path.length; i++) fn(path[i], "bubbled", arg); - } - function getListener(inst, registrationName) { - const stateNode = inst.stateNode; - if (!stateNode) return null; - const props = getFiberCurrentPropsFromNode(stateNode); - if (!props) return null; - const listener = props[registrationName]; - if ( - (function shouldPreventMouseEvent(name, type, props) { - switch (name) { - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - case "onMouseEnter": - return !( - !props.disabled || - !(function isInteractive(tag) { - return ( - "button" === tag || - "input" === tag || - "select" === tag || - "textarea" === tag - ); - })(type) - ); - default: - return !1; - } - })(registrationName, inst.type, props) - ) - return null; - if (listener && "function" != typeof listener) - throw new Error( - "Expected `" + - registrationName + - "` listener to be a function, instead got a value of `" + - typeof listener + - "` type.", - ); - return listener; - } - function accumulateDirectionalDispatches(inst, phase, event) { - const listener = (function listenerAtPhase( - inst, - event, - propagationPhase, - ) { - let registrationName = event._reactName; - return ( - "captured" === propagationPhase && - (registrationName += "Capture"), - getListener(inst, registrationName) - ); - })(inst, event, phase); - listener && - (null == event._dispatchListeners && - (event._dispatchListeners = []), - null == event._dispatchInstances && (event._dispatchInstances = []), - event._dispatchListeners.push(listener), - event._dispatchInstances.push(inst)); - } - function accumulateDirectDispatchesSingle(event) { - event && - event._reactName && - (function accumulateDispatches(inst, ignoredDirection, event) { - if (inst && event && event._reactName) { - const listener = getListener(inst, event._reactName); - listener && - (null == event._dispatchListeners && - (event._dispatchListeners = []), - null == event._dispatchInstances && - (event._dispatchInstances = []), - event._dispatchListeners.push(listener), - event._dispatchInstances.push(inst)); - } - })(event._targetInst, 0, event); - } - const Simulate = {}, - directDispatchEventTypes = new Set([ - "mouseEnter", - "mouseLeave", - "pointerEnter", - "pointerLeave", - ]); - function makeSimulator(eventType) { - return function (domNode, eventData) { - if (React.isValidElement(domNode)) - throw new Error( - "TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.", - ); - if (isCompositeComponent(domNode)) - throw new Error( - "TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.", - ); - const reactName = - "on" + eventType[0].toUpperCase() + eventType.slice(1), - fakeNativeEvent = new Event(); - (fakeNativeEvent.target = domNode), - (fakeNativeEvent.type = eventType.toLowerCase()); - const targetInst = getInstanceFromNode(domNode), - event = new SyntheticEvent( - reactName, - fakeNativeEvent.type, - targetInst, - fakeNativeEvent, - domNode, - ); - event.persist(), - assign(event, eventData), - directDispatchEventTypes.has(eventType) - ? accumulateDirectDispatchesSingle(event) - : (function accumulateTwoPhaseDispatchesSingle(event) { - event && - event._reactName && - traverseTwoPhase( - event._targetInst, - accumulateDirectionalDispatches, - event, - ); - })(event), - ReactDOM.unstable_batchedUpdates(function () { - enqueueStateRestore(domNode), - executeDispatchesAndRelease(event), - (function rethrowCaughtError() { - if (hasRethrowError) { - const error = rethrowError; - throw ( - ((hasRethrowError = !1), (rethrowError = null), error) - ); - } - })(); - }), - restoreStateIfNeeded(); - }; - } - const simulatedEventTypes = [ - "blur", - "cancel", - "click", - "close", - "contextMenu", - "copy", - "cut", - "auxClick", - "doubleClick", - "dragEnd", - "dragStart", - "drop", - "focus", - "input", - "invalid", - "keyDown", - "keyPress", - "keyUp", - "mouseDown", - "mouseUp", - "paste", - "pause", - "play", - "pointerCancel", - "pointerDown", - "pointerUp", - "rateChange", - "reset", - "resize", - "seeked", - "submit", - "touchCancel", - "touchEnd", - "touchStart", - "volumeChange", - "drag", - "dragEnter", - "dragExit", - "dragLeave", - "dragOver", - "mouseMove", - "mouseOut", - "mouseOver", - "pointerMove", - "pointerOut", - "pointerOver", - "scroll", - "toggle", - "touchMove", - "wheel", - "abort", - "animationEnd", - "animationIteration", - "animationStart", - "canPlay", - "canPlayThrough", - "durationChange", - "emptied", - "encrypted", - "ended", - "error", - "gotPointerCapture", - "load", - "loadedData", - "loadedMetadata", - "loadStart", - "lostPointerCapture", - "playing", - "progress", - "seeking", - "stalled", - "suspend", - "timeUpdate", - "transitionEnd", - "waiting", - "mouseEnter", - "mouseLeave", - "pointerEnter", - "pointerLeave", - "change", - "select", - "beforeInput", - "compositionEnd", - "compositionStart", - "compositionUpdate", - ]; - !(function buildSimulators() { - simulatedEventTypes.forEach((eventType) => { - Simulate[eventType] = makeSimulator(eventType); - }); - })(), - (exports.Rb = act); - }, - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react-dom/cjs/react-dom.production.min.js": - (__unused_webpack_module, exports, __webpack_require__) => { - "use strict"; - var console = __webpack_require__( - "../node_modules/.pnpm/console-browserify@1.2.0/node_modules/console-browserify/index.js", - ), - aa = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/react/index.js", - ), - ba = __webpack_require__( - "../node_modules/.pnpm/next@14.0.3_@babel+core@7.26.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/scheduler/index.js", - ), - ca = { - usingClientEntryPoint: !1, - Events: null, - Dispatcher: { current: null }, - }; - function u(a) { - for ( - var b = - "https://reactjs.org/docs/error-decoder.html?invariant=" + a, - c = 1; - c < arguments.length; - c++ - ) - b += "&args[]=" + encodeURIComponent(arguments[c]); - return ( - "Minified React error #" + - a + - "; visit " + - b + - " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." - ); - } - var C = Object.assign, - da = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, - ea = da.ReactCurrentDispatcher, - fa = { pending: !1, data: null, method: null, action: null }, - ia = [], - ja = -1; - function ka(a) { - return { current: a }; - } - function D(a) { - 0 > ja || ((a.current = ia[ja]), (ia[ja] = null), ja--); - } - function E(a, b) { - ja++, (ia[ja] = a.current), (a.current = b); - } - var la = Symbol.for("react.element"), - ma = Symbol.for("react.portal"), - na = Symbol.for("react.fragment"), - oa = Symbol.for("react.strict_mode"), - pa = Symbol.for("react.profiler"), - qa = Symbol.for("react.provider"), - ra = Symbol.for("react.context"), - sa = Symbol.for("react.server_context"), - ta = Symbol.for("react.forward_ref"), - ua = Symbol.for("react.suspense"), - va = Symbol.for("react.suspense_list"), - wa = Symbol.for("react.memo"), - xa = Symbol.for("react.lazy"), - ya = Symbol.for("react.scope"); - Symbol.for("react.debug_trace_mode"); - var za = Symbol.for("react.offscreen"), - Aa = Symbol.for("react.legacy_hidden"), - Ba = Symbol.for("react.cache"); - Symbol.for("react.tracing_marker"); - var Ca = Symbol.iterator; - function Da(a) { - return null === a || "object" != typeof a - ? null - : "function" == typeof (a = (Ca && a[Ca]) || a["@@iterator"]) - ? a - : null; - } - var Ea = ka(null), - Fa = ka(null), - Ga = ka(null), - Ha = ka(null), - Ia = { - $$typeof: ra, - _currentValue: null, - _currentValue2: null, - _threadCount: 0, - Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null, - }; - function Ja(a, b) { - switch ((E(Ga, b), E(Fa, a), E(Ea, null), (a = b.nodeType))) { - case 9: - case 11: - b = (b = b.documentElement) && (b = b.namespaceURI) ? Ka(b) : 0; - break; - default: - if ( - ((b = (a = 8 === a ? b.parentNode : b).tagName), - (a = a.namespaceURI)) - ) - b = La((a = Ka(a)), b); - else - switch (b) { - case "svg": - b = 1; - break; - case "math": - b = 2; - break; - default: - b = 0; - } - } - D(Ea), E(Ea, b); - } - function Ma() { - D(Ea), D(Fa), D(Ga); - } - function Na(a) { - null !== a.memoizedState && E(Ha, a); - var b = Ea.current, - c = La(b, a.type); - b !== c && (E(Fa, a), E(Ea, c)); - } - function Oa(a) { - Fa.current === a && (D(Ea), D(Fa)), - Ha.current === a && (D(Ha), (Ia._currentValue = null)); - } - var Pa = ba.unstable_scheduleCallback, - Qa = ba.unstable_cancelCallback, - Ra = ba.unstable_shouldYield, - Sa = ba.unstable_requestPaint, - Ta = ba.unstable_now, - Ua = ba.unstable_getCurrentPriorityLevel, - Va = ba.unstable_ImmediatePriority, - Wa = ba.unstable_UserBlockingPriority, - Xa = ba.unstable_NormalPriority, - Ya = ba.unstable_LowPriority, - Za = ba.unstable_IdlePriority, - $a = null, - ab = null; - var db = Math.clz32 - ? Math.clz32 - : function cb(a) { - return 0 === (a >>>= 0) ? 32 : (31 - ((eb(a) / fb) | 0)) | 0; - }, - eb = Math.log, - fb = Math.LN2; - var gb = 128, - hb = 4194304; - function ib(a) { - var b = 42 & a; - if (0 !== b) return b; - switch (a & -a) { - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - return 64; - case 128: - 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 4194176 & a; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - return 62914560 & a; - case 67108864: - return 67108864; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 0; - default: - return a; - } - } - function jb(a, b) { - var c = a.pendingLanes; - if (0 === c) return 0; - var d = 0, - e = a.suspendedLanes; - a = a.pingedLanes; - var f = 134217727 & c; - return ( - 0 !== f - ? 0 !== (c = f & ~e) - ? (d = ib(c)) - : 0 !== (a &= f) && (d = ib(a)) - : 0 !== (c &= ~e) - ? (d = ib(c)) - : 0 !== a && (d = ib(a)), - 0 === d - ? 0 - : 0 !== b && - b !== d && - !(b & e) && - ((e = d & -d) >= (a = b & -b) || (32 === e && 4194176 & a)) - ? b - : d - ); - } - function kb(a, b) { - switch (a) { - case 1: - case 2: - case 4: - case 8: - return b + 250; - 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 b + 5e3; - default: - return -1; - } - } - function lb(a, b) { - return a.errorRecoveryDisabledLanes & b - ? 0 - : 0 !== (a = -536870913 & a.pendingLanes) - ? a - : 536870912 & a - ? 536870912 - : 0; - } - function mb() { - var a = hb; - return !(62914560 & (hb <<= 1)) && (hb = 4194304), a; - } - function nb(a) { - for (var b = [], c = 0; 31 > c; c++) b.push(a); - return b; - } - function ob(a, b) { - (a.pendingLanes |= b), - 268435456 !== b && ((a.suspendedLanes = 0), (a.pingedLanes = 0)); - } - function qb(a, b, c) { - (a.pendingLanes |= b), (a.suspendedLanes &= ~b); - var d = 31 - db(b); - (a.entangledLanes |= b), - (a.entanglements[d] = - 1073741824 | a.entanglements[d] | (4194218 & c)); - } - function rb(a, b) { - var c = (a.entangledLanes |= b); - for (a = a.entanglements; c; ) { - var d = 31 - db(c), - e = 1 << d; - (e & b) | (a[d] & b) && (a[d] |= b), (c &= ~e); - } - } - var F = 0; - function ub(a) { - return 2 < (a &= -a) - ? 8 < a - ? 134217727 & a - ? 32 - : 268435456 - : 8 - : 2; - } - var vb = Object.prototype.hasOwnProperty, - wb = Math.random().toString(36).slice(2), - xb = "__reactFiber$" + wb, - yb = "__reactProps$" + wb, - zb = "__reactContainer$" + wb, - Ab = "__reactEvents$" + wb, - Bb = "__reactListeners$" + wb, - Cb = "__reactHandles$" + wb, - Db = "__reactResources$" + wb, - Fb = "__reactMarker$" + wb; - function Gb(a) { - delete a[xb], delete a[yb], delete a[Ab], delete a[Bb], delete a[Cb]; - } - function Hb(a) { - var b = a[xb]; - if (b) return b; - for (var c = a.parentNode; c; ) { - if ((b = c[zb] || c[xb])) { - if ( - ((c = b.alternate), - null !== b.child || (null !== c && null !== c.child)) - ) - for (a = Ib(a); null !== a; ) { - if ((c = a[xb])) return c; - a = Ib(a); - } - return b; - } - c = (a = c).parentNode; - } - return null; - } - function Jb(a) { - if ((a = a[xb] || a[zb])) { - var b = a.tag; - if ( - 5 === b || - 6 === b || - 13 === b || - 26 === b || - 27 === b || - 3 === b - ) - return a; - } - return null; - } - function Kb(a) { - var b = a.tag; - if (5 === b || 26 === b || 27 === b || 6 === b) return a.stateNode; - throw Error(u(33)); - } - function Lb(a) { - return a[yb] || null; - } - function Mb(a) { - var b = a[Db]; - return ( - b || - (b = a[Db] = - { hoistableStyles: new Map(), hoistableScripts: new Map() }), - b - ); - } - function Nb(a) { - a[Fb] = !0; - } - var Ob = new Set(), - Pb = {}; - function Qb(a, b) { - Rb(a, b), Rb(a + "Capture", b); - } - function Rb(a, b) { - for (Pb[a] = b, a = 0; a < b.length; a++) Ob.add(b[a]); - } - var $b, - Sb = !( - "undefined" == typeof window || - void 0 === window.document || - void 0 === window.document.createElement - ), - Tb = RegExp( - "^[: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]*$", - ), - Ub = {}, - Vb = {}; - function Xb(a, b, c) { - if ( - (function Wb(a) { - return ( - !!vb.call(Vb, a) || - (!vb.call(Ub, a) && - (Tb.test(a) ? (Vb[a] = !0) : ((Ub[a] = !0), !1))) - ); - })(b) - ) - if (null === c) a.removeAttribute(b); - else { - switch (typeof c) { - case "undefined": - case "function": - case "symbol": - return void a.removeAttribute(b); - case "boolean": - var d = b.toLowerCase().slice(0, 5); - if ("data-" !== d && "aria-" !== d) - return void a.removeAttribute(b); - } - a.setAttribute(b, "" + c); - } - } - function Yb(a, b, c) { - if (null === c) a.removeAttribute(b); - else { - switch (typeof c) { - case "undefined": - case "function": - case "symbol": - case "boolean": - return void a.removeAttribute(b); - } - a.setAttribute(b, "" + c); - } - } - function Zb(a, b, c, d) { - if (null === d) a.removeAttribute(c); - else { - switch (typeof d) { - case "undefined": - case "function": - case "symbol": - case "boolean": - return void a.removeAttribute(c); - } - a.setAttributeNS(b, c, "" + d); - } - } - function ac(a) { - if (void 0 === $b) - try { - throw Error(); - } catch (c) { - var b = c.stack.trim().match(/\n( *(at )?)/); - $b = (b && b[1]) || ""; - } - return "\n" + $b + a; - } - var bc = !1; - function cc(a, b) { - if (!a || bc) return ""; - bc = !0; - var c = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - var d = { - DetermineComponentFrameRoot: function () { - try { - if (b) { - var w = function () { - throw Error(); - }; - if ( - (Object.defineProperty(w.prototype, "props", { - set: function () { - throw Error(); - }, - }), - "object" == typeof Reflect && Reflect.construct) - ) { - try { - Reflect.construct(w, []); - } catch (t) { - var r = t; - } - Reflect.construct(a, [], w); - } else { - try { - w.call(); - } catch (t) { - r = t; - } - a.call(w.prototype); - } - } else { - try { - throw Error(); - } catch (t) { - r = t; - } - (w = a()) && - "function" == typeof w.catch && - w.catch(function () {}); - } - } catch (t) { - if (t && r && "string" == typeof t.stack) - return [t.stack, r.stack]; - } - return [null, null]; - }, - }; - d.DetermineComponentFrameRoot.displayName = - "DetermineComponentFrameRoot"; - var e = Object.getOwnPropertyDescriptor( - d.DetermineComponentFrameRoot, - "name", - ); - e && - e.configurable && - Object.defineProperty(d.DetermineComponentFrameRoot, "name", { - value: "DetermineComponentFrameRoot", - }); - try { - var f = d.DetermineComponentFrameRoot(), - g = f[0], - h = f[1]; - if (g && h) { - var l = g.split("\n"), - p = h.split("\n"); - for ( - e = d = 0; - d < l.length && !l[d].includes("DetermineComponentFrameRoot"); - - ) - d++; - for ( - ; - e < p.length && !p[e].includes("DetermineComponentFrameRoot"); - - ) - e++; - if (d === l.length || e === p.length) - for ( - d = l.length - 1, e = p.length - 1; - 1 <= d && 0 <= e && l[d] !== p[e]; - - ) - e--; - for (; 1 <= d && 0 <= e; d--, e--) - if (l[d] !== p[e]) { - if (1 !== d || 1 !== e) - do { - if ((d--, 0 > --e || l[d] !== p[e])) { - var q = "\n" + l[d].replace(" at new ", " at "); - return ( - a.displayName && - q.includes("") && - (q = q.replace("", a.displayName)), - q - ); - } - } while (1 <= d && 0 <= e); - break; - } - } - } finally { - (bc = !1), (Error.prepareStackTrace = c); - } - return (c = a ? a.displayName || a.name : "") ? ac(c) : ""; - } - function dc(a) { - switch (a.tag) { - case 26: - case 27: - case 5: - return ac(a.type); - case 16: - return ac("Lazy"); - case 13: - return ac("Suspense"); - case 19: - return ac("SuspenseList"); - case 0: - case 2: - case 15: - return (a = cc(a.type, !1)); - case 11: - return (a = cc(a.type.render, !1)); - case 1: - return (a = cc(a.type, !0)); - default: - return ""; - } - } - function ec(a) { - if (null == a) return null; - if ("function" == typeof a) return a.displayName || a.name || null; - if ("string" == typeof a) return a; - switch (a) { - case na: - return "Fragment"; - case ma: - return "Portal"; - case pa: - return "Profiler"; - case oa: - return "StrictMode"; - case ua: - return "Suspense"; - case va: - return "SuspenseList"; - case Ba: - return "Cache"; - } - if ("object" == typeof a) - switch (a.$$typeof) { - case ra: - return (a.displayName || "Context") + ".Consumer"; - case qa: - return (a._context.displayName || "Context") + ".Provider"; - case ta: - var b = a.render; - return ( - (a = a.displayName) || - (a = - "" !== (a = b.displayName || b.name || "") - ? "ForwardRef(" + a + ")" - : "ForwardRef"), - a - ); - case wa: - return null !== (b = a.displayName || null) - ? b - : ec(a.type) || "Memo"; - case xa: - (b = a._payload), (a = a._init); - try { - return ec(a(b)); - } catch (c) {} - } - return null; - } - function fc(a) { - var b = a.type; - switch (a.tag) { - case 24: - return "Cache"; - case 9: - return (b.displayName || "Context") + ".Consumer"; - case 10: - return (b._context.displayName || "Context") + ".Provider"; - case 18: - return "DehydratedFragment"; - case 11: - return ( - (a = (a = b.render).displayName || a.name || ""), - b.displayName || - ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef") - ); - case 7: - return "Fragment"; - case 26: - case 27: - case 5: - return b; - case 4: - return "Portal"; - case 3: - return "Root"; - case 6: - return "Text"; - case 16: - return ec(b); - case 8: - return b === oa ? "StrictMode" : "Mode"; - case 22: - return "Offscreen"; - case 12: - return "Profiler"; - case 21: - return "Scope"; - case 13: - return "Suspense"; - case 19: - return "SuspenseList"; - case 25: - return "TracingMarker"; - case 1: - case 0: - case 17: - case 2: - case 14: - case 15: - if ("function" == typeof b) - return b.displayName || b.name || null; - if ("string" == typeof b) return b; - } - return null; - } - function gc(a) { - switch (typeof a) { - case "boolean": - case "number": - case "string": - case "undefined": - case "object": - return a; - default: - return ""; - } - } - function hc(a) { - var b = a.type; - return ( - (a = a.nodeName) && - "input" === a.toLowerCase() && - ("checkbox" === b || "radio" === b) - ); - } - function jc(a) { - a._valueTracker || - (a._valueTracker = (function ic(a) { - var b = hc(a) ? "checked" : "value", - c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), - d = "" + a[b]; - if ( - !a.hasOwnProperty(b) && - void 0 !== c && - "function" == typeof c.get && - "function" == typeof c.set - ) { - var e = c.get, - f = c.set; - return ( - Object.defineProperty(a, b, { - configurable: !0, - get: function () { - return e.call(this); - }, - set: function (g) { - (d = "" + g), f.call(this, g); - }, - }), - Object.defineProperty(a, b, { enumerable: c.enumerable }), - { - getValue: function () { - return d; - }, - setValue: function (g) { - d = "" + g; - }, - stopTracking: function () { - (a._valueTracker = null), delete a[b]; - }, - } - ); - } - })(a)); - } - function kc(a) { - if (!a) return !1; - var b = a._valueTracker; - if (!b) return !0; - var c = b.getValue(), - d = ""; - return ( - a && (d = hc(a) ? (a.checked ? "true" : "false") : a.value), - (a = d) !== c && (b.setValue(a), !0) - ); - } - function lc(a) { - if ( - void 0 === - (a = a || ("undefined" != typeof document ? document : void 0)) - ) - return null; - try { - return a.activeElement || a.body; - } catch (b) { - return a.body; - } - } - var mc = /[\n"\\]/g; - function nc(a) { - return a.replace(mc, function (b) { - return "\\" + b.charCodeAt(0).toString(16) + " "; - }); - } - function oc(a, b, c, d, e, f, g, h) { - (a.name = ""), - null != g && - "function" != typeof g && - "symbol" != typeof g && - "boolean" != typeof g - ? (a.type = g) - : a.removeAttribute("type"), - null != b - ? "number" === g - ? ((0 === b && "" === a.value) || a.value != b) && - (a.value = "" + gc(b)) - : a.value !== "" + gc(b) && (a.value = "" + gc(b)) - : ("submit" !== g && "reset" !== g) || a.removeAttribute("value"), - null != b - ? pc(a, g, gc(b)) - : null != c - ? pc(a, g, gc(c)) - : null != d && a.removeAttribute("value"), - null == e && null != f && (a.defaultChecked = !!f), - null != e && - (a.checked = e && "function" != typeof e && "symbol" != typeof e), - null != h && - "function" != typeof h && - "symbol" != typeof h && - "boolean" != typeof h - ? (a.name = "" + gc(h)) - : a.removeAttribute("name"); - } - function qc(a, b, c, d, e, f, g, h) { - if ( - (null != f && - "function" != typeof f && - "symbol" != typeof f && - "boolean" != typeof f && - (a.type = f), - null != b || null != c) - ) { - if (("submit" === f || "reset" === f) && null == b) return; - (c = null != c ? "" + gc(c) : ""), - (b = null != b ? "" + gc(b) : c), - h || b === a.value || (a.value = b), - (a.defaultValue = b); - } - (d = - "function" != typeof (d = null != d ? d : e) && - "symbol" != typeof d && - !!d), - (a.checked = h ? a.checked : !!d), - (a.defaultChecked = !!d), - null != g && - "function" != typeof g && - "symbol" != typeof g && - "boolean" != typeof g && - (a.name = g); - } - function pc(a, b, c) { - ("number" === b && lc(a.ownerDocument) === a) || - a.defaultValue === "" + c || - (a.defaultValue = "" + c); - } - var vc, - rc = Array.isArray; - function sc(a, b, c, d) { - if (((a = a.options), b)) { - b = {}; - for (var e = 0; e < c.length; e++) b["$" + c[e]] = !0; - for (c = 0; c < a.length; c++) - (e = b.hasOwnProperty("$" + a[c].value)), - a[c].selected !== e && (a[c].selected = e), - e && d && (a[c].defaultSelected = !0); - } else { - for (c = "" + gc(c), b = null, e = 0; e < a.length; e++) { - if (a[e].value === c) - return ( - (a[e].selected = !0), void (d && (a[e].defaultSelected = !0)) - ); - null !== b || a[e].disabled || (b = a[e]); - } - null !== b && (b.selected = !0); - } - } - function tc(a, b, c) { - null == b || - ((b = "" + gc(b)) !== a.value && (a.value = b), null != c) - ? (a.defaultValue = null != c ? "" + gc(c) : "") - : a.defaultValue !== b && (a.defaultValue = b); - } - function uc(a, b, c, d) { - if (null == b) { - if (null != d) { - if (null != c) throw Error(u(92)); - if (rc(d)) { - if (1 < d.length) throw Error(u(93)); - d = d[0]; - } - c = d; - } - null == c && (c = ""), (b = c); - } - (c = gc(b)), - (a.defaultValue = c), - (d = a.textContent) === c && - "" !== d && - null !== d && - (a.value = d); - } - function wc(a, b) { - if ( - "http://www.w3.org/2000/svg" !== a.namespaceURI || - "innerHTML" in a - ) - a.innerHTML = b; - else { - for ( - (vc = vc || document.createElement("div")).innerHTML = - "" + b.valueOf().toString() + "", - b = vc.firstChild; - a.firstChild; - - ) - a.removeChild(a.firstChild); - for (; b.firstChild; ) a.appendChild(b.firstChild); - } - } - var xc = wc; - "undefined" != typeof MSApp && - MSApp.execUnsafeLocalFunction && - (xc = function (a, b) { - return MSApp.execUnsafeLocalFunction(function () { - return wc(a, b); - }); - }); - var yc = xc; - function zc(a, b) { - if (b) { - var c = a.firstChild; - if (c && c === a.lastChild && 3 === c.nodeType) - return void (c.nodeValue = b); - } - a.textContent = b; - } - var Ac = new Set( - "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split( - " ", - ), - ); - function Bc(a, b, c) { - var d = 0 === b.indexOf("--"); - null == c || "boolean" == typeof c || "" === c - ? d - ? a.setProperty(b, "") - : "float" === b - ? (a.cssFloat = "") - : (a[b] = "") - : d - ? a.setProperty(b, c) - : "number" != typeof c || 0 === c || Ac.has(b) - ? "float" === b - ? (a.cssFloat = c) - : (a[b] = ("" + c).trim()) - : (a[b] = c + "px"); - } - function Cc(a, b, c) { - if (null != b && "object" != typeof b) throw Error(u(62)); - if (((a = a.style), null != c)) { - for (var d in c) - !c.hasOwnProperty(d) || - (null != b && b.hasOwnProperty(d)) || - (0 === d.indexOf("--") - ? a.setProperty(d, "") - : "float" === d - ? (a.cssFloat = "") - : (a[d] = "")); - for (var e in b) - (d = b[e]), b.hasOwnProperty(e) && c[e] !== d && Bc(a, e, d); - } else for (var f in b) b.hasOwnProperty(f) && Bc(a, f, b[f]); - } - function Dc(a) { - if (-1 === a.indexOf("-")) return !1; - switch (a) { - 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 Ec = new Map([ - ["acceptCharset", "accept-charset"], - ["htmlFor", "for"], - ["httpEquiv", "http-equiv"], - ["crossOrigin", "crossorigin"], - ["accentHeight", "accent-height"], - ["alignmentBaseline", "alignment-baseline"], - ["arabicForm", "arabic-form"], - ["baselineShift", "baseline-shift"], - ["capHeight", "cap-height"], - ["clipPath", "clip-path"], - ["clipRule", "clip-rule"], - ["colorInterpolation", "color-interpolation"], - ["colorInterpolationFilters", "color-interpolation-filters"], - ["colorProfile", "color-profile"], - ["colorRendering", "color-rendering"], - ["dominantBaseline", "dominant-baseline"], - ["enableBackground", "enable-background"], - ["fillOpacity", "fill-opacity"], - ["fillRule", "fill-rule"], - ["floodColor", "flood-color"], - ["floodOpacity", "flood-opacity"], - ["fontFamily", "font-family"], - ["fontSize", "font-size"], - ["fontSizeAdjust", "font-size-adjust"], - ["fontStretch", "font-stretch"], - ["fontStyle", "font-style"], - ["fontVariant", "font-variant"], - ["fontWeight", "font-weight"], - ["glyphName", "glyph-name"], - ["glyphOrientationHorizontal", "glyph-orientation-horizontal"], - ["glyphOrientationVertical", "glyph-orientation-vertical"], - ["horizAdvX", "horiz-adv-x"], - ["horizOriginX", "horiz-origin-x"], - ["imageRendering", "image-rendering"], - ["letterSpacing", "letter-spacing"], - ["lightingColor", "lighting-color"], - ["markerEnd", "marker-end"], - ["markerMid", "marker-mid"], - ["markerStart", "marker-start"], - ["overlinePosition", "overline-position"], - ["overlineThickness", "overline-thickness"], - ["paintOrder", "paint-order"], - ["panose-1", "panose-1"], - ["pointerEvents", "pointer-events"], - ["renderingIntent", "rendering-intent"], - ["shapeRendering", "shape-rendering"], - ["stopColor", "stop-color"], - ["stopOpacity", "stop-opacity"], - ["strikethroughPosition", "strikethrough-position"], - ["strikethroughThickness", "strikethrough-thickness"], - ["strokeDasharray", "stroke-dasharray"], - ["strokeDashoffset", "stroke-dashoffset"], - ["strokeLinecap", "stroke-linecap"], - ["strokeLinejoin", "stroke-linejoin"], - ["strokeMiterlimit", "stroke-miterlimit"], - ["strokeOpacity", "stroke-opacity"], - ["strokeWidth", "stroke-width"], - ["textAnchor", "text-anchor"], - ["textDecoration", "text-decoration"], - ["textRendering", "text-rendering"], - ["transformOrigin", "transform-origin"], - ["underlinePosition", "underline-position"], - ["underlineThickness", "underline-thickness"], - ["unicodeBidi", "unicode-bidi"], - ["unicodeRange", "unicode-range"], - ["unitsPerEm", "units-per-em"], - ["vAlphabetic", "v-alphabetic"], - ["vHanging", "v-hanging"], - ["vIdeographic", "v-ideographic"], - ["vMathematical", "v-mathematical"], - ["vectorEffect", "vector-effect"], - ["vertAdvY", "vert-adv-y"], - ["vertOriginX", "vert-origin-x"], - ["vertOriginY", "vert-origin-y"], - ["wordSpacing", "word-spacing"], - ["writingMode", "writing-mode"], - ["xmlnsXlink", "xmlns:xlink"], - ["xHeight", "x-height"], - ]), - Fc = null; - function Gc(a) { - return ( - (a = a.target || a.srcElement || window).correspondingUseElement && - (a = a.correspondingUseElement), - 3 === a.nodeType ? a.parentNode : a - ); - } - var Hc = null, - Ic = null; - function Jc(a) { - var b = Jb(a); - if (b && (a = b.stateNode)) { - var c = Lb(a); - a: switch (((a = b.stateNode), b.type)) { - case "input": - if ( - (oc( - a, - c.value, - c.defaultValue, - c.defaultValue, - c.checked, - c.defaultChecked, - c.type, - c.name, - ), - (b = c.name), - "radio" === c.type && null != b) - ) { - for (c = a; c.parentNode; ) c = c.parentNode; - for ( - c = c.querySelectorAll( - 'input[name="' + nc("" + b) + '"][type="radio"]', - ), - b = 0; - b < c.length; - b++ - ) { - var d = c[b]; - if (d !== a && d.form === a.form) { - var e = Lb(d); - if (!e) throw Error(u(90)); - oc( - d, - e.value, - e.defaultValue, - e.defaultValue, - e.checked, - e.defaultChecked, - e.type, - e.name, - ); - } - } - for (b = 0; b < c.length; b++) - (d = c[b]).form === a.form && kc(d); - } - break a; - case "textarea": - tc(a, c.value, c.defaultValue); - break a; - case "select": - null != (b = c.value) && sc(a, !!c.multiple, b, !1); - } - } - } - function Kc(a) { - Hc ? (Ic ? Ic.push(a) : (Ic = [a])) : (Hc = a); - } - function Lc() { - if (Hc) { - var a = Hc, - b = Ic; - if (((Ic = Hc = null), Jc(a), b)) - for (a = 0; a < b.length; a++) Jc(b[a]); - } - } - function Mc(a) { - var b = a, - c = a; - if (a.alternate) for (; b.return; ) b = b.return; - else { - a = b; - do { - !!(4098 & (b = a).flags) && (c = b.return), (a = b.return); - } while (a); - } - return 3 === b.tag ? c : null; - } - function Nc(a) { - if (13 === a.tag) { - var b = a.memoizedState; - if ( - (null === b && - null !== (a = a.alternate) && - (b = a.memoizedState), - null !== b) - ) - return b.dehydrated; - } - return null; - } - function Oc(a) { - if (Mc(a) !== a) throw Error(u(188)); - } - function Qc(a) { - return null !== - (a = (function Pc(a) { - var b = a.alternate; - if (!b) { - if (null === (b = Mc(a))) throw Error(u(188)); - return b !== a ? null : a; - } - for (var c = a, d = b; ; ) { - var e = c.return; - if (null === e) break; - var f = e.alternate; - if (null === f) { - if (null !== (d = e.return)) { - c = d; - continue; - } - break; - } - if (e.child === f.child) { - for (f = e.child; f; ) { - if (f === c) return Oc(e), a; - if (f === d) return Oc(e), b; - f = f.sibling; - } - throw Error(u(188)); - } - if (c.return !== d.return) (c = e), (d = f); - else { - for (var g = !1, h = e.child; h; ) { - if (h === c) { - (g = !0), (c = e), (d = f); - break; - } - if (h === d) { - (g = !0), (d = e), (c = f); - break; - } - h = h.sibling; - } - if (!g) { - for (h = f.child; h; ) { - if (h === c) { - (g = !0), (c = f), (d = e); - break; - } - if (h === d) { - (g = !0), (d = f), (c = e); - break; - } - h = h.sibling; - } - if (!g) throw Error(u(189)); - } - } - if (c.alternate !== d) throw Error(u(190)); - } - if (3 !== c.tag) throw Error(u(188)); - return c.stateNode.current === c ? a : b; - })(a)) - ? Rc(a) - : null; - } - function Rc(a) { - var b = a.tag; - if (5 === b || 26 === b || 27 === b || 6 === b) return a; - for (a = a.child; null !== a; ) { - if (null !== (b = Rc(a))) return b; - a = a.sibling; - } - return null; - } - var Sc = {}, - Tc = ka(Sc), - Uc = ka(!1), - Vc = Sc; - function Wc(a, b) { - var c = a.type.contextTypes; - if (!c) return Sc; - var d = a.stateNode; - if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) - return d.__reactInternalMemoizedMaskedChildContext; - var f, - e = {}; - for (f in c) e[f] = b[f]; - return ( - d && - (((a = a.stateNode).__reactInternalMemoizedUnmaskedChildContext = - b), - (a.__reactInternalMemoizedMaskedChildContext = e)), - e - ); - } - function Xc(a) { - return null != (a = a.childContextTypes); - } - function Yc() { - D(Uc), D(Tc); - } - function Zc(a, b, c) { - if (Tc.current !== Sc) throw Error(u(168)); - E(Tc, b), E(Uc, c); - } - function $c(a, b, c) { - var d = a.stateNode; - if ( - ((b = b.childContextTypes), "function" != typeof d.getChildContext) - ) - return c; - for (var e in (d = d.getChildContext())) - if (!(e in b)) throw Error(u(108, fc(a) || "Unknown", e)); - return C({}, c, d); - } - function ad(a) { - return ( - (a = - ((a = a.stateNode) && - a.__reactInternalMemoizedMergedChildContext) || - Sc), - (Vc = Tc.current), - E(Tc, a), - E(Uc, Uc.current), - !0 - ); - } - function bd(a, b, c) { - var d = a.stateNode; - if (!d) throw Error(u(169)); - c - ? ((a = $c(a, b, Vc)), - (d.__reactInternalMemoizedMergedChildContext = a), - D(Uc), - D(Tc), - E(Tc, a)) - : D(Uc), - E(Uc, c); - } - var dd = - "function" == typeof Object.is - ? Object.is - : function cd(a, b) { - return ( - (a === b && (0 !== a || 1 / a == 1 / b)) || - (a != a && b != b) - ); - }, - ed = [], - fd = 0, - gd = null, - hd = 0, - id = [], - jd = 0, - kd = null, - ld = 1, - md = ""; - function nd(a, b) { - (ed[fd++] = hd), (ed[fd++] = gd), (gd = a), (hd = b); - } - function od(a, b, c) { - (id[jd++] = ld), (id[jd++] = md), (id[jd++] = kd), (kd = a); - var d = ld; - a = md; - var e = 32 - db(d) - 1; - (d &= ~(1 << e)), (c += 1); - var f = 32 - db(b) + e; - if (30 < f) { - var g = e - (e % 5); - (f = (d & ((1 << g) - 1)).toString(32)), - (d >>= g), - (e -= g), - (ld = (1 << (32 - db(b) + e)) | (c << e) | d), - (md = f + a); - } else (ld = (1 << f) | (c << e) | d), (md = a); - } - function pd(a) { - null !== a.return && (nd(a, 1), od(a, 1, 0)); - } - function qd(a) { - for (; a === gd; ) - (gd = ed[--fd]), (ed[fd] = null), (hd = ed[--fd]), (ed[fd] = null); - for (; a === kd; ) - (kd = id[--jd]), - (id[jd] = null), - (md = id[--jd]), - (id[jd] = null), - (ld = id[--jd]), - (id[jd] = null); - } - var G = null, - J = null, - K = !1, - rd = null, - sd = !1; - function td(a, b) { - var c = ud(5, null, null, 0); - (c.elementType = "DELETED"), - (c.stateNode = b), - (c.return = a), - null === (b = a.deletions) - ? ((a.deletions = [c]), (a.flags |= 16)) - : b.push(c); - } - function vd(a, b) { - b.flags = (-4097 & b.flags) | 2; - } - function wd(a, b) { - return ( - (b = (function xd(a, b, c, d) { - for (; 1 === a.nodeType; ) { - var e = c; - if (a.nodeName.toLowerCase() !== b.toLowerCase()) { - if (!d && ("INPUT" !== a.nodeName || "hidden" !== a.type)) - break; - } else if (d) { - if (!a[Fb]) - switch (b) { - case "meta": - if (!a.hasAttribute("itemprop")) break; - return a; - case "link": - if ( - "stylesheet" === (f = a.getAttribute("rel")) && - a.hasAttribute("data-precedence") - ) - break; - if ( - f !== e.rel || - a.getAttribute("href") !== - (null == e.href ? null : e.href) || - a.getAttribute("crossorigin") !== - (null == e.crossOrigin ? null : e.crossOrigin) || - a.getAttribute("title") !== - (null == e.title ? null : e.title) - ) - break; - return a; - case "style": - if (a.hasAttribute("data-precedence")) break; - return a; - case "script": - if ( - ((f = a.getAttribute("src")) !== - (null == e.src ? null : e.src) || - a.getAttribute("type") !== - (null == e.type ? null : e.type) || - a.getAttribute("crossorigin") !== - (null == e.crossOrigin ? null : e.crossOrigin)) && - f && - a.hasAttribute("async") && - !a.hasAttribute("itemprop") - ) - break; - return a; - default: - return a; - } - } else { - if ("input" !== b || "hidden" !== a.type) return a; - var f = null == e.name ? null : "" + e.name; - if ("hidden" === e.type && a.getAttribute("name") === f) - return a; - } - if (null === (a = Cd(a))) break; - } - return null; - })(b, a.type, a.pendingProps, sd)), - null !== b && - ((a.stateNode = b), - (G = a), - (J = yd(b.firstChild)), - (sd = !1), - !0) - ); - } - function zd(a, b) { - return ( - (b = (function Ad(a, b, c) { - if ("" === b) return null; - for (; 3 !== a.nodeType; ) { - if ( - (1 !== a.nodeType || - "INPUT" !== a.nodeName || - "hidden" !== a.type) && - !c - ) - return null; - if (null === (a = Cd(a))) return null; - } - return a; - })(b, a.pendingProps, sd)), - null !== b && ((a.stateNode = b), (G = a), (J = null), !0) - ); - } - function Bd(a, b) { - a: { - var c = b; - for (b = sd; 8 !== c.nodeType; ) { - if (!b) { - b = null; - break a; - } - if (null === (c = Cd(c))) { - b = null; - break a; - } - } - b = c; - } - return ( - null !== b && - ((c = null !== kd ? { id: ld, overflow: md } : null), - (a.memoizedState = { - dehydrated: b, - treeContext: c, - retryLane: 536870912, - }), - ((c = ud(18, null, null, 0)).stateNode = b), - (c.return = a), - (a.child = c), - (G = a), - (J = null), - !0) - ); - } - function Dd(a) { - return !(!(1 & a.mode) || 128 & a.flags); - } - function Ed() { - throw Error(u(418)); - } - function Fd(a) { - for (G = a.return; G; ) - switch (G.tag) { - case 3: - case 27: - return void (sd = !0); - case 5: - case 13: - return void (sd = !1); - default: - G = G.return; - } - } - function Gd(a) { - if (a !== G) return !1; - if (!K) return Fd(a), (K = !0), !1; - var c, - b = !1; - if ( - ((c = 3 !== a.tag && 27 !== a.tag) && - ((c = 5 === a.tag) && - (c = - !("form" !== (c = a.type) && "button" !== c) || - Hd(a.type, a.memoizedProps)), - (c = !c)), - c && (b = !0), - b && (b = J)) - ) - if (Dd(a)) Id(), Ed(); - else for (; b; ) td(a, b), (b = Cd(b)); - if ((Fd(a), 13 === a.tag)) { - if (!(a = null !== (a = a.memoizedState) ? a.dehydrated : null)) - throw Error(u(317)); - a: { - for (a = a.nextSibling, b = 0; a; ) { - if (8 === a.nodeType) - if ("/$" === (c = a.data)) { - if (0 === b) { - J = Cd(a); - break a; - } - b--; - } else ("$" !== c && "$!" !== c && "$?" !== c) || b++; - a = a.nextSibling; - } - J = null; - } - } else J = G ? Cd(a.stateNode) : null; - return !0; - } - function Id() { - for (var a = J; a; ) a = Cd(a); - } - function Jd() { - (J = G = null), (K = !1); - } - function Kd(a) { - null === rd ? (rd = [a]) : rd.push(a); - } - var Ld = [], - Md = 0, - Nd = 0; - function Od() { - for (var a = Md, b = (Nd = Md = 0); b < a; ) { - var c = Ld[b]; - Ld[b++] = null; - var d = Ld[b]; - Ld[b++] = null; - var e = Ld[b]; - Ld[b++] = null; - var f = Ld[b]; - if (((Ld[b++] = null), null !== d && null !== e)) { - var g = d.pending; - null === g ? (e.next = e) : ((e.next = g.next), (g.next = e)), - (d.pending = e); - } - 0 !== f && Pd(c, e, f); - } - } - function Qd(a, b, c, d) { - (Ld[Md++] = a), - (Ld[Md++] = b), - (Ld[Md++] = c), - (Ld[Md++] = d), - (Nd |= d), - (a.lanes |= d), - null !== (a = a.alternate) && (a.lanes |= d); - } - function Rd(a, b, c, d) { - return Qd(a, b, c, d), Sd(a); - } - function Td(a, b) { - return Qd(a, null, null, b), Sd(a); - } - function Pd(a, b, c) { - a.lanes |= c; - var d = a.alternate; - null !== d && (d.lanes |= c); - for (var e = !1, f = a.return; null !== f; ) - (f.childLanes |= c), - null !== (d = f.alternate) && (d.childLanes |= c), - 22 === f.tag && - (null === (a = f.stateNode) || 1 & a._visibility || (e = !0)), - (a = f), - (f = f.return); - e && - null !== b && - 3 === a.tag && - ((f = a.stateNode), - (e = 31 - db(c)), - null === (a = (f = f.hiddenUpdates)[e]) ? (f[e] = [b]) : a.push(b), - (b.lane = 536870912 | c)); - } - function Sd(a) { - if (50 < Ud) throw ((Ud = 0), (Vd = null), Error(u(185))); - for (var b = a.return; null !== b; ) b = (a = b).return; - return 3 === a.tag ? a.stateNode : null; - } - var Wd = !1; - function Xd(a) { - a.updateQueue = { - baseState: a.memoizedState, - firstBaseUpdate: null, - lastBaseUpdate: null, - shared: { pending: null, lanes: 0, hiddenCallbacks: null }, - callbacks: null, - }; - } - function Yd(a, b) { - (a = a.updateQueue), - b.updateQueue === a && - (b.updateQueue = { - baseState: a.baseState, - firstBaseUpdate: a.firstBaseUpdate, - lastBaseUpdate: a.lastBaseUpdate, - shared: a.shared, - callbacks: null, - }); - } - function Zd(a) { - return { lane: a, tag: 0, payload: null, callback: null, next: null }; - } - function $d(a, b, c) { - var d = a.updateQueue; - if (null === d) return null; - if (((d = d.shared), 2 & L)) { - var e = d.pending; - return ( - null === e ? (b.next = b) : ((b.next = e.next), (e.next = b)), - (d.pending = b), - (b = Sd(a)), - Pd(a, null, c), - b - ); - } - return Qd(a, d, b, c), Sd(a); - } - function ae(a, b, c) { - if (null !== (b = b.updateQueue) && ((b = b.shared), 4194176 & c)) { - var d = b.lanes; - (c |= d &= a.pendingLanes), (b.lanes = c), rb(a, c); - } - } - function be(a, b) { - var c = a.updateQueue, - d = a.alternate; - if (null !== d && c === (d = d.updateQueue)) { - var e = null, - f = null; - if (null !== (c = c.firstBaseUpdate)) { - do { - var g = { - lane: c.lane, - tag: c.tag, - payload: c.payload, - callback: null, - next: null, - }; - null === f ? (e = f = g) : (f = f.next = g), (c = c.next); - } while (null !== c); - null === f ? (e = f = b) : (f = f.next = b); - } else e = f = b; - return ( - (c = { - baseState: d.baseState, - firstBaseUpdate: e, - lastBaseUpdate: f, - shared: d.shared, - callbacks: d.callbacks, - }), - void (a.updateQueue = c) - ); - } - null === (a = c.lastBaseUpdate) - ? (c.firstBaseUpdate = b) - : (a.next = b), - (c.lastBaseUpdate = b); - } - function ce(a, b, c, d) { - var e = a.updateQueue; - Wd = !1; - var f = e.firstBaseUpdate, - g = e.lastBaseUpdate, - h = e.shared.pending; - if (null !== h) { - e.shared.pending = null; - var l = h, - p = l.next; - (l.next = null), null === g ? (f = p) : (g.next = p), (g = l); - var q = a.alternate; - null !== q && - (h = (q = q.updateQueue).lastBaseUpdate) !== g && - (null === h ? (q.firstBaseUpdate = p) : (h.next = p), - (q.lastBaseUpdate = l)); - } - if (null !== f) { - var w = e.baseState; - for (g = 0, q = p = l = null, h = f; ; ) { - var r = -536870913 & h.lane, - t = r !== h.lane; - if (t ? (M & r) === r : (d & r) === r) { - null !== q && - (q = q.next = - { - lane: 0, - tag: h.tag, - payload: h.payload, - callback: null, - next: null, - }); - a: { - var z = a, - B = h; - r = b; - var U = c; - switch (B.tag) { - case 1: - if ("function" == typeof (z = B.payload)) { - w = z.call(U, w, r); - break a; - } - w = z; - break a; - case 3: - z.flags = (-65537 & z.flags) | 128; - case 0: - if ( - null == - (r = - "function" == typeof (z = B.payload) - ? z.call(U, w, r) - : z) - ) - break a; - w = C({}, w, r); - break a; - case 2: - Wd = !0; - } - } - null !== (r = h.callback) && - ((a.flags |= 64), - t && (a.flags |= 8192), - null === (t = e.callbacks) ? (e.callbacks = [r]) : t.push(r)); - } else - (t = { - lane: r, - tag: h.tag, - payload: h.payload, - callback: h.callback, - next: null, - }), - null === q ? ((p = q = t), (l = w)) : (q = q.next = t), - (g |= r); - if (null === (h = h.next)) { - if (null === (h = e.shared.pending)) break; - (h = (t = h).next), - (t.next = null), - (e.lastBaseUpdate = t), - (e.shared.pending = null); - } - } - null === q && (l = w), - (e.baseState = l), - (e.firstBaseUpdate = p), - (e.lastBaseUpdate = q), - null === f && (e.shared.lanes = 0), - (de |= g), - (a.lanes = g), - (a.memoizedState = w); - } - } - function ee(a, b) { - if ("function" != typeof a) throw Error(u(191, a)); - a.call(b); - } - function fe(a, b) { - var c = a.callbacks; - if (null !== c) - for (a.callbacks = null, a = 0; a < c.length; a++) ee(c[a], b); - } - function ge(a, b) { - if (dd(a, b)) return !0; - if ( - "object" != typeof a || - null === a || - "object" != typeof b || - null === b - ) - return !1; - var c = Object.keys(a), - d = Object.keys(b); - if (c.length !== d.length) return !1; - for (d = 0; d < c.length; d++) { - var e = c[d]; - if (!vb.call(b, e) || !dd(a[e], b[e])) return !1; - } - return !0; - } - var he = Error(u(460)), - ie = Error(u(474)), - je = { then: function () {} }; - function ke(a) { - return "fulfilled" === (a = a.status) || "rejected" === a; - } - function le() {} - function me(a, b, c) { - switch ( - (void 0 === (c = a[c]) - ? a.push(b) - : c !== b && (b.then(le, le), (b = c)), - b.status) - ) { - case "fulfilled": - return b.value; - case "rejected": - if ((a = b.reason) === he) throw Error(u(483)); - throw a; - default: - if ("string" == typeof b.status) b.then(le, le); - else { - if (null !== (a = N) && 100 < a.shellSuspendCounter) - throw Error(u(482)); - switch ( - (((a = b).status = "pending"), - a.then( - function (d) { - if ("pending" === b.status) { - var e = b; - (e.status = "fulfilled"), (e.value = d); - } - }, - function (d) { - if ("pending" === b.status) { - var e = b; - (e.status = "rejected"), (e.reason = d); - } - }, - ), - b.status) - ) { - case "fulfilled": - return b.value; - case "rejected": - if ((a = b.reason) === he) throw Error(u(483)); - throw a; - } - } - throw ((ne = b), he); - } - } - var ne = null; - function oe() { - if (null === ne) throw Error(u(459)); - var a = ne; - return (ne = null), a; - } - var pe = null, - qe = 0; - function re(a) { - var b = qe; - return (qe += 1), null === pe && (pe = []), me(pe, a, b); - } - function se(a, b, c) { - if ( - null !== (a = c.ref) && - "function" != typeof a && - "object" != typeof a - ) { - if (c._owner) { - if ((c = c._owner)) { - if (1 !== c.tag) throw Error(u(309)); - var d = c.stateNode; - } - if (!d) throw Error(u(147, a)); - var e = d, - f = "" + a; - return null !== b && - null !== b.ref && - "function" == typeof b.ref && - b.ref._stringRef === f - ? b.ref - : (((b = function (g) { - var h = e.refs; - null === g ? delete h[f] : (h[f] = g); - })._stringRef = f), - b); - } - if ("string" != typeof a) throw Error(u(284)); - if (!c._owner) throw Error(u(290, a)); - } - return a; - } - function te(a, b) { - throw ( - ((a = Object.prototype.toString.call(b)), - Error( - u( - 31, - "[object Object]" === a - ? "object with keys {" + Object.keys(b).join(", ") + "}" - : a, - ), - )) - ); - } - function ue(a) { - return (0, a._init)(a._payload); - } - function ve(a) { - function b(m, k) { - if (a) { - var n = m.deletions; - null === n ? ((m.deletions = [k]), (m.flags |= 16)) : n.push(k); - } - } - function c(m, k) { - if (!a) return null; - for (; null !== k; ) b(m, k), (k = k.sibling); - return null; - } - function d(m, k) { - for (m = new Map(); null !== k; ) - null !== k.key ? m.set(k.key, k) : m.set(k.index, k), - (k = k.sibling); - return m; - } - function e(m, k) { - return ((m = we(m, k)).index = 0), (m.sibling = null), m; - } - function f(m, k, n) { - return ( - (m.index = n), - a - ? null !== (n = m.alternate) - ? (n = n.index) < k - ? ((m.flags |= 33554434), k) - : n - : ((m.flags |= 33554434), k) - : ((m.flags |= 1048576), k) - ); - } - function g(m) { - return a && null === m.alternate && (m.flags |= 33554434), m; - } - function h(m, k, n, v) { - return null === k || 6 !== k.tag - ? (((k = xe(n, m.mode, v)).return = m), k) - : (((k = e(k, n)).return = m), k); - } - function l(m, k, n, v) { - var x = n.type; - return x === na - ? q(m, k, n.props.children, v, n.key) - : null !== k && - (k.elementType === x || - ("object" == typeof x && - null !== x && - x.$$typeof === xa && - ue(x) === k.type)) - ? (((v = e(k, n.props)).ref = se(m, k, n)), (v.return = m), v) - : (((v = ye( - n.type, - n.key, - n.props, - null, - null, - m.mode, - v, - )).ref = se(m, k, n)), - (v.return = m), - v); - } - function p(m, k, n, v) { - return null === k || - 4 !== k.tag || - k.stateNode.containerInfo !== n.containerInfo || - k.stateNode.implementation !== n.implementation - ? (((k = ze(n, m.mode, v)).return = m), k) - : (((k = e(k, n.children || [])).return = m), k); - } - function q(m, k, n, v, x) { - return null === k || 7 !== k.tag - ? (((k = Ae(n, m.mode, v, x)).return = m), k) - : (((k = e(k, n)).return = m), k); - } - function w(m, k, n) { - if (("string" == typeof k && "" !== k) || "number" == typeof k) - return ((k = xe("" + k, m.mode, n)).return = m), k; - if ("object" == typeof k && null !== k) { - switch (k.$$typeof) { - case la: - return ( - ((n = ye( - k.type, - k.key, - k.props, - null, - null, - m.mode, - n, - )).ref = se(m, null, k)), - (n.return = m), - n - ); - case ma: - return ((k = ze(k, m.mode, n)).return = m), k; - case xa: - return w(m, (0, k._init)(k._payload), n); - } - if (rc(k) || Da(k)) - return ((k = Ae(k, m.mode, n, null)).return = m), k; - if ("function" == typeof k.then) return w(m, re(k), n); - if (k.$$typeof === ra || k.$$typeof === sa) - return w(m, Be(m, k, n), n); - te(m, k); - } - return null; - } - function r(m, k, n, v) { - var x = null !== k ? k.key : null; - if (("string" == typeof n && "" !== n) || "number" == typeof n) - return null !== x ? null : h(m, k, "" + n, v); - if ("object" == typeof n && null !== n) { - switch (n.$$typeof) { - case la: - return n.key === x ? l(m, k, n, v) : null; - case ma: - return n.key === x ? p(m, k, n, v) : null; - case xa: - return r(m, k, (x = n._init)(n._payload), v); - } - if (rc(n) || Da(n)) - return null !== x ? null : q(m, k, n, v, null); - if ("function" == typeof n.then) return r(m, k, re(n), v); - if (n.$$typeof === ra || n.$$typeof === sa) - return r(m, k, Be(m, n, v), v); - te(m, n); - } - return null; - } - function t(m, k, n, v, x) { - if (("string" == typeof v && "" !== v) || "number" == typeof v) - return h(k, (m = m.get(n) || null), "" + v, x); - if ("object" == typeof v && null !== v) { - switch (v.$$typeof) { - case la: - return l( - k, - (m = m.get(null === v.key ? n : v.key) || null), - v, - x, - ); - case ma: - return p( - k, - (m = m.get(null === v.key ? n : v.key) || null), - v, - x, - ); - case xa: - return t(m, k, n, (0, v._init)(v._payload), x); - } - if (rc(v) || Da(v)) - return q(k, (m = m.get(n) || null), v, x, null); - if ("function" == typeof v.then) return t(m, k, n, re(v), x); - if (v.$$typeof === ra || v.$$typeof === sa) - return t(m, k, n, Be(k, v, x), x); - te(k, v); - } - return null; - } - function U(m, k, n, v) { - if ( - ("object" == typeof n && - null !== n && - n.type === na && - null === n.key && - (n = n.props.children), - "object" == typeof n && null !== n) - ) { - switch (n.$$typeof) { - case la: - a: { - for (var x = n.key, A = k; null !== A; ) { - if (A.key === x) { - if ((x = n.type) === na) { - if (7 === A.tag) { - c(m, A.sibling), - ((k = e(A, n.props.children)).return = m), - (m = k); - break a; - } - } else if ( - A.elementType === x || - ("object" == typeof x && - null !== x && - x.$$typeof === xa && - ue(x) === A.type) - ) { - c(m, A.sibling), - ((k = e(A, n.props)).ref = se(m, A, n)), - (k.return = m), - (m = k); - break a; - } - c(m, A); - break; - } - b(m, A), (A = A.sibling); - } - n.type === na - ? (((k = Ae(n.props.children, m.mode, v, n.key)).return = - m), - (m = k)) - : (((v = ye( - n.type, - n.key, - n.props, - null, - null, - m.mode, - v, - )).ref = se(m, k, n)), - (v.return = m), - (m = v)); - } - return g(m); - case ma: - a: { - for (A = n.key; null !== k; ) { - if (k.key === A) { - if ( - 4 === k.tag && - k.stateNode.containerInfo === n.containerInfo && - k.stateNode.implementation === n.implementation - ) { - c(m, k.sibling), - ((k = e(k, n.children || [])).return = m), - (m = k); - break a; - } - c(m, k); - break; - } - b(m, k), (k = k.sibling); - } - ((k = ze(n, m.mode, v)).return = m), (m = k); - } - return g(m); - case xa: - return V(m, k, (A = n._init)(n._payload), v); - } - if (rc(n)) - return (function z(m, k, n, v) { - for ( - var x = null, A = null, y = k, H = (k = 0), ha = null; - null !== y && H < n.length; - H++ - ) { - y.index > H ? ((ha = y), (y = null)) : (ha = y.sibling); - var I = r(m, y, n[H], v); - if (null === I) { - null === y && (y = ha); - break; - } - a && y && null === I.alternate && b(m, y), - (k = f(I, k, H)), - null === A ? (x = I) : (A.sibling = I), - (A = I), - (y = ha); - } - if (H === n.length) return c(m, y), K && nd(m, H), x; - if (null === y) { - for (; H < n.length; H++) - null !== (y = w(m, n[H], v)) && - ((k = f(y, k, H)), - null === A ? (x = y) : (A.sibling = y), - (A = y)); - return K && nd(m, H), x; - } - for (y = d(m, y); H < n.length; H++) - null !== (ha = t(y, m, H, n[H], v)) && - (a && - null !== ha.alternate && - y.delete(null === ha.key ? H : ha.key), - (k = f(ha, k, H)), - null === A ? (x = ha) : (A.sibling = ha), - (A = ha)); - return ( - a && - y.forEach(function (Eb) { - return b(m, Eb); - }), - K && nd(m, H), - x - ); - })(m, k, n, v); - if (Da(n)) - return (function B(m, k, n, v) { - var x = Da(n); - if ("function" != typeof x) throw Error(u(150)); - if (null == (n = x.call(n))) throw Error(u(151)); - for ( - var A = (x = null), - y = k, - H = (k = 0), - ha = null, - I = n.next(); - null !== y && !I.done; - H++, I = n.next() - ) { - y.index > H ? ((ha = y), (y = null)) : (ha = y.sibling); - var Eb = r(m, y, I.value, v); - if (null === Eb) { - null === y && (y = ha); - break; - } - a && y && null === Eb.alternate && b(m, y), - (k = f(Eb, k, H)), - null === A ? (x = Eb) : (A.sibling = Eb), - (A = Eb), - (y = ha); - } - if (I.done) return c(m, y), K && nd(m, H), x; - if (null === y) { - for (; !I.done; H++, I = n.next()) - null !== (I = w(m, I.value, v)) && - ((k = f(I, k, H)), - null === A ? (x = I) : (A.sibling = I), - (A = I)); - return K && nd(m, H), x; - } - for (y = d(m, y); !I.done; H++, I = n.next()) - null !== (I = t(y, m, H, I.value, v)) && - (a && - null !== I.alternate && - y.delete(null === I.key ? H : I.key), - (k = f(I, k, H)), - null === A ? (x = I) : (A.sibling = I), - (A = I)); - return ( - a && - y.forEach(function (Jm) { - return b(m, Jm); - }), - K && nd(m, H), - x - ); - })(m, k, n, v); - if ("function" == typeof n.then) return U(m, k, re(n), v); - if (n.$$typeof === ra || n.$$typeof === sa) - return U(m, k, Be(m, n, v), v); - te(m, n); - } - return ("string" == typeof n && "" !== n) || "number" == typeof n - ? ((n = "" + n), - null !== k && 6 === k.tag - ? (c(m, k.sibling), ((k = e(k, n)).return = m), (m = k)) - : (c(m, k), ((k = xe(n, m.mode, v)).return = m), (m = k)), - g(m)) - : c(m, k); - } - function V(m, k, n, v) { - return (qe = 0), (m = U(m, k, n, v)), (pe = null), m; - } - return V; - } - var Ce = ve(!0), - De = ve(!1), - Ee = ka(null), - Fe = ka(0); - function Ge(a, b) { - E(Fe, (a = He)), E(Ee, b), (He = a | b.baseLanes); - } - function Ie() { - E(Fe, He), E(Ee, Ee.current); - } - function Je() { - (He = Fe.current), D(Ee), D(Fe); - } - var Ke = ka(null), - Le = null; - function Me(a) { - var b = a.alternate; - E(Ne, 1 & Ne.current), - E(Ke, a), - null === Le && - (null === b || null !== Ee.current || null !== b.memoizedState) && - (Le = a); - } - function Oe(a) { - if (22 === a.tag) { - if ((E(Ne, Ne.current), E(Ke, a), null === Le)) { - var b = a.alternate; - null !== b && null !== b.memoizedState && (Le = a); - } - } else Pe(); - } - function Pe() { - E(Ne, Ne.current), E(Ke, Ke.current); - } - function Qe(a) { - D(Ke), Le === a && (Le = null), D(Ne); - } - var Ne = ka(0); - function Re(a) { - for (var b = a; null !== b; ) { - if (13 === b.tag) { - var c = b.memoizedState; - if ( - null !== c && - (null === (c = c.dehydrated) || - "$?" === c.data || - "$!" === c.data) - ) - return b; - } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) { - if (128 & b.flags) return b; - } else if (null !== b.child) { - (b.child.return = b), (b = b.child); - continue; - } - if (b === a) break; - for (; null === b.sibling; ) { - if (null === b.return || b.return === a) return null; - b = b.return; - } - (b.sibling.return = b.return), (b = b.sibling); - } - return null; - } - var Se = null, - Te = null, - Ue = !1, - Ve = !1, - We = !1, - Xe = 0; - function Ye(a) { - a !== Te && - null === a.next && - (null === Te ? (Se = Te = a) : (Te = Te.next = a)), - (Ve = !0), - Ue || ((Ue = !0), Ze($e)); - } - function af(a) { - if (!We && Ve) { - var b = null; - We = !0; - do { - for (var c = !1, d = Se; null !== d; ) { - if (!a || 0 === d.tag) { - var e = M, - f = jb(d, d === N ? e : 0); - if (3 & f) - try { - if (((c = !0), (e = d), 6 & L)) throw Error(u(327)); - if (!bf()) { - var g = cf(e, f); - if (0 !== e.tag && 2 === g) { - var h = f, - l = lb(e, h); - 0 !== l && ((f = l), (g = df(e, h, l))); - } - if (1 === g) - throw ((h = ef), ff(e, 0), gf(e, f, 0), Ye(e), h); - 6 === g - ? gf(e, f, 0) - : ((e.finishedWork = e.current.alternate), - (e.finishedLanes = f), - hf(e, jf, kf, lf)); - } - Ye(e); - } catch (p) { - null === b ? (b = [p]) : b.push(p); - } - } - d = d.next; - } - } while (c); - if (((We = !1), null !== b)) { - if (1 < b.length) { - if ("function" == typeof AggregateError) - throw new AggregateError(b); - for (a = 1; a < b.length; a++) Ze(mf.bind(null, b[a])); - } - throw b[0]; - } - } - } - function mf(a) { - throw a; - } - function $e() { - Ve = Ue = !1; - for (var a = Ta(), b = null, c = Se; null !== c; ) { - var d = c.next; - if (0 !== Xe && nf()) { - var e = c, - f = Xe; - (e.pendingLanes |= 2), - (e.entangledLanes |= 2), - (e.entanglements[1] |= f); - } - 0 === (e = of(c, a)) - ? ((c.next = null), - null === b ? (Se = d) : (b.next = d), - null === d && (Te = b)) - : ((b = c), 3 & e && (Ve = !0)), - (c = d); - } - (Xe = 0), af(!1); - } - function of(a, b) { - for ( - var c = a.suspendedLanes, - d = a.pingedLanes, - e = a.expirationTimes, - f = -62914561 & a.pendingLanes; - 0 < f; - - ) { - var g = 31 - db(f), - h = 1 << g, - l = e[g]; - -1 === l - ? (h & c && !(h & d)) || (e[g] = kb(h, b)) - : l <= b && (a.expiredLanes |= h), - (f &= ~h); - } - if ( - ((c = M), - (c = jb(a, a === (b = N) ? c : 0)), - (d = a.callbackNode), - 0 === c || (a === b && 2 === O) || null !== a.cancelPendingCommit) - ) - return ( - null !== d && null !== d && Qa(d), - (a.callbackNode = null), - (a.callbackPriority = 0) - ); - if (3 & c) - return ( - null !== d && null !== d && Qa(d), - (a.callbackPriority = 2), - (a.callbackNode = null), - 2 - ); - if ((b = c & -c) === a.callbackPriority) return b; - switch ((null !== d && Qa(d), ub(c))) { - case 2: - c = Va; - break; - case 8: - c = Wa; - break; - case 32: - default: - c = Xa; - break; - case 268435456: - c = Za; - } - return ( - (d = pf.bind(null, a)), - (c = Pa(c, d)), - (a.callbackPriority = b), - (a.callbackNode = c), - b - ); - } - function Ze(a) { - qf(function () { - 6 & L ? Pa(Va, a) : a(); - }); - } - function rf() { - if (0 === Xe) { - var a = gb; - !(4194176 & (gb <<= 1)) && (gb = 128), (Xe = a); - } - return Xe; - } - var sf = null, - tf = 0, - uf = 0; - function vf(a, b) { - if (null === sf) { - var c = (sf = []); - (tf = 0), (uf = rf()); - } else c = sf; - tf++; - var f, - g, - d = wf(c), - e = "pending"; - return ( - a.then( - function (h) { - (e = "fulfilled"), (f = null !== b ? b : h), xf(); - }, - function (h) { - (e = "rejected"), (g = h), xf(); - }, - ), - c.push(function () { - switch (e) { - case "fulfilled": - (d.status = "fulfilled"), (d.value = f); - break; - case "rejected": - (d.status = "rejected"), (d.reason = g); - break; - default: - throw Error(u(478)); - } - }), - d - ); - } - function yf(a, b) { - var c = null !== b ? b : a; - if (null === sf) return c; - var d = wf((a = sf)); - return ( - a.push(function () { - (d.status = "fulfilled"), (d.value = c); - }), - d - ); - } - function xf() { - if (null !== sf && 0 == --tf) { - var a = sf; - sf = null; - for (var b = (uf = 0); b < a.length; b++) (0, a[b])(); - } - } - function wf(a) { - return { - status: "pending", - value: null, - reason: null, - then: function (b) { - a.push(b); - }, - }; - } - var zf = da.ReactCurrentDispatcher, - Af = da.ReactCurrentBatchConfig, - Bf = 0, - P = null, - Q = null, - R = null, - Cf = !1, - Df = !1, - Ef = !1, - Ff = 0, - Gf = 0, - Hf = null, - If = 0; - function Jf() { - throw Error(u(321)); - } - function Kf(a, b) { - if (null === b) return !1; - for (var c = 0; c < b.length && c < a.length; c++) - if (!dd(a[c], b[c])) return !1; - return !0; - } - function Lf(a, b, c, d, e, f) { - return ( - (Bf = f), - (P = b), - (b.memoizedState = null), - (b.updateQueue = null), - (b.lanes = 0), - (zf.current = null === a || null === a.memoizedState ? Mf : Nf), - (Ef = !1), - (a = c(d, e)), - (Ef = !1), - Df && (a = Of(b, c, d, e)), - Pf(), - a - ); - } - function Pf() { - zf.current = Qf; - var a = null !== Q && null !== Q.next; - if ( - ((Bf = 0), (R = Q = P = null), (Cf = !1), (Gf = 0), (Hf = null), a) - ) - throw Error(u(300)); - } - function Of(a, b, c, d) { - P = a; - var e = 0; - do { - if ((Df && (Hf = null), (Gf = 0), (Df = !1), 25 <= e)) - throw Error(u(301)); - (e += 1), (R = Q = null), (a.updateQueue = null), (zf.current = Rf); - var f = b(c, d); - } while (Df); - return f; - } - function Sf() { - var a = zf.current.useState()[0]; - return "function" == typeof a.then ? Tf(a) : a; - } - function Uf() { - var a = 0 !== Ff; - return (Ff = 0), a; - } - function Vf(a, b, c) { - (b.updateQueue = a.updateQueue), (b.flags &= -2053), (a.lanes &= ~c); - } - function Wf(a) { - if (Cf) { - for (a = a.memoizedState; null !== a; ) { - var b = a.queue; - null !== b && (b.pending = null), (a = a.next); - } - Cf = !1; - } - (Bf = 0), (R = Q = P = null), (Df = !1), (Gf = Ff = 0), (Hf = null); - } - function Xf() { - var a = { - memoizedState: null, - baseState: null, - baseQueue: null, - queue: null, - next: null, - }; - return null === R ? (P.memoizedState = R = a) : (R = R.next = a), R; - } - function Yf() { - if (null === Q) { - var a = P.alternate; - a = null !== a ? a.memoizedState : null; - } else a = Q.next; - var b = null === R ? P.memoizedState : R.next; - if (null !== b) (R = b), (Q = a); - else { - if (null === a) { - if (null === P.alternate) throw Error(u(467)); - throw Error(u(310)); - } - (a = { - memoizedState: (Q = a).memoizedState, - baseState: Q.baseState, - baseQueue: Q.baseQueue, - queue: Q.queue, - next: null, - }), - null === R ? (P.memoizedState = R = a) : (R = R.next = a); - } - return R; - } - function Tf(a) { - var b = Gf; - return ( - (Gf += 1), - null === Hf && (Hf = []), - (a = me(Hf, a, b)), - null === P.alternate && - (null === R ? null === P.memoizedState : null === R.next) && - (zf.current = Mf), - a - ); - } - function $f(a) { - if (null !== a && "object" == typeof a) { - if ("function" == typeof a.then) return Tf(a); - if (a.$$typeof === ra || a.$$typeof === sa) return ag(a); - } - throw Error(u(438, String(a))); - } - function bg(a, b) { - return "function" == typeof b ? b(a) : b; - } - function cg(a) { - return dg(Yf(), Q, a); - } - function dg(a, b, c) { - var d = a.queue; - if (null === d) throw Error(u(311)); - d.lastRenderedReducer = c; - var e = a.baseQueue, - f = d.pending; - if (null !== f) { - if (null !== e) { - var g = e.next; - (e.next = f.next), (f.next = g); - } - (b.baseQueue = e = f), (d.pending = null); - } - if (null !== e) { - (b = e.next), (f = a.baseState); - var h = (g = null), - l = null, - p = b; - do { - var q = -536870913 & p.lane; - if (q !== p.lane ? (M & q) === q : (Bf & q) === q) { - if (0 === (q = p.revertLane)) - null !== l && - (l = l.next = - { - lane: 0, - revertLane: 0, - action: p.action, - hasEagerState: p.hasEagerState, - eagerState: p.eagerState, - next: null, - }); - else { - if ((Bf & q) === q) { - p = p.next; - continue; - } - var w = { - lane: 0, - revertLane: p.revertLane, - action: p.action, - hasEagerState: p.hasEagerState, - eagerState: p.eagerState, - next: null, - }; - null === l ? ((h = l = w), (g = f)) : (l = l.next = w), - (P.lanes |= q), - (de |= q); - } - (q = p.action), - Ef && c(f, q), - (f = p.hasEagerState ? p.eagerState : c(f, q)); - } else - (w = { - lane: q, - revertLane: p.revertLane, - action: p.action, - hasEagerState: p.hasEagerState, - eagerState: p.eagerState, - next: null, - }), - null === l ? ((h = l = w), (g = f)) : (l = l.next = w), - (P.lanes |= q), - (de |= q); - p = p.next; - } while (null !== p && p !== b); - null === l ? (g = f) : (l.next = h), - dd(f, a.memoizedState) || (eg = !0), - (a.memoizedState = f), - (a.baseState = g), - (a.baseQueue = l), - (d.lastRenderedState = f); - } - return null === e && (d.lanes = 0), [a.memoizedState, d.dispatch]; - } - function fg(a) { - var b = Yf(), - c = b.queue; - if (null === c) throw Error(u(311)); - c.lastRenderedReducer = a; - var d = c.dispatch, - e = c.pending, - f = b.memoizedState; - if (null !== e) { - c.pending = null; - var g = (e = e.next); - do { - (f = a(f, g.action)), (g = g.next); - } while (g !== e); - dd(f, b.memoizedState) || (eg = !0), - (b.memoizedState = f), - null === b.baseQueue && (b.baseState = f), - (c.lastRenderedState = f); - } - return [f, d]; - } - function gg(a, b, c) { - var d = P, - e = Yf(), - f = K; - if (f) { - if (void 0 === c) throw Error(u(407)); - c = c(); - } else c = b(); - var g = !dd((Q || e).memoizedState, c); - if ( - (g && ((e.memoizedState = c), (eg = !0)), - (e = e.queue), - hg(ig.bind(null, d, e, a), [a]), - e.getSnapshot !== b || g || (null !== R && 1 & R.memoizedState.tag)) - ) { - if ( - ((d.flags |= 2048), - jg(9, kg.bind(null, d, e, c, b), { destroy: void 0 }, null), - null === N) - ) - throw Error(u(349)); - f || 60 & Bf || lg(d, b, c); - } - return c; - } - function lg(a, b, c) { - (a.flags |= 16384), - (a = { getSnapshot: b, value: c }), - null === (b = P.updateQueue) - ? ((b = { lastEffect: null, events: null, stores: null }), - (P.updateQueue = b), - (b.stores = [a])) - : null === (c = b.stores) - ? (b.stores = [a]) - : c.push(a); - } - function kg(a, b, c, d) { - (b.value = c), (b.getSnapshot = d), mg(b) && ng(a); - } - function ig(a, b, c) { - return c(function () { - mg(b) && ng(a); - }); - } - function mg(a) { - var b = a.getSnapshot; - a = a.value; - try { - var c = b(); - return !dd(a, c); - } catch (d) { - return !0; - } - } - function ng(a) { - var b = Td(a, 2); - null !== b && og(b, a, 2); - } - function pg(a) { - var b = Xf(); - return ( - "function" == typeof a && (a = a()), - (b.memoizedState = b.baseState = a), - (b.queue = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: bg, - lastRenderedState: a, - }), - b - ); - } - function qg(a, b, c, d) { - return (a.baseState = c), dg(a, Q, "function" == typeof d ? d : bg); - } - function rg(a, b, c, d) { - if (sg(a)) throw Error(u(485)); - null === (a = b.pending) - ? (((a = { payload: d, next: null }).next = b.pending = a), - tg(b, c, d)) - : (b.pending = a.next = { payload: d, next: a.next }); - } - function tg(a, b, c) { - var d = a.action, - e = a.state, - f = Af.transition; - Af.transition = {}; - try { - var g = d(e, c); - if ( - null !== g && - "object" == typeof g && - "function" == typeof g.then - ) { - g.then( - function (p) { - (a.state = p), ug(a, b); - }, - function () { - return ug(a, b); - }, - ); - var h = vf(g, null); - b(h); - } else { - var l = yf(g, null); - b(l), (a.state = g), ug(a, b); - } - } catch (p) { - b({ then: function () {}, status: "rejected", reason: p }), - ug(a, b); - } finally { - Af.transition = f; - } - } - function ug(a, b) { - var c = a.pending; - if (null !== c) { - var d = c.next; - d === c - ? (a.pending = null) - : ((d = d.next), (c.next = d), tg(a, b, d.payload)); - } - } - function vg(a, b) { - return b; - } - function wg(a, b, c) { - a = - "object" == typeof (a = dg(a, b, vg)[0]) && - null !== a && - "function" == typeof a.then - ? Tf(a) - : a; - var d = (b = Yf()).queue, - e = d.dispatch; - return ( - c !== b.memoizedState && - ((P.flags |= 2048), - jg(9, xg.bind(null, d, c), { destroy: void 0 }, null)), - [a, e] - ); - } - function xg(a, b) { - a.action = b; - } - function jg(a, b, c, d) { - return ( - (a = { tag: a, create: b, inst: c, deps: d, next: null }), - null === (b = P.updateQueue) - ? ((b = { lastEffect: null, events: null, stores: null }), - (P.updateQueue = b), - (b.lastEffect = a.next = a)) - : null === (c = b.lastEffect) - ? (b.lastEffect = a.next = a) - : ((d = c.next), - (c.next = a), - (a.next = d), - (b.lastEffect = a)), - a - ); - } - function yg() { - return Yf().memoizedState; - } - function zg(a, b, c, d) { - var e = Xf(); - (P.flags |= a), - (e.memoizedState = jg( - 1 | b, - c, - { destroy: void 0 }, - void 0 === d ? null : d, - )); - } - function Ag(a, b, c, d) { - var e = Yf(); - d = void 0 === d ? null : d; - var f = e.memoizedState.inst; - null !== Q && null !== d && Kf(d, Q.memoizedState.deps) - ? (e.memoizedState = jg(b, c, f, d)) - : ((P.flags |= a), (e.memoizedState = jg(1 | b, c, f, d))); - } - function Bg(a, b) { - zg(8390656, 8, a, b); - } - function hg(a, b) { - Ag(2048, 8, a, b); - } - function Cg(a, b) { - return Ag(4, 2, a, b); - } - function Dg(a, b) { - return Ag(4, 4, a, b); - } - function Eg(a, b) { - return "function" == typeof b - ? ((a = a()), - b(a), - function () { - b(null); - }) - : null != b - ? ((a = a()), - (b.current = a), - function () { - b.current = null; - }) - : void 0; - } - function Fg(a, b, c) { - (c = null != c ? c.concat([a]) : null), - Ag(4, 4, Eg.bind(null, b, a), c); - } - function Gg() {} - function Hg(a, b) { - var c = Yf(); - b = void 0 === b ? null : b; - var d = c.memoizedState; - return null !== b && Kf(b, d[1]) - ? d[0] - : ((c.memoizedState = [a, b]), a); - } - function Ig(a, b) { - var c = Yf(); - b = void 0 === b ? null : b; - var d = c.memoizedState; - return null !== b && Kf(b, d[1]) - ? d[0] - : (Ef && a(), (a = a()), (c.memoizedState = [a, b]), a); - } - function Jg(a, b, c) { - return dd(c, b) - ? c - : null !== Ee.current - ? ((a.memoizedState = c), dd(c, b) || (eg = !0), c) - : 42 & Bf - ? (0 === lf && (lf = 536870912 & M && !K ? 536870912 : rf()), - (a = lf), - (P.lanes |= a), - (de |= a), - b) - : ((eg = !0), (a.memoizedState = c)); - } - function Kg(a, b, c, d, e) { - var f = F; - F = 0 !== f && 8 > f ? f : 8; - var g = Af.transition; - (Af.transition = {}), Lg(a, !1, b, c); - try { - var h = e(); - if ( - null !== h && - "object" == typeof h && - "function" == typeof h.then - ) - Mg(a, b, vf(h, d)); - else Mg(a, b, yf(h, d)); - } catch (q) { - Mg(a, b, { then: function () {}, status: "rejected", reason: q }); - } finally { - (F = f), (Af.transition = g); - } - } - function Ng(a, b, c, d) { - if (5 !== a.tag) throw Error(u(476)); - if (null === a.memoizedState) { - var e = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: bg, - lastRenderedState: fa, - }, - f = e; - (e = { - memoizedState: fa, - baseState: fa, - baseQueue: null, - queue: e, - next: null, - }), - (a.memoizedState = e); - var g = a.alternate; - null !== g && (g.memoizedState = e); - } else f = a.memoizedState.queue; - Kg(a, f, b, fa, function () { - return c(d); - }); - } - function Og() { - var a = ag(Ia); - return null !== a ? a : fa; - } - function Pg() { - return Yf().memoizedState; - } - function Qg() { - return Yf().memoizedState; - } - function Rg(a) { - for (var b = a.return; null !== b; ) { - switch (b.tag) { - case 24: - case 3: - var c = Sg(b), - d = $d(b, (a = Zd(c)), c); - return ( - null !== d && (og(d, b, c), ae(d, b, c)), - (b = { cache: Tg() }), - void (a.payload = b) - ); - } - b = b.return; - } - } - function Ug(a, b, c) { - var d = Sg(a); - (c = { - lane: d, - revertLane: 0, - action: c, - hasEagerState: !1, - eagerState: null, - next: null, - }), - sg(a) - ? Vg(b, c) - : null !== (c = Rd(a, b, c, d)) && (og(c, a, d), Wg(c, b, d)); - } - function Mg(a, b, c) { - var d = Sg(a), - e = { - lane: d, - revertLane: 0, - action: c, - hasEagerState: !1, - eagerState: null, - next: null, - }; - if (sg(a)) Vg(b, e); - else { - var f = a.alternate; - if ( - 0 === a.lanes && - (null === f || 0 === f.lanes) && - null !== (f = b.lastRenderedReducer) - ) - try { - var g = b.lastRenderedState, - h = f(g, c); - if (((e.hasEagerState = !0), (e.eagerState = h), dd(h, g))) - return Qd(a, b, e, 0), void (null === N && Od()); - } catch (l) {} - null !== (c = Rd(a, b, e, d)) && (og(c, a, d), Wg(c, b, d)); - } - } - function Lg(a, b, c, d) { - if ( - ((d = { - lane: 2, - revertLane: rf(), - action: d, - hasEagerState: !1, - eagerState: null, - next: null, - }), - sg(a)) - ) { - if (b) throw Error(u(479)); - } else null !== (b = Rd(a, c, d, 2)) && og(b, a, 2); - } - function sg(a) { - var b = a.alternate; - return a === P || (null !== b && b === P); - } - function Vg(a, b) { - Df = Cf = !0; - var c = a.pending; - null === c ? (b.next = b) : ((b.next = c.next), (c.next = b)), - (a.pending = b); - } - function Wg(a, b, c) { - if (4194176 & c) { - var d = b.lanes; - (c |= d &= a.pendingLanes), (b.lanes = c), rb(a, c); - } - } - var Qf = { - readContext: ag, - use: $f, - useCallback: Jf, - useContext: Jf, - useEffect: Jf, - useImperativeHandle: Jf, - useInsertionEffect: Jf, - useLayoutEffect: Jf, - useMemo: Jf, - useReducer: Jf, - useRef: Jf, - useState: Jf, - useDebugValue: Jf, - useDeferredValue: Jf, - useTransition: Jf, - useSyncExternalStore: Jf, - useId: Jf, - }; - (Qf.useCacheRefresh = Jf), - (Qf.useHostTransitionStatus = Jf), - (Qf.useFormState = Jf), - (Qf.useOptimistic = Jf); - var Mf = { - readContext: ag, - use: $f, - useCallback: function (a, b) { - return (Xf().memoizedState = [a, void 0 === b ? null : b]), a; - }, - useContext: ag, - useEffect: Bg, - useImperativeHandle: function (a, b, c) { - (c = null != c ? c.concat([a]) : null), - zg(4194308, 4, Eg.bind(null, b, a), c); - }, - useLayoutEffect: function (a, b) { - return zg(4194308, 4, a, b); - }, - useInsertionEffect: function (a, b) { - zg(4, 2, a, b); - }, - useMemo: function (a, b) { - var c = Xf(); - return ( - (b = void 0 === b ? null : b), - Ef && a(), - (a = a()), - (c.memoizedState = [a, b]), - a - ); - }, - useReducer: function (a, b, c) { - var d = Xf(); - return ( - (b = void 0 !== c ? c(b) : b), - (d.memoizedState = d.baseState = b), - (a = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: a, - lastRenderedState: b, - }), - (d.queue = a), - (a = a.dispatch = Ug.bind(null, P, a)), - [d.memoizedState, a] - ); - }, - useRef: function (a) { - return (a = { current: a }), (Xf().memoizedState = a); - }, - useState: function (a) { - var b = (a = pg(a)).queue, - c = Mg.bind(null, P, b); - return (b.dispatch = c), [a.memoizedState, c]; - }, - useDebugValue: Gg, - useDeferredValue: function (a) { - return (Xf().memoizedState = a), a; - }, - useTransition: function () { - var a = pg(!1); - return ( - (a = Kg.bind(null, P, a.queue, !0, !1)), - (Xf().memoizedState = a), - [!1, a] - ); - }, - useSyncExternalStore: function (a, b, c) { - var d = P, - e = Xf(); - if (K) { - if (void 0 === c) throw Error(u(407)); - c = c(); - } else { - if (((c = b()), null === N)) throw Error(u(349)); - 60 & M || lg(d, b, c); - } - e.memoizedState = c; - var f = { value: c, getSnapshot: b }; - return ( - (e.queue = f), - Bg(ig.bind(null, d, f, a), [a]), - (d.flags |= 2048), - jg(9, kg.bind(null, d, f, c, b), { destroy: void 0 }, null), - c - ); - }, - useId: function () { - var a = Xf(), - b = N.identifierPrefix; - if (K) { - var c = md; - (b = - ":" + - b + - "R" + - (c = (ld & ~(1 << (32 - db(ld) - 1))).toString(32) + c)), - 0 < (c = Ff++) && (b += "H" + c.toString(32)), - (b += ":"); - } else b = ":" + b + "r" + (c = If++).toString(32) + ":"; - return (a.memoizedState = b); - }, - useCacheRefresh: function () { - return (Xf().memoizedState = Rg.bind(null, P)); - }, - }; - (Mf.useHostTransitionStatus = Og), - (Mf.useFormState = function (a, b) { - if (K) { - var c = N.formState; - if (null !== c) { - a: { - if (K) { - if (J) { - b: { - for (var d = J, e = sd; 8 !== d.nodeType; ) { - if (!e) { - d = null; - break b; - } - if (null === (d = Cd(d))) { - d = null; - break b; - } - } - d = "F!" === (e = d.data) || "F" === e ? d : null; - } - if (d) { - (J = Cd(d)), (d = "F!" === d.data); - break a; - } - } - Ed(); - } - d = !1; - } - d && (b = c[0]); - } - } - return ( - ((c = Xf()).memoizedState = c.baseState = b), - (d = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: vg, - lastRenderedState: b, - }), - (c.queue = d), - (c = Mg.bind(null, P, d)), - (d.dispatch = c), - (e = { state: b, dispatch: null, action: a, pending: null }), - ((d = Xf()).queue = e), - (c = rg.bind(null, P, e, c)), - (e.dispatch = c), - (d.memoizedState = a), - [b, c] - ); - }), - (Mf.useOptimistic = function (a) { - var b = Xf(); - b.memoizedState = b.baseState = a; - var c = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: null, - lastRenderedState: null, - }; - return ( - (b.queue = c), - (b = Lg.bind(null, P, !0, c)), - (c.dispatch = b), - [a, b] - ); - }); - var Nf = { - readContext: ag, - use: $f, - useCallback: Hg, - useContext: ag, - useEffect: hg, - useImperativeHandle: Fg, - useInsertionEffect: Cg, - useLayoutEffect: Dg, - useMemo: Ig, - useReducer: cg, - useRef: yg, - useState: function () { - return cg(bg); - }, - useDebugValue: Gg, - useDeferredValue: function (a) { - return Jg(Yf(), Q.memoizedState, a); - }, - useTransition: function () { - var a = cg(bg)[0], - b = Yf().memoizedState; - return ["boolean" == typeof a ? a : Tf(a), b]; - }, - useSyncExternalStore: gg, - useId: Pg, - }; - (Nf.useCacheRefresh = Qg), - (Nf.useHostTransitionStatus = Og), - (Nf.useFormState = function (a) { - return wg(Yf(), Q, a); - }), - (Nf.useOptimistic = function (a, b) { - return qg(Yf(), 0, a, b); - }); - var Rf = { - readContext: ag, - use: $f, - useCallback: Hg, - useContext: ag, - useEffect: hg, - useImperativeHandle: Fg, - useInsertionEffect: Cg, - useLayoutEffect: Dg, - useMemo: Ig, - useReducer: fg, - useRef: yg, - useState: function () { - return fg(bg); - }, - useDebugValue: Gg, - useDeferredValue: function (a) { - var b = Yf(); - return null === Q - ? ((b.memoizedState = a), a) - : Jg(b, Q.memoizedState, a); - }, - useTransition: function () { - var a = fg(bg)[0], - b = Yf().memoizedState; - return ["boolean" == typeof a ? a : Tf(a), b]; - }, - useSyncExternalStore: gg, - useId: Pg, - }; - function Xg(a, b) { - if (a && a.defaultProps) { - for (var c in ((b = C({}, b)), (a = a.defaultProps))) - void 0 === b[c] && (b[c] = a[c]); - return b; - } - return b; - } - function Yg(a, b, c, d) { - (c = null == (c = c(d, (b = a.memoizedState))) ? b : C({}, b, c)), - (a.memoizedState = c), - 0 === a.lanes && (a.updateQueue.baseState = c); - } - (Rf.useCacheRefresh = Qg), - (Rf.useHostTransitionStatus = Og), - (Rf.useFormState = function (a) { - var b = Yf(), - c = Q; - if (null !== c) return wg(b, c, a); - b = b.memoizedState; - var d = (c = Yf()).queue.dispatch; - return (c.memoizedState = a), [b, d]; - }), - (Rf.useOptimistic = function (a, b) { - var c = Yf(); - return null !== Q - ? qg(c, 0, a, b) - : ((c.baseState = a), [a, c.queue.dispatch]); - }); - var Zg = { - isMounted: function (a) { - return !!(a = a._reactInternals) && Mc(a) === a; - }, - enqueueSetState: function (a, b, c) { - var d = Sg((a = a._reactInternals)), - e = Zd(d); - (e.payload = b), - null != c && (e.callback = c), - null !== (b = $d(a, e, d)) && (og(b, a, d), ae(b, a, d)); - }, - enqueueReplaceState: function (a, b, c) { - var d = Sg((a = a._reactInternals)), - e = Zd(d); - (e.tag = 1), - (e.payload = b), - null != c && (e.callback = c), - null !== (b = $d(a, e, d)) && (og(b, a, d), ae(b, a, d)); - }, - enqueueForceUpdate: function (a, b) { - var c = Sg((a = a._reactInternals)), - d = Zd(c); - (d.tag = 2), - null != b && (d.callback = b), - null !== (b = $d(a, d, c)) && (og(b, a, c), ae(b, a, c)); - }, - }; - function $g(a, b, c, d, e, f, g) { - return "function" == typeof (a = a.stateNode).shouldComponentUpdate - ? a.shouldComponentUpdate(d, f, g) - : !b.prototype || - !b.prototype.isPureReactComponent || - !ge(c, d) || - !ge(e, f); - } - function ah(a, b, c) { - var d = !1, - e = Sc, - f = b.contextType; - return ( - "object" == typeof f && null !== f - ? (f = ag(f)) - : ((e = Xc(b) ? Vc : Tc.current), - (f = (d = null != (d = b.contextTypes)) ? Wc(a, e) : Sc)), - (b = new b(c, f)), - (a.memoizedState = - null !== b.state && void 0 !== b.state ? b.state : null), - (b.updater = Zg), - (a.stateNode = b), - (b._reactInternals = a), - d && - (((a = a.stateNode).__reactInternalMemoizedUnmaskedChildContext = - e), - (a.__reactInternalMemoizedMaskedChildContext = f)), - b - ); - } - function bh(a, b, c, d) { - (a = b.state), - "function" == typeof b.componentWillReceiveProps && - b.componentWillReceiveProps(c, d), - "function" == typeof b.UNSAFE_componentWillReceiveProps && - b.UNSAFE_componentWillReceiveProps(c, d), - b.state !== a && Zg.enqueueReplaceState(b, b.state, null); - } - function ch(a, b, c, d) { - var e = a.stateNode; - (e.props = c), (e.state = a.memoizedState), (e.refs = {}), Xd(a); - var f = b.contextType; - "object" == typeof f && null !== f - ? (e.context = ag(f)) - : ((f = Xc(b) ? Vc : Tc.current), (e.context = Wc(a, f))), - (e.state = a.memoizedState), - "function" == typeof (f = b.getDerivedStateFromProps) && - (Yg(a, b, f, c), (e.state = a.memoizedState)), - "function" == typeof b.getDerivedStateFromProps || - "function" == typeof e.getSnapshotBeforeUpdate || - ("function" != typeof e.UNSAFE_componentWillMount && - "function" != typeof e.componentWillMount) || - ((b = e.state), - "function" == typeof e.componentWillMount && - e.componentWillMount(), - "function" == typeof e.UNSAFE_componentWillMount && - e.UNSAFE_componentWillMount(), - b !== e.state && Zg.enqueueReplaceState(e, e.state, null), - ce(a, c, e, d), - (e.state = a.memoizedState)), - "function" == typeof e.componentDidMount && (a.flags |= 4194308); - } - function dh(a, b) { - try { - var c = "", - d = b; - do { - (c += dc(d)), (d = d.return); - } while (d); - var e = c; - } catch (f) { - e = "\nError generating stack: " + f.message + "\n" + f.stack; - } - return { value: a, source: b, stack: e, digest: null }; - } - function eh(a, b, c) { - return { - value: a, - source: null, - stack: null != c ? c : null, - digest: null != b ? b : null, - }; - } - function fh(a, b) { - try { - console.error(b.value); - } catch (c) { - setTimeout(function () { - throw c; - }); - } - } - function gh(a, b, c) { - ((c = Zd(c)).tag = 3), (c.payload = { element: null }); - var d = b.value; - return ( - (c.callback = function () { - hh || ((hh = !0), (ih = d)), fh(0, b); - }), - c - ); - } - function jh(a, b, c) { - (c = Zd(c)).tag = 3; - var d = a.type.getDerivedStateFromError; - if ("function" == typeof d) { - var e = b.value; - (c.payload = function () { - return d(e); - }), - (c.callback = function () { - fh(0, b); - }); - } - var f = a.stateNode; - return ( - null !== f && - "function" == typeof f.componentDidCatch && - (c.callback = function () { - fh(0, b), - "function" != typeof d && - (null === kh ? (kh = new Set([this])) : kh.add(this)); - var g = b.stack; - this.componentDidCatch(b.value, { - componentStack: null !== g ? g : "", - }); - }), - c - ); - } - function lh(a, b, c, d, e) { - return 1 & a.mode - ? ((a.flags |= 65536), (a.lanes = e), a) - : (a === b - ? (a.flags |= 65536) - : ((a.flags |= 128), - (c.flags |= 131072), - (c.flags &= -52805), - 1 === c.tag && - (null === c.alternate - ? (c.tag = 17) - : (((b = Zd(2)).tag = 2), $d(c, b, 2))), - (c.lanes |= 2)), - a); - } - var rh = da.ReactCurrentOwner, - sh = Error(u(461)), - eg = !1; - function th(a, b, c, d) { - b.child = null === a ? De(b, null, c, d) : Ce(b, a.child, c, d); - } - function uh(a, b, c, d, e) { - c = c.render; - var f = b.ref; - return ( - vh(b, e), - (d = Lf(a, b, c, d, f, e)), - (c = Uf()), - null === a || eg - ? (K && c && pd(b), (b.flags |= 1), th(a, b, d, e), b.child) - : (Vf(a, b, e), wh(a, b, e)) - ); - } - function xh(a, b, c, d, e) { - if (null === a) { - var f = c.type; - return "function" != typeof f || - yh(f) || - void 0 !== f.defaultProps || - null !== c.compare || - void 0 !== c.defaultProps - ? (((a = ye(c.type, null, d, null, b, b.mode, e)).ref = b.ref), - (a.return = b), - (b.child = a)) - : ((b.tag = 15), (b.type = f), zh(a, b, f, d, e)); - } - if (((f = a.child), !(a.lanes & e))) { - var g = f.memoizedProps; - if ( - (c = null !== (c = c.compare) ? c : ge)(g, d) && - a.ref === b.ref - ) - return wh(a, b, e); - } - return ( - (b.flags |= 1), - ((a = we(f, d)).ref = b.ref), - (a.return = b), - (b.child = a) - ); - } - function zh(a, b, c, d, e) { - if (null !== a) { - var f = a.memoizedProps; - if (ge(f, d) && a.ref === b.ref) { - if (((eg = !1), (b.pendingProps = d = f), !(a.lanes & e))) - return (b.lanes = a.lanes), wh(a, b, e); - 131072 & a.flags && (eg = !0); - } - } - return Ah(a, b, c, d, e); - } - function Bh(a, b, c) { - var d = b.pendingProps, - e = d.children, - f = !!(2 & b.stateNode._pendingVisibility), - g = null !== a ? a.memoizedState : null; - if ((Ch(a, b), "hidden" === d.mode || f)) { - if (128 & b.flags) { - if (((c = null !== g ? g.baseLanes | c : c), null !== a)) { - for (d = b.child = a.child, e = 0; null !== d; ) - (e = e | d.lanes | d.childLanes), (d = d.sibling); - b.childLanes = e & ~c; - } else (b.childLanes = 0), (b.child = null); - return Dh(a, b, c); - } - if (1 & b.mode) { - if (!(536870912 & c)) - return ( - (b.lanes = b.childLanes = 536870912), - Dh(a, b, null !== g ? g.baseLanes | c : c) - ); - (b.memoizedState = { baseLanes: 0, cachePool: null }), - null !== a && Eh(b, null !== g ? g.cachePool : null), - null !== g ? Ge(b, g) : Ie(), - Oe(b); - } else - (b.memoizedState = { baseLanes: 0, cachePool: null }), - null !== a && Eh(b, null), - Ie(), - Oe(b); - } else - null !== g - ? (Eh(b, g.cachePool), Ge(b, g), Pe(), (b.memoizedState = null)) - : (null !== a && Eh(b, null), Ie(), Pe()); - return th(a, b, e, c), b.child; - } - function Dh(a, b, c) { - var d = Fh(); - return ( - (d = null === d ? null : { parent: S._currentValue, pool: d }), - (b.memoizedState = { baseLanes: c, cachePool: d }), - null !== a && Eh(b, null), - Ie(), - Oe(b), - null - ); - } - function Ch(a, b) { - var c = b.ref; - ((null === a && null !== c) || (null !== a && a.ref !== c)) && - ((b.flags |= 512), (b.flags |= 2097152)); - } - function Ah(a, b, c, d, e) { - var f = Xc(c) ? Vc : Tc.current; - return ( - (f = Wc(b, f)), - vh(b, e), - (c = Lf(a, b, c, d, f, e)), - (d = Uf()), - null === a || eg - ? (K && d && pd(b), (b.flags |= 1), th(a, b, c, e), b.child) - : (Vf(a, b, e), wh(a, b, e)) - ); - } - function Gh(a, b, c, d, e, f) { - return ( - vh(b, f), - (c = Of(b, d, c, e)), - Pf(), - (d = Uf()), - null === a || eg - ? (K && d && pd(b), (b.flags |= 1), th(a, b, c, f), b.child) - : (Vf(a, b, f), wh(a, b, f)) - ); - } - function Hh(a, b, c, d, e) { - if (Xc(c)) { - var f = !0; - ad(b); - } else f = !1; - if ((vh(b, e), null === b.stateNode)) - Ih(a, b), ah(b, c, d), ch(b, c, d, e), (d = !0); - else if (null === a) { - var g = b.stateNode, - h = b.memoizedProps; - g.props = h; - var l = g.context, - p = c.contextType; - "object" == typeof p && null !== p - ? (p = ag(p)) - : (p = Wc(b, (p = Xc(c) ? Vc : Tc.current))); - var q = c.getDerivedStateFromProps, - w = - "function" == typeof q || - "function" == typeof g.getSnapshotBeforeUpdate; - w || - ("function" != typeof g.UNSAFE_componentWillReceiveProps && - "function" != typeof g.componentWillReceiveProps) || - ((h !== d || l !== p) && bh(b, g, d, p)), - (Wd = !1); - var r = b.memoizedState; - (g.state = r), - ce(b, d, g, e), - (l = b.memoizedState), - h !== d || r !== l || Uc.current || Wd - ? ("function" == typeof q && - (Yg(b, c, q, d), (l = b.memoizedState)), - (h = Wd || $g(b, c, h, d, r, l, p)) - ? (w || - ("function" != typeof g.UNSAFE_componentWillMount && - "function" != typeof g.componentWillMount) || - ("function" == typeof g.componentWillMount && - g.componentWillMount(), - "function" == typeof g.UNSAFE_componentWillMount && - g.UNSAFE_componentWillMount()), - "function" == typeof g.componentDidMount && - (b.flags |= 4194308)) - : ("function" == typeof g.componentDidMount && - (b.flags |= 4194308), - (b.memoizedProps = d), - (b.memoizedState = l)), - (g.props = d), - (g.state = l), - (g.context = p), - (d = h)) - : ("function" == typeof g.componentDidMount && - (b.flags |= 4194308), - (d = !1)); - } else { - (g = b.stateNode), - Yd(a, b), - (h = b.memoizedProps), - (p = b.type === b.elementType ? h : Xg(b.type, h)), - (g.props = p), - (w = b.pendingProps), - (r = g.context), - "object" == typeof (l = c.contextType) && null !== l - ? (l = ag(l)) - : (l = Wc(b, (l = Xc(c) ? Vc : Tc.current))); - var t = c.getDerivedStateFromProps; - (q = - "function" == typeof t || - "function" == typeof g.getSnapshotBeforeUpdate) || - ("function" != typeof g.UNSAFE_componentWillReceiveProps && - "function" != typeof g.componentWillReceiveProps) || - ((h !== w || r !== l) && bh(b, g, d, l)), - (Wd = !1), - (r = b.memoizedState), - (g.state = r), - ce(b, d, g, e); - var z = b.memoizedState; - h !== w || r !== z || Uc.current || Wd - ? ("function" == typeof t && - (Yg(b, c, t, d), (z = b.memoizedState)), - (p = Wd || $g(b, c, p, d, r, z, l) || !1) - ? (q || - ("function" != typeof g.UNSAFE_componentWillUpdate && - "function" != typeof g.componentWillUpdate) || - ("function" == typeof g.componentWillUpdate && - g.componentWillUpdate(d, z, l), - "function" == typeof g.UNSAFE_componentWillUpdate && - g.UNSAFE_componentWillUpdate(d, z, l)), - "function" == typeof g.componentDidUpdate && (b.flags |= 4), - "function" == typeof g.getSnapshotBeforeUpdate && - (b.flags |= 1024)) - : ("function" != typeof g.componentDidUpdate || - (h === a.memoizedProps && r === a.memoizedState) || - (b.flags |= 4), - "function" != typeof g.getSnapshotBeforeUpdate || - (h === a.memoizedProps && r === a.memoizedState) || - (b.flags |= 1024), - (b.memoizedProps = d), - (b.memoizedState = z)), - (g.props = d), - (g.state = z), - (g.context = l), - (d = p)) - : ("function" != typeof g.componentDidUpdate || - (h === a.memoizedProps && r === a.memoizedState) || - (b.flags |= 4), - "function" != typeof g.getSnapshotBeforeUpdate || - (h === a.memoizedProps && r === a.memoizedState) || - (b.flags |= 1024), - (d = !1)); - } - return Jh(a, b, c, d, f, e); - } - function Jh(a, b, c, d, e, f) { - Ch(a, b); - var g = !!(128 & b.flags); - if (!d && !g) return e && bd(b, c, !1), wh(a, b, f); - (d = b.stateNode), (rh.current = b); - var h = - g && "function" != typeof c.getDerivedStateFromError - ? null - : d.render(); - return ( - (b.flags |= 1), - null !== a && g - ? ((b.child = Ce(b, a.child, null, f)), - (b.child = Ce(b, null, h, f))) - : th(a, b, h, f), - (b.memoizedState = d.state), - e && bd(b, c, !0), - b.child - ); - } - function Kh(a) { - var b = a.stateNode; - b.pendingContext - ? Zc(0, b.pendingContext, b.pendingContext !== b.context) - : b.context && Zc(0, b.context, !1), - Ja(a, b.containerInfo); - } - function Lh(a, b, c, d, e) { - return Jd(), Kd(e), (b.flags |= 256), th(a, b, c, d), b.child; - } - var Mh = { dehydrated: null, treeContext: null, retryLane: 0 }; - function Nh(a) { - return { baseLanes: a, cachePool: Oh() }; - } - function Ph(a, b, c) { - var g, - d = b.pendingProps, - e = !1, - f = !!(128 & b.flags); - if ( - ((g = f) || - (g = - (null === a || null !== a.memoizedState) && !!(2 & Ne.current)), - g && ((e = !0), (b.flags &= -129)), - null === a) - ) { - if (K) { - if ( - (e ? Me(b) : Pe(), - K && - ((f = a = J) - ? Bd(b, f) || - (Dd(b) && Ed(), - (J = Cd(f)), - (g = G), - J && Bd(b, J) - ? td(g, f) - : (vd(0, b), (K = !1), (G = b), (J = a))) - : (Dd(b) && Ed(), vd(0, b), (K = !1), (G = b), (J = a))), - null !== (a = b.memoizedState) && null !== (a = a.dehydrated)) - ) - return ( - 1 & b.mode - ? "$!" === a.data - ? (b.lanes = 16) - : (b.lanes = 536870912) - : (b.lanes = 2), - null - ); - Qe(b); - } - return ( - (f = d.children), - (a = d.fallback), - e - ? (Pe(), - (d = b.mode), - (e = b.child), - (f = { mode: "hidden", children: f }), - 1 & d || null === e - ? (e = Qh(f, d, 0, null)) - : ((e.childLanes = 0), (e.pendingProps = f)), - (a = Ae(a, d, c, null)), - (e.return = b), - (a.return = b), - (e.sibling = a), - (b.child = e), - (b.child.memoizedState = Nh(c)), - (b.memoizedState = Mh), - a) - : (Me(b), Rh(b, f)) - ); - } - if (null !== (g = a.memoizedState)) { - var h = g.dehydrated; - if (null !== h) - return (function Sh(a, b, c, d, e, f, g) { - if (c) - return 256 & b.flags - ? (Me(b), - (b.flags &= -257), - Th(a, b, g, (e = eh(Error(u(422)))))) - : null !== b.memoizedState - ? (Pe(), (b.child = a.child), (b.flags |= 128), null) - : (Pe(), - (e = d.fallback), - (f = b.mode), - (d = Qh( - { mode: "visible", children: d.children }, - f, - 0, - null, - )), - ((e = Ae(e, f, g, null)).flags |= 2), - (d.return = b), - (e.return = b), - (d.sibling = e), - (b.child = d), - 1 & b.mode && Ce(b, a.child, null, g), - (b.child.memoizedState = Nh(g)), - (b.memoizedState = Mh), - e); - if ((Me(b), !(1 & b.mode))) return Th(a, b, g, null); - if ("$!" === e.data) { - if ((e = e.nextSibling && e.nextSibling.dataset)) - var h = e.dgst; - return ( - (e = h), - ((f = Error(u(419))).digest = e), - Th(a, b, g, (e = eh(f, e, void 0))) - ); - } - if (((h = !!(g & a.childLanes)), eg || h)) { - if (null !== (d = N)) { - if (42 & (h = g & -g)) h = 1; - else - switch (h) { - case 2: - h = 1; - break; - case 8: - h = 4; - break; - case 32: - h = 16; - break; - 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: - h = 64; - break; - case 268435456: - h = 134217728; - break; - default: - h = 0; - } - if ( - 0 !== (h = h & (d.suspendedLanes | g) ? 0 : h) && - h !== f.retryLane - ) - throw ((f.retryLane = h), Td(a, h), og(d, a, h), sh); - } - return "$?" !== e.data && nh(), Th(a, b, g, null); - } - return "$?" === e.data - ? ((b.flags |= 128), - (b.child = a.child), - (b = Uh.bind(null, a)), - (e._reactRetry = b), - null) - : ((a = f.treeContext), - (J = yd(e.nextSibling)), - (G = b), - (K = !0), - (rd = null), - (sd = !1), - null !== a && - ((id[jd++] = ld), - (id[jd++] = md), - (id[jd++] = kd), - (ld = a.id), - (md = a.overflow), - (kd = b)), - (b = Rh(b, d.children)), - (b.flags |= 4096), - b); - })(a, b, f, d, h, g, c); - } - if (e) { - Pe(), (e = d.fallback), (f = b.mode), (h = (g = a.child).sibling); - var l = { mode: "hidden", children: d.children }; - return ( - 1 & f || b.child === g - ? ((d = we(g, l)).subtreeFlags = 31457280 & g.subtreeFlags) - : (((d = b.child).childLanes = 0), - (d.pendingProps = l), - (b.deletions = null)), - null !== h - ? (e = we(h, e)) - : ((e = Ae(e, f, c, null)).flags |= 2), - (e.return = b), - (d.return = b), - (d.sibling = e), - (b.child = d), - (d = e), - (e = b.child), - null === (f = a.child.memoizedState) - ? (f = Nh(c)) - : (null !== (g = f.cachePool) - ? ((h = S._currentValue), - (g = g.parent !== h ? { parent: h, pool: h } : g)) - : (g = Oh()), - (f = { baseLanes: f.baseLanes | c, cachePool: g })), - (e.memoizedState = f), - (e.childLanes = a.childLanes & ~c), - (b.memoizedState = Mh), - d - ); - } - return ( - Me(b), - (a = (e = a.child).sibling), - (d = we(e, { mode: "visible", children: d.children })), - !(1 & b.mode) && (d.lanes = c), - (d.return = b), - (d.sibling = null), - null !== a && - (null === (c = b.deletions) - ? ((b.deletions = [a]), (b.flags |= 16)) - : c.push(a)), - (b.child = d), - (b.memoizedState = null), - d - ); - } - function Rh(a, b) { - return ( - ((b = Qh( - { mode: "visible", children: b }, - a.mode, - 0, - null, - )).return = a), - (a.child = b) - ); - } - function Th(a, b, c, d) { - return ( - null !== d && Kd(d), - Ce(b, a.child, null, c), - ((a = Rh(b, b.pendingProps.children)).flags |= 2), - (b.memoizedState = null), - a - ); - } - function Vh(a, b, c) { - a.lanes |= b; - var d = a.alternate; - null !== d && (d.lanes |= b), Wh(a.return, b, c); - } - function Xh(a, b, c, d, e) { - var f = a.memoizedState; - null === f - ? (a.memoizedState = { - isBackwards: b, - rendering: null, - renderingStartTime: 0, - last: d, - tail: c, - tailMode: e, - }) - : ((f.isBackwards = b), - (f.rendering = null), - (f.renderingStartTime = 0), - (f.last = d), - (f.tail = c), - (f.tailMode = e)); - } - function Yh(a, b, c) { - var d = b.pendingProps, - e = d.revealOrder, - f = d.tail; - if ((th(a, b, d.children, c), 2 & (d = Ne.current))) - (d = (1 & d) | 2), (b.flags |= 128); - else { - if (null !== a && 128 & a.flags) - a: for (a = b.child; null !== a; ) { - if (13 === a.tag) null !== a.memoizedState && Vh(a, c, b); - else if (19 === a.tag) Vh(a, c, b); - else if (null !== a.child) { - (a.child.return = a), (a = a.child); - continue; - } - if (a === b) break a; - for (; null === a.sibling; ) { - if (null === a.return || a.return === b) break a; - a = a.return; - } - (a.sibling.return = a.return), (a = a.sibling); - } - d &= 1; - } - if ((E(Ne, d), 1 & b.mode)) - switch (e) { - case "forwards": - for (c = b.child, e = null; null !== c; ) - null !== (a = c.alternate) && null === Re(a) && (e = c), - (c = c.sibling); - null === (c = e) - ? ((e = b.child), (b.child = null)) - : ((e = c.sibling), (c.sibling = null)), - Xh(b, !1, e, c, f); - break; - case "backwards": - for (c = null, e = b.child, b.child = null; null !== e; ) { - if (null !== (a = e.alternate) && null === Re(a)) { - b.child = e; - break; - } - (a = e.sibling), (e.sibling = c), (c = e), (e = a); - } - Xh(b, !0, c, null, f); - break; - case "together": - Xh(b, !1, null, null, void 0); - break; - default: - b.memoizedState = null; - } - else b.memoizedState = null; - return b.child; - } - function Ih(a, b) { - !(1 & b.mode) && - null !== a && - ((a.alternate = null), (b.alternate = null), (b.flags |= 2)); - } - function wh(a, b, c) { - if ( - (null !== a && (b.dependencies = a.dependencies), - (de |= b.lanes), - !(c & b.childLanes)) - ) - return null; - if (null !== a && b.child !== a.child) throw Error(u(153)); - if (null !== b.child) { - for ( - c = we((a = b.child), a.pendingProps), b.child = c, c.return = b; - null !== a.sibling; - - ) - (a = a.sibling), - ((c = c.sibling = we(a, a.pendingProps)).return = b); - c.sibling = null; - } - return b.child; - } - var ai = ka(null), - bi = null, - ci = null, - di = null; - function ei() { - di = ci = bi = null; - } - function $h(a, b, c) { - E(ai, b._currentValue), (b._currentValue = c); - } - function fi(a) { - (a._currentValue = ai.current), D(ai); - } - function Wh(a, b, c) { - for (; null !== a; ) { - var d = a.alternate; - if ( - ((a.childLanes & b) !== b - ? ((a.childLanes |= b), null !== d && (d.childLanes |= b)) - : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b), - a === c) - ) - break; - a = a.return; - } - } - function gi(a, b, c) { - var d = a.child; - for (null !== d && (d.return = a); null !== d; ) { - var e = d.dependencies; - if (null !== e) - for (var f = d.child, g = e.firstContext; null !== g; ) { - if (g.context === b) { - if (1 === d.tag) { - (g = Zd(c & -c)).tag = 2; - var h = d.updateQueue; - if (null !== h) { - var l = (h = h.shared).pending; - null === l - ? (g.next = g) - : ((g.next = l.next), (l.next = g)), - (h.pending = g); - } - } - (d.lanes |= c), - null !== (g = d.alternate) && (g.lanes |= c), - Wh(d.return, c, a), - (e.lanes |= c); - break; - } - g = g.next; - } - else if (10 === d.tag) f = d.type === a.type ? null : d.child; - else if (18 === d.tag) { - if (null === (f = d.return)) throw Error(u(341)); - (f.lanes |= c), - null !== (e = f.alternate) && (e.lanes |= c), - Wh(f, c, a), - (f = d.sibling); - } else f = d.child; - if (null !== f) f.return = d; - else - for (f = d; null !== f; ) { - if (f === a) { - f = null; - break; - } - if (null !== (d = f.sibling)) { - (d.return = f.return), (f = d); - break; - } - f = f.return; - } - d = f; - } - } - function vh(a, b) { - (bi = a), - (di = ci = null), - null !== (a = a.dependencies) && - null !== a.firstContext && - (!!(a.lanes & b) && (eg = !0), (a.firstContext = null)); - } - function ag(a) { - return hi(bi, a); - } - function Be(a, b, c) { - return null === bi && vh(a, c), hi(a, b); - } - function hi(a, b) { - var c = b._currentValue; - if (di !== b) - if ( - ((b = { context: b, memoizedValue: c, next: null }), null === ci) - ) { - if (null === a) throw Error(u(308)); - (ci = b), (a.dependencies = { lanes: 0, firstContext: b }); - } else ci = ci.next = b; - return c; - } - var ii = - "undefined" != typeof AbortController - ? AbortController - : function () { - var a = [], - b = (this.signal = { - aborted: !1, - addEventListener: function (c, d) { - a.push(d); - }, - }); - this.abort = function () { - (b.aborted = !0), - a.forEach(function (c) { - return c(); - }); - }; - }, - ji = ba.unstable_scheduleCallback, - ki = ba.unstable_NormalPriority, - S = { - $$typeof: ra, - Consumer: null, - Provider: null, - _currentValue: null, - _currentValue2: null, - _threadCount: 0, - _defaultValue: null, - _globalName: null, - }; - function Tg() { - return { controller: new ii(), data: new Map(), refCount: 0 }; - } - function li(a) { - a.refCount--, - 0 === a.refCount && - ji(ki, function () { - a.controller.abort(); - }); - } - var mi = da.ReactCurrentBatchConfig, - ni = ka(null); - function Fh() { - var a = ni.current; - return null !== a ? a : N.pooledCache; - } - function Eh(a, b) { - E(ni, null === b ? ni.current : b.pool); - } - function Oh() { - var a = Fh(); - return null === a ? null : { parent: S._currentValue, pool: a }; - } - function oi(a) { - a.flags |= 4; - } - function pi(a) { - a.flags |= 2097664; - } - function qi(a, b) { - if ("stylesheet" !== b.type || 4 & b.state.loading) - a.flags &= -16777217; - else if ( - ((a.flags |= 16777216), - !( - 42 & M || - ((b = !!("stylesheet" !== b.type || 3 & b.state.loading)), b) - )) - ) { - if (!ri()) throw ((ne = je), ie); - a.flags |= 8192; - } - } - function si(a, b) { - null !== b - ? (a.flags |= 4) - : 16384 & a.flags && - ((b = 22 !== a.tag ? mb() : 536870912), (a.lanes |= b)); - } - function ti(a, b) { - if (!K) - switch (a.tailMode) { - case "hidden": - b = a.tail; - for (var c = null; null !== b; ) - null !== b.alternate && (c = b), (b = b.sibling); - null === c ? (a.tail = null) : (c.sibling = null); - break; - case "collapsed": - c = a.tail; - for (var d = null; null !== c; ) - null !== c.alternate && (d = c), (c = c.sibling); - null === d - ? b || null === a.tail - ? (a.tail = null) - : (a.tail.sibling = null) - : (d.sibling = null); - } - } - function T(a) { - var b = null !== a.alternate && a.alternate.child === a.child, - c = 0, - d = 0; - if (b) - for (var e = a.child; null !== e; ) - (c |= e.lanes | e.childLanes), - (d |= 31457280 & e.subtreeFlags), - (d |= 31457280 & e.flags), - (e.return = a), - (e = e.sibling); - else - for (e = a.child; null !== e; ) - (c |= e.lanes | e.childLanes), - (d |= e.subtreeFlags), - (d |= e.flags), - (e.return = a), - (e = e.sibling); - return (a.subtreeFlags |= d), (a.childLanes = c), b; - } - function ui(a, b, c) { - var d = b.pendingProps; - switch ((qd(b), b.tag)) { - case 2: - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return T(b), null; - case 1: - case 17: - return Xc(b.type) && Yc(), T(b), null; - case 3: - return ( - (c = b.stateNode), - (d = null), - null !== a && (d = a.memoizedState.cache), - b.memoizedState.cache !== d && (b.flags |= 2048), - fi(S), - Ma(), - D(Uc), - D(Tc), - c.pendingContext && - ((c.context = c.pendingContext), (c.pendingContext = null)), - (null !== a && null !== a.child) || - (Gd(b) - ? oi(b) - : null === a || - (a.memoizedState.isDehydrated && !(256 & b.flags)) || - ((b.flags |= 1024), - null !== rd && (vi(rd), (rd = null)))), - T(b), - null - ); - case 26: - if (((c = b.memoizedState), null === a)) - oi(b), - null !== b.ref && pi(b), - null !== c - ? (T(b), qi(b, c)) - : (T(b), (b.flags &= -16777217)); - else { - var e = a.memoizedState; - c !== e && oi(b), - a.ref !== b.ref && pi(b), - null !== c - ? (T(b), c === e ? (b.flags &= -16777217) : qi(b, c)) - : (a.memoizedProps !== d && oi(b), - T(b), - (b.flags &= -16777217)); - } - return null; - case 27: - if ( - (Oa(b), - (c = Ga.current), - (e = b.type), - null !== a && null != b.stateNode) - ) - a.memoizedProps !== d && oi(b), a.ref !== b.ref && pi(b); - else { - if (!d) { - if (null === b.stateNode) throw Error(u(166)); - return T(b), null; - } - (a = Ea.current), - Gd(b) - ? wi(b.stateNode, b.type, b.memoizedProps, a, b) - : ((a = xi(e, d, c)), (b.stateNode = a), oi(b)), - null !== b.ref && pi(b); - } - return T(b), null; - case 5: - if ((Oa(b), (c = b.type), null !== a && null != b.stateNode)) - a.memoizedProps !== d && oi(b), a.ref !== b.ref && pi(b); - else { - if (!d) { - if (null === b.stateNode) throw Error(u(166)); - return T(b), null; - } - if (((a = Ea.current), Gd(b))) - wi(b.stateNode, b.type, b.memoizedProps, a, b); - else { - switch (((e = yi(Ga.current)), a)) { - case 1: - a = e.createElementNS("http://www.w3.org/2000/svg", c); - break; - case 2: - a = e.createElementNS( - "http://www.w3.org/1998/Math/MathML", - c, - ); - break; - default: - switch (c) { - case "svg": - a = e.createElementNS( - "http://www.w3.org/2000/svg", - c, - ); - break; - case "math": - a = e.createElementNS( - "http://www.w3.org/1998/Math/MathML", - c, - ); - break; - case "script": - ((a = e.createElement("div")).innerHTML = - "

No Preview

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

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

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

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

  1. Missing Context/Providers: You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the Decorators documentation.
  2. Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring Webpack or Vite with Storybook.
  3. Missing Environment Variables: Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the Environment Variables documentation.
\ No newline at end of file diff --git a/docs/public/stories/index.html b/docs/public/stories/index.html deleted file mode 100644 index e3acd95b..00000000 --- a/docs/public/stories/index.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - @storybook/core - Storybook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - diff --git a/docs/public/stories/index.json b/docs/public/stories/index.json deleted file mode 100644 index 8c3014f4..00000000 --- a/docs/public/stories/index.json +++ /dev/null @@ -1 +0,0 @@ -{"v":5,"entries":{"avatar--avatar":{"type":"story","id":"avatar--avatar","name":"Avatar","title":"Avatar","importPath":"./app/stories/Avatar.stories.tsx","componentPath":"@heathmont/moon-core-tw","tags":["dev","test"]},"button--button":{"type":"story","id":"button--button","name":"Button","title":"Button","importPath":"./app/stories/Button.stories.tsx","componentPath":"@heathmont/moon-core-tw","tags":["dev","test"]},"chip--chip":{"type":"story","id":"chip--chip","name":"Chip","title":"Chip","importPath":"./app/stories/Chip.stories.tsx","componentPath":"@heathmont/moon-core-tw","tags":["dev","test"]},"textarea--textarea":{"type":"story","id":"textarea--textarea","name":"Textarea","title":"Textarea","importPath":"./app/stories/Textarea.stories.tsx","componentPath":"@heathmont/moon-core-tw","tags":["dev","test"]}}} \ No newline at end of file diff --git a/docs/public/stories/main.c7ae7b4c.iframe.bundle.js b/docs/public/stories/main.c7ae7b4c.iframe.bundle.js deleted file mode 100644 index 128d9b35..00000000 --- a/docs/public/stories/main.c7ae7b4c.iframe.bundle.js +++ /dev/null @@ -1,1105 +0,0 @@ -(self.webpackChunkdocs = self.webpackChunkdocs || []).push([ - [792], - { - "./app/stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/app\\/stories(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$": - (module) => { - function webpackEmptyAsyncContext(req) { - return Promise.resolve().then(() => { - var e = new Error("Cannot find module '" + req + "'"); - throw ((e.code = "MODULE_NOT_FOUND"), e); - }); - } - (webpackEmptyAsyncContext.keys = () => []), - (webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext), - (webpackEmptyAsyncContext.id = - "./app/stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/app\\/stories(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$"), - (module.exports = webpackEmptyAsyncContext); - }, - "./app/stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/app\\/stories(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$": - (module, __unused_webpack_exports, __webpack_require__) => { - var map = { - "./Avatar.stories": ["./app/stories/Avatar.stories.tsx", 420, 844], - "./Avatar.stories.tsx": [ - "./app/stories/Avatar.stories.tsx", - 420, - 844, - ], - "./Button.stories": ["./app/stories/Button.stories.tsx", 420, 303], - "./Button.stories.tsx": [ - "./app/stories/Button.stories.tsx", - 420, - 303, - ], - "./Chip.stories": ["./app/stories/Chip.stories.tsx", 420, 617], - "./Chip.stories.tsx": ["./app/stories/Chip.stories.tsx", 420, 617], - "./Textarea.stories": [ - "./app/stories/Textarea.stories.tsx", - 420, - 437, - ], - "./Textarea.stories.tsx": [ - "./app/stories/Textarea.stories.tsx", - 420, - 437, - ], - }; - function webpackAsyncContext(req) { - if (!__webpack_require__.o(map, req)) - return Promise.resolve().then(() => { - var e = new Error("Cannot find module '" + req + "'"); - throw ((e.code = "MODULE_NOT_FOUND"), e); - }); - var ids = map[req], - id = ids[0]; - return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(() => - __webpack_require__(id), - ); - } - (webpackAsyncContext.keys = () => Object.keys(map)), - (webpackAsyncContext.id = - "./app/stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/app\\/stories(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$"), - (module.exports = webpackAsyncContext); - }, - "../node_modules/.pnpm/@storybook+instrumenter@8.4.7_storybook@8.4.7/node_modules/@storybook/instrumenter/dist sync recursive": - (module) => { - function webpackEmptyContext(req) { - var e = new Error("Cannot find module '" + req + "'"); - throw ((e.code = "MODULE_NOT_FOUND"), e); - } - (webpackEmptyContext.keys = () => []), - (webpackEmptyContext.resolve = webpackEmptyContext), - (webpackEmptyContext.id = - "../node_modules/.pnpm/@storybook+instrumenter@8.4.7_storybook@8.4.7/node_modules/@storybook/instrumenter/dist sync recursive"), - (module.exports = webpackEmptyContext); - }, - "./.storybook/preview.ts": ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__, - ) => { - "use strict"; - __webpack_require__.r(__webpack_exports__), - __webpack_require__.d(__webpack_exports__, { - default: () => _storybook_preview, - }); - var injectStylesIntoStyleTag = __webpack_require__( - "../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js", - ), - injectStylesIntoStyleTag_default = __webpack_require__.n( - injectStylesIntoStyleTag, - ), - styleDomAPI = __webpack_require__( - "../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1/node_modules/style-loader/dist/runtime/styleDomAPI.js", - ), - styleDomAPI_default = __webpack_require__.n(styleDomAPI), - insertBySelector = __webpack_require__( - "../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1/node_modules/style-loader/dist/runtime/insertBySelector.js", - ), - insertBySelector_default = __webpack_require__.n(insertBySelector), - setAttributesWithoutAttributes = __webpack_require__( - "../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js", - ), - setAttributesWithoutAttributes_default = __webpack_require__.n( - setAttributesWithoutAttributes, - ), - insertStyleElement = __webpack_require__( - "../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1/node_modules/style-loader/dist/runtime/insertStyleElement.js", - ), - insertStyleElement_default = __webpack_require__.n(insertStyleElement), - styleTagTransform = __webpack_require__( - "../node_modules/.pnpm/style-loader@3.3.4_webpack@5.97.1/node_modules/style-loader/dist/runtime/styleTagTransform.js", - ), - styleTagTransform_default = __webpack_require__.n(styleTagTransform), - globals = __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!./app/globals.css", - ), - options = {}; - (options.styleTagTransform = styleTagTransform_default()), - (options.setAttributes = setAttributesWithoutAttributes_default()), - (options.insert = insertBySelector_default().bind(null, "head")), - (options.domAPI = styleDomAPI_default()), - (options.insertStyleElement = insertStyleElement_default()); - injectStylesIntoStyleTag_default()(globals.A, options); - globals.A && globals.A.locals && globals.A.locals; - const _storybook_preview = { - parameters: { - controls: { - matchers: { color: /(background|color)$/i, date: /Date$/i }, - }, - }, - }; - }, - "../node_modules/.pnpm/@storybook+nextjs@8.4.7_esbuild@0.24.0_next@14.0.3_react-dom@18.2.0_react@18.2.0_storybook@8._iv34e6i3dxlwgniwbpmmoi2hye/node_modules/@storybook/nextjs/dist sync recursive": - (module) => { - function webpackEmptyContext(req) { - var e = new Error("Cannot find module '" + req + "'"); - throw ((e.code = "MODULE_NOT_FOUND"), e); - } - (webpackEmptyContext.keys = () => []), - (webpackEmptyContext.resolve = webpackEmptyContext), - (webpackEmptyContext.id = - "../node_modules/.pnpm/@storybook+nextjs@8.4.7_esbuild@0.24.0_next@14.0.3_react-dom@18.2.0_react@18.2.0_storybook@8._iv34e6i3dxlwgniwbpmmoi2hye/node_modules/@storybook/nextjs/dist sync recursive"), - (module.exports = webpackEmptyContext); - }, - "./storybook-config-entry.js": ( - __unused_webpack_module, - __unused_webpack___webpack_exports__, - __webpack_require__, - ) => { - "use strict"; - var external_STORYBOOK_MODULE_CHANNELS_ = __webpack_require__( - "storybook/internal/channels", - ), - external_STORYBOOK_MODULE_PREVIEW_API_ = __webpack_require__( - "storybook/internal/preview-api", - ), - external_STORYBOOK_MODULE_GLOBAL_ = - __webpack_require__("@storybook/global"); - const importers = [ - async (path) => { - if ( - !/^\.[\\/](?:app\/stories(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.mdx)$/.exec( - path, - ) - ) - return; - const pathRemainder = path.substring(14); - return __webpack_require__( - "./app/stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/app\\/stories(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$", - )("./" + pathRemainder); - }, - async (path) => { - if ( - !/^\.[\\/](?:app\/stories(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|mjs|ts|tsx))$/.exec( - path, - ) - ) - return; - const pathRemainder = path.substring(14); - return __webpack_require__( - "./app/stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/app\\/stories(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$", - )("./" + pathRemainder); - }, - ]; - const channel = (0, - external_STORYBOOK_MODULE_CHANNELS_.createBrowserChannel)({ - page: "preview", - }); - external_STORYBOOK_MODULE_PREVIEW_API_.addons.setChannel(channel), - "DEVELOPMENT" === - external_STORYBOOK_MODULE_GLOBAL_.global.CONFIG_TYPE && - (window.__STORYBOOK_SERVER_CHANNEL__ = channel); - const preview = new external_STORYBOOK_MODULE_PREVIEW_API_.PreviewWeb( - async function importFn(path) { - for (let i = 0; i < importers.length; i++) { - const moduleExports = await ((x = () => importers[i](path)), x()); - if (moduleExports) return moduleExports; - } - var x; - }, - () => - (0, external_STORYBOOK_MODULE_PREVIEW_API_.composeConfigs)([ - __webpack_require__( - "../node_modules/.pnpm/@storybook+react@8.4.7_@storybook+test@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7_typescript@5.3.2/node_modules/@storybook/react/dist/entry-preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+react@8.4.7_@storybook+test@8.4.7_react-dom@18.2.0_react@18.2.0_storybook@8.4.7_typescript@5.3.2/node_modules/@storybook/react/dist/entry-preview-docs.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+nextjs@8.4.7_esbuild@0.24.0_next@14.0.3_react-dom@18.2.0_react@18.2.0_storybook@8._iv34e6i3dxlwgniwbpmmoi2hye/node_modules/@storybook/nextjs/dist/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/docs/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/actions/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/backgrounds/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/viewport/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/measure/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/outline/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-essentials@8.4.7_@types+react@18.2.37_storybook@8.4.7/node_modules/@storybook/addon-essentials/dist/highlight/preview.mjs", - ), - __webpack_require__( - "../node_modules/.pnpm/@storybook+addon-interactions@8.4.7_storybook@8.4.7/node_modules/@storybook/addon-interactions/dist/preview.mjs", - ), - __webpack_require__("./.storybook/preview.ts"), - ]), - ); - (window.__STORYBOOK_PREVIEW__ = preview), - (window.__STORYBOOK_STORY_STORE__ = preview.storyStore), - (window.__STORYBOOK_ADDONS_CHANNEL__ = channel); - }, - "../node_modules/.pnpm/@storybook+test@8.4.7_storybook@8.4.7/node_modules/@storybook/test/dist sync recursive": - (module) => { - function webpackEmptyContext(req) { - var e = new Error("Cannot find module '" + req + "'"); - throw ((e.code = "MODULE_NOT_FOUND"), e); - } - (webpackEmptyContext.keys = () => []), - (webpackEmptyContext.resolve = webpackEmptyContext), - (webpackEmptyContext.id = - "../node_modules/.pnpm/@storybook+test@8.4.7_storybook@8.4.7/node_modules/@storybook/test/dist sync recursive"), - (module.exports = webpackEmptyContext); - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!./app/globals.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_themes_css__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!./app/themes.css", - ), - ___CSS_LOADER_EXPORT___ = - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_themes_css__WEBPACK_IMPORTED_MODULE_2__.A, - ), - ___CSS_LOADER_EXPORT___.push([ - module.id, - '/*\n! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n::before,\n::after {\n --tw-content: \'\';\n}\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'reset\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n:-moz-focusring {\n outline: auto;\n}\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n:-moz-ui-invalid {\n box-shadow: none;\n}\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\nprogress {\n vertical-align: baseline;\n}\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/*\nAdd the correct display in Chrome and Safari.\n*/\nsummary {\n display: list-item;\n}\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nlegend {\n padding: 0;\n}\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n*, ::before, ::after{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n::backdrop{\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n.\\!container{\n width: 100% !important;\n}\n.container{\n width: 100%;\n}\n@media (min-width: 640px){\n .\\!container{\n max-width: 640px !important;\n }\n .container{\n max-width: 640px;\n }\n}\n@media (min-width: 768px){\n .\\!container{\n max-width: 768px !important;\n }\n .container{\n max-width: 768px;\n }\n}\n@media (min-width: 1024px){\n .\\!container{\n max-width: 1024px !important;\n }\n .container{\n max-width: 1024px;\n }\n}\n@media (min-width: 1280px){\n .\\!container{\n max-width: 1280px !important;\n }\n .container{\n max-width: 1280px;\n }\n}\n@media (min-width: 1536px){\n .\\!container{\n max-width: 1536px !important;\n }\n .container{\n max-width: 1536px;\n }\n}\n.btn-primary{\n color: rgb(var(--goten));\n background-color: rgb(var(--piccolo));\n}\n.btn-secondary{\n color: rgb(var(--bulma));\n background: none;\n box-shadow: inset 0 0 0 1px rgb(var(--trunks)/1);\n}\n.btn-secondary:hover{\n box-shadow: inset 0 0 0 1px rgb(var(--bulma));\n}\n.btn-tertiary{\n color: rgb(var(--goten));\n background-color: rgb(var(--hit));\n}\n.anim-error{\n transform: translate3d(0, 0, 0);\n backface-visibility: hidden;\n perspective: 1000px;\n}\n.anim-pulse{\n box-shadow: 0 0 0 0 rgb(var(--piccolo));\n}\n.input-number-clear{\n -moz-appearance: textfield;\n}\n.input-number-clear::-webkit-inner-spin-button, .input-number-clear::-webkit-outer-spin-button{\n opacity: 0;\n}\n.input-xl:not(:focus):not([disabled])::-moz-placeholder{\n opacity: 0;\n}\n.input-xl:not(:focus):not([disabled])::placeholder{\n opacity: 0;\n}\n.input-xl:not(:focus):not([disabled]):-moz-placeholder-shown + label{\n top: 50%;\n margin-top: -0.438rem;\n font-size: 1rem;\n line-height: 1rem;\n}\n.input-xl:not(:focus):not([disabled]):placeholder-shown + label{\n top: 50%;\n margin-top: -0.438rem;\n font-size: 1rem;\n line-height: 1rem;\n}\n.input-dt-shared::-webkit-datetime-edit, .input-dt-shared::-webkit-date-and-time-value{\n display: block;\n padding: 0;\n height: 2.375rem;\n line-height: 2.375rem;\n}\n.input-dt-shared::-webkit-date-and-time-value{\n padding-top: 0.5rem;\n}\n.input-dt-shared::-webkit-calendar-picker-indicator{\n position: absolute;\n}\n.input-lg-dt-shared::-webkit-datetime-edit{\n height: 2.875rem;\n line-height: 2.875rem;\n}\n.input-lg-dt-shared::-webkit-date-and-time-value{\n padding-top: 0.625rem;\n}\n.input-xl-dt-shared::-webkit-datetime-edit{\n height: 3.5rem;\n line-height: 3.5rem;\n}\n.input-xl-dt-shared::-webkit-date-and-time-value{\n padding-top: 1rem;\n}\n.input-xl-dt-label::-webkit-datetime-edit{\n height: 2.25rem;\n line-height: 2.125rem;\n}\n.input-xl-dt-label::-webkit-date-and-time-value{\n padding-top: 0;\n}\n.input-d::-webkit-calendar-picker-indicator{\n right: 0.875rem;\n}\n.input-t::-webkit-calendar-picker-indicator{\n right: 0.875rem;\n}\n.input-d-rtl::-webkit-datetime-edit, .input-d-rtl::-webkit-date-and-time-value{\n position: absolute;\n right: 0;\n}\n.input-d-rtl::-webkit-calendar-picker-indicator{\n left: 0.5rem;\n}\n.input-t-rtl::-webkit-datetime-edit, .input-t-rtl::-webkit-date-and-time-value{\n position: absolute;\n right: 0.5rem;\n}\n.input-t-rtl::-webkit-calendar-picker-indicator{\n left: 0.5rem;\n}\n.input-dt-local-rtl::-webkit-datetime-edit, .input-dt-local-rtl::-webkit-date-and-time-value{\n position: absolute;\n right: 0;\n}\n.input-dt-local-rtl::-webkit-calendar-picker-indicator{\n left: 0.5rem;\n}\n.input-rsb-hidden:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n.input-lsb-hidden:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n.input-tbb-hidden:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n}\n.input-bbb-hidden:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n.input-rsb-clip-path{\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n.input-lsb-clip-path{\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n.input-tbb-clip-path{\n -webkit-clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n}\n.input-bbb-clip-path{\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n.brcrumb-li a, .brcrumb-li span{\n padding: 0.5rem;\n}\n.hidden-scroll::-webkit-scrollbar{\n width: 12px;\n height: 12px;\n cursor: pointer;\n}\n.hidden-scroll::-webkit-scrollbar-thumb{\n background-color: transparent;\n background-clip: content-box;\n border-radius: 100px;\n border: 3px solid transparent;\n}\n.hidden-scroll:hover::-webkit-scrollbar-thumb{\n background-color: rgb(var(--goku));\n}\n.sr-only{\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n.not-sr-only{\n position: static;\n width: auto;\n height: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n clip: auto;\n white-space: normal;\n}\n.pointer-events-none{\n pointer-events: none;\n}\n.visible{\n visibility: visible;\n}\n.invisible{\n visibility: hidden;\n}\n.collapse{\n visibility: collapse;\n}\n.static{\n position: static;\n}\n.fixed{\n position: fixed;\n}\n.absolute{\n position: absolute;\n}\n.relative{\n position: relative;\n}\n.sticky{\n position: sticky;\n}\n.-inset-1{\n inset: -0.25rem;\n}\n.inset-0{\n inset: 0px;\n}\n.\\!inset-x-0{\n left: 0px !important;\n right: 0px !important;\n}\n.inset-x-0{\n left: 0px;\n right: 0px;\n}\n.inset-x-4{\n left: 1rem;\n right: 1rem;\n}\n.inset-y-0{\n top: 0px;\n bottom: 0px;\n}\n.-end-2{\n inset-inline-end: -0.5rem;\n}\n.-end-2\\.5{\n inset-inline-end: -0.625rem;\n}\n.-end-3{\n inset-inline-end: -0.75rem;\n}\n.-end-4{\n inset-inline-end: -1rem;\n}\n.-start-4{\n inset-inline-start: -1rem;\n}\n.-top-0{\n top: -0px;\n}\n.-top-0\\.5{\n top: -0.125rem;\n}\n.bottom-0{\n bottom: 0px;\n}\n.bottom-4{\n bottom: 1rem;\n}\n.bottom-5{\n bottom: 1.25rem;\n}\n.bottom-6{\n bottom: 1.5rem;\n}\n.bottom-7{\n bottom: 1.75rem;\n}\n.bottom-8{\n bottom: 2rem;\n}\n.bottom-\\[18px\\]{\n bottom: 18px;\n}\n.end-0{\n inset-inline-end: 0px;\n}\n.end-1{\n inset-inline-end: 0.25rem;\n}\n.end-2{\n inset-inline-end: 0.5rem;\n}\n.end-3{\n inset-inline-end: 0.75rem;\n}\n.end-4{\n inset-inline-end: 1rem;\n}\n.end-5{\n inset-inline-end: 1.25rem;\n}\n.left-0{\n left: 0px;\n}\n.left-1\\/2{\n left: 50%;\n}\n.left-auto{\n left: auto;\n}\n.right-0{\n right: 0px;\n}\n.start-0{\n inset-inline-start: 0px;\n}\n.start-1{\n inset-inline-start: 0.25rem;\n}\n.start-2{\n inset-inline-start: 0.5rem;\n}\n.start-3{\n inset-inline-start: 0.75rem;\n}\n.start-4{\n inset-inline-start: 1rem;\n}\n.top-0{\n top: 0px;\n}\n.top-1{\n top: 0.25rem;\n}\n.top-1\\/2{\n top: 50%;\n}\n.top-2{\n top: 0.5rem;\n}\n.top-2\\/4{\n top: 50%;\n}\n.top-3{\n top: 0.75rem;\n}\n.top-4{\n top: 1rem;\n}\n.top-\\[-7px\\]{\n top: -7px;\n}\n.top-\\[6px\\]{\n top: 6px;\n}\n.top-\\[72px\\]{\n top: 72px;\n}\n.top-auto{\n top: auto;\n}\n.top-full{\n top: 100%;\n}\n.isolate{\n isolation: isolate;\n}\n.isolation-auto{\n isolation: auto;\n}\n.-z-1{\n z-index: -1;\n}\n.z-0{\n z-index: 0;\n}\n.z-1{\n z-index: 1;\n}\n.z-10{\n z-index: 10;\n}\n.z-10000{\n z-index: 10000;\n}\n.z-20{\n z-index: 20;\n}\n.z-30{\n z-index: 30;\n}\n.z-5{\n z-index: 5;\n}\n.z-50{\n z-index: 50;\n}\n.z-\\[-1\\]{\n z-index: -1;\n}\n.z-\\[1\\]{\n z-index: 1;\n}\n.z-\\[2\\]{\n z-index: 2;\n}\n.z-\\[3\\]{\n z-index: 3;\n}\n.z-\\[55\\]{\n z-index: 55;\n}\n.z-\\[60\\]{\n z-index: 60;\n}\n.z-\\[70\\]{\n z-index: 70;\n}\n.z-\\[999999\\]{\n z-index: 999999;\n}\n.m-0{\n margin: 0px;\n}\n.m-1{\n margin: 0.25rem;\n}\n.m-auto{\n margin: auto;\n}\n.mx-1{\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n}\n.mx-2{\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n}\n.mx-auto{\n margin-left: auto;\n margin-right: auto;\n}\n.my-1{\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n}\n.my-2{\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.my-4{\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n.mb-1{\n margin-bottom: 0.25rem;\n}\n.mb-4{\n margin-bottom: 1rem;\n}\n.mb-6{\n margin-bottom: 1.5rem;\n}\n.me-\\[5px\\]{\n margin-inline-end: 5px;\n}\n.ms-auto{\n margin-inline-start: auto;\n}\n.mt-10{\n margin-top: 2.5rem;\n}\n.mt-2{\n margin-top: 0.5rem;\n}\n.mt-3{\n margin-top: 0.75rem;\n}\n.mt-4{\n margin-top: 1rem;\n}\n.mt-\\[-0\\.75rem\\]{\n margin-top: -0.75rem;\n}\n.box-border{\n box-sizing: border-box;\n}\n.box-content{\n box-sizing: content-box;\n}\n.block{\n display: block;\n}\n.inline-block{\n display: inline-block;\n}\n.inline{\n display: inline;\n}\n.flex{\n display: flex;\n}\n.inline-flex{\n display: inline-flex;\n}\n.\\!table{\n display: table !important;\n}\n.table{\n display: table;\n}\n.inline-table{\n display: inline-table;\n}\n.table-caption{\n display: table-caption;\n}\n.table-cell{\n display: table-cell;\n}\n.table-column{\n display: table-column;\n}\n.table-column-group{\n display: table-column-group;\n}\n.table-footer-group{\n display: table-footer-group;\n}\n.table-header-group{\n display: table-header-group;\n}\n.table-row-group{\n display: table-row-group;\n}\n.table-row{\n display: table-row;\n}\n.flow-root{\n display: flow-root;\n}\n.grid{\n display: grid;\n}\n.inline-grid{\n display: inline-grid;\n}\n.contents{\n display: contents;\n}\n.list-item{\n display: list-item;\n}\n.hidden{\n display: none;\n}\n.aspect-square{\n aspect-ratio: 1 / 1;\n}\n.size-6{\n width: 1.5rem;\n height: 1.5rem;\n}\n.h-0{\n height: 0px;\n}\n.h-0\\.5{\n height: 0.125rem;\n}\n.h-1{\n height: 0.25rem;\n}\n.h-1\\/3{\n height: 33.333333%;\n}\n.h-10{\n height: 2.5rem;\n}\n.h-11{\n height: 2.75rem;\n}\n.h-12{\n height: 3rem;\n}\n.h-14{\n height: 3.5rem;\n}\n.h-16{\n height: 4rem;\n}\n.h-2{\n height: 0.5rem;\n}\n.h-2\\/3{\n height: 66.666667%;\n}\n.h-3{\n height: 0.75rem;\n}\n.h-32{\n height: 8rem;\n}\n.h-4{\n height: 1rem;\n}\n.h-48{\n height: 12rem;\n}\n.h-52{\n height: 13rem;\n}\n.h-6{\n height: 1.5rem;\n}\n.h-8{\n height: 2rem;\n}\n.h-\\[32\\%\\]{\n height: 32%;\n}\n.h-\\[64\\%\\]{\n height: 64%;\n}\n.h-\\[72px\\]{\n height: 72px;\n}\n.h-\\[88\\%\\]{\n height: 88%;\n}\n.h-\\[calc\\(100\\%-12px\\)\\]{\n height: calc(100% - 12px);\n}\n.h-\\[calc\\(100vh-72px\\)\\]{\n height: calc(100vh - 72px);\n}\n.h-auto{\n height: auto;\n}\n.h-fit{\n height: -moz-fit-content;\n height: fit-content;\n}\n.h-full{\n height: 100%;\n}\n.h-px{\n height: 1px;\n}\n.max-h-32{\n max-height: 8rem;\n}\n.max-h-6{\n max-height: 1.5rem;\n}\n.max-h-96{\n max-height: 24rem;\n}\n.max-h-\\[18\\.75rem\\]{\n max-height: 18.75rem;\n}\n.max-h-\\[50vh\\]{\n max-height: 50vh;\n}\n.min-h-\\[20px\\]{\n min-height: 20px;\n}\n.min-h-full{\n min-height: 100%;\n}\n.min-h-screen{\n min-height: 100vh;\n}\n.w-0{\n width: 0px;\n}\n.w-10{\n width: 2.5rem;\n}\n.w-11{\n width: 2.75rem;\n}\n.w-12{\n width: 3rem;\n}\n.w-14{\n width: 3.5rem;\n}\n.w-16{\n width: 4rem;\n}\n.w-2{\n width: 0.5rem;\n}\n.w-3{\n width: 0.75rem;\n}\n.w-32{\n width: 8rem;\n}\n.w-4{\n width: 1rem;\n}\n.w-40{\n width: 10rem;\n}\n.w-48{\n width: 12rem;\n}\n.w-5\\/6{\n width: 83.333333%;\n}\n.w-56{\n width: 14rem;\n}\n.w-6{\n width: 1.5rem;\n}\n.w-64{\n width: 16rem;\n}\n.w-7{\n width: 1.75rem;\n}\n.w-72{\n width: 18rem;\n}\n.w-8{\n width: 2rem;\n}\n.w-80{\n width: 20rem;\n}\n.w-\\[14rem\\]{\n width: 14rem;\n}\n.w-\\[1px\\]{\n width: 1px;\n}\n.w-\\[3\\.75rem\\]{\n width: 3.75rem;\n}\n.w-\\[320px\\]{\n width: 320px;\n}\n.w-\\[calc\\(100\\%-32px\\)\\]{\n width: calc(100% - 32px);\n}\n.w-auto{\n width: auto;\n}\n.w-fit{\n width: -moz-fit-content;\n width: fit-content;\n}\n.w-full{\n width: 100%;\n}\n.w-max{\n width: -moz-max-content;\n width: max-content;\n}\n.w-screen{\n width: 100vw;\n}\n.min-w-72{\n min-width: 18rem;\n}\n.min-w-\\[12rem\\]{\n min-width: 12rem;\n}\n.min-w-\\[18\\.75rem\\]{\n min-width: 18.75rem;\n}\n.min-w-\\[20px\\]{\n min-width: 20px;\n}\n.min-w-\\[2rem\\]{\n min-width: 2rem;\n}\n.min-w-\\[8\\.5rem\\]{\n min-width: 8.5rem;\n}\n.max-w-3xl{\n max-width: 48rem;\n}\n.max-w-7xl{\n max-width: 80rem;\n}\n.max-w-80{\n max-width: 20rem;\n}\n.max-w-\\[260px\\]{\n max-width: 260px;\n}\n.max-w-\\[48px\\]{\n max-width: 48px;\n}\n.max-w-fit{\n max-width: -moz-fit-content;\n max-width: fit-content;\n}\n.max-w-full{\n max-width: 100%;\n}\n.max-w-md{\n max-width: 28rem;\n}\n.max-w-screen-lg{\n max-width: 1024px;\n}\n.max-w-sm{\n max-width: 24rem;\n}\n.max-w-xs{\n max-width: 20rem;\n}\n.flex-1{\n flex: 1 1 0%;\n}\n.flex-shrink-0{\n flex-shrink: 0;\n}\n.shrink{\n flex-shrink: 1;\n}\n.flex-grow{\n flex-grow: 1;\n}\n.flex-grow-0{\n flex-grow: 0;\n}\n.grow{\n flex-grow: 1;\n}\n.basis-1\\/2{\n flex-basis: 50%;\n}\n.border-collapse{\n border-collapse: collapse;\n}\n.border-separate{\n border-collapse: separate;\n}\n.border-spacing-y-1{\n --tw-border-spacing-y: 0.25rem;\n border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);\n}\n.origin-\\[top_center\\]{\n transform-origin: top center;\n}\n.-translate-x-1\\/2{\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-translate-y-1\\/2{\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-translate-y-full{\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-x-0{\n --tw-translate-x: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-y-0{\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-y-\\[-50\\%\\]{\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-y-full{\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-rotate-180{\n --tw-rotate: -180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-180{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-45{\n --tw-rotate: 45deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-\\[-180deg\\]{\n --tw-rotate: -180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.scale-100{\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.scale-95{\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.transform{\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n@keyframes error{\n 10%, 90%{\n transform: translate3d(-1px, 0, 0);\n }\n 20%, 80%{\n transform: translate3d(2px, 0, 0);\n }\n 30%, 50%, 70%{\n transform: translate3d(-4px, 0, 0);\n }\n 40%, 60%{\n transform: translate3d(4px, 0, 0);\n }\n}\n.animate-\\[error_0\\.82s_cubic-bezier\\(0\\.36\\2c 0\\.07\\2c 0\\.19\\2c 0\\.97\\)_1_both\\]{\n animation: error 0.82s cubic-bezier(0.36,0.07,0.19,0.97) 1 both;\n}\n@keyframes pulse2{\n 10%, 90%{\n transform: translate3d(-1px, 0, 0);\n }\n 0%{\n transform: scale(1);\n }\n 70%{\n transform: scale(1);\n box-shadow: 0 0 0 30px transparent;\n }\n 100%{\n transform: scale(1);\n box-shadow: 0 0 0 0 transparent;\n }\n}\n.animate-\\[pulse2_1\\.5s_infinite\\]{\n animation: pulse2 1.5s infinite;\n}\n@keyframes rotation{\n 0%{\n transform: rotate(0deg);\n }\n 100%{\n transform: rotate(360deg);\n }\n}\n.animate-\\[rotation_1\\.2s_cubic-bezier\\(0\\.5\\2c 0\\2c 0\\.5\\2c 1\\)_infinite\\]{\n animation: rotation 1.2s cubic-bezier(0.5,0,0.5,1) infinite;\n}\n.cursor-col-resize{\n cursor: col-resize;\n}\n.cursor-default{\n cursor: default;\n}\n.cursor-not-allowed{\n cursor: not-allowed;\n}\n.cursor-pointer{\n cursor: pointer;\n}\n.cursor-text{\n cursor: text;\n}\n.select-none{\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.resize-none{\n resize: none;\n}\n.resize{\n resize: both;\n}\n.snap-x{\n scroll-snap-type: x var(--tw-scroll-snap-strictness);\n}\n.snap-mandatory{\n --tw-scroll-snap-strictness: mandatory;\n}\n.snap-center{\n scroll-snap-align: center;\n}\n.scroll-pt-20{\n scroll-padding-top: 5rem;\n}\n.list-decimal{\n list-style-type: decimal;\n}\n.list-disc{\n list-style-type: disc;\n}\n.list-none{\n list-style-type: none;\n}\n.appearance-none{\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.auto-cols-\\[minmax\\(0\\2c _2fr\\)\\]{\n grid-auto-columns: minmax(0, 2fr);\n}\n.grid-flow-col{\n grid-auto-flow: column;\n}\n.auto-rows-auto{\n grid-auto-rows: auto;\n}\n.grid-cols-1{\n grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n.grid-cols-2{\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n.flex-row{\n flex-direction: row;\n}\n.flex-col{\n flex-direction: column;\n}\n.flex-wrap{\n flex-wrap: wrap;\n}\n.flex-nowrap{\n flex-wrap: nowrap;\n}\n.content-center{\n align-content: center;\n}\n.items-start{\n align-items: flex-start;\n}\n.items-end{\n align-items: flex-end;\n}\n.items-center{\n align-items: center;\n}\n.items-baseline{\n align-items: baseline;\n}\n.items-stretch{\n align-items: stretch;\n}\n.justify-start{\n justify-content: flex-start;\n}\n.justify-end{\n justify-content: flex-end;\n}\n.justify-center{\n justify-content: center;\n}\n.justify-between{\n justify-content: space-between;\n}\n.justify-around{\n justify-content: space-around;\n}\n.justify-items-center{\n justify-items: center;\n}\n.gap-0{\n gap: 0px;\n}\n.gap-1{\n gap: 0.25rem;\n}\n.gap-10{\n gap: 2.5rem;\n}\n.gap-12{\n gap: 3rem;\n}\n.gap-2{\n gap: 0.5rem;\n}\n.gap-20{\n gap: 5rem;\n}\n.gap-3{\n gap: 0.75rem;\n}\n.gap-4{\n gap: 1rem;\n}\n.gap-5{\n gap: 1.25rem;\n}\n.gap-6{\n gap: 1.5rem;\n}\n.gap-x-1{\n -moz-column-gap: 0.25rem;\n column-gap: 0.25rem;\n}\n.gap-x-2{\n -moz-column-gap: 0.5rem;\n column-gap: 0.5rem;\n}\n.gap-x-3{\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.gap-x-4{\n -moz-column-gap: 1rem;\n column-gap: 1rem;\n}\n.gap-x-5{\n -moz-column-gap: 1.25rem;\n column-gap: 1.25rem;\n}\n.gap-y-0{\n row-gap: 0px;\n}\n.gap-y-1{\n row-gap: 0.25rem;\n}\n.gap-y-2{\n row-gap: 0.5rem;\n}\n.gap-y-4{\n row-gap: 1rem;\n}\n.gap-y-5{\n row-gap: 1.25rem;\n}\n.space-y-1 > :not([hidden]) ~ :not([hidden]){\n --tw-space-y-reverse: 0;\n margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));\n}\n.space-y-4 > :not([hidden]) ~ :not([hidden]){\n --tw-space-y-reverse: 0;\n margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(1rem * var(--tw-space-y-reverse));\n}\n.space-y-reverse > :not([hidden]) ~ :not([hidden]){\n --tw-space-y-reverse: 1;\n}\n.space-x-reverse > :not([hidden]) ~ :not([hidden]){\n --tw-space-x-reverse: 1;\n}\n.divide-x > :not([hidden]) ~ :not([hidden]){\n --tw-divide-x-reverse: 0;\n border-right-width: calc(1px * var(--tw-divide-x-reverse));\n border-left-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));\n}\n.divide-y > :not([hidden]) ~ :not([hidden]){\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n.divide-y-reverse > :not([hidden]) ~ :not([hidden]){\n --tw-divide-y-reverse: 1;\n}\n.divide-x-reverse > :not([hidden]) ~ :not([hidden]){\n --tw-divide-x-reverse: 1;\n}\n.self-center{\n align-self: center;\n}\n.overflow-auto{\n overflow: auto;\n}\n.overflow-hidden{\n overflow: hidden;\n}\n.overflow-x-auto{\n overflow-x: auto;\n}\n.overflow-y-auto{\n overflow-y: auto;\n}\n.overflow-x-hidden{\n overflow-x: hidden;\n}\n.overflow-y-hidden{\n overflow-y: hidden;\n}\n.overflow-y-visible{\n overflow-y: visible;\n}\n.truncate{\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.text-ellipsis{\n text-overflow: ellipsis;\n}\n.text-clip{\n text-overflow: clip;\n}\n.whitespace-nowrap{\n white-space: nowrap;\n}\n.break-all{\n word-break: break-all;\n}\n.\\!rounded-none{\n border-radius: 0px !important;\n}\n.rounded{\n border-radius: 0.25rem;\n}\n.rounded-2xl{\n border-radius: 1rem;\n}\n.rounded-full{\n border-radius: 9999px;\n}\n.rounded-lg{\n border-radius: 0.5rem;\n}\n.rounded-md{\n border-radius: 0.375rem;\n}\n.rounded-moon-i-md{\n border-radius: var(--radius-i-md);\n}\n.rounded-moon-i-sm{\n border-radius: var(--radius-i-sm);\n}\n.rounded-moon-i-xs{\n border-radius: var(--radius-i-xs);\n}\n.rounded-moon-s-lg{\n border-radius: var(--radius-s-lg);\n}\n.rounded-moon-s-md{\n border-radius: var(--radius-s-md);\n}\n.rounded-moon-s-sm{\n border-radius: var(--radius-s-sm);\n}\n.rounded-moon-s-xs{\n border-radius: var(--radius-s-xs);\n}\n.rounded-none{\n border-radius: 0px;\n}\n.rounded-sm{\n border-radius: 0.125rem;\n}\n.rounded-xl{\n border-radius: 0.75rem;\n}\n.rounded-b{\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n.rounded-b-lg{\n border-bottom-right-radius: 0.5rem;\n border-bottom-left-radius: 0.5rem;\n}\n.rounded-b-moon-s-sm{\n border-bottom-right-radius: var(--radius-s-sm);\n border-bottom-left-radius: var(--radius-s-sm);\n}\n.rounded-b-none{\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n.rounded-e{\n border-start-end-radius: 0.25rem;\n border-end-end-radius: 0.25rem;\n}\n.rounded-e-lg{\n border-start-end-radius: 0.5rem;\n border-end-end-radius: 0.5rem;\n}\n.rounded-e-none{\n border-start-end-radius: 0px;\n border-end-end-radius: 0px;\n}\n.rounded-l{\n border-top-left-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n.rounded-r{\n border-top-right-radius: 0.25rem;\n border-bottom-right-radius: 0.25rem;\n}\n.rounded-s{\n border-start-start-radius: 0.25rem;\n border-end-start-radius: 0.25rem;\n}\n.rounded-s-lg{\n border-start-start-radius: 0.5rem;\n border-end-start-radius: 0.5rem;\n}\n.rounded-s-none{\n border-start-start-radius: 0px;\n border-end-start-radius: 0px;\n}\n.rounded-t{\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n.rounded-t-lg{\n border-top-left-radius: 0.5rem;\n border-top-right-radius: 0.5rem;\n}\n.rounded-t-moon-i-md{\n border-top-left-radius: var(--radius-i-md);\n border-top-right-radius: var(--radius-i-md);\n}\n.rounded-t-moon-s-sm{\n border-top-left-radius: var(--radius-s-sm);\n border-top-right-radius: var(--radius-s-sm);\n}\n.rounded-t-none{\n border-top-left-radius: 0px;\n border-top-right-radius: 0px;\n}\n.rounded-bl{\n border-bottom-left-radius: 0.25rem;\n}\n.rounded-br{\n border-bottom-right-radius: 0.25rem;\n}\n.rounded-ee{\n border-end-end-radius: 0.25rem;\n}\n.rounded-ee-none{\n border-end-end-radius: 0px;\n}\n.rounded-es{\n border-end-start-radius: 0.25rem;\n}\n.rounded-es-none{\n border-end-start-radius: 0px;\n}\n.rounded-se{\n border-start-end-radius: 0.25rem;\n}\n.rounded-se-none{\n border-start-end-radius: 0px;\n}\n.rounded-ss{\n border-start-start-radius: 0.25rem;\n}\n.rounded-ss-none{\n border-start-start-radius: 0px;\n}\n.rounded-tl{\n border-top-left-radius: 0.25rem;\n}\n.rounded-tr{\n border-top-right-radius: 0.25rem;\n}\n.border{\n border-width: 1px;\n}\n.border-0{\n border-width: 0px;\n}\n.border-2{\n border-width: 2px;\n}\n.border-4{\n border-width: 4px;\n}\n.border-x{\n border-left-width: 1px;\n border-right-width: 1px;\n}\n.border-y{\n border-top-width: 1px;\n border-bottom-width: 1px;\n}\n.border-b{\n border-bottom-width: 1px;\n}\n.border-b-2{\n border-bottom-width: 2px;\n}\n.border-b-\\[0\\.063rem\\]{\n border-bottom-width: 0.063rem;\n}\n.border-b-\\[4\\.5rem\\]{\n border-bottom-width: 4.5rem;\n}\n.border-e{\n border-inline-end-width: 1px;\n}\n.border-l{\n border-left-width: 1px;\n}\n.border-r{\n border-right-width: 1px;\n}\n.border-s{\n border-inline-start-width: 1px;\n}\n.border-t{\n border-top-width: 1px;\n}\n.border-t-0{\n border-top-width: 0px;\n}\n.border-t-2{\n border-top-width: 2px;\n}\n.border-solid{\n border-style: solid;\n}\n.border-none{\n border-style: none;\n}\n.border-beerus{\n border-color: rgb(var(--beerus));\n}\n.border-bulma{\n border-color: rgb(var(--bulma));\n}\n.border-chichi{\n border-color: rgb(var(--chichi));\n}\n.border-dodoria{\n border-color: rgb(var(--dodoria));\n}\n.border-gohan{\n border-color: rgb(var(--gohan));\n}\n.border-goten{\n border-color: rgb(var(--goten));\n}\n.border-hit{\n border-color: rgb(var(--hit));\n}\n.border-raditz{\n border-color: rgb(var(--raditz));\n}\n.border-trunks{\n border-color: rgb(var(--trunks));\n}\n.border-x-transparent{\n border-left-color: transparent;\n border-right-color: transparent;\n}\n.border-b-goku{\n border-bottom-color: rgb(var(--goku));\n}\n.border-b-transparent{\n border-bottom-color: transparent;\n}\n.border-l-transparent{\n border-left-color: transparent;\n}\n.border-r-transparent{\n border-right-color: transparent;\n}\n.border-t-transparent{\n border-top-color: transparent;\n}\n.\\!bg-gohan{\n background-color: rgb(var(--gohan)) !important;\n}\n.bg-\\[color\\:var\\(--footerBGColor\\)\\]{\n background-color: var(--footerBGColor);\n}\n.bg-\\[color\\:var\\(--headerBGColor\\)\\]{\n background-color: var(--headerBGColor);\n}\n.bg-\\[color\\:var\\(--rowEvenColor\\)\\]{\n background-color: var(--rowEvenColor);\n}\n.bg-\\[color\\:var\\(--rowOddColor\\)\\]{\n background-color: var(--rowOddColor);\n}\n.bg-\\[color\\:var\\(--rowSelectColor\\)\\]{\n background-color: var(--rowSelectColor);\n}\n.bg-\\[color\\:var\\(--tableBGColor\\)\\]{\n background-color: var(--tableBGColor);\n}\n.bg-beerus{\n background-color: rgb(var(--beerus));\n}\n.bg-black\\/20{\n background-color: rgb(0 0 0 / 0.2);\n}\n.bg-bulma{\n background-color: rgb(var(--bulma));\n}\n.bg-cell{\n background-color: rgb(var(--cell));\n}\n.bg-cell-10{\n background-color: rgb(var(--cell-10));\n}\n.bg-cell-60{\n background-color: rgb(var(--cell-60));\n}\n.bg-chichi{\n background-color: rgb(var(--chichi));\n}\n.bg-chichi-10{\n background-color: rgb(var(--chichi-10));\n}\n.bg-chichi-60{\n background-color: rgb(var(--chichi-60));\n}\n.bg-dodoria{\n background-color: rgb(var(--dodoria));\n}\n.bg-dodoria-10{\n background-color: rgb(var(--dodoria-10));\n}\n.bg-dodoria-60{\n background-color: rgb(var(--dodoria-60));\n}\n.bg-frieza{\n background-color: rgb(var(--frieza));\n}\n.bg-frieza-10{\n background-color: rgb(var(--frieza-10));\n}\n.bg-frieza-60{\n background-color: rgb(var(--frieza-60));\n}\n.bg-gohan{\n background-color: rgb(var(--gohan));\n}\n.bg-goku{\n background-color: rgb(var(--goku));\n}\n.bg-goten{\n background-color: rgb(var(--goten));\n}\n.bg-gray-100{\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity));\n}\n.bg-heles{\n background-color: rgb(var(--heles));\n}\n.bg-hit{\n background-color: rgb(var(--hit));\n}\n.bg-jiren{\n background-color: rgb(var(--jiren));\n}\n.bg-krillin{\n background-color: rgb(var(--krillin));\n}\n.bg-krillin-10{\n background-color: rgb(var(--krillin-10));\n}\n.bg-krillin-60{\n background-color: rgb(var(--krillin-60));\n}\n.bg-nappa{\n background-color: rgb(var(--nappa));\n}\n.bg-nappa-10{\n background-color: rgb(var(--nappa-10));\n}\n.bg-nappa-60{\n background-color: rgb(var(--nappa-60));\n}\n.bg-piccolo{\n background-color: rgb(var(--piccolo));\n}\n.bg-piccolo\\/10{\n background-color: rgb(var(--piccolo) / 0.1);\n}\n.bg-popo{\n background-color: rgb(var(--popo));\n}\n.bg-raditz{\n background-color: rgb(var(--raditz));\n}\n.bg-raditz-10{\n background-color: rgb(var(--raditz-10));\n}\n.bg-raditz-60{\n background-color: rgb(var(--raditz-60));\n}\n.bg-roshi{\n background-color: rgb(var(--roshi));\n}\n.bg-roshi-10{\n background-color: rgb(var(--roshi-10));\n}\n.bg-roshi-60{\n background-color: rgb(var(--roshi-60));\n}\n.bg-transparent{\n background-color: transparent;\n}\n.bg-trunks{\n background-color: rgb(var(--trunks));\n}\n.bg-whis{\n background-color: rgb(var(--whis));\n}\n.bg-whis-10{\n background-color: rgb(var(--whis-10));\n}\n.bg-whis-60{\n background-color: rgb(var(--whis-60));\n}\n.bg-zeno{\n background-color: rgb(var(--zeno));\n}\n.bg-gradient-to-b{\n background-image: linear-gradient(to bottom, var(--tw-gradient-stops));\n}\n.from-transparent{\n --tw-gradient-from: transparent var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.from-25\\%{\n --tw-gradient-from-position: 25%;\n}\n.to-gohan{\n --tw-gradient-to: rgb(var(--gohan)) var(--tw-gradient-to-position);\n}\n.bg-cover{\n background-size: cover;\n}\n.bg-repeat{\n background-repeat: repeat;\n}\n.stroke-piccolo{\n stroke: rgb(var(--piccolo));\n}\n.stroke-trunks\\/\\[\\.24\\]{\n stroke: rgb(var(--trunks) / .24);\n}\n.stroke-\\[0\\.5rem\\]{\n stroke-width: 0.5rem;\n}\n.object-cover{\n -o-object-fit: cover;\n object-fit: cover;\n}\n.\\!p-4{\n padding: 1rem !important;\n}\n.p-0{\n padding: 0px;\n}\n.p-0\\.5{\n padding: 0.125rem;\n}\n.p-1{\n padding: 0.25rem;\n}\n.p-2{\n padding: 0.5rem;\n}\n.p-3{\n padding: 0.75rem;\n}\n.p-4{\n padding: 1rem;\n}\n.p-5{\n padding: 1.25rem;\n}\n.p-6{\n padding: 1.5rem;\n}\n.px-0{\n padding-left: 0px;\n padding-right: 0px;\n}\n.px-0\\.5{\n padding-left: 0.125rem;\n padding-right: 0.125rem;\n}\n.px-1{\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n.px-2{\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.px-3{\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-4{\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.px-5{\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.px-6{\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n.py-0{\n padding-top: 0px;\n padding-bottom: 0px;\n}\n.py-1{\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.py-1\\.5{\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n.py-2{\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.py-3{\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-4{\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n.py-5{\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.py-6{\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n.\\!pb-12{\n padding-bottom: 3rem !important;\n}\n.pb-0{\n padding-bottom: 0px;\n}\n.pb-10{\n padding-bottom: 2.5rem;\n}\n.pb-2{\n padding-bottom: 0.5rem;\n}\n.pb-4{\n padding-bottom: 1rem;\n}\n.pb-6{\n padding-bottom: 1.5rem;\n}\n.pe-0{\n padding-inline-end: 0px;\n}\n.pe-0\\.5{\n padding-inline-end: 0.125rem;\n}\n.pe-1{\n padding-inline-end: 0.25rem;\n}\n.pe-10{\n padding-inline-end: 2.5rem;\n}\n.pe-14{\n padding-inline-end: 3.5rem;\n}\n.pe-2{\n padding-inline-end: 0.5rem;\n}\n.pe-3{\n padding-inline-end: 0.75rem;\n}\n.pe-4{\n padding-inline-end: 1rem;\n}\n.pe-5{\n padding-inline-end: 1.25rem;\n}\n.pe-6{\n padding-inline-end: 1.5rem;\n}\n.ps-0{\n padding-inline-start: 0px;\n}\n.ps-0\\.5{\n padding-inline-start: 0.125rem;\n}\n.ps-1{\n padding-inline-start: 0.25rem;\n}\n.ps-10{\n padding-inline-start: 2.5rem;\n}\n.ps-12{\n padding-inline-start: 3rem;\n}\n.ps-2{\n padding-inline-start: 0.5rem;\n}\n.ps-3{\n padding-inline-start: 0.75rem;\n}\n.ps-4{\n padding-inline-start: 1rem;\n}\n.ps-5{\n padding-inline-start: 1.25rem;\n}\n.ps-6{\n padding-inline-start: 1.5rem;\n}\n.pt-11{\n padding-top: 2.75rem;\n}\n.pt-2{\n padding-top: 0.5rem;\n}\n.pt-3{\n padding-top: 0.75rem;\n}\n.pt-5{\n padding-top: 1.25rem;\n}\n.pt-6{\n padding-top: 1.5rem;\n}\n.pt-8{\n padding-top: 2rem;\n}\n.pt-\\[1\\.125rem\\]{\n padding-top: 1.125rem;\n}\n.text-center{\n text-align: center;\n}\n.text-start{\n text-align: start;\n}\n.align-top{\n vertical-align: top;\n}\n.align-middle{\n vertical-align: middle;\n}\n.font-mono{\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n}\n.text-\\[1rem\\]{\n font-size: 1rem;\n}\n.text-base{\n font-size: 1rem;\n line-height: 1.5rem;\n}\n.text-lg{\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n.text-moon-10{\n font-size: 0.625rem;\n line-height: 1rem;\n}\n.text-moon-10-caption{\n font-size: 0.625rem;\n line-height: 1rem;\n letter-spacing: 0.0313rem;\n}\n.text-moon-12{\n font-size: 0.75rem;\n line-height: 1rem;\n}\n.text-moon-14{\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n.text-moon-16{\n font-size: 1rem;\n line-height: 1.5rem;\n}\n.text-moon-18{\n font-size: 1.125rem;\n line-height: 1.5rem;\n}\n.text-moon-20{\n font-size: 1.25rem;\n line-height: 2rem;\n}\n.text-moon-24{\n font-size: 1.5rem;\n line-height: 2rem;\n}\n.text-moon-32{\n font-size: 2rem;\n line-height: 2.5rem;\n letter-spacing: -0.03125rem;\n}\n.text-moon-40{\n font-size: 2.5rem;\n line-height: 3rem;\n letter-spacing: -0.03125rem;\n}\n.text-moon-48{\n font-size: 3rem;\n line-height: 3.5rem;\n letter-spacing: -0.0625rem;\n}\n.text-moon-56{\n font-size: 3.5rem;\n line-height: 4rem;\n letter-spacing: -0.09375rem;\n}\n.text-moon-64{\n font-size: 4rem;\n line-height: 4.5rem;\n letter-spacing: -0.125rem;\n}\n.text-moon-72{\n font-size: 4.5rem;\n line-height: 4.75rem;\n letter-spacing: -0.15625rem;\n}\n.text-moon-9{\n font-size: 0.5625rem;\n line-height: 1rem;\n}\n.text-moon-9-caption{\n font-size: 0.5625rem;\n line-height: 1rem;\n letter-spacing: 0.0625rem;\n}\n.font-medium{\n font-weight: 500;\n}\n.font-normal{\n font-weight: 400;\n}\n.font-semibold{\n font-weight: 600;\n}\n.uppercase{\n text-transform: uppercase;\n}\n.lowercase{\n text-transform: lowercase;\n}\n.capitalize{\n text-transform: capitalize;\n}\n.normal-case{\n text-transform: none;\n}\n.italic{\n font-style: italic;\n}\n.not-italic{\n font-style: normal;\n}\n.normal-nums{\n font-variant-numeric: normal;\n}\n.ordinal{\n --tw-ordinal: ordinal;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.slashed-zero{\n --tw-slashed-zero: slashed-zero;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.lining-nums{\n --tw-numeric-figure: lining-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.oldstyle-nums{\n --tw-numeric-figure: oldstyle-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.proportional-nums{\n --tw-numeric-spacing: proportional-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.tabular-nums{\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.diagonal-fractions{\n --tw-numeric-fraction: diagonal-fractions;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n.leading-10{\n line-height: 2.5rem;\n}\n.leading-4{\n line-height: 1rem;\n}\n.leading-5{\n line-height: 1.25rem;\n}\n.leading-6{\n line-height: 1.5rem;\n}\n.leading-8{\n line-height: 2rem;\n}\n.leading-\\[12px\\]{\n line-height: 12px;\n}\n.leading-\\[3\\.5rem\\]{\n line-height: 3.5rem;\n}\n.leading-\\[3rem\\]{\n line-height: 3rem;\n}\n.leading-none{\n line-height: 1;\n}\n.text-bulma{\n color: rgb(var(--bulma));\n}\n.text-chichi{\n color: rgb(var(--chichi));\n}\n.text-frieza{\n color: rgb(var(--frieza));\n}\n.text-goku{\n color: rgb(var(--goku));\n}\n.text-goten{\n color: rgb(var(--goten));\n}\n.text-gray-600{\n --tw-text-opacity: 1;\n color: rgb(75 85 99 / var(--tw-text-opacity));\n}\n.text-gray-900{\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n.text-hit{\n color: rgb(var(--hit));\n}\n.text-krillin{\n color: rgb(var(--krillin));\n}\n.text-krillin-60{\n color: rgb(var(--krillin-60));\n}\n.text-piccolo{\n color: rgb(var(--piccolo));\n}\n.text-popo{\n color: rgb(var(--popo));\n}\n.text-raditz{\n color: rgb(var(--raditz));\n}\n.text-roshi{\n color: rgb(var(--roshi));\n}\n.text-trunks{\n color: rgb(var(--trunks));\n}\n.text-whis{\n color: rgb(var(--whis));\n}\n.underline{\n text-decoration-line: underline;\n}\n.overline{\n text-decoration-line: overline;\n}\n.line-through{\n text-decoration-line: line-through;\n}\n.no-underline{\n text-decoration-line: none;\n}\n.antialiased{\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.subpixel-antialiased{\n -webkit-font-smoothing: auto;\n -moz-osx-font-smoothing: auto;\n}\n.placeholder-bulma::-moz-placeholder{\n color: rgb(var(--bulma));\n}\n.placeholder-bulma::placeholder{\n color: rgb(var(--bulma));\n}\n.placeholder-trunks::-moz-placeholder{\n color: rgb(var(--trunks));\n}\n.placeholder-trunks::placeholder{\n color: rgb(var(--trunks));\n}\n.opacity-0{\n opacity: 0;\n}\n.opacity-100{\n opacity: 1;\n}\n.opacity-30{\n opacity: 0.3;\n}\n.opacity-60{\n opacity: 0.6;\n}\n.\\!shadow-none{\n --tw-shadow: 0 0 #0000 !important;\n --tw-shadow-colored: 0 0 #0000 !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n}\n.shadow{\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_0_0_1px_inset\\]{\n --tw-shadow: 0 0 0 1px inset;\n --tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_2px_8px_0_rgba\\(0\\2c 0\\2c 0\\2c 0\\.16\\)\\]{\n --tw-shadow: 0 2px 8px 0 rgba(0,0,0,0.16);\n --tw-shadow-colored: 0 2px 8px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_6px_6px_-6px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.16\\)\\]{\n --tw-shadow: 0 6px 6px -6px rgba(0,0,0,0.16);\n --tw-shadow-colored: 0 6px 6px -6px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-input{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-input-err{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-input-focus{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--piccolo)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-interactive{\n --tw-shadow: 0 0 0 2px rgb(var(--piccolo)) inset;\n --tw-shadow-colored: inset 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-md{\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-moon-lg{\n --tw-shadow: var(--shadow-lg);\n --tw-shadow-colored: var(--shadow-lg);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-moon-md{\n --tw-shadow: var(--shadow-md);\n --tw-shadow-colored: var(--shadow-md);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-moon-sm{\n --tw-shadow: var(--shadow-sm);\n --tw-shadow-colored: var(--shadow-sm);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-moon-xl{\n --tw-shadow: var(--shadow-xl);\n --tw-shadow-colored: var(--shadow-xl);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-none{\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-textarea{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-textarea-err{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-bulma{\n --tw-shadow-color: rgb(var(--bulma));\n --tw-shadow: var(--tw-shadow-colored);\n}\n.shadow-krillin{\n --tw-shadow-color: rgb(var(--krillin));\n --tw-shadow: var(--tw-shadow-colored);\n}\n.shadow-roshi{\n --tw-shadow-color: rgb(var(--roshi));\n --tw-shadow: var(--tw-shadow-colored);\n}\n.shadow-trunks{\n --tw-shadow-color: rgb(var(--trunks));\n --tw-shadow: var(--tw-shadow-colored);\n}\n.outline-none{\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.outline{\n outline-style: solid;\n}\n.outline-1{\n outline-width: 1px;\n}\n.outline-offset-\\[-1px\\]{\n outline-offset: -1px;\n}\n.outline-chichi{\n outline-color: rgb(var(--chichi));\n}\n.outline-roshi{\n outline-color: rgb(var(--roshi));\n}\n.ring{\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n.ring-1{\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n.ring-inset{\n --tw-ring-inset: inset;\n}\n.ring-beerus{\n --tw-ring-color: rgb(var(--beerus));\n}\n.ring-chichi{\n --tw-ring-color: rgb(var(--chichi));\n}\n.ring-trunks{\n --tw-ring-color: rgb(var(--trunks));\n}\n.blur{\n --tw-blur: blur(8px);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.drop-shadow{\n --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.drop-shadow-\\[0_0_1px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.4\\)\\]{\n --tw-drop-shadow: drop-shadow(0 0 1px rgba(0,0,0,0.4));\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.drop-shadow-none{\n --tw-drop-shadow: drop-shadow(0 0 #0000);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.grayscale{\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.invert{\n --tw-invert: invert(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.sepia{\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.filter{\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.backdrop-blur{\n --tw-backdrop-blur: blur(8px);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.backdrop-grayscale{\n --tw-backdrop-grayscale: grayscale(100%);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.backdrop-invert{\n --tw-backdrop-invert: invert(100%);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.backdrop-sepia{\n --tw-backdrop-sepia: sepia(100%);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.backdrop-filter{\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.\\!transition{\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter !important;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter !important;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n}\n.transition{\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-\\[background-color_0\\.2s_ease-in-out\\]{\n transition-property: background-color 0.2s ease-in-out;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-\\[max-height\\]{\n transition-property: max-height;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-\\[stroke-dashoffset\\]{\n transition-property: stroke-dashoffset;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-all{\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-colors{\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-opacity{\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-shadow{\n transition-property: box-shadow;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-transform{\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.duration-100{\n transition-duration: 100ms;\n}\n.duration-200{\n transition-duration: 200ms;\n}\n.duration-300{\n transition-duration: 300ms;\n}\n.ease-in{\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1);\n}\n.ease-in-out{\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n.ease-out{\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n.translate-x-radix-toast-swipe-move-x{\n transform: translateX(var(--radix-toast-swipe-move-x));\n}\n.\\[-ms-overflow-style\\:-ms-autohiding-scrollbar\\]{\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n.\\[-webkit-overflow-scrolling\\:touch\\]{\n -webkit-overflow-scrolling: touch;\n}\n.\\[scrollbar-width\\:none\\]{\n scrollbar-width: none;\n}\n\n/* @font-face {\n font-family: \'DM Sans\';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n unicode-range: \'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\';\n src: local(\'DMSans-Regular\'), local(\'DM Sans Regular\'),\n url(\'./fonts/DMSans-Regular.woff2\') format(\'woff2\');\n}\n\n@font-face {\n font-family: \'DM Sans\';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n unicode-range: \'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\';\n src: local(\'DMSans-Semibold\'), local(\'DM Sans Semibold\'),\n url(\'./fonts/DMSans-Semibold.woff2\') format(\'woff2\');\n} */\n\nhtml,\nbody {\n font-family:\n "DM Sans",\n -apple-system,\n BlinkMacSystemFont,\n Segoe UI,\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n Fira Sans,\n Droid Sans,\n Helvetica Neue,\n sans-serif;\n /* Prevent automatic zooming of fonts on some mobile devices. */\n -webkit-text-size-adjust: none;\n -moz-text-size-adjust: none;\n text-size-adjust: none;\n text-rendering: optimizeLegibility;\n /* Consistent font display behavior on OSX. */\n -webkit-font-smoothing: antialiased;\n /* Consistent font display behavior on OSX. */\n -moz-osx-font-smoothing: grayscale;\n}\n\n.read-only\\:hover\\:input-bbb-clip-path:hover:-moz-read-only{\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.read-only\\:hover\\:input-bbb-clip-path:hover:read-only{\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.read-only\\:focus\\:input-bbb-clip-path:focus:-moz-read-only{\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.read-only\\:focus\\:input-bbb-clip-path:focus:read-only{\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.ltr\\:input-d:where([dir="ltr"], [dir="ltr"] *)::-webkit-calendar-picker-indicator{\n right: 0.875rem;\n}\n\n.ltr\\:input-t:where([dir="ltr"], [dir="ltr"] *)::-webkit-calendar-picker-indicator{\n right: 0.875rem;\n}\n\n.ltr\\:input-rsb-hidden:where([dir="ltr"], [dir="ltr"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:input-lsb-hidden:where([dir="ltr"], [dir="ltr"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.ltr\\:-moz-read-only\\:hover\\:input-rsb-clip-path:hover:-moz-read-only:where([dir="ltr"], [dir="ltr"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:read-only\\:hover\\:input-rsb-clip-path:hover:read-only:where([dir="ltr"], [dir="ltr"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:-moz-read-only\\:focus\\:input-rsb-clip-path:focus:-moz-read-only:where([dir="ltr"], [dir="ltr"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:read-only\\:focus\\:input-rsb-clip-path:focus:read-only:where([dir="ltr"], [dir="ltr"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:input-d-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-datetime-edit,.rtl\\:input-d-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-date-and-time-value{\n position: absolute;\n right: 0;\n}\n\n.rtl\\:input-d-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-calendar-picker-indicator{\n left: 0.5rem;\n}\n\n.rtl\\:input-t-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-datetime-edit,.rtl\\:input-t-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-date-and-time-value{\n position: absolute;\n right: 0.5rem;\n}\n\n.rtl\\:input-t-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-calendar-picker-indicator{\n left: 0.5rem;\n}\n\n.rtl\\:input-dt-local-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-datetime-edit,.rtl\\:input-dt-local-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-date-and-time-value{\n position: absolute;\n right: 0;\n}\n\n.rtl\\:input-dt-local-rtl:where([dir="rtl"], [dir="rtl"] *)::-webkit-calendar-picker-indicator{\n left: 0.5rem;\n}\n\n.rtl\\:input-rsb-hidden:where([dir="rtl"], [dir="rtl"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:input-lsb-hidden:where([dir="rtl"], [dir="rtl"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:-moz-read-only\\:hover\\:input-lsb-clip-path:hover:-moz-read-only:where([dir="rtl"], [dir="rtl"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:read-only\\:hover\\:input-lsb-clip-path:hover:read-only:where([dir="rtl"], [dir="rtl"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:-moz-read-only\\:focus\\:input-lsb-clip-path:focus:-moz-read-only:where([dir="rtl"], [dir="rtl"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:read-only\\:focus\\:input-lsb-clip-path:focus:read-only:where([dir="rtl"], [dir="rtl"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.\\[\\&_input\\:-moz-read-only\\:focus\\]\\:input-bbb-clip-path input:-moz-read-only:focus{\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.\\[\\&_input\\:read-only\\:focus\\]\\:input-bbb-clip-path input:read-only:focus{\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.ltr\\:\\[\\&_input\\:-moz-read-only\\:focus\\]\\:input-rsb-clip-path input:-moz-read-only:focus:where([dir="ltr"], [dir="ltr"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:\\[\\&_input\\:read-only\\:focus\\]\\:input-rsb-clip-path input:read-only:focus:where([dir="ltr"], [dir="ltr"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:\\[\\&_input\\:-moz-read-only\\:focus\\]\\:input-lsb-clip-path input:-moz-read-only:focus:where([dir="rtl"], [dir="rtl"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:\\[\\&_input\\:read-only\\:focus\\]\\:input-lsb-clip-path input:read-only:focus:where([dir="rtl"], [dir="rtl"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.\\[\\&_input\\:-moz-read-only\\:hover\\]\\:input-bbb-clip-path input:-moz-read-only:hover{\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.\\[\\&_input\\:read-only\\:hover\\]\\:input-bbb-clip-path input:read-only:hover{\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.ltr\\:\\[\\&_input\\:-moz-read-only\\:hover\\]\\:input-rsb-clip-path input:-moz-read-only:hover:where([dir="ltr"], [dir="ltr"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:\\[\\&_input\\:read-only\\:hover\\]\\:input-rsb-clip-path input:read-only:hover:where([dir="ltr"], [dir="ltr"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:\\[\\&_input\\:-moz-read-only\\:hover\\]\\:input-lsb-clip-path input:-moz-read-only:hover:where([dir="rtl"], [dir="rtl"] *){\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:\\[\\&_input\\:read-only\\:hover\\]\\:input-lsb-clip-path input:read-only:hover:where([dir="rtl"], [dir="rtl"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.\\[\\&_input\\]\\:input-tbb-hidden input:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n}\n\n.\\[\\&_input\\]\\:input-bbb-hidden input:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.ltr\\:\\[\\&_input\\]\\:input-rsb-hidden input:where([dir="ltr"], [dir="ltr"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:\\[\\&_input\\]\\:input-lsb-hidden input:where([dir="ltr"], [dir="ltr"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:\\[\\&_input\\]\\:input-rsb-hidden input:where([dir="rtl"], [dir="rtl"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:\\[\\&_input\\]\\:input-lsb-hidden input:where([dir="rtl"], [dir="rtl"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.\\[\\&_select\\:disabled\\:focus\\]\\:input-bbb-clip-path select:disabled:focus{\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.ltr\\:\\[\\&_select\\:disabled\\:focus\\]\\:input-rsb-clip-path select:disabled:focus:where([dir="ltr"], [dir="ltr"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:\\[\\&_select\\:disabled\\:focus\\]\\:input-lsb-clip-path select:disabled:focus:where([dir="rtl"], [dir="rtl"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.\\[\\&_select\\:disabled\\:hover\\]\\:input-bbb-clip-path select:disabled:hover{\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1));\n}\n\n.ltr\\:\\[\\&_select\\:disabled\\:hover\\]\\:input-rsb-clip-path select:disabled:hover:where([dir="ltr"], [dir="ltr"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:\\[\\&_select\\:disabled\\:hover\\]\\:input-lsb-clip-path select:disabled:hover:where([dir="rtl"], [dir="rtl"] *){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.\\[\\&_select\\]\\:input-tbb-hidden select:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n clip-path: inset(0.15rem calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1));\n}\n\n.\\[\\&_select\\]\\:\\!input-bbb-hidden select:not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1)) !important;\n clip-path: inset(0 calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1)) !important;\n}\n\n.ltr\\:\\[\\&_select\\]\\:input-rsb-hidden select:where([dir="ltr"], [dir="ltr"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.ltr\\:\\[\\&_select\\]\\:input-lsb-hidden select:where([dir="ltr"], [dir="ltr"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.rtl\\:\\[\\&_select\\]\\:input-rsb-hidden select:where([dir="rtl"], [dir="rtl"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n clip-path: inset(calc(var(--border-i-width) * -1) 0.15rem calc(var(--border-i-width) * -1) 0);\n}\n\n.rtl\\:\\[\\&_select\\]\\:input-lsb-hidden select:where([dir="rtl"], [dir="rtl"] *):not(:hover):not(:focus):not(:invalid){\n -webkit-clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n clip-path: inset(calc(var(--border-i-width) * -1) 0 calc(var(--border-i-width) * -1) 0.15rem);\n}\n\n.placeholder\\:text-trunks::-moz-placeholder{\n color: rgb(var(--trunks));\n}\n\n.placeholder\\:text-trunks::placeholder{\n color: rgb(var(--trunks));\n}\n\n.placeholder\\:text-whis::-moz-placeholder{\n color: rgb(var(--whis));\n}\n\n.placeholder\\:text-whis::placeholder{\n color: rgb(var(--whis));\n}\n\n.placeholder\\:opacity-100::-moz-placeholder{\n opacity: 1;\n}\n\n.placeholder\\:opacity-100::placeholder{\n opacity: 1;\n}\n\n.placeholder\\:transition-opacity::-moz-placeholder{\n -moz-transition-property: opacity;\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.placeholder\\:transition-opacity::placeholder{\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.placeholder\\:delay-75::-moz-placeholder{\n transition-delay: 75ms;\n}\n\n.placeholder\\:delay-75::placeholder{\n transition-delay: 75ms;\n}\n\n.before\\:absolute::before{\n content: var(--tw-content);\n position: absolute;\n}\n\n.before\\:inset-x-0::before{\n content: var(--tw-content);\n left: 0px;\n right: 0px;\n}\n\n.before\\:inset-y-0::before{\n content: var(--tw-content);\n top: 0px;\n bottom: 0px;\n}\n\n.before\\:-bottom-7::before{\n content: var(--tw-content);\n bottom: -1.75rem;\n}\n\n.before\\:-bottom-\\[25px\\]::before{\n content: var(--tw-content);\n bottom: -25px;\n}\n\n.before\\:-bottom-\\[26px\\]::before{\n content: var(--tw-content);\n bottom: -26px;\n}\n\n.before\\:-bottom-\\[30px\\]::before{\n content: var(--tw-content);\n bottom: -30px;\n}\n\n.before\\:-bottom-\\[34px\\]::before{\n content: var(--tw-content);\n bottom: -34px;\n}\n\n.before\\:-bottom-\\[var\\(--beforeShift\\)\\]::before{\n content: var(--tw-content);\n bottom: calc(var(--beforeShift) * -1);\n}\n\n.before\\:-right-\\[1px\\]::before{\n content: var(--tw-content);\n right: -1px;\n}\n\n.before\\:-top-\\[2px\\]::before{\n content: var(--tw-content);\n top: -2px;\n}\n\n.before\\:left-0::before{\n content: var(--tw-content);\n left: 0px;\n}\n\n.before\\:start-0::before{\n content: var(--tw-content);\n inset-inline-start: 0px;\n}\n\n.before\\:top-0::before{\n content: var(--tw-content);\n top: 0px;\n}\n\n.before\\:-z-\\[1\\]::before{\n content: var(--tw-content);\n z-index: -1;\n}\n\n.before\\:box-border::before{\n content: var(--tw-content);\n box-sizing: border-box;\n}\n\n.before\\:block::before{\n content: var(--tw-content);\n display: block;\n}\n\n.before\\:h-3::before{\n content: var(--tw-content);\n height: 0.75rem;\n}\n\n.before\\:h-4::before{\n content: var(--tw-content);\n height: 1rem;\n}\n\n.before\\:h-\\[8px\\]::before{\n content: var(--tw-content);\n height: 8px;\n}\n\n.before\\:h-full::before{\n content: var(--tw-content);\n height: 100%;\n}\n\n.before\\:h-px::before{\n content: var(--tw-content);\n height: 1px;\n}\n\n.before\\:max-h-\\[8px\\]::before{\n content: var(--tw-content);\n max-height: 8px;\n}\n\n.before\\:w-3::before{\n content: var(--tw-content);\n width: 0.75rem;\n}\n\n.before\\:w-4::before{\n content: var(--tw-content);\n width: 1rem;\n}\n\n.before\\:w-\\[calc\\(100\\%\\+1px\\)\\]::before{\n content: var(--tw-content);\n width: calc(100% + 1px);\n}\n\n.before\\:w-full::before{\n content: var(--tw-content);\n width: 100%;\n}\n\n.before\\:w-px::before{\n content: var(--tw-content);\n width: 1px;\n}\n\n.before\\:rounded-full::before{\n content: var(--tw-content);\n border-radius: 9999px;\n}\n\n.before\\:bg-\\[color\\:var\\(--bodyBGColor\\)\\]::before{\n content: var(--tw-content);\n background-color: var(--bodyBGColor);\n}\n\n.before\\:bg-\\[color\\:var\\(--footerBGColor\\)\\]::before{\n content: var(--tw-content);\n background-color: var(--footerBGColor);\n}\n\n.before\\:bg-\\[color\\:var\\(--headerBGColor\\)\\]::before{\n content: var(--tw-content);\n background-color: var(--headerBGColor);\n}\n\n.before\\:bg-beerus::before{\n content: var(--tw-content);\n background-color: rgb(var(--beerus));\n}\n\n.before\\:bg-goten::before{\n content: var(--tw-content);\n background-color: rgb(var(--goten));\n}\n\n.before\\:opacity-0::before{\n content: var(--tw-content);\n opacity: 0;\n}\n\n.before\\:shadow-\\[0_2px_8px_0_rgba\\(0\\2c 0\\2c 0\\2c 0\\.16\\)\\]::before{\n content: var(--tw-content);\n --tw-shadow: 0 2px 8px 0 rgba(0,0,0,0.16);\n --tw-shadow-colored: 0 2px 8px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.before\\:transition-opacity::before{\n content: var(--tw-content);\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.before\\:content-\\[\\\'\\\'\\]::before{\n --tw-content: \'\';\n content: var(--tw-content);\n}\n\n.after\\:absolute::after{\n content: var(--tw-content);\n position: absolute;\n}\n\n.after\\:inset-y-0::after{\n content: var(--tw-content);\n top: 0px;\n bottom: 0px;\n}\n\n.after\\:-bottom-\\[6px\\]::after{\n content: var(--tw-content);\n bottom: -6px;\n}\n\n.after\\:-right-\\[1px\\]::after{\n content: var(--tw-content);\n right: -1px;\n}\n\n.after\\:-top-1::after{\n content: var(--tw-content);\n top: -0.25rem;\n}\n\n.after\\:bottom-0::after{\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.after\\:left-0::after{\n content: var(--tw-content);\n left: 0px;\n}\n\n.after\\:left-1\\/2::after{\n content: var(--tw-content);\n left: 50%;\n}\n\n.after\\:start-0::after{\n content: var(--tw-content);\n inset-inline-start: 0px;\n}\n\n.after\\:top-0::after{\n content: var(--tw-content);\n top: 0px;\n}\n\n.after\\:top-1\\/2::after{\n content: var(--tw-content);\n top: 50%;\n}\n\n.after\\:-z-\\[1\\]::after{\n content: var(--tw-content);\n z-index: -1;\n}\n\n.after\\:box-border::after{\n content: var(--tw-content);\n box-sizing: border-box;\n}\n\n.after\\:h-0::after{\n content: var(--tw-content);\n height: 0px;\n}\n\n.after\\:h-1::after{\n content: var(--tw-content);\n height: 0.25rem;\n}\n\n.after\\:h-2::after{\n content: var(--tw-content);\n height: 0.5rem;\n}\n\n.after\\:h-\\[2px\\]::after{\n content: var(--tw-content);\n height: 2px;\n}\n\n.after\\:h-full::after{\n content: var(--tw-content);\n height: 100%;\n}\n\n.after\\:h-px::after{\n content: var(--tw-content);\n height: 1px;\n}\n\n.after\\:w-0::after{\n content: var(--tw-content);\n width: 0px;\n}\n\n.after\\:w-10::after{\n content: var(--tw-content);\n width: 2.5rem;\n}\n\n.after\\:w-2::after{\n content: var(--tw-content);\n width: 0.5rem;\n}\n\n.after\\:w-full::after{\n content: var(--tw-content);\n width: 100%;\n}\n\n.after\\:w-px::after{\n content: var(--tw-content);\n width: 1px;\n}\n\n.after\\:-translate-x-1\\/2::after{\n content: var(--tw-content);\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.after\\:-translate-y-1\\/2::after{\n content: var(--tw-content);\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.after\\:scale-0::after{\n content: var(--tw-content);\n --tw-scale-x: 0;\n --tw-scale-y: 0;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.after\\:scale-x-0::after{\n content: var(--tw-content);\n --tw-scale-x: 0;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.after\\:scale-x-100::after{\n content: var(--tw-content);\n --tw-scale-x: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.after\\:scale-y-100::after{\n content: var(--tw-content);\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.after\\:rounded-full::after{\n content: var(--tw-content);\n border-radius: 9999px;\n}\n\n.after\\:rounded-e-lg::after{\n content: var(--tw-content);\n border-start-end-radius: 0.5rem;\n border-end-end-radius: 0.5rem;\n}\n\n.after\\:rounded-s-lg::after{\n content: var(--tw-content);\n border-start-start-radius: 0.5rem;\n border-end-start-radius: 0.5rem;\n}\n\n.after\\:border-x-4::after{\n content: var(--tw-content);\n border-left-width: 4px;\n border-right-width: 4px;\n}\n\n.after\\:border-t-\\[6px\\]::after{\n content: var(--tw-content);\n border-top-width: 6px;\n}\n\n.after\\:border-x-transparent::after{\n content: var(--tw-content);\n border-left-color: transparent;\n border-right-color: transparent;\n}\n\n.after\\:border-t-goten::after{\n content: var(--tw-content);\n border-top-color: rgb(var(--goten));\n}\n\n.after\\:bg-\\[color\\:var\\(--rowEvenColor\\)\\]::after{\n content: var(--tw-content);\n background-color: var(--rowEvenColor);\n}\n\n.after\\:bg-\\[color\\:var\\(--rowOddColor\\)\\]::after{\n content: var(--tw-content);\n background-color: var(--rowOddColor);\n}\n\n.after\\:bg-\\[color\\:var\\(--rowSelectColor\\)\\]::after{\n content: var(--tw-content);\n background-color: var(--rowSelectColor);\n}\n\n.after\\:bg-beerus::after{\n content: var(--tw-content);\n background-color: rgb(var(--beerus));\n}\n\n.after\\:bg-hit::after{\n content: var(--tw-content);\n background-color: rgb(var(--hit));\n}\n\n.after\\:bg-nappa::after{\n content: var(--tw-content);\n background-color: rgb(var(--nappa));\n}\n\n.after\\:bg-piccolo::after{\n content: var(--tw-content);\n background-color: rgb(var(--piccolo));\n}\n\n.after\\:transition-all::after{\n content: var(--tw-content);\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.after\\:transition-transform::after{\n content: var(--tw-content);\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.after\\:duration-300::after{\n content: var(--tw-content);\n transition-duration: 300ms;\n}\n\n.first\\:rounded-s-moon-s-sm:first-child{\n border-start-start-radius: var(--radius-s-sm);\n border-end-start-radius: var(--radius-s-sm);\n}\n\n.last\\:mb-0:last-child{\n margin-bottom: 0px;\n}\n\n.last\\:rounded-e-moon-s-sm:last-child{\n border-start-end-radius: var(--radius-s-sm);\n border-end-end-radius: var(--radius-s-sm);\n}\n\n.target\\:block:target{\n display: block;\n}\n\n.invalid\\:rounded-moon-i-sm:invalid{\n border-radius: var(--radius-i-sm);\n}\n\n.invalid\\:rounded-moon-i-xs:invalid{\n border-radius: var(--radius-i-xs);\n}\n\n.invalid\\:shadow-input-err:invalid{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:cursor-not-allowed:-moz-read-only{\n cursor: not-allowed;\n}\n\n.read-only\\:cursor-not-allowed:read-only{\n cursor: not-allowed;\n}\n\n.read-only\\:border-none:-moz-read-only{\n border-style: none;\n}\n\n.read-only\\:border-none:read-only{\n border-style: none;\n}\n\n.read-only\\:outline-0:-moz-read-only{\n outline-width: 0px;\n}\n\n.read-only\\:outline-0:read-only{\n outline-width: 0px;\n}\n\n.focus-within\\:after\\:hidden:focus-within::after{\n content: var(--tw-content);\n display: none;\n}\n\n.hover\\:z-1:hover{\n z-index: 1;\n}\n\n.hover\\:w-auto:hover{\n width: auto;\n}\n\n.hover\\:cursor-pointer:hover{\n cursor: pointer;\n}\n\n.hover\\:rounded-moon-i-sm:hover{\n border-radius: var(--radius-i-sm);\n}\n\n.hover\\:rounded-moon-i-xs:hover{\n border-radius: var(--radius-i-xs);\n}\n\n.hover\\:bg-black\\/20:hover{\n background-color: rgb(0 0 0 / 0.2);\n}\n\n.hover\\:bg-chichi-10:hover{\n background-color: rgb(var(--chichi-10));\n}\n\n.hover\\:bg-gohan:hover{\n background-color: rgb(var(--gohan));\n}\n\n.hover\\:bg-goku:hover{\n background-color: rgb(var(--goku));\n}\n\n.hover\\:bg-heles:hover{\n background-color: rgb(var(--heles));\n}\n\n.hover\\:bg-hit\\/30:hover{\n background-color: rgb(var(--hit) / 0.3);\n}\n\n.hover\\:bg-jiren:hover{\n background-color: rgb(var(--jiren));\n}\n\n.hover\\:bg-piccolo\\/20:hover{\n background-color: rgb(var(--piccolo) / 0.2);\n}\n\n.hover\\:bg-transparent:hover{\n background-color: transparent;\n}\n\n.hover\\:px-2:hover{\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.hover\\:text-bulma:hover{\n color: rgb(var(--bulma));\n}\n\n.hover\\:text-chichi:hover{\n color: rgb(var(--chichi));\n}\n\n.hover\\:text-hit:hover{\n color: rgb(var(--hit));\n}\n\n.hover\\:text-piccolo:hover{\n color: rgb(var(--piccolo));\n}\n\n.hover\\:underline:hover{\n text-decoration-line: underline;\n}\n\n.hover\\:shadow-input:hover{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-input-err:hover{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-input-focus:hover{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--piccolo)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-input-hov:hover{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--bulma) / 7%) inset, 0 0 0 var(--border-i-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color), inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-interactive:hover{\n --tw-shadow: 0 0 0 2px rgb(var(--piccolo)) inset;\n --tw-shadow-colored: inset 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-md:hover{\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-none:hover{\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-textarea-err:hover{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-textarea-hov:hover{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--bulma) / 7%), 0 0 0 var(--border-i-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color), 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.hover\\:shadow-bulma:hover{\n --tw-shadow-color: rgb(var(--bulma));\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n.hover\\:outline-piccolo:hover{\n outline-color: rgb(var(--piccolo));\n}\n\n.hover\\:ring-bulma:hover{\n --tw-ring-color: rgb(var(--bulma));\n}\n\n.hover\\:grayscale-0:hover{\n --tw-grayscale: grayscale(0);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.hover\\:after\\:hidden:hover::after{\n content: var(--tw-content);\n display: none;\n}\n\n.hover\\:after\\:scale-0:hover::after{\n content: var(--tw-content);\n --tw-scale-x: 0;\n --tw-scale-y: 0;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.hover\\:after\\:scale-100:hover::after{\n content: var(--tw-content);\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.invalid\\:hover\\:shadow-input-err:hover:invalid{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:hover\\:shadow-input:hover:-moz-read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:hover\\:shadow-input:hover:read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:hover\\:shadow-textarea:hover:-moz-read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:hover\\:shadow-textarea:hover:read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:rounded-moon-i-sm:focus{\n border-radius: var(--radius-i-sm);\n}\n\n.focus\\:rounded-moon-i-xs:focus{\n border-radius: var(--radius-i-xs);\n}\n\n.focus\\:border-0:focus{\n border-width: 0px;\n}\n\n.focus\\:bg-jiren:focus{\n background-color: rgb(var(--jiren));\n}\n\n.focus\\:shadow-focus:focus{\n --tw-shadow: 0 0 0 4px rgba(var(--piccolo), .13);\n --tw-shadow-colored: 0 0 0 4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-input:focus{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-input-err:focus{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-input-focus:focus{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--piccolo)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-none:focus{\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-textarea-err:focus{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:shadow-textarea-focus:focus{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--piccolo));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:outline-none:focus{\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:outline-krillin:focus{\n outline-color: rgb(var(--krillin));\n}\n\n.focus\\:ring-0:focus{\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.invalid\\:focus\\:shadow-input-err:focus:invalid{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus\\:shadow-input:focus:-moz-read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus\\:shadow-input:focus:read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus\\:shadow-textarea:focus:-moz-read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus\\:shadow-textarea:focus:read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus-visible\\:shadow-input-err:focus-visible{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus-visible\\:shadow-input-focus:focus-visible{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--piccolo)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus-visible\\:shadow-none:focus-visible{\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus-visible\\:outline-none:focus-visible{\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.invalid\\:focus-visible\\:shadow-input-err:focus-visible:invalid{\n --tw-shadow: 0 0 0 var(--border-i-width) rgb(var(--chichi)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus-visible\\:shadow-input:focus-visible:-moz-read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus-visible\\:shadow-input:focus-visible:read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus)) inset;\n --tw-shadow-colored: inset 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus-visible\\:shadow-textarea:focus-visible:-moz-read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.read-only\\:focus-visible\\:shadow-textarea:focus-visible:read-only{\n --tw-shadow: 0 0 0 var(--border-width) rgb(var(--beerus));\n --tw-shadow-colored: 0 0 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.active\\:scale-100:active{\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.active\\:scale-90:active{\n --tw-scale-x: .9;\n --tw-scale-y: .9;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.group\\/rows:hover .group-hover\\/rows\\:bg-\\[color\\:var\\(--rowHoverColor\\)\\]{\n background-color: var(--rowHoverColor);\n}\n\n.group\\/rows:hover .group-hover\\/rows\\:after\\:bg-\\[color\\:var\\(--rowHoverColor\\)\\]::after{\n content: var(--tw-content);\n background-color: var(--rowHoverColor);\n}\n\n.group\\/rows:active .group-active\\/rows\\:bg-\\[color\\:var\\(--rowActiveColor\\)\\]{\n background-color: var(--rowActiveColor);\n}\n\n.group\\/rows:active .group-active\\/rows\\:after\\:bg-\\[color\\:var\\(--rowActiveColor\\)\\]::after{\n content: var(--tw-content);\n background-color: var(--rowActiveColor);\n}\n\n.peer:checked ~ .peer-checked\\:bg-piccolo{\n background-color: rgb(var(--piccolo));\n}\n\n.peer:checked ~ .peer-checked\\:shadow-none{\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[disabled\\]\\:cursor-not-allowed[data-disabled]{\n cursor: not-allowed;\n}\n\n.data-\\[selected\\=true\\]\\:bg-heles[data-selected=true]{\n background-color: rgb(var(--heles));\n}\n\n.data-\\[disabled\\]\\:opacity-60[data-disabled]{\n opacity: 0.6;\n}\n\n@keyframes toast-hide{\n 0%{\n opacity: 1;\n }\n 100%{\n opacity: 0;\n }\n}\n\n.radix-state-closed\\:animate-toast-hide[data-state="closed"]{\n animation: toast-hide 300ms ease-in forwards;\n}\n\n@keyframes toast-slide-in-down{\n 0%{\n transform: translateY(calc(100% + 1rem));\n }\n 100%{\n transform: translateY(0);\n }\n}\n\n.radix-state-open\\:animate-toast-slide-in-down[data-state="open"]{\n animation: toast-slide-in-down 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n@keyframes toast-slide-in-up{\n 0%{\n transform: translateY(calc(-100% + 1rem));\n }\n 100%{\n transform: translateY(0);\n }\n}\n\n.radix-state-open\\:animate-toast-slide-in-up[data-state="open"]{\n animation: toast-slide-in-up 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n.radix-swipe-cancel\\:translate-x-0[data-swipe="cancel"]{\n --tw-translate-x: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.radix-swipe-cancel\\:duration-200[data-swipe="cancel"]{\n transition-duration: 200ms;\n}\n\n.radix-swipe-cancel\\:ease-\\[ease\\][data-swipe="cancel"]{\n transition-timing-function: ease;\n}\n\n@keyframes toast-swipe-out{\n 0%{\n transform: translateX(var(--radix-toast-swipe-end-x));\n }\n 100%{\n transform: translateX(calc(100% + 1rem));\n }\n}\n\n.radix-swipe-end\\:animate-toast-swipe-out[data-swipe="end"]{\n animation: toast-swipe-out 100ms ease-out forwards;\n}\n\n.moon-checked\\:border-nappa[aria-checked="true"]{\n border-color: rgb(var(--nappa));\n}\n\n.moon-checked\\:border-piccolo[aria-checked="true"]{\n border-color: rgb(var(--piccolo));\n}\n\n.moon-checked\\:bg-chichi[aria-checked="true"]{\n background-color: rgb(var(--chichi));\n}\n\n.moon-checked\\:bg-piccolo[aria-checked="true"]{\n background-color: rgb(var(--piccolo));\n}\n\n.moon-checked\\:bg-roshi[aria-checked="true"]{\n background-color: rgb(var(--roshi));\n}\n\n.moon-checked\\:shadow-none[aria-checked="true"]{\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.moon-checked\\:shadow-hit[aria-checked="true"]{\n --tw-shadow-color: rgb(var(--hit));\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n.moon-checked\\:shadow-piccolo[aria-checked="true"]{\n --tw-shadow-color: rgb(var(--piccolo));\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n.moon-checked\\:after\\:h-2[aria-checked="true"]::after{\n content: var(--tw-content);\n height: 0.5rem;\n}\n\n.moon-checked\\:after\\:w-2[aria-checked="true"]::after{\n content: var(--tw-content);\n width: 0.5rem;\n}\n\n.moon-checked\\:after\\:scale-100[aria-checked="true"]::after{\n content: var(--tw-content);\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n:where([aria-checked="true"]) .moon-checked\\:border-nappa{\n border-color: rgb(var(--nappa));\n}\n\n:where([aria-checked="true"]) .moon-checked\\:border-piccolo{\n border-color: rgb(var(--piccolo));\n}\n\n:where([aria-checked="true"]) .moon-checked\\:bg-chichi{\n background-color: rgb(var(--chichi));\n}\n\n:where([aria-checked="true"]) .moon-checked\\:bg-piccolo{\n background-color: rgb(var(--piccolo));\n}\n\n:where([aria-checked="true"]) .moon-checked\\:bg-roshi{\n background-color: rgb(var(--roshi));\n}\n\n:where([aria-checked="true"]) .moon-checked\\:shadow-none{\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n:where([aria-checked="true"]) .moon-checked\\:shadow-hit{\n --tw-shadow-color: rgb(var(--hit));\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n:where([aria-checked="true"]) .moon-checked\\:shadow-piccolo{\n --tw-shadow-color: rgb(var(--piccolo));\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n:where([aria-checked="true"]) .moon-checked\\:after\\:h-2::after{\n content: var(--tw-content);\n height: 0.5rem;\n}\n\n:where([aria-checked="true"]) .moon-checked\\:after\\:w-2::after{\n content: var(--tw-content);\n width: 0.5rem;\n}\n\n:where([aria-checked="true"]) .moon-checked\\:after\\:scale-100::after{\n content: var(--tw-content);\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.moon-selected\\:bg-hit\\/30[aria-selected="true"]{\n background-color: rgb(var(--hit) / 0.3);\n}\n\n.moon-selected\\:text-hit[aria-selected="true"]{\n color: rgb(var(--hit));\n}\n\n:where([aria-selected="true"]) .moon-selected\\:bg-hit\\/30{\n background-color: rgb(var(--hit) / 0.3);\n}\n\n:where([aria-selected="true"]) .moon-selected\\:text-hit{\n color: rgb(var(--hit));\n}\n\n.moon-disabled\\:cursor-default[aria-disabled="true"]{\n cursor: default;\n}\n\n.moon-disabled\\:cursor-not-allowed[aria-disabled="true"]{\n cursor: not-allowed;\n}\n\n.moon-disabled\\:opacity-30[aria-disabled="true"]{\n opacity: 0.3;\n}\n\n.moon-disabled\\:opacity-60[aria-disabled="true"]{\n opacity: 0.6;\n}\n\n:where([aria-disabled="true"]) .moon-disabled\\:cursor-default{\n cursor: default;\n}\n\n:where([aria-disabled="true"]) .moon-disabled\\:cursor-not-allowed{\n cursor: not-allowed;\n}\n\n:where([aria-disabled="true"]) .moon-disabled\\:opacity-30{\n opacity: 0.3;\n}\n\n:where([aria-disabled="true"]) .moon-disabled\\:opacity-60{\n opacity: 0.6;\n}\n\n.moon-open\\:flex[aria-open="true"]{\n display: flex;\n}\n\n.moon-open\\:rounded-b-none[aria-open="true"]{\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n.moon-open\\:text-bulma[aria-open="true"]{\n color: rgb(var(--bulma));\n}\n\n:where([aria-open="true"]) .moon-open\\:flex{\n display: flex;\n}\n\n:where([aria-open="true"]) .moon-open\\:rounded-b-none{\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n:where([aria-open="true"]) .moon-open\\:text-bulma{\n color: rgb(var(--bulma));\n}\n\n.moon-open\\:flex[data-state="open"]{\n display: flex;\n}\n\n.moon-open\\:rounded-b-none[data-state="open"]{\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n.moon-open\\:text-bulma[data-state="open"]{\n color: rgb(var(--bulma));\n}\n\n:where([data-state="open"]) .moon-open\\:flex{\n display: flex;\n}\n\n:where([data-state="open"]) .moon-open\\:rounded-b-none{\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n:where([data-state="open"]) .moon-open\\:text-bulma{\n color: rgb(var(--bulma));\n}\n\n@media (hover: hover){\n .hover-supported\\:hover\\:bg-chichi-10:hover{\n background-color: rgb(var(--chichi-10));\n }\n .hover-supported\\:hover\\:text-bulma:hover{\n color: rgb(var(--bulma));\n }\n .hover-supported\\:hover\\:ring-bulma:hover{\n --tw-ring-color: rgb(var(--bulma));\n }\n}\n\n@media not all and (min-width: 640px){\n .max-sm\\:hidden{\n display: none;\n }\n}\n\n@media (min-width: 640px){\n .sm\\:max-w-lg{\n max-width: 32rem;\n }\n}\n\n@media (min-width: 768px){\n .md\\:m-auto{\n margin: auto;\n }\n .md\\:w-fit{\n width: -moz-fit-content;\n width: fit-content;\n }\n .md\\:max-w-xl{\n max-width: 36rem;\n }\n .md\\:grid-cols-2{\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n@media (min-width: 1024px){\n .lg\\:fixed{\n position: fixed;\n }\n .lg\\:bottom-auto{\n bottom: auto;\n }\n .lg\\:ms-72{\n margin-inline-start: 18rem;\n }\n .lg\\:block{\n display: block;\n }\n .lg\\:flex{\n display: flex;\n }\n .lg\\:grid{\n display: grid;\n }\n .lg\\:hidden{\n display: none;\n }\n .lg\\:h-10{\n height: 2.5rem;\n }\n .lg\\:h-\\[72px\\]{\n height: 72px;\n }\n .lg\\:w-10{\n width: 2.5rem;\n }\n .lg\\:w-72{\n width: 18rem;\n }\n .lg\\:max-w-md{\n max-width: 28rem;\n }\n .lg\\:basis-32{\n flex-basis: 8rem;\n }\n .lg\\:-translate-y-1\\/2{\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n }\n .lg\\:grid-cols-3{\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .lg\\:flex-row{\n flex-direction: row;\n }\n .lg\\:items-start{\n align-items: flex-start;\n }\n .lg\\:items-end{\n align-items: flex-end;\n }\n .lg\\:justify-center{\n justify-content: center;\n }\n .lg\\:gap-2{\n gap: 0.5rem;\n }\n .lg\\:gap-4{\n gap: 1rem;\n }\n .lg\\:gap-6{\n gap: 1.5rem;\n }\n .lg\\:rounded-b-moon-s-md{\n border-bottom-right-radius: var(--radius-s-md);\n border-bottom-left-radius: var(--radius-s-md);\n }\n .lg\\:border-e{\n border-inline-end-width: 1px;\n }\n .lg\\:border-beerus{\n border-color: rgb(var(--beerus));\n }\n .lg\\:p-0{\n padding: 0px;\n }\n .lg\\:p-2{\n padding: 0.5rem;\n }\n .lg\\:p-6{\n padding: 1.5rem;\n }\n .lg\\:px-0{\n padding-left: 0px;\n padding-right: 0px;\n }\n .lg\\:\\!pe-12{\n padding-inline-end: 3rem !important;\n }\n .lg\\:pb-12{\n padding-bottom: 3rem;\n }\n .lg\\:pe-6{\n padding-inline-end: 1.5rem;\n }\n .lg\\:ps-6{\n padding-inline-start: 1.5rem;\n }\n .lg\\:text-moon-40{\n font-size: 2.5rem;\n line-height: 3rem;\n letter-spacing: -0.03125rem;\n }\n}\n\n@media (min-width: 1280px){\n .xl\\:mx-32{\n margin-left: 8rem;\n margin-right: 8rem;\n }\n .xl\\:me-64{\n margin-inline-end: 16rem;\n }\n .xl\\:block{\n display: block;\n }\n .xl\\:grid-cols-4{\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n .xl\\:flex-row{\n flex-direction: row;\n }\n .xl\\:flex-nowrap{\n flex-wrap: nowrap;\n }\n}\n\n@media (min-width: 1536px){\n .\\32xl\\:grid-cols-3{\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n\n.ltr\\:left-0:where([dir="ltr"], [dir="ltr"] *){\n left: 0px;\n}\n\n.ltr\\:left-\\[calc\\(100\\%-12px\\)\\]:where([dir="ltr"], [dir="ltr"] *){\n left: calc(100% - 12px);\n}\n\n.ltr\\:left-\\[calc\\(100\\%-16px\\)\\]:where([dir="ltr"], [dir="ltr"] *){\n left: calc(100% - 16px);\n}\n\n.ltr\\:left-\\[calc\\(100\\%-24px\\)\\]:where([dir="ltr"], [dir="ltr"] *){\n left: calc(100% - 24px);\n}\n\n.ltr\\:right-0:where([dir="ltr"], [dir="ltr"] *){\n right: 0px;\n}\n\n.ltr\\:-translate-x-full:where([dir="ltr"], [dir="ltr"] *){\n --tw-translate-x: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ltr\\:translate-x-full:where([dir="ltr"], [dir="ltr"] *){\n --tw-translate-x: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ltr\\:after\\:origin-top-left:where([dir="ltr"], [dir="ltr"] *)::after{\n content: var(--tw-content);\n transform-origin: top left;\n}\n\n.ltr\\:invalid\\:rounded-moon-i-sm:invalid:where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.ltr\\:invalid\\:rounded-moon-i-xs:invalid:where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.ltr\\:hover\\:after\\:origin-top-left:hover:where([dir="ltr"], [dir="ltr"] *)::after{\n content: var(--tw-content);\n transform-origin: top left;\n}\n\n@keyframes toast-slide-in-left{\n 0%{\n transform: translateX(calc(-100% + 1rem));\n }\n 100%{\n transform: translateX(0);\n }\n}\n\n.ltr\\:radix-state-open\\:animate-toast-slide-in-left[data-state="open"]:where([dir="ltr"], [dir="ltr"] *){\n animation: toast-slide-in-left 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n@keyframes toast-slide-in-right{\n 0%{\n transform: translateX(calc(100% + 1rem));\n }\n 100%{\n transform: translateX(0);\n }\n}\n\n.ltr\\:radix-state-open\\:animate-toast-slide-in-right[data-state="open"]:where([dir="ltr"], [dir="ltr"] *){\n animation: toast-slide-in-right 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n.rtl\\:left-0:where([dir="rtl"], [dir="rtl"] *){\n left: 0px;\n}\n\n.rtl\\:right-0:where([dir="rtl"], [dir="rtl"] *){\n right: 0px;\n}\n\n.rtl\\:right-\\[calc\\(100\\%-12px\\)\\]:where([dir="rtl"], [dir="rtl"] *){\n right: calc(100% - 12px);\n}\n\n.rtl\\:right-\\[calc\\(100\\%-16px\\)\\]:where([dir="rtl"], [dir="rtl"] *){\n right: calc(100% - 16px);\n}\n\n.rtl\\:right-\\[calc\\(100\\%-24px\\)\\]:where([dir="rtl"], [dir="rtl"] *){\n right: calc(100% - 24px);\n}\n\n.rtl\\:-translate-x-full:where([dir="rtl"], [dir="rtl"] *){\n --tw-translate-x: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rtl\\:translate-x-full:where([dir="rtl"], [dir="rtl"] *){\n --tw-translate-x: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rtl\\:rotate-180:where([dir="rtl"], [dir="rtl"] *){\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rtl\\:-scale-x-100:where([dir="rtl"], [dir="rtl"] *){\n --tw-scale-x: -1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rtl\\:flex-row-reverse:where([dir="rtl"], [dir="rtl"] *){\n flex-direction: row-reverse;\n}\n\n.rtl\\:after\\:origin-top-right:where([dir="rtl"], [dir="rtl"] *)::after{\n content: var(--tw-content);\n transform-origin: top right;\n}\n\n.rtl\\:invalid\\:rounded-moon-i-sm:invalid:where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.rtl\\:invalid\\:rounded-moon-i-xs:invalid:where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.rtl\\:hover\\:after\\:origin-top-right:hover:where([dir="rtl"], [dir="rtl"] *)::after{\n content: var(--tw-content);\n transform-origin: top right;\n}\n\n@keyframes toast-slide-in-left{\n 0%{\n transform: translateX(calc(-100% + 1rem));\n }\n 100%{\n transform: translateX(0);\n }\n}\n\n.rtl\\:radix-state-open\\:animate-toast-slide-in-left[data-state="open"]:where([dir="rtl"], [dir="rtl"] *){\n animation: toast-slide-in-left 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n@keyframes toast-slide-in-right{\n 0%{\n transform: translateX(calc(100% + 1rem));\n }\n 100%{\n transform: translateX(0);\n }\n}\n\n.rtl\\:radix-state-open\\:animate-toast-slide-in-right[data-state="open"]:where([dir="rtl"], [dir="rtl"] *){\n animation: toast-slide-in-right 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n.\\[\\&\\:has\\(input\\:not\\(\\:disabled\\)\\:not\\(\\:-moz-read-only\\)\\:focus\\)_\\+_\\.last-element\\:before\\]\\:opacity-0:has(input:not(:disabled):not(:-moz-read-only):focus) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:has\\(input\\:not\\(\\:disabled\\)\\:not\\(\\:read-only\\)\\:focus\\)_\\+_\\.last-element\\:before\\]\\:opacity-0:has(input:not(:disabled):not(:read-only):focus) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:has\\(input\\:not\\(\\:disabled\\)\\:not\\(\\:-moz-read-only\\)\\:hover\\)_\\+_\\.last-element\\:before\\]\\:opacity-0:has(input:not(:disabled):not(:-moz-read-only):hover) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:has\\(input\\:not\\(\\:disabled\\)\\:not\\(\\:read-only\\)\\:hover\\)_\\+_\\.last-element\\:before\\]\\:opacity-0:has(input:not(:disabled):not(:read-only):hover) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:has\\(select\\:not\\(\\:disabled\\)\\:focus\\)_\\+_\\.last-element\\:before\\]\\:opacity-0:has(select:not(:disabled):focus) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:has\\(select\\:not\\(\\:disabled\\)\\:hover\\)_\\+_\\.last-element\\:before\\]\\:opacity-0:has(select:not(:disabled):hover) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:hover_svg\\]\\:opacity-100:hover svg{\n opacity: 1;\n}\n\n.\\[\\&\\:local-link\\]\\:text-piccolo:local-link{\n color: rgb(var(--piccolo));\n}\n\n.\\[\\&\\:local-link\\]\\:after\\:scale-x-100:local-link::after{\n content: var(--tw-content);\n --tw-scale-x: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ltr\\:\\[\\&\\:local-link\\]\\:after\\:origin-top-left:local-link:where([dir="ltr"], [dir="ltr"] *)::after{\n content: var(--tw-content);\n transform-origin: top left;\n}\n\n.rtl\\:\\[\\&\\:local-link\\]\\:after\\:origin-top-right:local-link:where([dir="rtl"], [dir="rtl"] *)::after{\n content: var(--tw-content);\n transform-origin: top right;\n}\n\n.\\[\\&\\:not\\(\\:-moz-read-only\\)\\:not\\(\\:disabled\\)_\\+_\\.last-element\\:before\\]\\:hover\\:opacity-0:hover:not(:-moz-read-only):not(:disabled) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:not\\(\\:read-only\\)\\:not\\(\\:disabled\\)_\\+_\\.last-element\\:before\\]\\:hover\\:opacity-0:hover:not(:read-only):not(:disabled) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:not\\(\\:-moz-read-only\\)\\:not\\(\\:disabled\\)_\\+_\\.last-element\\:before\\]\\:focus\\:opacity-0:focus:not(:-moz-read-only):not(:disabled) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:not\\(\\:read-only\\)\\:not\\(\\:disabled\\)_\\+_\\.last-element\\:before\\]\\:focus\\:opacity-0:focus:not(:read-only):not(:disabled) + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&\\:not\\(\\:target\\)\\]\\:hidden:not(:target){\n display: none;\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:hover\\:rounded-moon-i-sm:hover:not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:hover\\:rounded-moon-i-xs:hover:not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:focus\\:rounded-moon-i-sm:focus:not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:focus\\:rounded-moon-i-xs:focus:not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:hover\\:rounded-moon-i-sm:hover:not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:hover\\:rounded-moon-i-xs:hover:not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:focus\\:rounded-moon-i-sm:focus:not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:focus\\:rounded-moon-i-xs:focus:not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:hover\\:rounded-moon-i-sm:hover:not([readonly]):not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:hover\\:rounded-moon-i-xs:hover:not([readonly]):not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:focus\\:rounded-moon-i-sm:focus:not([readonly]):not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.ltr\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:focus\\:rounded-moon-i-xs:focus:not([readonly]):not([disabled]):where([dir="ltr"], [dir="ltr"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:hover\\:rounded-moon-i-sm:hover:not([readonly]):not([readonly]):not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:hover\\:rounded-moon-i-sm:hover:not([readonly]):not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:hover\\:rounded-moon-i-xs:hover:not([readonly]):not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:focus\\:rounded-moon-i-sm:focus:not([readonly]):not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-sm);\n}\n\n.rtl\\:\\[\\&\\:not\\(\\[disabled\\]\\)\\]\\:\\[\\&\\:not\\(\\[readonly\\]\\)\\]\\:focus\\:rounded-moon-i-xs:focus:not([readonly]):not([disabled]):where([dir="rtl"], [dir="rtl"] *){\n border-radius: var(--radius-i-xs);\n}\n\n.\\[\\&\\>\\*\\]\\:flex-\\[0_0_auto\\]>*{\n flex: 0 0 auto;\n}\n\n@media (hover: hover){\n .hover-supported\\:\\[\\&\\>\\.hover\\]\\:hover\\:bg-heles:hover>.hover{\n background-color: rgb(var(--heles));\n }\n .hover-supported\\:\\[\\&\\>\\.hover\\]\\:hover\\:bg-jiren:hover>.hover{\n background-color: rgb(var(--jiren));\n }\n}\n\n.\\[\\&\\>div\\]\\:max-w-full>div{\n max-width: 100%;\n}\n\n.\\[\\&\\>img\\]\\:h-full>img{\n height: 100%;\n}\n\n.\\[\\&\\>img\\]\\:w-auto>img{\n width: auto;\n}\n\n.\\[\\&\\>img\\]\\:basis-auto>img{\n flex-basis: auto;\n}\n\n.\\[\\&\\>li\\]\\:list-none>li{\n list-style-type: none;\n}\n\n.\\[\\&\\>li\\]\\:before\\:absolute>li::before{\n content: var(--tw-content);\n position: absolute;\n}\n\n.\\[\\&\\>li\\]\\:before\\:content-\\[\\"\\\\\\\\200B\\"\\]>li::before{\n --tw-content: "\\\\200B";\n content: var(--tw-content);\n}\n\n.\\[\\&\\[data-placement\\=\\\'bottom\\\'\\]\\]\\:-top-\\[5px\\][data-placement=\'bottom\']{\n top: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'bottom-end\\\'\\]\\]\\:-top-\\[5px\\][data-placement=\'bottom-end\']{\n top: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'bottom-start\\\'\\]\\]\\:-top-\\[5px\\][data-placement=\'bottom-start\']{\n top: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'left\\\'\\]\\]\\:-right-\\[5px\\][data-placement=\'left\']{\n right: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'left-end\\\'\\]\\]\\:-right-\\[5px\\][data-placement=\'left-end\']{\n right: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'left-start\\\'\\]\\]\\:-right-\\[5px\\][data-placement=\'left-start\']{\n right: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'right\\\'\\]\\]\\:-left-\\[5px\\][data-placement=\'right\']{\n left: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'right-end\\\'\\]\\]\\:-left-\\[5px\\][data-placement=\'right-end\']{\n left: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'right-start\\\'\\]\\]\\:-left-\\[5px\\][data-placement=\'right-start\']{\n left: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'top\\\'\\]\\]\\:-bottom-\\[5px\\][data-placement=\'top\']{\n bottom: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'top-end\\\'\\]\\]\\:-bottom-\\[5px\\][data-placement=\'top-end\']{\n bottom: -5px;\n}\n\n.\\[\\&\\[data-placement\\=\\\'top-start\\\'\\]\\]\\:-bottom-\\[5px\\][data-placement=\'top-start\']{\n bottom: -5px;\n}\n\n.\\[\\&\\[open\\]_summary\\]\\:rounded-b-none[open] summary{\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n.\\[\\&\\[open\\]_svg\\]\\:rotate-180[open] svg{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.\\[\\&\\[open\\]_svg\\]\\:text-bulma[open] svg{\n color: rgb(var(--bulma));\n}\n\n.\\[\\&_\\+_\\.last-element\\:before\\]\\:opacity-0 + .last-element:before{\n opacity: 0;\n}\n\n.\\[\\&_\\+_span\\]\\:active\\:scale-90:active + span{\n --tw-scale-x: .9;\n --tw-scale-y: .9;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.\\[\\&_\\.background\\]\\:stroke-whis .background{\n stroke: rgb(var(--whis));\n}\n\n.\\[\\&_\\.bottomsheet-title\\]\\:pt-2 .bottomsheet-title{\n padding-top: 0.5rem;\n}\n\n.\\[\\&_\\.content-outside\\]\\:mt-2 .content-outside{\n margin-top: 0.5rem;\n}\n\n.\\[\\&_\\.content-outside\\]\\:mt-3 .content-outside{\n margin-top: 0.75rem;\n}\n\n.\\[\\&_\\.content-outside\\]\\:mt-4 .content-outside{\n margin-top: 1rem;\n}\n\n.\\[\\&_\\.hover\\]\\:hover\\:bg-heles:hover .hover{\n background-color: rgb(var(--heles));\n}\n\n.\\[\\&_\\.moon-search-result\\]\\:top-10 .moon-search-result{\n top: 2.5rem;\n}\n\n.\\[\\&_\\.moon-search-transition\\>\\.moon-search-result\\]\\:top-0 .moon-search-transition>.moon-search-result{\n top: 0px;\n}\n\n.\\[\\&_\\.progress\\]\\:bg-dodoria .progress{\n background-color: rgb(var(--dodoria));\n}\n\n.\\[\\&_\\.progress\\]\\:stroke-dodoria .progress{\n stroke: rgb(var(--dodoria));\n}\n\n.\\[\\&_\\.status\\]\\:h-2 .status{\n height: 0.5rem;\n}\n\n.\\[\\&_\\.status\\]\\:h-3 .status{\n height: 0.75rem;\n}\n\n.\\[\\&_\\.status\\]\\:h-4 .status{\n height: 1rem;\n}\n\n.\\[\\&_\\.status\\]\\:w-2 .status{\n width: 0.5rem;\n}\n\n.\\[\\&_\\.status\\]\\:w-3 .status{\n width: 0.75rem;\n}\n\n.\\[\\&_\\.status\\]\\:w-4 .status{\n width: 1rem;\n}\n\n.\\[\\&_\\.status\\]\\:border .status{\n border-width: 1px;\n}\n\n.\\[\\&_\\.status\\]\\:border-2 .status{\n border-width: 2px;\n}\n\n.\\[\\&_\\:\\:-webkit-details-marker\\]\\:hidden ::-webkit-details-marker{\n display: none;\n}\n\n.\\[\\&_\\>_span\\]\\:gap-4 > span{\n gap: 1rem;\n}\n\n.\\[\\&_input\\]\\:rounded-b-none input{\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n.\\[\\&_input\\]\\:rounded-e-none input{\n border-start-end-radius: 0px;\n border-end-end-radius: 0px;\n}\n\n.\\[\\&_input\\]\\:rounded-s-none input{\n border-start-start-radius: 0px;\n border-end-start-radius: 0px;\n}\n\n.\\[\\&_input\\]\\:rounded-t-none input{\n border-top-left-radius: 0px;\n border-top-right-radius: 0px;\n}\n\n.\\[\\&_input\\]\\:text-piccolo input{\n color: rgb(var(--piccolo));\n}\n\n.\\[\\&_select\\]\\:\\!rounded-b-none select{\n border-bottom-right-radius: 0px !important;\n border-bottom-left-radius: 0px !important;\n}\n\n.\\[\\&_select\\]\\:\\!rounded-e-none select{\n border-start-end-radius: 0px !important;\n border-end-end-radius: 0px !important;\n}\n\n.\\[\\&_select\\]\\:\\!rounded-s-none select{\n border-start-start-radius: 0px !important;\n border-end-start-radius: 0px !important;\n}\n\n.\\[\\&_select\\]\\:\\!rounded-t-none select{\n border-top-left-radius: 0px !important;\n border-top-right-radius: 0px !important;\n}\n\n.\\[\\&_select\\]\\:bg-beerus select{\n background-color: rgb(var(--beerus));\n}\n\n.\\[\\&_select\\]\\:bg-frieza-10 select{\n background-color: rgb(var(--frieza-10));\n}\n\n.\\[\\&_select\\]\\:text-piccolo select{\n color: rgb(var(--piccolo));\n}\n\n.moon-open\\:\\[\\&_span_svg\\]\\:rotate-180 span svg[aria-open="true"]{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n:where([aria-open="true"]) .moon-open\\:\\[\\&_span_svg\\]\\:rotate-180 span svg{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.moon-open\\:\\[\\&_span_svg\\]\\:rotate-180 span svg[data-state="open"]{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n:where([data-state="open"]) .moon-open\\:\\[\\&_span_svg\\]\\:rotate-180 span svg{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.\\[\\&_summary\\]\\:p-2 summary{\n padding: 0.5rem;\n}\n\n.\\[\\&_summary\\]\\:p-3 summary{\n padding: 0.75rem;\n}\n\n.\\[\\&_summary\\]\\:p-4 summary{\n padding: 1rem;\n}\n\n.\\[\\&_summary\\]\\:ps-3 summary{\n padding-inline-start: 0.75rem;\n}\n\n.\\[\\&_summary_svg\\]\\:text-moon-16 summary svg{\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.\\[\\&_summary_svg\\]\\:text-moon-24 summary svg{\n font-size: 1.5rem;\n line-height: 2rem;\n}\n\n.\\[\\&_svg\\]\\:text-moon-16 svg{\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.\\[\\&_svg\\]\\:text-piccolo svg{\n color: rgb(var(--piccolo));\n}\n\n.\\[\\&_svg\\]\\:text-trunks svg{\n color: rgb(var(--trunks));\n}\n\n.\\[\\&_svg\\]\\:opacity-0 svg{\n opacity: 0;\n}\n\n.\\[\\&_svg\\]\\:transition svg{\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.peer:checked ~ .peer-checked\\:\\[\\&_svg\\]\\:opacity-100 svg{\n opacity: 1;\n}\n\n.moon-open\\:\\[\\&_svg\\]\\:rotate-180 svg[aria-open="true"]{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n:where([aria-open="true"]) .moon-open\\:\\[\\&_svg\\]\\:rotate-180 svg{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.moon-open\\:\\[\\&_svg\\]\\:rotate-180 svg[data-state="open"]{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n:where([data-state="open"]) .moon-open\\:\\[\\&_svg\\]\\:rotate-180 svg{\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.\\[\\&_td\\]\\:px-2 td{\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.\\[\\&_td\\]\\:px-3 td{\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.\\[\\&_td\\]\\:py-1 td{\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.\\[\\&_td\\]\\:py-2 td{\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.\\[\\&_td\\]\\:py-3 td{\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.\\[\\&_td\\]\\:py-4 td{\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.\\[\\&_td\\]\\:py-5 td{\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.\\[\\&_td\\]\\:text-moon-12 td{\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.\\[\\&_td\\]\\:text-moon-14 td{\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n\n.\\[\\&_th\\]\\:px-2 th{\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.\\[\\&_th\\]\\:px-3 th{\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.\\[\\&_th\\]\\:py-1 th{\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.\\[\\&_th\\]\\:py-2 th{\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.\\[\\&_th\\]\\:py-3 th{\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.\\[\\&_th\\]\\:py-4 th{\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.\\[\\&_th\\]\\:py-5 th{\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.\\[\\&_th\\]\\:text-moon-12 th{\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.\\[\\&_th\\]\\:text-moon-14 th{\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n\n.disabled .\\[\\.disabled_\\&\\]\\:pointer-events-none{\n pointer-events: none;\n}\n', - "", - { - version: 3, - sources: ["webpack://./app/globals.css"], - names: [], - mappings: - "AACA;;CAAc;AAAd;;;CAAc;AAAd;;;EAAA,sBAAc,EAAd,MAAc;EAAd,eAAc,EAAd,MAAc;EAAd,mBAAc,EAAd,MAAc;EAAd,qBAAc,EAAd,MAAc;AAAA;AAAd;;EAAA,gBAAc;AAAA;AAAd;;;;;;;;CAAc;AAAd;;EAAA,gBAAc,EAAd,MAAc;EAAd,8BAAc,EAAd,MAAc;EAAd,gBAAc,EAAd,MAAc;EAAd,cAAc;KAAd,WAAc,EAAd,MAAc;EAAd,+HAAc,EAAd,MAAc;EAAd,6BAAc,EAAd,MAAc;EAAd,+BAAc,EAAd,MAAc;EAAd,wCAAc,EAAd,MAAc;AA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;EAhDA,wJAgDA;EAhDA,iLAgDA;EAhDA,wDAgDA;EAhDA;AAgDA;;AAhDA;EAAA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,qBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,iBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,kBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,qBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,iBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,oBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,kBAgDA;EAhDA;AAgDA;;AAhDA;EAAA,mBAgDA;EAhDA;AAgDA;;AAhDA;EAAA;AAgDA", - sourcesContent: [ - "@import \"./themes.css\";\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n/* @font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n unicode-range: 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD';\n src: local('DMSans-Regular'), local('DM Sans Regular'),\n url('./fonts/DMSans-Regular.woff2') format('woff2');\n}\n\n@font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n unicode-range: 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD';\n src: local('DMSans-Semibold'), local('DM Sans Semibold'),\n url('./fonts/DMSans-Semibold.woff2') format('woff2');\n} */\n\nhtml,\nbody {\n font-family:\n \"DM Sans\",\n -apple-system,\n BlinkMacSystemFont,\n Segoe UI,\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n Fira Sans,\n Droid Sans,\n Helvetica Neue,\n sans-serif;\n /* Prevent automatic zooming of fonts on some mobile devices. */\n text-size-adjust: none;\n text-rendering: optimizeLegibility;\n /* Consistent font display behavior on OSX. */\n -webkit-font-smoothing: antialiased;\n /* Consistent font display behavior on OSX. */\n -moz-osx-font-smoothing: grayscale;\n}\n", - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!./app/themes.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_betadda_css__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/betadda.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_bitcasinoNew_css__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/bitcasinoNew.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_bombayClub_css__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/bombayClub.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_comms_css__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/comms.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_empire_css__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/empire.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_hub88_css__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/hub88.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_lab_css__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/lab.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_livecasino_css__WEBPACK_IMPORTED_MODULE_9__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/livecasino.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_moon_css__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/moon.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_partners_css__WEBPACK_IMPORTED_MODULE_11__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/partners.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_sportsbet_css__WEBPACK_IMPORTED_MODULE_12__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/sportsbet.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_tradeart_css__WEBPACK_IMPORTED_MODULE_13__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/tradeart.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_tradeartMiniBetting_css__WEBPACK_IMPORTED_MODULE_14__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/tradeartMiniBetting.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_travel_css__WEBPACK_IMPORTED_MODULE_15__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/travel.css", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_pay_css__WEBPACK_IMPORTED_MODULE_16__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/pay.css", - ), - ___CSS_LOADER_EXPORT___ = - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_betadda_css__WEBPACK_IMPORTED_MODULE_2__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_bitcasinoNew_css__WEBPACK_IMPORTED_MODULE_3__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_bombayClub_css__WEBPACK_IMPORTED_MODULE_4__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_comms_css__WEBPACK_IMPORTED_MODULE_5__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_empire_css__WEBPACK_IMPORTED_MODULE_6__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_hub88_css__WEBPACK_IMPORTED_MODULE_7__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_lab_css__WEBPACK_IMPORTED_MODULE_8__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_livecasino_css__WEBPACK_IMPORTED_MODULE_9__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_moon_css__WEBPACK_IMPORTED_MODULE_10__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_partners_css__WEBPACK_IMPORTED_MODULE_11__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_sportsbet_css__WEBPACK_IMPORTED_MODULE_12__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_tradeart_css__WEBPACK_IMPORTED_MODULE_13__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_tradeartMiniBetting_css__WEBPACK_IMPORTED_MODULE_14__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_travel_css__WEBPACK_IMPORTED_MODULE_15__.A, - ), - ___CSS_LOADER_EXPORT___.i( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_6_use_1_node_modules_pnpm_postcss_loader_8_1_1_postcss_8_4_49_typescript_5_3_2_webpack_5_97_1_node_modules_postcss_loader_dist_cjs_js_packages_themes_lib_pay_css__WEBPACK_IMPORTED_MODULE_16__.A, - ), - ___CSS_LOADER_EXPORT___.push([ - module.id, - "\n", - "", - { - version: 3, - sources: [], - names: [], - mappings: "", - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/betadda.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-betadda-light,\n.theme-betadda-light {\n --piccolo: 255 153 51; /* #FF9933 */\n --hit: 28 163 15; /* #1CA30F */\n --beerus: 228 230 233; /* #E4E6E9 */\n --gohan: 242 243 247; /* #F2F3F7; */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 26 33 42; /* #1a212a */\n --trunks: 99 113 123; /* #63717B */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 153 51 / 0.12; /* #ff9933 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-betadda-dark,\n.theme-betadda-dark {\n --piccolo: 255 153 51; /* #FF9933 */\n --hit: 28 163 15; /* #1CA30F */\n --beerus: 64 70 79; /* #40464F */\n --goku: 50 56 65; /* #323841 */\n --gohan: 26 33 42; /* #1A212A */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 151 162 174; /* #97A2AE */\n --goten: 255 255 255; /* #ffffff */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 153 51 / 0.12; /* #ff9933 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/betadda.css"], - names: [], - mappings: - "AAAA;;EAEE,qBAAqB,EAAE,YAAY;EACnC,gBAAgB,EAAE,YAAY;EAC9B,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,aAAa;EACnC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,oBAAoB,EAAE,YAAY;EAClC,aAAa,EAAE,YAAY;EAC3B,0BAA0B,EAAE,YAAY;EACxC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;;EAElC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,iBAAiB,EAAE,YAAY;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C1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,iBAAiB,EAAE,YAAY;EAC/B,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,YAAY;;EAEzC,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,kBAAkB;EAClB,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,wEAAwE;EACxE,0EAA0E;EAC1E,0EAA0E;EAC1E,0EAA0E;AAC5E", - sourcesContent: [ - ':root.theme-betadda-light,\n.theme-betadda-light {\n --piccolo: 255 153 51; /* #FF9933 */\n --hit: 28 163 15; /* #1CA30F */\n --beerus: 228 230 233; /* #E4E6E9 */\n --gohan: 242 243 247; /* #F2F3F7; */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 26 33 42; /* #1a212a */\n --trunks: 99 113 123; /* #63717B */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 153 51 / 0.12; /* #ff9933 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-betadda-dark,\n.theme-betadda-dark {\n --piccolo: 255 153 51; /* #FF9933 */\n --hit: 28 163 15; /* #1CA30F */\n --beerus: 64 70 79; /* #40464F */\n --goku: 50 56 65; /* #323841 */\n --gohan: 26 33 42; /* #1A212A */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 151 162 174; /* #97A2AE */\n --goten: 255 255 255; /* #ffffff */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 153 51 / 0.12; /* #ff9933 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/bitcasinoNew.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-bitcasino-light,\n.theme-bitcasino-light {\n --piccolo: 214 55 65; /* #D63741 */\n --hit: 255 255 255; /* #FFFFFF */\n --beerus: 224 224 224; /* #E0E0E0 */\n --gohan: 242 242 242; /* #F2F2F2 */\n --goten: 255 255 255; /* #FFFFFF */\n --goku: 255 255 255; /* #FFFFFF */\n --bulma: 27 20 20; /* #1B1414 */\n --trunks: 133 133 133; /* #858585 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 0 0 0 / 0.12; /* #0000001f */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.08; /* #0CD664 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0AB758 */\n --cell-60: 10 183 88 / 0.56; /* #0AB758 */\n --cell-10: 10 183 88 / 0.08; /* #0AB758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 46 105 255; /* #2E69FF */\n --whis-60: 46 105 255 / 0.56; /* #2E69FF */\n --whis-10: 46 105 255 / 0.08; /* #2E69FF */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --fraunces: "Fraunces", serif;\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-bitcasino-dark,\n.theme-bitcasino-dark {\n --piccolo: 214 55 65; /* #D63741 */\n --hit: 82 82 82; /* #525252 */\n --beerus: 50 50 50; /* #323232 */\n --gohan: 30 30 30; /* #1E1E1E */\n --goten: 255 255 255; /* #ffffff */\n --goku: 16 16 16; /* #101010 */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 133 133 133; /* #858585 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 255 255 / 0.32; /* #FFFFFF52 */\n --heles: 255 255 255 / 0.08; /* #FFFFFF14 */\n --zeno: 0 0 0 / 0.8; /* #000000CC */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.08; /* #0CD664 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0AB758 */\n --cell-60: 10 183 88 / 0.56; /* #0AB758 */\n --cell-10: 10 183 88 / 0.08; /* #0AB758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 46 105 255; /* #2E69FF */\n --whis-60: 46 105 255 / 0.56; /* #2E69FF */\n --whis-10: 46 105 255 / 0.08; /* #2E69FF */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --fraunces: "Fraunces", serif;\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/bitcasinoNew.css"], - names: [], - mappings: - "AAAA;;EAEE,oBAAoB,EAAE,YAAY;EAClC,kBAAkB,EAAE,YAAY;EAChC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,qBAAqB,EAAE,YAAY;EACnC,aAAa,EAAE,YAAY;EAC3B,qBAAqB,EAAE,cAAc;EACrC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;;EAElC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8B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AA0E;AAC5E", - sourcesContent: [ - ':root.theme-bitcasino-light,\n.theme-bitcasino-light {\n --piccolo: 214 55 65; /* #D63741 */\n --hit: 255 255 255; /* #FFFFFF */\n --beerus: 224 224 224; /* #E0E0E0 */\n --gohan: 242 242 242; /* #F2F2F2 */\n --goten: 255 255 255; /* #FFFFFF */\n --goku: 255 255 255; /* #FFFFFF */\n --bulma: 27 20 20; /* #1B1414 */\n --trunks: 133 133 133; /* #858585 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 0 0 0 / 0.12; /* #0000001f */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.08; /* #0CD664 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0AB758 */\n --cell-60: 10 183 88 / 0.56; /* #0AB758 */\n --cell-10: 10 183 88 / 0.08; /* #0AB758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 46 105 255; /* #2E69FF */\n --whis-60: 46 105 255 / 0.56; /* #2E69FF */\n --whis-10: 46 105 255 / 0.08; /* #2E69FF */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --fraunces: "Fraunces", serif;\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-bitcasino-dark,\n.theme-bitcasino-dark {\n --piccolo: 214 55 65; /* #D63741 */\n --hit: 82 82 82; /* #525252 */\n --beerus: 50 50 50; /* #323232 */\n --gohan: 30 30 30; /* #1E1E1E */\n --goten: 255 255 255; /* #ffffff */\n --goku: 16 16 16; /* #101010 */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 133 133 133; /* #858585 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 255 255 / 0.32; /* #FFFFFF52 */\n --heles: 255 255 255 / 0.08; /* #FFFFFF14 */\n --zeno: 0 0 0 / 0.8; /* #000000CC */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.08; /* #0CD664 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0AB758 */\n --cell-60: 10 183 88 / 0.56; /* #0AB758 */\n --cell-10: 10 183 88 / 0.08; /* #0AB758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 46 105 255; /* #2E69FF */\n --whis-60: 46 105 255 / 0.56; /* #2E69FF */\n --whis-10: 46 105 255 / 0.08; /* #2E69FF */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --fraunces: "Fraunces", serif;\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/bombayClub.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-bombay-club,\n.theme-bombay-club {\n /* there is no piccolo color for bombay because it uses brand piccolo color */\n --hit: 32 32 32; /* #202020 */\n --beerus: 255 255 255 / 0.08; /* #ffffff */\n --gohan: 12 12 12; /* #0c0c0c */\n --goten: 255 255 255; /* #ffffff */\n --goku: 0 0 0; /* #000000 */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 122 122 122; /* #7a7a7a */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 79 15 / 0.12; /* #ff4f0f */\n --heles: 255 255 255 / 0.08; /* #ffffff */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0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B,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,uEAAuE;EACvE,yEAAyE;EACzE,wEAAwE;EACxE;6DAC2D;AAC7D", - sourcesContent: [ - ':root.theme-bombay-club,\n.theme-bombay-club {\n /* there is no piccolo color for bombay because it uses brand piccolo color */\n --hit: 32 32 32; /* #202020 */\n --beerus: 255 255 255 / 0.08; /* #ffffff */\n --gohan: 12 12 12; /* #0c0c0c */\n --goten: 255 255 255; /* #ffffff */\n --goku: 0 0 0; /* #000000 */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 122 122 122; /* #7a7a7a */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 79 15 / 0.12; /* #ff4f0f */\n --heles: 255 255 255 / 0.08; /* #ffffff */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/comms.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-comms-light,\n.theme-comms-light {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 92 51 207; /* #5c33cf */\n --beerus: 235 235 235; /* #ebebeb */\n --gohan: 241 243 243; /* #f1f3f3 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 112 112 112; /* #707070 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 92 51 207 / 0.12; /* #5c33cf */\n --heles: 0 0 0 / 0.04; /* #000000 */\n --zeno: 39 45 54 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-comms-dark,\n.theme-comms-dark {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 39 45 54; /* #272d36 */\n --beerus: 255 255 255 / 0.08; /* #ebebeb */\n --gohan: 39 39 39; /* #272727 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 28 28 28; /* #1c1c1c */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 112 112 112; /* #707070 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 255 255 / 0.2; /* #ffffff */\n --heles: 255 255 255 / 0.08; /* #ffffff */\n --zeno: 255 255 255 / 0.2; /* #ffffff */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/comms.css"], - names: [], - mappings: - "AAAA;;EAEE,gBAAgB,EAAE,YAAY;EAC9B,gBAAgB,EAAE,YAAY;EAC9B,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,cAAc,EAAE,YAAY;EAC5B,qBAAqB,EAAE,YAAY;EACnC,aAAa,EAAE,YAAY;EAC3B,yBAAyB,EAAE,YAAY;EACvC,qBAAqB,EAAE,YAAY;EACnC,uBAAuB,EAAE,YAAY;;EAErC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C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C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,iBAAiB,EAAE,YAAY;EAC/B,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,YAAY;;EAEzC,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,kBAAkB;EAClB,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,wEAAwE;EACxE,0EAA0E;EAC1E,0EAA0E;EAC1E,0EAA0E;AAC5E", - sourcesContent: [ - ':root.theme-comms-light,\n.theme-comms-light {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 92 51 207; /* #5c33cf */\n --beerus: 235 235 235; /* #ebebeb */\n --gohan: 241 243 243; /* #f1f3f3 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 112 112 112; /* #707070 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 92 51 207 / 0.12; /* #5c33cf */\n --heles: 0 0 0 / 0.04; /* #000000 */\n --zeno: 39 45 54 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-comms-dark,\n.theme-comms-dark {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 39 45 54; /* #272d36 */\n --beerus: 255 255 255 / 0.08; /* #ebebeb */\n --gohan: 39 39 39; /* #272727 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 28 28 28; /* #1c1c1c */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 112 112 112; /* #707070 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 255 255 / 0.2; /* #ffffff */\n --heles: 255 255 255 / 0.08; /* #ffffff */\n --zeno: 255 255 255 / 0.2; /* #ffffff */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/empire.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-empire-light,\n.theme-empire-light {\n --piccolo: 255 37 168; /* #ff25a8 */\n --hit: 184 166 255; /* #b8a6ff */\n --beerus: 229 228 234; /* #e5e4ea */\n --gohan: 240 238 245; /* #f0eef5 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 21 6 79; /* #15064f */\n --trunks: 92 86 113; /* #5c5671 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 37 168 / 0.12; /* #ff25a8 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 180 53; /* #ffb319 */\n --krillin-60: 255 180 53 / 0.56; /* #ffb319 */\n --krillin-10: 255 180 53 / 0.08; /* #ffb319 */\n\n --chichi: 250 76 128; /* #ff4e64 */\n --chichi-60: 250 76 128 / 0.56; /* #ff4e64 */\n --chichi-10: 250 76 128 / 0.08; /* #ff4e64 */\n\n --roshi: 65 217 185; /* #41d9b9 */\n --roshi-60: 65 217 185 / 0.56; /* #41d9b9 */\n --roshi-10: 65 217 185 / 0.08; /* #41d9b9 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0ab758 */\n --cell-60: 10 183 88 / 0.56; /* #0ab758 */\n --cell-10: 10 183 88 / 0.08; /* #0ab758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --fira: "Fira Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-empire-dark,\n.theme-empire-dark {\n --piccolo: 255 37 168; /* #ff25a8 */\n --hit: 184 166 255; /* #b8a6ff */\n --beerus: 101 74 206; /* #654ace */\n --gohan: 72 40 197; /* #4828c5 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 21 6 79; /* #15064f */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 200 190 238; /* #c8befe */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 37 168 / 0.12; /* #ff25a8 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 180 53; /* #ffb319 */\n --krillin-60: 255 180 53 / 0.56; /* #ffb319 */\n --krillin-10: 255 180 53 / 0.08; /* #ffb319 */\n\n --chichi: 250 76 128; /* #ff4e64 */\n --chichi-60: 250 76 128 / 0.56; /* #ff4e64 */\n --chichi-10: 250 76 128 / 0.08; /* #ff4e64 */\n\n --roshi: 65 217 185; /* #41d9b9 */\n --roshi-60: 65 217 185 / 0.56; /* #41d9b9 */\n --roshi-10: 65 217 185 / 0.08; /* #41d9b9 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0ab758 */\n --cell-60: 10 183 88 / 0.56; /* #0ab758 */\n --cell-10: 10 183 88 / 0.08; /* #0ab758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --fira: "Fira Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/empire.css"], - names: [], - mappings: - "AAAA;;EAEE,qBAAqB,EAAE,YAAY;EACnC,kBAAkB,EAAE,YAAY;EAChC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,gBAAgB,EAAE,YAAY;EAC9B,mBAAmB,EAAE,YAAY;EACjC,aAAa,EAAE,YAAY;EAC3B,0BAA0B,EAAE,YAAY;EACxC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;;EAElC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5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us: 229 228 234; /* #e5e4ea */\n --gohan: 240 238 245; /* #f0eef5 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 21 6 79; /* #15064f */\n --trunks: 92 86 113; /* #5c5671 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 37 168 / 0.12; /* #ff25a8 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 180 53; /* #ffb319 */\n --krillin-60: 255 180 53 / 0.56; /* #ffb319 */\n --krillin-10: 255 180 53 / 0.08; /* #ffb319 */\n\n --chichi: 250 76 128; /* #ff4e64 */\n --chichi-60: 250 76 128 / 0.56; /* #ff4e64 */\n --chichi-10: 250 76 128 / 0.08; /* #ff4e64 */\n\n --roshi: 65 217 185; /* #41d9b9 */\n --roshi-60: 65 217 185 / 0.56; /* #41d9b9 */\n --roshi-10: 65 217 185 / 0.08; /* #41d9b9 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0ab758 */\n --cell-60: 10 183 88 / 0.56; /* #0ab758 */\n --cell-10: 10 183 88 / 0.08; /* #0ab758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --fira: "Fira Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-empire-dark,\n.theme-empire-dark {\n --piccolo: 255 37 168; /* #ff25a8 */\n --hit: 184 166 255; /* #b8a6ff */\n --beerus: 101 74 206; /* #654ace */\n --gohan: 72 40 197; /* #4828c5 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 21 6 79; /* #15064f */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 200 190 238; /* #c8befe */\n --popo: 0 0 0; /* #000000 */\n --jiren: 255 37 168 / 0.12; /* #ff25a8 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 180 53; /* #ffb319 */\n --krillin-60: 255 180 53 / 0.56; /* #ffb319 */\n --krillin-10: 255 180 53 / 0.08; /* #ffb319 */\n\n --chichi: 250 76 128; /* #ff4e64 */\n --chichi-60: 250 76 128 / 0.56; /* #ff4e64 */\n --chichi-10: 250 76 128 / 0.08; /* #ff4e64 */\n\n --roshi: 65 217 185; /* #41d9b9 */\n --roshi-60: 65 217 185 / 0.56; /* #41d9b9 */\n --roshi-10: 65 217 185 / 0.08; /* #41d9b9 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 10 183 88; /* #0ab758 */\n --cell-60: 10 183 88 / 0.56; /* #0ab758 */\n --cell-10: 10 183 88 / 0.08; /* #0ab758 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --fira: "Fira Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/hub88.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-hub88-light,\n.theme-hub88-light {\n --piccolo: 26 91 255; /* #1a5bff */\n --hit: 171 183 191; /* #abb7bf */\n --beerus: 226 230 233; /* #e2e6e9 */\n --gohan: 243 245 246; /* #f3f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 1 9 19; /* #010913 */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 26 91 255 / 0.08; /* #1a5bff */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 1 9 19 / 0.4; /* #010913 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/hub88.css"], - names: [], - mappings: - "AAAA;;EAEE,oBAAoB,EAAE,YAAY;EAClC,kBAAkB,EAAE,YAAY;EAChC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oB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AE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,uEAAuE;EACvE,yEAAyE;EACzE,wEAAwE;EACxE;6DAC2D;AAC7D", - sourcesContent: [ - ':root.theme-hub88-light,\n.theme-hub88-light {\n --piccolo: 26 91 255; /* #1a5bff */\n --hit: 171 183 191; /* #abb7bf */\n --beerus: 226 230 233; /* #e2e6e9 */\n --gohan: 243 245 246; /* #f3f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 1 9 19; /* #010913 */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 26 91 255 / 0.08; /* #1a5bff */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 1 9 19 / 0.4; /* #010913 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/lab.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-lab-light,\n.theme-lab-light {\n --piccolo: 32 36 38; /* #202426 */\n --hit: 255 92 111; /* #ff5c6f */\n --beerus: 220 225 229; /* #dce1e5 */\n --gohan: 243 245 246; /* #f3f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 32 36 38; /* #202426 */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 32 36 38; /* #202426 */\n --jiren: 32 36 38 / 0.08; /* #ff25a8 */\n --heles: 0 0 0 / 0.12; /* #000000 */\n --zeno: 32 36 38 / 0.4; /* #ff25a8 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/lab.css"], - names: [], - mappings: - "AAAA;;EAEE,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,qBAAqB,EAAE,YAAY;EACnC,gBAAgB,EAAE,YAAY;EAC9B,wBAAwB,EAAE,YAAY;EACtC,qBAAqB,EAAE,YAAY;EACnC,sBAAsB,EAAE,YAAY;;EAEpC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,iBAAiB,EAAE,YAAY;EAC/B,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,YAAY;;EAEzC,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,kBAAkB;EAClB,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,uEAAuE;EACvE,yEAAyE;EACzE,wEAAwE;EACxE;6DAC2D;AAC7D", - sourcesContent: [ - ':root.theme-lab-light,\n.theme-lab-light {\n --piccolo: 32 36 38; /* #202426 */\n --hit: 255 92 111; /* #ff5c6f */\n --beerus: 220 225 229; /* #dce1e5 */\n --gohan: 243 245 246; /* #f3f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 32 36 38; /* #202426 */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 32 36 38; /* #202426 */\n --jiren: 32 36 38 / 0.08; /* #ff25a8 */\n --heles: 0 0 0 / 0.12; /* #000000 */\n --zeno: 32 36 38 / 0.4; /* #ff25a8 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/livecasino.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-livecasino-light,\n.theme-livecasino-light {\n --piccolo: 222 13 62; /* #de0d3e */\n --hit: 169 170 177; /* #a9aab1 */\n --beerus: 229 233 240; /* #e5e9f0 */\n --gohan: 240 246 255; /* #f0f6ff */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 15 22 31; /* #0f161f */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 222 13 62 / 0.12; /* #de0d3e */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 20 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-livecasino-dark,\n.theme-livecasino-dark {\n --piccolo: 222 13 62; /* #de0d3e */\n --hit: 103 105 126; /* #67697e */\n --beerus: 50 53 72; /* #323548 */\n --gohan: 25 29 51; /* #191d33 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 0 7 15; /* #00070f */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 222 13 62 / 0.12; /* #de0d3e */\n --heles: 255 255 255 / 0.12; /* #ffffff */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 20 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/livecasino.css"], - names: [], - mappings: - "AAAA;;EAEE,oBAAoB,EAAE,YAAY;EAClC,kBAAkB,EAAE,YAAY;EAChC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,qBAAqB,EAAE,YAAY;EACnC,aAAa,EAAE,YAAY;EAC3B,yBAAy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,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,wEAAwE;EACxE,0EAA0E;EAC1E,0EAA0E;EAC1E,0EAA0E;AAC5E", - sourcesContent: [ - ':root.theme-livecasino-light,\n.theme-livecasino-light {\n --piccolo: 222 13 62; /* #de0d3e */\n --hit: 169 170 177; /* #a9aab1 */\n --beerus: 229 233 240; /* #e5e9f0 */\n --gohan: 240 246 255; /* #f0f6ff */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 15 22 31; /* #0f161f */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 222 13 62 / 0.12; /* #de0d3e */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 20 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-livecasino-dark,\n.theme-livecasino-dark {\n --piccolo: 222 13 62; /* #de0d3e */\n --hit: 103 105 126; /* #67697e */\n --beerus: 50 53 72; /* #323548 */\n --gohan: 25 29 51; /* #191d33 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 0 7 15; /* #00070f */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 134 151 162; /* #8697a2 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 222 13 62 / 0.12; /* #de0d3e */\n --heles: 255 255 255 / 0.12; /* #ffffff */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 20 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/moon.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-moon-light,\n.theme-moon-light {\n --piccolo: 92 51 207; /* #5c33cf */\n --hit: 27 210 154; /* #1bd29a */\n --beerus: 220 222 227; /* #dcdee3 */\n --gohan: 246 247 249; /* #f6f7f9 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 104 112 131; /* #687083 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 92 51 201 / 0.12; /* #5c33cf */\n --heles: 0 0 0 / 0.04; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 73 179 86; /* #49b356 */\n --roshi-60: 73 179 86 / 0.56; /* #49b356 */\n --roshi-10: 73 179 86 / 0.08; /* #49b356 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-moon-dark,\n.theme-moon-dark {\n --piccolo: 92 51 207; /* #5c33cf */\n --hit: 27 210 154; /* #1bd29a */\n --beerus: 68 68 68; /* #444444 */\n --gohan: 31 31 31; /* #1f1f1f */\n --goten: 255 255 255; /* #ffffff */\n --goku: 11 11 11; /* #0b0b0b */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 148 152 158; /* #94989e */\n --popo: 0 0 0; /* #000000 */\n --jiren: 92 51 207 / 0.12; /* #5c33cf */\n --heles: 255 255 255 / 0.04; /* #ffffff */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 73 179 86; /* #49b356 */\n --roshi-60: 73 179 86 / 0.56; /* #49b356 */\n --roshi-10: 73 179 86 / 0.08; /* #49b356 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/moon.css"], - names: [], - mappings: - "AAAA;;EAEE,oBAAoB,EAAE,YAAY;EAClC,iBAAiB,EAAE,YAAY;EAC/B,qBAAqB,EAAE,YAAY;EACnC,oB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AAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,kBAAkB;EAClB,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,wEAAwE;EACxE,0EAA0E;EAC1E,0EAA0E;EAC1E,0EAA0E;AAC5E", - sourcesContent: [ - ':root.theme-moon-light,\n.theme-moon-light {\n --piccolo: 92 51 207; /* #5c33cf */\n --hit: 27 210 154; /* #1bd29a */\n --beerus: 220 222 227; /* #dcdee3 */\n --gohan: 246 247 249; /* #f6f7f9 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 104 112 131; /* #687083 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 92 51 201 / 0.12; /* #5c33cf */\n --heles: 0 0 0 / 0.04; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 73 179 86; /* #49b356 */\n --roshi-60: 73 179 86 / 0.56; /* #49b356 */\n --roshi-10: 73 179 86 / 0.08; /* #49b356 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-moon-dark,\n.theme-moon-dark {\n --piccolo: 92 51 207; /* #5c33cf */\n --hit: 27 210 154; /* #1bd29a */\n --beerus: 68 68 68; /* #444444 */\n --gohan: 31 31 31; /* #1f1f1f */\n --goten: 255 255 255; /* #ffffff */\n --goku: 11 11 11; /* #0b0b0b */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 148 152 158; /* #94989e */\n --popo: 0 0 0; /* #000000 */\n --jiren: 92 51 207 / 0.12; /* #5c33cf */\n --heles: 255 255 255 / 0.04; /* #ffffff */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 73 179 86; /* #49b356 */\n --roshi-60: 73 179 86 / 0.56; /* #49b356 */\n --roshi-10: 73 179 86 / 0.08; /* #49b356 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/partners.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-partners-light,\n.theme-partners-light {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 70 99 163; /* #4663a3 */\n --beerus: 224 224 225; /* #e0e0e1 */\n --gohan: 245 245 245; /* #f5f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 34 34 37; /* #222225 */\n --trunks: 119 119 126; /* #77777e */\n --popo: 34 34 37; /* #222225 */\n --jiren: 66 150 89 / 0.2; /* #429659 */\n --heles: 34 34 37 / 0.12; /* #222225 */\n --zeno: 1 9 19 / 0.4; /* #010913 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-partners: 0.32;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/partners.css"], - names: [], - mappings: - "AAAA;;EAEE,gBAAgB,EAAE,YAAY;EAC9B,gBAAgB,EAAE,YAAY;EAC9B,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,qBAAqB,EAAE,YAAY;EACnC,gBAAgB,EAAE,YAAY;EAC9B,wBAAwB,EAAE,YAAY;EACtC,wBAAwB,EAAE,YAAY;EACtC,oBAAoB,EAAE,YAAY;;EAElC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,iBAAiB,EAAE,YAAY;EAC/B,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,YAAY;;EAEzC,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,kBAAkB;EAClB,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,wBAAwB;;EAExB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,uEAAuE;EACvE,yEAAyE;EACzE,wEAAwE;EACxE;6DAC2D;AAC7D", - sourcesContent: [ - ':root.theme-partners-light,\n.theme-partners-light {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 70 99 163; /* #4663a3 */\n --beerus: 224 224 225; /* #e0e0e1 */\n --gohan: 245 245 245; /* #f5f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 34 34 37; /* #222225 */\n --trunks: 119 119 126; /* #77777e */\n --popo: 34 34 37; /* #222225 */\n --jiren: 66 150 89 / 0.2; /* #429659 */\n --heles: 34 34 37 / 0.12; /* #222225 */\n --zeno: 1 9 19 / 0.4; /* #010913 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-partners: 0.32;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/pay.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-pay-light,\n.theme-pay-light {\n --piccolo: 76 73 234; /* #4c49ea */\n --hit: 234 235 235; /* #eaebeb */\n --beerus: 218 218 222; /* #dadade */\n --gohan: 244 245 246; /* #f4f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 27 20 20; /* #1b1414 */\n --trunks: 178 177 185; /* #b2b1b9 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 76 73 234 / 0.12; /* #4c49ea */\n --heles: 58 57 72 / 0.12; /* #3a3948 */\n --zeno: 25 30 37 / 0.4; /* #191e25 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - "", - { - version: 3, -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EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,uEAAuE;EACvE,yEAAyE;EACzE,wEAAwE;EACxE;6DAC2D;AAC7D", - sourcesContent: [ - ':root.theme-pay-light,\n.theme-pay-light {\n --piccolo: 76 73 234; /* #4c49ea */\n --hit: 234 235 235; /* #eaebeb */\n --beerus: 218 218 222; /* #dadade */\n --gohan: 244 245 246; /* #f4f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 27 20 20; /* #1b1414 */\n --trunks: 178 177 185; /* #b2b1b9 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 76 73 234 / 0.12; /* #4c49ea */\n --heles: 58 57 72 / 0.12; /* #3a3948 */\n --zeno: 25 30 37 / 0.4; /* #191e25 */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ff9800 */\n --krillin-60: 255 179 25 / 0.56; /* #ff9800 */\n --krillin-10: 255 179 25 / 0.08; /* #ff9800 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 46 125 50; /* #2e7d32 */\n --roshi-60: 46 125 50 / 0.56; /* #2e7d32 */\n --roshi-10: 46 125 50 / 0.08; /* #2e7d32 */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/sportsbet.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-sb-light,\n.theme-sb-light {\n --piccolo: 73 179 86; /* #49b356 */\n --hit: 234 235 235; /* #eaebeb */\n --beerus: 224 227 229; /* #e0e3e5 */\n --gohan: 244 245 246; /* #f4f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 26 33 42; /* #1a212a */\n --trunks: 99 113 123; /* #63717b */\n --popo: 0 0 0; /* #000000 */\n --jiren: 73 179 86 / 0.12; /* #49b356 */\n --heles: 55 61 69 / 0.08; /* #373d45 */\n --zeno: 25 30 37 / 0.4; /* #191e25 */\n\n /* support-colors */\n --krillin: 248 193 0; /* #f8c100 */\n --krillin-60: 248 193 0 / 0.56; /* #f8c100 */\n --krillin-10: 248 193 0 / 0.12; /* #f8c100 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.12; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.12; /* #0CD664 */\n\n --dodoria: 255 138 1; /* #FF8A01 */\n --dodoria-60: 255 138 1 / 0.56; /* #FF8A01 */\n --dodoria-10: 255 138 1 / 0.12; /* #FF8A01 */\n\n --cell: 27 210 154; /* #1bd29a */\n --cell-60: 27 210 154 / 0.56; /* #1bd29a */\n --cell-10: 27 210 154 / 0.12; /* #1bd29a */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.12; /* #b3804a */\n\n --whis: 46 105 255; /* #2e69ff */\n --whis-60: 46 105 255 / 0.56; /* #2e69ff */\n --whis-10: 46 105 255 / 0.12; /* #2e69ff */\n\n --frieza: 111 59 255; /* #6f3bff */\n --frieza-60: 111 59 255 / 0.56; /* #6f3bff */\n --frieza-10: 111 59 255 / 0.12; /* #6f3bff */\n\n --nappa: 0 142 173; /* #008ead */\n --nappa-60: 0 142 173 / 0.56; /* #008ead */\n --nappa-10: 0 142 173 / 0.12; /* #008ead */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-sb-dark,\n.theme-sb-dark {\n --piccolo: 73 179 86; /* #49B356 */\n --hit: 76 81 90; /* #4C515A */\n --beerus: 55 61 69; /* #373d45 */\n --goku: 26 33 42; /* #1a212a */\n --gohan: 44 50 58; /* #2c323a */\n --bulma: 255 255 255; /* #FFFFFF */\n --trunks: 141 157 168; /* #8D9DA8 */\n --goten: 255 255 255; /* #FFFFFF */\n --popo: 0 0 0; /* #000000 */\n --jiren: 73 179 86 / 0.2; /* #49b356 */\n --heles: 255 255 255 / 0.12; /* #ffffff */\n --zeno: 25 30 37 / 0.4; /* #191e25 */\n\n /* support-colors */\n --krillin: 248 193 0; /* #f8c100 */\n --krillin-60: 248 193 0 / 0.56; /* #f8c100 */\n --krillin-10: 248 193 0 / 0.12; /* #f8c100 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.12; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.12; /* #0CD664 */\n\n --dodoria: 255 138 1; /* #FF8A01 */\n --dodoria-60: 255 138 1 / 0.56; /* #FF8A01 */\n --dodoria-10: 255 138 1 / 0.12; /* #FF8A01 */\n\n --cell: 27 210 154; /* #1bd29a */\n --cell-60: 27 210 154 / 0.56; /* #1bd29a */\n --cell-10: 27 210 154 / 0.12; /* #1bd29a */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.12; /* #b3804a */\n\n --whis: 46 105 255; /* #2e69ff */\n --whis-60: 46 105 255 / 0.56; /* #2e69ff */\n --whis-10: 46 105 255 / 0.12; /* #2e69ff */\n\n --frieza: 111 59 255; /* #6f3bff */\n --frieza-60: 111 59 255 / 0.56; /* #6f3bff */\n --frieza-10: 111 59 255 / 0.12; /* #6f3bff */\n\n --nappa: 0 142 173; /* #008ead */\n --nappa-60: 0 142 173 / 0.56; /* #008ead */\n --nappa-10: 0 142 173 / 0.12; /* #008ead */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/sportsbet.css"], - names: [], - mappings: - "AAAA;;EAEE,oBAAoB,EAAE,YAAY;EAClC,kBAAkB,EAAE,YAAY;EAChC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,oBAAoB,EAAE,YAAY;EAClC,aAAa,EAAE,YAAY;EAC3B,yBAAyB,EAAE,YAAY;EACvC,wBAAwB,EAAE,YAAY;EACtC,sBAAsB,EAAE,YAAY;;EAEpC,oBAAoB;EACpB,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,k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6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,kBAAkB;EAClB,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,wEAAwE;EACxE,0EAA0E;EAC1E,0EAA0E;EAC1E,0EAA0E;AAC5E", - sourcesContent: [ - ':root.theme-sb-light,\n.theme-sb-light {\n --piccolo: 73 179 86; /* #49b356 */\n --hit: 234 235 235; /* #eaebeb */\n --beerus: 224 227 229; /* #e0e3e5 */\n --gohan: 244 245 246; /* #f4f5f6 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 26 33 42; /* #1a212a */\n --trunks: 99 113 123; /* #63717b */\n --popo: 0 0 0; /* #000000 */\n --jiren: 73 179 86 / 0.12; /* #49b356 */\n --heles: 55 61 69 / 0.08; /* #373d45 */\n --zeno: 25 30 37 / 0.4; /* #191e25 */\n\n /* support-colors */\n --krillin: 248 193 0; /* #f8c100 */\n --krillin-60: 248 193 0 / 0.56; /* #f8c100 */\n --krillin-10: 248 193 0 / 0.12; /* #f8c100 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.12; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.12; /* #0CD664 */\n\n --dodoria: 255 138 1; /* #FF8A01 */\n --dodoria-60: 255 138 1 / 0.56; /* #FF8A01 */\n --dodoria-10: 255 138 1 / 0.12; /* #FF8A01 */\n\n --cell: 27 210 154; /* #1bd29a */\n --cell-60: 27 210 154 / 0.56; /* #1bd29a */\n --cell-10: 27 210 154 / 0.12; /* #1bd29a */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.12; /* #b3804a */\n\n --whis: 46 105 255; /* #2e69ff */\n --whis-60: 46 105 255 / 0.56; /* #2e69ff */\n --whis-10: 46 105 255 / 0.12; /* #2e69ff */\n\n --frieza: 111 59 255; /* #6f3bff */\n --frieza-60: 111 59 255 / 0.56; /* #6f3bff */\n --frieza-10: 111 59 255 / 0.12; /* #6f3bff */\n\n --nappa: 0 142 173; /* #008ead */\n --nappa-60: 0 142 173 / 0.56; /* #008ead */\n --nappa-10: 0 142 173 / 0.12; /* #008ead */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-sb-dark,\n.theme-sb-dark {\n --piccolo: 73 179 86; /* #49B356 */\n --hit: 76 81 90; /* #4C515A */\n --beerus: 55 61 69; /* #373d45 */\n --goku: 26 33 42; /* #1a212a */\n --gohan: 44 50 58; /* #2c323a */\n --bulma: 255 255 255; /* #FFFFFF */\n --trunks: 141 157 168; /* #8D9DA8 */\n --goten: 255 255 255; /* #FFFFFF */\n --popo: 0 0 0; /* #000000 */\n --jiren: 73 179 86 / 0.2; /* #49b356 */\n --heles: 255 255 255 / 0.12; /* #ffffff */\n --zeno: 25 30 37 / 0.4; /* #191e25 */\n\n /* support-colors */\n --krillin: 248 193 0; /* #f8c100 */\n --krillin-60: 248 193 0 / 0.56; /* #f8c100 */\n --krillin-10: 248 193 0 / 0.12; /* #f8c100 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.12; /* #ff4e64 */\n\n --roshi: 12 214 100; /* #0CD664 */\n --roshi-60: 12 214 100 / 0.56; /* #0CD664 */\n --roshi-10: 12 214 100 / 0.12; /* #0CD664 */\n\n --dodoria: 255 138 1; /* #FF8A01 */\n --dodoria-60: 255 138 1 / 0.56; /* #FF8A01 */\n --dodoria-10: 255 138 1 / 0.12; /* #FF8A01 */\n\n --cell: 27 210 154; /* #1bd29a */\n --cell-60: 27 210 154 / 0.56; /* #1bd29a */\n --cell-10: 27 210 154 / 0.12; /* #1bd29a */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.12; /* #b3804a */\n\n --whis: 46 105 255; /* #2e69ff */\n --whis-60: 46 105 255 / 0.56; /* #2e69ff */\n --whis-10: 46 105 255 / 0.12; /* #2e69ff */\n\n --frieza: 111 59 255; /* #6f3bff */\n --frieza-60: 111 59 255 / 0.56; /* #6f3bff */\n --frieza-10: 111 59 255 / 0.12; /* #6f3bff */\n\n --nappa: 0 142 173; /* #008ead */\n --nappa-60: 0 142 173 / 0.56; /* #008ead */\n --nappa-10: 0 142 173 / 0.12; /* #008ead */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/tradeart.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-tradeart-light,\n.theme-tradeart-light {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 194 199 205; /* #c2c7cd */\n --beerus: 235 235 235; /* #ebebeb */\n --gohan: 247 247 247; /* #f7f7f7 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff; */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 112 112 112; /* #707070 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 0 0 0 / 0.06; /* #000000 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 149 25; /* #ff9519 */\n --krillin-60: 255 149 25 / 0.56; /* #ff9519 */\n --krillin-10: 255 149 25 / 0.08; /* #ff9519 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 203 68 45; /* #cb442d */\n --dodoria-60: 203 68 45 / 0.56; /* #cb442d */\n --dodoria-10: 203 68 45 / 0.08; /* #cb442d */\n\n --cell: 31 128 103; /* #1f8067 */\n --cell-60: 31 128 103 / 0.56; /* #1f8067 */\n --cell-10: 31 128 103 / 0.08; /* #1f8067 */\n\n --raditz: 192 152 5; /* #c09805 */\n --raditz-60: 192 152 5 / 0.56; /* #c09805 */\n --raditz-10: 192 152 5 / 0.08; /* #c09805 */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-tradeart-dark,\n.theme-tradeart-dark {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 194 199 205; /* #c2c7cd */\n --beerus: 235 235 235; /* #ebebeb */\n --goku: 247 247 247; /* #f7f7f7 */\n --gohan: 255 255 255; /* #ffffff; */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 112 112 112; /* #707070 */\n --goten: 255 255 255; /* #ffffff */\n --popo: 0 0 0; /* #000000 */\n --jiren: 0 0 0 / 0.06; /* #000000 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 149 25; /* #ff9519 */\n --krillin-60: 255 149 25 / 0.56; /* #ff9519 */\n --krillin-10: 255 149 25 / 0.08; /* #ff9519 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 203 68 45; /* #cb442d */\n --dodoria-60: 203 68 45 / 0.56; /* #cb442d */\n --dodoria-10: 203 68 45 / 0.08; /* #cb442d */\n\n --cell: 31 128 103; /* #1f8067 */\n --cell-60: 31 128 103 / 0.56; /* #1f8067 */\n --cell-10: 31 128 103 / 0.08; /* #1f8067 */\n\n --raditz: 192 152 5; /* #c09805 */\n --raditz-60: 192 152 5 / 0.56; /* #c09805 */\n --raditz-10: 192 152 5 / 0.08; /* #c09805 */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/tradeart.css"], - names: [], - mappings: - "AAAA;;EAEE,gBAAgB,EAAE,YAAY;EAC9B,kBAAkB,EAAE,YAAY;EAChC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,aAAa;EAClC,cAAc,EAAE,YAAY;EAC5B,qBAAqB,EAAE,YAAY;EACnC,aAAa,EAAE,YAAY;EAC3B,qBAAqB,EAAE,YAAY;EACnC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;;EAElC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;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 */\n --hit: 194 199 205; /* #c2c7cd */\n --beerus: 235 235 235; /* #ebebeb */\n --gohan: 247 247 247; /* #f7f7f7 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff; */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 112 112 112; /* #707070 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 0 0 0 / 0.06; /* #000000 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 149 25; /* #ff9519 */\n --krillin-60: 255 149 25 / 0.56; /* #ff9519 */\n --krillin-10: 255 149 25 / 0.08; /* #ff9519 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 203 68 45; /* #cb442d */\n --dodoria-60: 203 68 45 / 0.56; /* #cb442d */\n --dodoria-10: 203 68 45 / 0.08; /* #cb442d */\n\n --cell: 31 128 103; /* #1f8067 */\n --cell-60: 31 128 103 / 0.56; /* #1f8067 */\n --cell-10: 31 128 103 / 0.08; /* #1f8067 */\n\n --raditz: 192 152 5; /* #c09805 */\n --raditz-60: 192 152 5 / 0.56; /* #c09805 */\n --raditz-10: 192 152 5 / 0.08; /* #c09805 */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n\n:root.theme-tradeart-dark,\n.theme-tradeart-dark {\n --piccolo: 0 0 0; /* #000000 */\n --hit: 194 199 205; /* #c2c7cd */\n --beerus: 235 235 235; /* #ebebeb */\n --goku: 247 247 247; /* #f7f7f7 */\n --gohan: 255 255 255; /* #ffffff; */\n --bulma: 0 0 0; /* #000000 */\n --trunks: 112 112 112; /* #707070 */\n --goten: 255 255 255; /* #ffffff */\n --popo: 0 0 0; /* #000000 */\n --jiren: 0 0 0 / 0.06; /* #000000 */\n --heles: 0 0 0 / 0.08; /* #000000 */\n --zeno: 0 0 0 / 0.56; /* #000000 */\n\n /* support-colors */\n --krillin: 255 149 25; /* #ff9519 */\n --krillin-60: 255 149 25 / 0.56; /* #ff9519 */\n --krillin-10: 255 149 25 / 0.08; /* #ff9519 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 203 68 45; /* #cb442d */\n --dodoria-60: 203 68 45 / 0.56; /* #cb442d */\n --dodoria-10: 203 68 45 / 0.08; /* #cb442d */\n\n --cell: 31 128 103; /* #1f8067 */\n --cell-60: 31 128 103 / 0.56; /* #1f8067 */\n --cell-10: 31 128 103 / 0.08; /* #1f8067 */\n\n --raditz: 192 152 5; /* #c09805 */\n --raditz-60: 192 152 5 / 0.56; /* #c09805 */\n --raditz-10: 192 152 5 / 0.08; /* #c09805 */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.64);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-lg: 0 24px 24px -6px rgb(0 0 0 / 0.64), 0 0 1px rgb(0 0 0 / 0.56);\n --shadow-xl: 0 48px 48px -6px rgb(0 0 0 / 0.88), 0 0 1px rgb(0 0 0 / 0.72);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/tradeartMiniBetting.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-tradeart-mini-betting,\n.theme-tradeart-mini-betting {\n --piccolo: 178 146 101; /* #b29265 */\n --hit: 96 96 96; /* #606060 */\n --beerus: 82 81 81; /* #525151 */\n --gohan: 57 56 56; /* #393838; */\n --goten: 255 255 255; /* #ffffff */\n --goku: 40 39 39; /* #282727 */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 151 146 146; /* #979292 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 178 146 101 / 0.2; /* #b29265 */\n --heles: 255 255 255 / 0.12; /* #ffffff */\n --zeno: 0 0 0 / 0.32; /* #000000 */\n\n /* support-colors */\n --krillin: 255 138 1; /* #ff8a01 */\n --krillin-60: 255 138 1 / 0.56; /* #ff8a01 */\n --krillin-10: 255 138 1 / 0.08; /* #ff8a01 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 73 179 86; /* #49b356 */\n --roshi-60: 73 179 86 / 0.56; /* #49b356 */\n --roshi-10: 73 179 86 / 0.08; /* #49b356 */\n\n --dodoria: 190 88 66; /* #be5842 */\n --dodoria-60: 190 88 66 / 0.56; /* #be5842 */\n --dodoria-10: 190 88 66 / 0.08; /* #be5842 */\n\n --cell: 27 210 154; /* #1bd29a */\n --cell-60: 27 210 154 / 0.56; /* #1bd29a */\n --cell-10: 27 210 154 / 0.08; /* #1bd29a */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 46 105 255; /* #2e69ff */\n --whis-60: 46 105 255 / 0.56; /* #2e69ff */\n --whis-10: 46 105 255 / 0.08; /* #2e69ff */\n\n --frieza: 111 59 255; /* #6f3bff */\n --frieza-60: 111 59 255 / 0.56; /* #6f3bff */\n --frieza-10: 111 59 255 / 0.08; /* #6f3bff */\n\n --nappa: 0 142 173; /* #008ead */\n --nappa-60: 0 142 173 / 0.56; /* #008ead */\n --nappa-10: 0 142 173 / 0.08; /* #008ead */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - "", - { - version: 3, - sources: [ - "webpack://./../packages/themes/lib/tradeartMiniBetting.css", - ], - names: [], - mappings: - "AAAA;;EAEE,sBAAsB,EAAE,YAAY;EACpC,eAAe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AmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,uEAAuE;EACvE,yEAAyE;EACzE,wEAAwE;EACxE;6DAC2D;AAC7D", - sourcesContent: [ - ':root.theme-tradeart-mini-betting,\n.theme-tradeart-mini-betting {\n --piccolo: 178 146 101; /* #b29265 */\n --hit: 96 96 96; /* #606060 */\n --beerus: 82 81 81; /* #525151 */\n --gohan: 57 56 56; /* #393838; */\n --goten: 255 255 255; /* #ffffff */\n --goku: 40 39 39; /* #282727 */\n --bulma: 255 255 255; /* #ffffff */\n --trunks: 151 146 146; /* #979292 */\n --popo: 0 0 0; /* #000000 */\n --jiren: 178 146 101 / 0.2; /* #b29265 */\n --heles: 255 255 255 / 0.12; /* #ffffff */\n --zeno: 0 0 0 / 0.32; /* #000000 */\n\n /* support-colors */\n --krillin: 255 138 1; /* #ff8a01 */\n --krillin-60: 255 138 1 / 0.56; /* #ff8a01 */\n --krillin-10: 255 138 1 / 0.08; /* #ff8a01 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 73 179 86; /* #49b356 */\n --roshi-60: 73 179 86 / 0.56; /* #49b356 */\n --roshi-10: 73 179 86 / 0.08; /* #49b356 */\n\n --dodoria: 190 88 66; /* #be5842 */\n --dodoria-60: 190 88 66 / 0.56; /* #be5842 */\n --dodoria-10: 190 88 66 / 0.08; /* #be5842 */\n\n --cell: 27 210 154; /* #1bd29a */\n --cell-60: 27 210 154 / 0.56; /* #1bd29a */\n --cell-10: 27 210 154 / 0.08; /* #1bd29a */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 46 105 255; /* #2e69ff */\n --whis-60: 46 105 255 / 0.56; /* #2e69ff */\n --whis-10: 46 105 255 / 0.08; /* #2e69ff */\n\n --frieza: 111 59 255; /* #6f3bff */\n --frieza-60: 111 59 255 / 0.56; /* #6f3bff */\n --frieza-10: 111 59 255 / 0.08; /* #6f3bff */\n\n --nappa: 0 142 173; /* #008ead */\n --nappa-60: 0 142 173 / 0.56; /* #008ead */\n --nappa-10: 0 142 173 / 0.08; /* #008ead */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!../node_modules/.pnpm/postcss-loader@8.1.1_postcss@8.4.49_typescript@5.3.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js!../packages/themes/lib/travel.css": - (module, __webpack_exports__, __webpack_require__) => { - "use strict"; - __webpack_require__.d(__webpack_exports__, { - A: () => __WEBPACK_DEFAULT_EXPORT__, - }); - var _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/sourceMaps.js", - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = - __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__, - ), - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - "../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js", - ), - ___CSS_LOADER_EXPORT___ = __webpack_require__.n( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__, - )()( - _node_modules_pnpm_css_loader_6_11_0_webpack_5_97_1_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default(), - ); - ___CSS_LOADER_EXPORT___.push([ - module.id, - ':root.theme-travel-light,\n.theme-travel-light {\n --piccolo: 39 90 219; /* #275adb */\n --hit: 252 233 176; /* #fce9b0 */\n --beerus: 224 224 224; /* #e0e0e0 */\n --gohan: 246 245 244; /* #f6f5f4 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 24 27 28; /* #181b1c */\n --trunks: 120 120 125; /* #78787d */\n --popo: 0 0 0; /* #000000 */\n --jiren: 253 239 196 / 0.38; /* #fdefc4 */\n --heles: 0 0 0 / 0.04; /* #000000 */\n --zeno: 24 27 28 / 0.4; /* #181b1c */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - "", - { - version: 3, - sources: ["webpack://./../packages/themes/lib/travel.css"], - names: [], - mappings: - "AAAA;;EAEE,oBAAoB,EAAE,YAAY;EAClC,kBAAkB,EAAE,YAAY;EAChC,qBAAqB,EAAE,YAAY;EACnC,oBAAoB,EAAE,YAAY;EAClC,oBAAoB,EAAE,YAAY;EAClC,mBAAmB,EAAE,YAAY;EACjC,iBAAiB,EAAE,YAAY;EAC/B,qBAAqB,EAAE,YAAY;EACnC,aAAa,EAAE,YAAY;EAC3B,2BAA2B,EAAE,YAAY;EACzC,qBAAqB,EAAE,YAAY;EACnC,sBAAsB,EAAE,YAAY;;EAEpC,oBAAoB;EACpB,qBAAqB,EAAE,YAAY;EACnC,+BAA+B,EAAE,YAAY;EAC7C,+BAA+B,EAAE,YAAY;;EAE7C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,oBAAoB,EAAE,YAAY;EAClC,8BAA8B,EAAE,YAAY;EAC5C,8BAA8B,EAAE,YAAY;;EAE5C,iBAAiB,EAAE,YAAY;EAC/B,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,YAAY;;EAEzC,mBAAmB,EAAE,YAAY;EACjC,6BAA6B,EAAE,YAAY;EAC3C,6BAA6B,EAAE,YAAY;;EAE3C,kBAAkB,EAAE,YAAY;EAChC,4BAA4B,EAAE,YAAY;EAC1C,4BAA4B,EAAE,YAAY;;EAE1C,kBAAkB;EAClB,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,sBAAsB,EAAE,QAAQ;EAChC,qBAAqB,EAAE,QAAQ;EAC/B,sBAAsB,EAAE,SAAS;EACjC,mBAAmB,EAAE,SAAS;;EAE9B,iBAAiB;EACjB,yBAAyB,EAAE,QAAQ;EACnC,0BAA0B,EAAE,QAAQ;;EAEpC,YAAY;EACZ,mBAAmB;;EAEnB,UAAU;EACV,sBAAsB;EACtB,oBAAoB;;EAEpB,eAAe;EACf,8CAA8C;EAC9C,uEAAuE;EACvE,yEAAyE;EACzE,wEAAwE;EACxE;6DAC2D;AAC7D", - sourcesContent: [ - ':root.theme-travel-light,\n.theme-travel-light {\n --piccolo: 39 90 219; /* #275adb */\n --hit: 252 233 176; /* #fce9b0 */\n --beerus: 224 224 224; /* #e0e0e0 */\n --gohan: 246 245 244; /* #f6f5f4 */\n --goten: 255 255 255; /* #ffffff */\n --goku: 255 255 255; /* #ffffff */\n --bulma: 24 27 28; /* #181b1c */\n --trunks: 120 120 125; /* #78787d */\n --popo: 0 0 0; /* #000000 */\n --jiren: 253 239 196 / 0.38; /* #fdefc4 */\n --heles: 0 0 0 / 0.04; /* #000000 */\n --zeno: 24 27 28 / 0.4; /* #181b1c */\n\n /* support-colors */\n --krillin: 255 179 25; /* #ffb319 */\n --krillin-60: 255 179 25 / 0.56; /* #ffb319 */\n --krillin-10: 255 179 25 / 0.08; /* #ffb319 */\n\n --chichi: 255 78 100; /* #ff4e64 */\n --chichi-60: 255 78 100 / 0.56; /* #ff4e64 */\n --chichi-10: 255 78 100 / 0.08; /* #ff4e64 */\n\n --roshi: 74 209 95; /* #4ad15f */\n --roshi-60: 74 209 95 / 0.56; /* #4ad15f */\n --roshi-10: 74 209 95 / 0.08; /* #4ad15f */\n\n --dodoria: 211 48 48; /* #d33030 */\n --dodoria-60: 211 48 48 / 0.56; /* #d33030 */\n --dodoria-10: 211 48 48 / 0.08; /* #d33030 */\n\n --cell: 149 241 213; /* #95f1d5 */\n --cell-60: 149 241 213 / 0.56; /* #95f1d5 */\n --cell-10: 149 241 213 / 0.08; /* #95f1d5 */\n\n --raditz: 179 128 74; /* #b3804a */\n --raditz-60: 179 128 74 / 0.56; /* #b3804a */\n --raditz-10: 179 128 74 / 0.08; /* #b3804a */\n\n --whis: 52 72 240; /* #3448f0 */\n --whis-60: 52 72 240 / 0.56; /* #3448f0 */\n --whis-10: 52 72 240 / 0.08; /* #3448f0 */\n\n --frieza: 92 51 207; /* #5c33cf */\n --frieza-60: 92 51 207 / 0.56; /* #5c33cf */\n --frieza-10: 92 51 207 / 0.08; /* #5c33cf */\n\n --nappa: 114 85 80; /* #725550 */\n --nappa-60: 114 85 80 / 0.56; /* #725550 */\n --nappa-10: 114 85 80 / 0.08; /* #725550 */\n\n /* border-radius */\n --radius-i-xs: 0.25rem; /* 4px */\n --radius-i-sm: 0.5rem; /* 8px */\n --radius-i-md: 0.75rem; /* 12px */\n --radius-s-xs: 0.25rem; /* 4px */\n --radius-s-sm: 0.5rem; /* 8px */\n --radius-s-md: 0.75rem; /* 12px */\n --radius-s-lg: 1rem; /* 16px */\n\n /* border-width */\n --border-width: 0.0625rem; /* 1px */\n --border-i-width: 0.125rem; /* 2px */\n\n /* opacity */\n --opacity-moon: 0.6;\n\n /* fonts */\n --averta: "Averta Std";\n --dm-sans: "DM Sans";\n\n /* box-shadow */\n --shadow-xs: 0 4px 12px -6px rgb(0 0 0 / 0.06);\n --shadow-sm: 0 6px 6px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-md: 0 12px 12px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-lg: 0 8px 24px -6px rgb(0 0 0 / 0.16), 0 0 1px rgb(0 0 0 / 0.4);\n --shadow-xl: 0 32px 32px -8px rgb(0 0 0 / 0.08),\n 0 0 32px -8px rgb(0 0 0 / 0.12), 0 0 1px rgb(0 0 0 / 0.2);\n}\n', - ], - sourceRoot: "", - }, - ]); - const __WEBPACK_DEFAULT_EXPORT__ = ___CSS_LOADER_EXPORT___; - }, - "storybook/internal/channels": (module) => { - "use strict"; - module.exports = __STORYBOOK_MODULE_CHANNELS__; - }, - "storybook/internal/client-logger": (module) => { - "use strict"; - module.exports = __STORYBOOK_MODULE_CLIENT_LOGGER__; - }, - "storybook/internal/preview-errors": (module) => { - "use strict"; - module.exports = __STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__; - }, - "storybook/internal/core-events": (module) => { - "use strict"; - module.exports = __STORYBOOK_MODULE_CORE_EVENTS__; - }, - "@storybook/global": (module) => { - "use strict"; - module.exports = __STORYBOOK_MODULE_GLOBAL__; - }, - "storybook/internal/preview-api": (module) => { - "use strict"; - module.exports = __STORYBOOK_MODULE_PREVIEW_API__; - }, - "?d72a": () => {}, - "?967c": () => {}, - "?ce8c": () => {}, - }, - (__webpack_require__) => { - __webpack_require__.O(0, [412], () => { - return ( - (moduleId = "./storybook-config-entry.js"), - __webpack_require__((__webpack_require__.s = moduleId)) - ); - var moduleId; - }); - __webpack_require__.O(); - }, -]); diff --git a/docs/public/stories/next.svg b/docs/public/stories/next.svg deleted file mode 100644 index 5174b28c..00000000 --- a/docs/public/stories/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/public/stories/nunito-sans-bold-italic.woff2 b/docs/public/stories/nunito-sans-bold-italic.woff2 deleted file mode 100644 index 33563d8bf4cde9714ef7dbeadabc769bba555dde..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 49460 zcmaI6V~j3b&@K41ZQHhO+vaK8Hc#8OZQHhOpSG?0&b>3qcmK@FPHOK;Wv`_ERAp7U zD~K}#fB^qtfE9rBp8;lC1_1hJ{*Ukf@&Dhz4k5=0iZ#T|-~=}Wq)ecpy5Int$Yq^A-?QKe zjn!aC%*%;?>Z;>+6{@qen$BOj0km!|X&Qh34@xG8S6$q1(t994QG-@F8Vr}$m($D8 zfU)T$>nW9#>8mo97n}Qs5y=SEo$KfEs6QzfpMqgaB4s2ym#oV&)Gln%_)PpmXx^-C zW0I|~IJUN1cqWuf=}cRssBSWxtb{RDlglp+MLGa0Lb)emDq;@9=WU|g8DZFQ;&vG1 zNy8}Rc@-E=jiRESp`^zf4IybIYvM~oYO5?NG0_f{`jjk<8>W%^XXo${6l&X=V6o zoU~DoZ=~&OWEZ$jj-`o)S%i2-jxQtr_$M*~wba$cE)#b*@jGx5SWu9ZIYcPH)WDOI z0Xd=M$vI|g3RX=S@JTmDTdlV5&2-;6_W^M53Q4%ncR$ouYKx^6QqSZSk(_T@*Y9w$ zex*%z0%t3_*Z7NM^MA=bu3XCe@4_#FMMM`qm26RON4}ljQqhr`7=PU;HvQS+?&Qz1 zX7e%wd+7-$t0qo}lxjJ-wu#Q`3}kATWpHsKxcjk)?ys~1+`oYAP5x*#hXu&mT^L5R zsxY;NbJm*sy!+>hJoV-&#@1;KP^s@}_gBhS3o)(V5T)z5Z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H@pX7x;Fgbj`G4wWy#Bn%EGu;fU=Zn{m{g}h z%it9`?JS5w1R;bF#uyWfF~*o+j0qtG6G8~aM}ib0h%li{8z4f2GHrke6N;I36No97 zMlAp$OeoU^h%li{8z91jGHrmA*{F?(Jt#vo6hk!>+x3xxmG1p@Q*BAGOvF2?A*5$)(ie#LAi!YnJ~r}+gZGv<^A`C*yR5EHnBDSbg}1Dr+5D%Cw(m)KuFy8+wwSE zF9Ru0M}5B~bFuF9KSZCETo=Y~9y~604WzqYur#d}Ax~mFAu)p<&AAAgj+{_ZjWdsH zi?GMx2GER%#JA^)BOu%b!Tp&$n127F$Kh%YSc(p%rM)6Ii*RoUCV&CVsK1vy4Rj81 zfYy=y+bz_fRFWr0JZl=~hk6jp8(_j}7kcC?2s>HZM>2w6WU^rVvz>VPul1?!2U+)v zuod&L$Yy;0d+FUJ{nuCimdVyeB9O^bx5le4KZfJ&cxtiVmX(5xath}^px((mqGSGy z@xi}^FOtS^#EZU7_m|=73b7_sSYwF>n}QPnzSV_^A!t(jCKQ<+* zk5B7w9~QK`ptgki5!|C%$~-8rXvk9Iqz5$@@4|UKQPd$xDO6Ey5{{32kBVicQc#4F zr4NOJvH*{f?*GJpwG{eXzkFLZl>L1&qSNjKjZUBeEu@0+?J(T{F``HUMswnKXtZ~ V?*A;^mHU5)!*1%;=ZwHT^Z<_iv?Txl diff --git a/docs/public/stories/nunito-sans-bold.woff2 b/docs/public/stories/nunito-sans-bold.woff2 deleted file mode 100644 index 19fcc944a152862670ea6adaa1cf3fd4926474fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 47144 zcmZU(V~j9N&@DK&ZQHhO+qP}nwr$(C?U`q6oBQ7V_Q&0OPbytWr8`xrAC=TO?Jh6I z1ON!|A37)i5dU*PR3ZQX?Zf{Q`(N?@Kd?f`u!CY8a56c-3;rZ3%NiDK*J@#XJugm)wJh-6Ja*T+?2&YdWu95FW5kWxK~}3kM8!c zIXYE;fpghaIR&^Iv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HB6WM3Rw6^%)^+>_j#4BJ<>yMD`~@R zLs=BRiXqByYkB2RU447{l0Wqb(LyBQ^;1_vpy(hhs|`Y4eE5zJ0s+f@IvnkIKX7%? z^3C$rP7|Zmv`ncB%Lk#dLcBhX#K_ S?)fP$z5LIsl&iCry$Jx2T6u&3 diff --git a/docs/public/stories/nunito-sans-italic.woff2 b/docs/public/stories/nunito-sans-italic.woff2 deleted file mode 100644 index 827096daec30f761f6b910650db2c80183227c3b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 49620 zcmY&-V~j3L(Cpf_ZQHhO+d6C8w$9pm*0yciwt05AlNj)_xFC#x(rBQ9$e?rJkfC5gZ}dXT z$Y7JOfPgtb$UqBuz=*&jv><2X;es@DiGY(~N}U64bThz2B|vt}g#PhZ_O*$V^9x78@YZ)uE*HKIWd{31qT*b|)N3rp&l{s!wv3Zr2=N0*?X$48l@)P3oJ`Ge z-|}*W+_?@@Pvcp1iwB9giBHUev!ts+N~#vMb5_p>AbH3-nNWokk61b5k|oIJroy)= zS%e4Be6eHW({jtHtltS9RZV|D^gdqF4%2XTL(f2UVaMb0M^x?aaEZ*&Rbd@(-d6i& zjx~S0k90NuKHXDa=Z?W*2U&xTjqdU4=%=DRqSP@jPEKS<5psHbcCXbP!YvVgRw$6q zdU`TLAO*WWF4vVXdRfVDa#8m+zX_mqKdQd#OB}T*Wq0YrPdrLUn3iw7wLLJ~sGHBG zg&YlRlZcm*CIsov%k;`R084Lj_#tvF8bY(^n3khoAXXQ*_x*^B8?k0SeB_?V?J6B! ziEN0_4ue61Jv3J&au+cP9E5!*FZ?5I|5*z95-lxynBS-B#*XtfHIKG?yMN6kRX3=i zTXsRE6&r7Xm;PY{v6^5hh}ET(aMq($Z0t?H`M&X&vCY8y8ot32W=YjBSV1dHbS;Gz z!HSn^``y@)4I~Q{VpP|cji3>)iZi)b=h5gT;jq&pn7b1tL{vsbT0jt{Ga6e2 z5*9~B5I&hlO6WYL={UO87aRJs_N+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I>q98BCQ`~cv(W}hyyKaAb zq$_{@DrVc`>vefLJF)(Q!jH$t*S>4`yeQ;^W{)6e<8M}eG9Uj;@{{= z^4<&LvjLqs$~NJgb3XI@`X`@{;Jdz`gv2g&d=+Y~f7|m{LnLDAf|_<=ukYyQUI14S z^#p7-G*|nLK1_aSef~{$kEZ%zED=9n3g4^I(k~z+N>2uDZCeBMTe1(stN zE0HOx+TARK^P;r5rXPJ9_fvu8a2?5twFtBJ7QJh=&Vk=8{z>@r+D|AiAm4vL{JfK& zcPl+}o$B1oFMQ*&j3xWA^H+j+Edt{sQzz|emRaIKGm`S#+^g2O)5>jzxRS1^<0=Fv zho6`G)1`O+;CsIIRHiJd6c|pgemuYV@RQtKqFW#RHfn#Qj@O(XA+D{a+8uJ){-;ul_(c; z+qOWQU^m9xX?vcEn!zVQAS783f;S}#@}d{Kxr;x|nKxnsiCZ<( z$AW5NP4FjH4`)(l`h&Wa>FI1V@ZXRl(jWOnUmI$aUlH=!F2MSkJ_Kp)Xg;0P9F!cS zAB~PEN2uQI2!@uT#XH4Vd~_$2O6Cv`1Zi+MOXq#dFLQ-l5yw13A| M&VP%l567&w0SV=I=Kufz diff --git a/docs/public/stories/nunito-sans-regular.woff2 b/docs/public/stories/nunito-sans-regular.woff2 deleted file mode 100644 index c527ba49cf63b3e9462f2a8f6e7f650ee28d1950..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 47072 zcmY(pL#!|iuQj@D>)Ez#+qP}nwr$(CZQHhO<9~0?EfeSc6@Ik}$!DnP(0#vmiUlU*_MqID{#sEGO$#+5l+7#1hpT1|==8e9HP;$&r zl?O~ZC6(Ju?H4=-)#p5oP@De#4|*BYgRE|3X+F1)$l`*NRfeD-37QiAnHV0*jFKW3 zs7!9EN=LhlZjNuY#hXRMsvm^}Rubj;i7!#0G(Gx)RM317XzYqpq^-GsFwMjdu+)!C zbtZ+wtz3I}r4bSNiiH#}*ZWMF&4Q9&(GfTyee=V*YR5ML9xti>5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yfeV;gK%^yL|+q>HRD8Moz4yb+%7j1bQZju2huSbx~NgmZ*XX>pfy*?1IgJ?+98hgWgC|?B@(Sl8f(KjFtQmY}f6N;&_$^z)+(H+%E5Og}O|LK!*r zdc1!3No7+y<;6desskD25}tp6`iXkPH~e|QvhUo-Sz;uTagVd`C0--W6MW>_Sfyfz zDI)Z;E&*5fcl-y;Kmv3OPgcr^VmJJWDuec@b8jDUa;qIgYoYiQx}RIAWvWMTv#el< z!eh&^Q(-&{SF~ZQCas!UGloz}yN~0wtfi+zRzj-S^Joi!0#?1xzot(nikm@`rk>C; zl@nC#eeD>r`uI5FT_kprMVa-jShGy^!Y$6&|C{z(^ZqczHD9l`ANzI24SyZKqd~NB zsrxym6nRHidb5`anV~UICT2oL800@$#5$v3&@z=XvKS~Q=7j7J)t^h?uf#sJvQkX@ z&a=lYIq2|nS8^dLw|OBm+UFav=S_Abxa-NsxqDiDgdd)Z;sy2siIUzT-e?2oE;HNN z%d?y8^UKD{3 { - "use strict"; - var deferred, - leafPrototypes, - getProto, - inProgress, - __webpack_modules__ = {}, - __webpack_module_cache__ = {}; - function __webpack_require__(moduleId) { - var cachedModule = __webpack_module_cache__[moduleId]; - if (void 0 !== cachedModule) return cachedModule.exports; - var module = (__webpack_module_cache__[moduleId] = { - id: moduleId, - loaded: !1, - exports: {}, - }); - return ( - __webpack_modules__[moduleId].call( - module.exports, - module, - module.exports, - __webpack_require__, - ), - (module.loaded = !0), - module.exports - ); - } - (__webpack_require__.m = __webpack_modules__), - (__webpack_require__.amdO = {}), - (deferred = []), - (__webpack_require__.O = (result, chunkIds, fn, priority) => { - if (!chunkIds) { - var notFulfilled = 1 / 0; - for (i = 0; i < deferred.length; i++) { - for ( - var [chunkIds, fn, priority] = deferred[i], fulfilled = !0, j = 0; - j < chunkIds.length; - j++ - ) - (!1 & priority || notFulfilled >= priority) && - Object.keys(__webpack_require__.O).every((key) => - __webpack_require__.O[key](chunkIds[j]), - ) - ? chunkIds.splice(j--, 1) - : ((fulfilled = !1), - priority < notFulfilled && (notFulfilled = priority)); - if (fulfilled) { - deferred.splice(i--, 1); - var r = fn(); - void 0 !== r && (result = r); - } - } - return result; - } - priority = priority || 0; - for (var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) - deferred[i] = deferred[i - 1]; - deferred[i] = [chunkIds, fn, priority]; - }), - (__webpack_require__.n = (module) => { - var getter = - module && module.__esModule ? () => module.default : () => module; - return __webpack_require__.d(getter, { a: getter }), getter; - }), - (getProto = Object.getPrototypeOf - ? (obj) => Object.getPrototypeOf(obj) - : (obj) => obj.__proto__), - (__webpack_require__.t = function (value, mode) { - if ((1 & mode && (value = this(value)), 8 & mode)) return value; - if ("object" == typeof value && value) { - if (4 & mode && value.__esModule) return value; - if (16 & mode && "function" == typeof value.then) return value; - } - var ns = Object.create(null); - __webpack_require__.r(ns); - var def = {}; - leafPrototypes = leafPrototypes || [ - null, - getProto({}), - getProto([]), - getProto(getProto), - ]; - for ( - var current = 2 & mode && value; - "object" == typeof current && !~leafPrototypes.indexOf(current); - current = getProto(current) - ) - Object.getOwnPropertyNames(current).forEach( - (key) => (def[key] = () => value[key]), - ); - return (def.default = () => value), __webpack_require__.d(ns, def), ns; - }), - (__webpack_require__.d = (exports, definition) => { - for (var key in definition) - __webpack_require__.o(definition, key) && - !__webpack_require__.o(exports, key) && - Object.defineProperty(exports, key, { - enumerable: !0, - get: definition[key], - }); - }), - (__webpack_require__.f = {}), - (__webpack_require__.e = (chunkId) => - Promise.all( - Object.keys(__webpack_require__.f).reduce( - (promises, key) => ( - __webpack_require__.f[key](chunkId, promises), promises - ), - [], - ), - )), - (__webpack_require__.u = (chunkId) => - (({ - 303: "Button-stories", - 437: "Textarea-stories", - 617: "Chip-stories", - 844: "Avatar-stories", - })[chunkId] || chunkId) + - "." + - { - 56: "bff23aa6", - 303: "6886561d", - 420: "b22d1390", - 437: "bf2dde3e", - 617: "51deacac", - 689: "400ba15c", - 701: "dcf889b0", - 844: "01c339a8", - 847: "b9534917", - 960: "2ee1c35f", - 996: "702dc69d", - }[chunkId] + - ".iframe.bundle.js"), - (__webpack_require__.g = (function () { - if ("object" == typeof globalThis) return globalThis; - try { - return this || new Function("return this")(); - } catch (e) { - if ("object" == typeof window) return window; - } - })()), - (__webpack_require__.hmd = (module) => ( - (module = Object.create(module)).children || (module.children = []), - Object.defineProperty(module, "exports", { - enumerable: !0, - set: () => { - throw new Error( - "ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: " + - module.id, - ); - }, - }), - module - )), - (__webpack_require__.o = (obj, prop) => - Object.prototype.hasOwnProperty.call(obj, prop)), - (inProgress = {}), - (__webpack_require__.l = (url, done, key, chunkId) => { - if (inProgress[url]) inProgress[url].push(done); - else { - var script, needAttach; - if (void 0 !== key) - for ( - var scripts = document.getElementsByTagName("script"), i = 0; - i < scripts.length; - i++ - ) { - var s = scripts[i]; - if ( - s.getAttribute("src") == url || - s.getAttribute("data-webpack") == "docs:" + key - ) { - script = s; - break; - } - } - script || - ((needAttach = !0), - ((script = document.createElement("script")).charset = "utf-8"), - (script.timeout = 120), - __webpack_require__.nc && - script.setAttribute("nonce", __webpack_require__.nc), - script.setAttribute("data-webpack", "docs:" + key), - (script.src = url)), - (inProgress[url] = [done]); - var onScriptComplete = (prev, event) => { - (script.onerror = script.onload = null), clearTimeout(timeout); - var doneFns = inProgress[url]; - if ( - (delete inProgress[url], - script.parentNode && script.parentNode.removeChild(script), - doneFns && doneFns.forEach((fn) => fn(event)), - prev) - ) - return prev(event); - }, - timeout = setTimeout( - onScriptComplete.bind(null, void 0, { - type: "timeout", - target: script, - }), - 12e4, - ); - (script.onerror = onScriptComplete.bind(null, script.onerror)), - (script.onload = onScriptComplete.bind(null, script.onload)), - needAttach && document.head.appendChild(script); - } - }), - (__webpack_require__.r = (exports) => { - "undefined" != typeof Symbol && - Symbol.toStringTag && - Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), - Object.defineProperty(exports, "__esModule", { value: !0 }); - }), - (__webpack_require__.p = ""), - (() => { - var installedChunks = { 354: 0 }; - (__webpack_require__.f.j = (chunkId, promises) => { - var installedChunkData = __webpack_require__.o(installedChunks, chunkId) - ? installedChunks[chunkId] - : void 0; - if (0 !== installedChunkData) - if (installedChunkData) promises.push(installedChunkData[2]); - else if (354 != chunkId) { - var promise = new Promise( - (resolve, reject) => - (installedChunkData = installedChunks[chunkId] = - [resolve, reject]), - ); - promises.push((installedChunkData[2] = promise)); - var url = __webpack_require__.p + __webpack_require__.u(chunkId), - error = new Error(); - __webpack_require__.l( - url, - (event) => { - if ( - __webpack_require__.o(installedChunks, chunkId) && - (0 !== (installedChunkData = installedChunks[chunkId]) && - (installedChunks[chunkId] = void 0), - installedChunkData) - ) { - var errorType = - event && ("load" === event.type ? "missing" : event.type), - realSrc = event && event.target && event.target.src; - (error.message = - "Loading chunk " + - chunkId + - " failed.\n(" + - errorType + - ": " + - realSrc + - ")"), - (error.name = "ChunkLoadError"), - (error.type = errorType), - (error.request = realSrc), - installedChunkData[1](error); - } - }, - "chunk-" + chunkId, - chunkId, - ); - } else installedChunks[chunkId] = 0; - }), - (__webpack_require__.O.j = (chunkId) => 0 === installedChunks[chunkId]); - var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { - var moduleId, - chunkId, - [chunkIds, moreModules, runtime] = data, - i = 0; - if (chunkIds.some((id) => 0 !== installedChunks[id])) { - for (moduleId in moreModules) - __webpack_require__.o(moreModules, moduleId) && - (__webpack_require__.m[moduleId] = moreModules[moduleId]); - if (runtime) var result = runtime(__webpack_require__); - } - for ( - parentChunkLoadingFunction && parentChunkLoadingFunction(data); - i < chunkIds.length; - i++ - ) - (chunkId = chunkIds[i]), - __webpack_require__.o(installedChunks, chunkId) && - installedChunks[chunkId] && - installedChunks[chunkId][0](), - (installedChunks[chunkId] = 0); - return __webpack_require__.O(result); - }, - chunkLoadingGlobal = (self.webpackChunkdocs = - self.webpackChunkdocs || []); - chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)), - (chunkLoadingGlobal.push = webpackJsonpCallback.bind( - null, - chunkLoadingGlobal.push.bind(chunkLoadingGlobal), - )); - })(), - (__webpack_require__.nc = void 0); -})(); diff --git a/docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js b/docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js deleted file mode 100644 index 4d2b2f2e..00000000 --- a/docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js +++ /dev/null @@ -1,28622 +0,0 @@ -try { - (() => { - var vc = Object.create; - var Ga = Object.defineProperty; - var yc = Object.getOwnPropertyDescriptor; - var bc = Object.getOwnPropertyNames; - var Ec = Object.getPrototypeOf, - kc = Object.prototype.hasOwnProperty; - var Xt = ((e) => - typeof require < "u" - ? require - : typeof Proxy < "u" - ? new Proxy(e, { - get: (t, n) => (typeof require < "u" ? require : t)[n], - }) - : e)(function (e) { - if (typeof require < "u") return require.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - }); - var qa = (e, t) => () => (e && (t = e((e = 0))), t); - var wc = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ), - mo = (e, t) => { - for (var n in t) Ga(e, n, { get: t[n], enumerable: !0 }); - }, - po = (e, t, n, r) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let i of bc(t)) - !kc.call(e, i) && - i !== n && - Ga(e, i, { - get: () => t[i], - enumerable: !(r = yc(t, i)) || r.enumerable, - }); - return e; - }; - var Cc = (e, t, n) => ( - (n = e != null ? vc(Ec(e)) : {}), - po( - t || !e || !e.__esModule - ? Ga(n, "default", { value: e, enumerable: !0 }) - : n, - e, - ) - ), - ho = (e) => po(Ga({}, "__esModule", { value: !0 }), e); - var ke = qa(() => {}); - var Qe, - we = qa(() => { - Qe = { - NODE_ENV: "production", - NODE_PATH: [ - "/Users/roberto.angulo/projects/moon-projects/moon-light/node_modules/.pnpm/storybook@8.4.7_prettier@3.3.3/node_modules/storybook/bin/node_modules", - "/Users/roberto.angulo/projects/moon-projects/moon-light/node_modules/.pnpm/storybook@8.4.7_prettier@3.3.3/node_modules/storybook/node_modules", - "/Users/roberto.angulo/projects/moon-projects/moon-light/node_modules/.pnpm/storybook@8.4.7_prettier@3.3.3/node_modules", - "/Users/roberto.angulo/projects/moon-projects/moon-light/node_modules/.pnpm/node_modules", - ], - STORYBOOK: "true", - PUBLIC_URL: ".", - }; - }); - var Ce = qa(() => {}); - var Ya = {}; - mo(Ya, { - Children: () => xc, - Component: () => jt, - Fragment: () => Nc, - Profiler: () => Mc, - PureComponent: () => _c, - StrictMode: () => Oc, - Suspense: () => Ac, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => Tc, - cloneElement: () => Fc, - createContext: () => Xe, - createElement: () => x, - createFactory: () => Lc, - createRef: () => Rc, - default: () => a, - forwardRef: () => K, - isValidElement: () => pi, - lazy: () => Ic, - memo: () => Zc, - startTransition: () => Bc, - unstable_act: () => Pc, - useCallback: () => G, - useContext: () => zt, - useDebugValue: () => Vc, - useDeferredValue: () => Dc, - useEffect: () => ne, - useId: () => Hc, - useImperativeHandle: () => jc, - useInsertionEffect: () => zc, - useLayoutEffect: () => Uc, - useMemo: () => wt, - useReducer: () => hi, - useRef: () => Be, - useState: () => Pe, - useSyncExternalStore: () => $c, - useTransition: () => Wc, - version: () => Gc, - }); - var a, - xc, - jt, - Nc, - Mc, - _c, - Oc, - Ac, - Tc, - Fc, - Xe, - x, - Lc, - Rc, - K, - pi, - Ic, - Zc, - Bc, - Pc, - G, - zt, - Vc, - Dc, - ne, - Hc, - jc, - zc, - Uc, - wt, - hi, - Be, - Pe, - $c, - Wc, - Gc, - Qn = qa(() => { - ke(); - we(); - Ce(); - (a = __REACT__), - ({ - Children: xc, - Component: jt, - Fragment: Nc, - Profiler: Mc, - PureComponent: _c, - StrictMode: Oc, - Suspense: Ac, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Tc, - cloneElement: Fc, - createContext: Xe, - createElement: x, - createFactory: Lc, - createRef: Rc, - forwardRef: K, - isValidElement: pi, - lazy: Ic, - memo: Zc, - startTransition: Bc, - unstable_act: Pc, - useCallback: G, - useContext: zt, - useDebugValue: Vc, - useDeferredValue: Dc, - useEffect: ne, - useId: Hc, - useImperativeHandle: jc, - useInsertionEffect: zc, - useLayoutEffect: Uc, - useMemo: wt, - useReducer: hi, - useRef: Be, - useState: Pe, - useSyncExternalStore: $c, - useTransition: Wc, - version: Gc, - } = __REACT__); - }); - var Ao = wc((ea, wi) => { - ke(); - we(); - Ce(); - (function (e, t) { - typeof ea == "object" && typeof wi == "object" - ? (wi.exports = t((Qn(), ho(Ya)))) - : typeof define == "function" && define.amd - ? define(["react"], t) - : typeof ea == "object" - ? (ea.ReactConfetti = t((Qn(), ho(Ya)))) - : (e.ReactConfetti = t(e.React)); - })(typeof self < "u" ? self : ea, function (e) { - return (function (t) { - var n = {}; - function r(i) { - if (n[i]) return n[i].exports; - var l = (n[i] = { i, l: !1, exports: {} }); - return t[i].call(l.exports, l, l.exports, r), (l.l = !0), l.exports; - } - return ( - (r.m = t), - (r.c = n), - (r.d = function (i, l, o) { - r.o(i, l) || - Object.defineProperty(i, l, { enumerable: !0, get: o }); - }), - (r.r = function (i) { - typeof Symbol < "u" && - Symbol.toStringTag && - Object.defineProperty(i, Symbol.toStringTag, { - value: "Module", - }), - Object.defineProperty(i, "__esModule", { value: !0 }); - }), - (r.t = function (i, l) { - if ( - (1 & l && (i = r(i)), - 8 & l || (4 & l && typeof i == "object" && i && i.__esModule)) - ) - return i; - var o = Object.create(null); - if ( - (r.r(o), - Object.defineProperty(o, "default", { - enumerable: !0, - value: i, - }), - 2 & l && typeof i != "string") - ) - for (var s in i) - r.d( - o, - s, - function (c) { - return i[c]; - }.bind(null, s), - ); - return o; - }), - (r.n = function (i) { - var l = - i && i.__esModule - ? function () { - return i.default; - } - : function () { - return i; - }; - return r.d(l, "a", l), l; - }), - (r.o = function (i, l) { - return Object.prototype.hasOwnProperty.call(i, l); - }), - (r.p = ""), - r((r.s = 2)) - ); - })([ - function (t, n) { - t.exports = e; - }, - function (t, n, r) { - "use strict"; - var i = { - linear: function (l, o, s, c) { - return ((s - o) * l) / c + o; - }, - easeInQuad: function (l, o, s, c) { - return (s - o) * (l /= c) * l + o; - }, - easeOutQuad: function (l, o, s, c) { - return -(s - o) * (l /= c) * (l - 2) + o; - }, - easeInOutQuad: function (l, o, s, c) { - var d = s - o; - return (l /= c / 2) < 1 - ? (d / 2) * l * l + o - : (-d / 2) * (--l * (l - 2) - 1) + o; - }, - easeInCubic: function (l, o, s, c) { - return (s - o) * (l /= c) * l * l + o; - }, - easeOutCubic: function (l, o, s, c) { - return (s - o) * ((l = l / c - 1) * l * l + 1) + o; - }, - easeInOutCubic: function (l, o, s, c) { - var d = s - o; - return (l /= c / 2) < 1 - ? (d / 2) * l * l * l + o - : (d / 2) * ((l -= 2) * l * l + 2) + o; - }, - easeInQuart: function (l, o, s, c) { - return (s - o) * (l /= c) * l * l * l + o; - }, - easeOutQuart: function (l, o, s, c) { - return -(s - o) * ((l = l / c - 1) * l * l * l - 1) + o; - }, - easeInOutQuart: function (l, o, s, c) { - var d = s - o; - return (l /= c / 2) < 1 - ? (d / 2) * l * l * l * l + o - : (-d / 2) * ((l -= 2) * l * l * l - 2) + o; - }, - easeInQuint: function (l, o, s, c) { - return (s - o) * (l /= c) * l * l * l * l + o; - }, - easeOutQuint: function (l, o, s, c) { - return (s - o) * ((l = l / c - 1) * l * l * l * l + 1) + o; - }, - easeInOutQuint: function (l, o, s, c) { - var d = s - o; - return (l /= c / 2) < 1 - ? (d / 2) * l * l * l * l * l + o - : (d / 2) * ((l -= 2) * l * l * l * l + 2) + o; - }, - easeInSine: function (l, o, s, c) { - var d = s - o; - return -d * Math.cos((l / c) * (Math.PI / 2)) + d + o; - }, - easeOutSine: function (l, o, s, c) { - return (s - o) * Math.sin((l / c) * (Math.PI / 2)) + o; - }, - easeInOutSine: function (l, o, s, c) { - return (-(s - o) / 2) * (Math.cos((Math.PI * l) / c) - 1) + o; - }, - easeInExpo: function (l, o, s, c) { - return l == 0 ? o : (s - o) * Math.pow(2, 10 * (l / c - 1)) + o; - }, - easeOutExpo: function (l, o, s, c) { - var d = s - o; - return l == c - ? o + d - : d * (1 - Math.pow(2, (-10 * l) / c)) + o; - }, - easeInOutExpo: function (l, o, s, c) { - var d = s - o; - return l === 0 - ? o - : l === c - ? o + d - : (l /= c / 2) < 1 - ? (d / 2) * Math.pow(2, 10 * (l - 1)) + o - : (d / 2) * (2 - Math.pow(2, -10 * --l)) + o; - }, - easeInCirc: function (l, o, s, c) { - return -(s - o) * (Math.sqrt(1 - (l /= c) * l) - 1) + o; - }, - easeOutCirc: function (l, o, s, c) { - return (s - o) * Math.sqrt(1 - (l = l / c - 1) * l) + o; - }, - easeInOutCirc: function (l, o, s, c) { - var d = s - o; - return (l /= c / 2) < 1 - ? (-d / 2) * (Math.sqrt(1 - l * l) - 1) + o - : (d / 2) * (Math.sqrt(1 - (l -= 2) * l) + 1) + o; - }, - easeInElastic: function (l, o, s, c) { - var d, - u, - m, - p = s - o; - return ( - (m = 1.70158), - l === 0 - ? o - : (l /= c) == 1 - ? o + p - : ((u = 0) || (u = 0.3 * c), - (d = p) < Math.abs(p) - ? ((d = p), (m = u / 4)) - : (m = (u / (2 * Math.PI)) * Math.asin(p / d)), - -d * - Math.pow(2, 10 * (l -= 1)) * - Math.sin(((l * c - m) * (2 * Math.PI)) / u) + - o) - ); - }, - easeOutElastic: function (l, o, s, c) { - var d, - u, - m, - p = s - o; - return ( - (m = 1.70158), - l === 0 - ? o - : (l /= c) == 1 - ? o + p - : ((u = 0) || (u = 0.3 * c), - (d = p) < Math.abs(p) - ? ((d = p), (m = u / 4)) - : (m = (u / (2 * Math.PI)) * Math.asin(p / d)), - d * - Math.pow(2, -10 * l) * - Math.sin(((l * c - m) * (2 * Math.PI)) / u) + - p + - o) - ); - }, - easeInOutElastic: function (l, o, s, c) { - var d, - u, - m, - p = s - o; - return ( - (m = 1.70158), - l === 0 - ? o - : (l /= c / 2) == 2 - ? o + p - : ((u = 0) || (u = c * 0.44999999999999996), - (d = p) < Math.abs(p) - ? ((d = p), (m = u / 4)) - : (m = (u / (2 * Math.PI)) * Math.asin(p / d)), - l < 1 - ? d * - Math.pow(2, 10 * (l -= 1)) * - Math.sin(((l * c - m) * (2 * Math.PI)) / u) * - -0.5 + - o - : d * - Math.pow(2, -10 * (l -= 1)) * - Math.sin(((l * c - m) * (2 * Math.PI)) / u) * - 0.5 + - p + - o) - ); - }, - easeInBack: function (l, o, s, c, d) { - return ( - d === void 0 && (d = 1.70158), - (s - o) * (l /= c) * l * ((d + 1) * l - d) + o - ); - }, - easeOutBack: function (l, o, s, c, d) { - return ( - d === void 0 && (d = 1.70158), - (s - o) * ((l = l / c - 1) * l * ((d + 1) * l + d) + 1) + o - ); - }, - easeInOutBack: function (l, o, s, c, d) { - var u = s - o; - return ( - d === void 0 && (d = 1.70158), - (l /= c / 2) < 1 - ? (u / 2) * (l * l * ((1 + (d *= 1.525)) * l - d)) + o - : (u / 2) * - ((l -= 2) * l * ((1 + (d *= 1.525)) * l + d) + 2) + - o - ); - }, - easeInBounce: function (l, o, s, c) { - var d = s - o; - return d - i.easeOutBounce(c - l, 0, d, c) + o; - }, - easeOutBounce: function (l, o, s, c) { - var d = s - o; - return (l /= c) < 0.36363636363636365 - ? d * (7.5625 * l * l) + o - : l < 0.7272727272727273 - ? d * (7.5625 * (l -= 0.5454545454545454) * l + 0.75) + o - : l < 0.9090909090909091 - ? d * (7.5625 * (l -= 0.8181818181818182) * l + 0.9375) + - o - : d * - (7.5625 * (l -= 0.9545454545454546) * l + 0.984375) + - o; - }, - easeInOutBounce: function (l, o, s, c) { - var d = s - o; - return l < c / 2 - ? 0.5 * i.easeInBounce(2 * l, 0, d, c) + o - : 0.5 * i.easeOutBounce(2 * l - c, 0, d, c) + 0.5 * d + o; - }, - }; - t.exports = i; - }, - function (t, n, r) { - t.exports = r(3); - }, - function (t, n, r) { - "use strict"; - r.r(n), - r.d(n, "ReactConfetti", function () { - return Wa; - }); - var i, - l, - o = r(0), - s = r.n(o), - c = r(1), - d = r.n(c); - function u(S, N) { - return S + Math.random() * (N - S); - } - function m(S, N) { - for (var _ = 0; _ < N.length; _++) { - var M = N[_]; - (M.enumerable = M.enumerable || !1), - (M.configurable = !0), - "value" in M && (M.writable = !0), - Object.defineProperty(S, M.key, M); - } - } - function p(S, N, _) { - return ( - N in S - ? Object.defineProperty(S, N, { - value: _, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (S[N] = _), - S - ); - } - (function (S) { - (S[(S.Circle = 0)] = "Circle"), - (S[(S.Square = 1)] = "Square"), - (S[(S.Strip = 2)] = "Strip"); - })(i || (i = {})), - (function (S) { - (S[(S.Positive = 1)] = "Positive"), - (S[(S.Negative = -1)] = "Negative"); - })(l || (l = {})); - var f = (function () { - function S(ce, oe, V, Ee) { - (function (di, Gn) { - if (!(di instanceof Gn)) - throw new TypeError("Cannot call a class as a function"); - })(this, S), - p(this, "context", void 0), - p(this, "radius", void 0), - p(this, "x", void 0), - p(this, "y", void 0), - p(this, "w", void 0), - p(this, "h", void 0), - p(this, "vx", void 0), - p(this, "vy", void 0), - p(this, "shape", void 0), - p(this, "angle", void 0), - p(this, "angularSpin", void 0), - p(this, "color", void 0), - p(this, "rotateY", void 0), - p(this, "rotationDirection", void 0), - p(this, "getOptions", void 0), - (this.getOptions = oe); - var xe, - ye, - Ze = this.getOptions(), - Ht = Ze.colors, - $e = Ze.initialVelocityX, - bn = Ze.initialVelocityY; - (this.context = ce), - (this.x = V), - (this.y = Ee), - (this.w = u(5, 20)), - (this.h = u(5, 20)), - (this.radius = u(5, 10)), - (this.vx = - typeof $e == "number" ? u(-$e, $e) : u($e.min, $e.max)), - (this.vy = - typeof bn == "number" ? u(-bn, 0) : u(bn.min, bn.max)), - (this.shape = - ((xe = 0), - (ye = 2), - Math.floor(xe + Math.random() * (ye - xe + 1)))), - (this.angle = (u(0, 360) * Math.PI) / 180), - (this.angularSpin = u(-0.2, 0.2)), - (this.color = Ht[Math.floor(Math.random() * Ht.length)]), - (this.rotateY = u(0, 1)), - (this.rotationDirection = u(0, 1) ? l.Positive : l.Negative); - } - var N, _, M; - return ( - (N = S), - (_ = [ - { - key: "update", - value: function () { - var ce = this.getOptions(), - oe = ce.gravity, - V = ce.wind, - Ee = ce.friction, - xe = ce.opacity, - ye = ce.drawShape; - (this.x += this.vx), - (this.y += this.vy), - (this.vy += oe), - (this.vx += V), - (this.vx *= Ee), - (this.vy *= Ee), - this.rotateY >= 1 && - this.rotationDirection === l.Positive - ? (this.rotationDirection = l.Negative) - : this.rotateY <= -1 && - this.rotationDirection === l.Negative && - (this.rotationDirection = l.Positive); - var Ze = 0.1 * this.rotationDirection; - if ( - ((this.rotateY += Ze), - (this.angle += this.angularSpin), - this.context.save(), - this.context.translate(this.x, this.y), - this.context.rotate(this.angle), - this.context.scale(1, this.rotateY), - this.context.rotate(this.angle), - this.context.beginPath(), - (this.context.fillStyle = this.color), - (this.context.strokeStyle = this.color), - (this.context.globalAlpha = xe), - (this.context.lineCap = "round"), - (this.context.lineWidth = 2), - ye && typeof ye == "function") - ) - ye.call(this, this.context); - else - switch (this.shape) { - case i.Circle: - this.context.beginPath(), - this.context.arc( - 0, - 0, - this.radius, - 0, - 2 * Math.PI, - ), - this.context.fill(); - break; - case i.Square: - this.context.fillRect( - -this.w / 2, - -this.h / 2, - this.w, - this.h, - ); - break; - case i.Strip: - this.context.fillRect( - -this.w / 6, - -this.h / 2, - this.w / 3, - this.h, - ); - } - this.context.closePath(), this.context.restore(); - }, - }, - ]) && m(N.prototype, _), - M && m(N, M), - S - ); - })(); - function g(S, N, _) { - return ( - N in S - ? Object.defineProperty(S, N, { - value: _, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (S[N] = _), - S - ); - } - var y = function S(N, _) { - var M = this; - (function (oe, V) { - if (!(oe instanceof V)) - throw new TypeError("Cannot call a class as a function"); - })(this, S), - g(this, "canvas", void 0), - g(this, "context", void 0), - g(this, "getOptions", void 0), - g(this, "x", 0), - g(this, "y", 0), - g(this, "w", 0), - g(this, "h", 0), - g(this, "lastNumberOfPieces", 0), - g(this, "tweenInitTime", Date.now()), - g(this, "particles", []), - g(this, "particlesGenerated", 0), - g(this, "removeParticleAt", function (oe) { - M.particles.splice(oe, 1); - }), - g(this, "getParticle", function () { - var oe = u(M.x, M.w + M.x), - V = u(M.y, M.h + M.y); - return new f(M.context, M.getOptions, oe, V); - }), - g(this, "animate", function () { - var oe = M.canvas, - V = M.context, - Ee = M.particlesGenerated, - xe = M.lastNumberOfPieces, - ye = M.getOptions(), - Ze = ye.run, - Ht = ye.recycle, - $e = ye.numberOfPieces, - bn = ye.debug, - di = ye.tweenFunction, - Gn = ye.tweenDuration; - if (!Ze) return !1; - var ui = M.particles.length, - qn = Ht ? ui : Ee, - mi = Date.now(); - if (qn < $e) { - xe !== $e && - ((M.tweenInitTime = mi), (M.lastNumberOfPieces = $e)); - for ( - var oo = M.tweenInitTime, - gc = di( - mi - oo > Gn ? Gn : Math.max(0, mi - oo), - qn, - $e, - Gn, - ), - so = Math.round(gc - qn), - co = 0; - co < so; - co++ - ) - M.particles.push(M.getParticle()); - M.particlesGenerated += so; - } - return ( - bn && - ((V.font = "12px sans-serif"), - (V.fillStyle = "#333"), - (V.textAlign = "right"), - V.fillText( - "Particles: ".concat(ui), - oe.width - 10, - oe.height - 20, - )), - M.particles.forEach(function (Yn, uo) { - Yn.update(), - (Yn.y > oe.height || - Yn.y < -100 || - Yn.x > oe.width + 100 || - Yn.x < -100) && - (Ht && qn <= $e - ? (M.particles[uo] = M.getParticle()) - : M.removeParticleAt(uo)); - }), - ui > 0 || qn < $e - ); - }), - (this.canvas = N); - var ce = this.canvas.getContext("2d"); - if (!ce) throw new Error("Could not get canvas context"); - (this.context = ce), (this.getOptions = _); - }; - function k(S, N) { - var _ = Object.keys(S); - if (Object.getOwnPropertySymbols) { - var M = Object.getOwnPropertySymbols(S); - N && - (M = M.filter(function (ce) { - return Object.getOwnPropertyDescriptor(S, ce).enumerable; - })), - _.push.apply(_, M); - } - return _; - } - function b(S) { - for (var N = 1; N < arguments.length; N++) { - var _ = arguments[N] != null ? arguments[N] : {}; - N % 2 - ? k(Object(_), !0).forEach(function (M) { - v(S, M, _[M]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - S, - Object.getOwnPropertyDescriptors(_), - ) - : k(Object(_)).forEach(function (M) { - Object.defineProperty( - S, - M, - Object.getOwnPropertyDescriptor(_, M), - ); - }); - } - return S; - } - function h(S, N) { - for (var _ = 0; _ < N.length; _++) { - var M = N[_]; - (M.enumerable = M.enumerable || !1), - (M.configurable = !0), - "value" in M && (M.writable = !0), - Object.defineProperty(S, M.key, M); - } - } - function v(S, N, _) { - return ( - N in S - ? Object.defineProperty(S, N, { - value: _, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (S[N] = _), - S - ); - } - var E = { - width: typeof window < "u" ? window.innerWidth : 300, - height: typeof window < "u" ? window.innerHeight : 200, - numberOfPieces: 200, - friction: 0.99, - wind: 0, - gravity: 0.1, - initialVelocityX: 4, - initialVelocityY: 10, - colors: [ - "#f44336", - "#e91e63", - "#9c27b0", - "#673ab7", - "#3f51b5", - "#2196f3", - "#03a9f4", - "#00bcd4", - "#009688", - "#4CAF50", - "#8BC34A", - "#CDDC39", - "#FFEB3B", - "#FFC107", - "#FF9800", - "#FF5722", - "#795548", - ], - opacity: 1, - debug: !1, - tweenFunction: d.a.easeInOutQuad, - tweenDuration: 5e3, - recycle: !0, - run: !0, - }, - C = (function () { - function S(ce, oe) { - var V = this; - (function (xe, ye) { - if (!(xe instanceof ye)) - throw new TypeError("Cannot call a class as a function"); - })(this, S), - v(this, "canvas", void 0), - v(this, "context", void 0), - v(this, "_options", void 0), - v(this, "generator", void 0), - v(this, "rafId", void 0), - v(this, "setOptionsWithDefaults", function (xe) { - var ye = { - confettiSource: { x: 0, y: 0, w: V.canvas.width, h: 0 }, - }; - (V._options = b(b(b({}, ye), E), xe)), - Object.assign(V, xe.confettiSource); - }), - v(this, "update", function () { - var xe = V.options, - ye = xe.run, - Ze = xe.onConfettiComplete, - Ht = V.canvas, - $e = V.context; - ye && - (($e.fillStyle = "white"), - $e.clearRect(0, 0, Ht.width, Ht.height)), - V.generator.animate() - ? (V.rafId = requestAnimationFrame(V.update)) - : (Ze && - typeof Ze == "function" && - V.generator.particlesGenerated > 0 && - Ze.call(V, V), - (V._options.run = !1)); - }), - v(this, "reset", function () { - V.generator && - V.generator.particlesGenerated > 0 && - ((V.generator.particlesGenerated = 0), - (V.generator.particles = []), - (V.generator.lastNumberOfPieces = 0)); - }), - v(this, "stop", function () { - (V.options = { run: !1 }), - V.rafId && - (cancelAnimationFrame(V.rafId), (V.rafId = void 0)); - }), - (this.canvas = ce); - var Ee = this.canvas.getContext("2d"); - if (!Ee) throw new Error("Could not get canvas context"); - (this.context = Ee), - (this.generator = new y(this.canvas, function () { - return V.options; - })), - (this.options = oe), - this.update(); - } - var N, _, M; - return ( - (N = S), - (_ = [ - { - key: "options", - get: function () { - return this._options; - }, - set: function (ce) { - var oe = this._options && this._options.run, - V = this._options && this._options.recycle; - this.setOptionsWithDefaults(ce), - this.generator && - (Object.assign( - this.generator, - this.options.confettiSource, - ), - typeof ce.recycle == "boolean" && - ce.recycle && - V === !1 && - (this.generator.lastNumberOfPieces = - this.generator.particles.length)), - typeof ce.run == "boolean" && - ce.run && - oe === !1 && - this.update(); - }, - }, - ]) && h(N.prototype, _), - M && h(N, M), - S - ); - })(); - function Z(S) { - return ( - (function (N) { - if (Array.isArray(N)) return be(N); - })(S) || - (function (N) { - if (typeof Symbol < "u" && Symbol.iterator in Object(N)) - return Array.from(N); - })(S) || - Oe(S) || - (function () { - throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - })() - ); - } - function P(S) { - return (P = - typeof Symbol == "function" && - typeof Symbol.iterator == "symbol" - ? function (N) { - return typeof N; - } - : function (N) { - return N && - typeof Symbol == "function" && - N.constructor === Symbol && - N !== Symbol.prototype - ? "symbol" - : typeof N; - })(S); - } - function W() { - return (W = - Object.assign || - function (S) { - for (var N = 1; N < arguments.length; N++) { - var _ = arguments[N]; - for (var M in _) - Object.prototype.hasOwnProperty.call(_, M) && - (S[M] = _[M]); - } - return S; - }).apply(this, arguments); - } - function q(S, N) { - var _ = Object.keys(S); - if (Object.getOwnPropertySymbols) { - var M = Object.getOwnPropertySymbols(S); - N && - (M = M.filter(function (ce) { - return Object.getOwnPropertyDescriptor(S, ce).enumerable; - })), - _.push.apply(_, M); - } - return _; - } - function se(S) { - for (var N = 1; N < arguments.length; N++) { - var _ = arguments[N] != null ? arguments[N] : {}; - N % 2 - ? q(Object(_), !0).forEach(function (M) { - Jt(S, M, _[M]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - S, - Object.getOwnPropertyDescriptors(_), - ) - : q(Object(_)).forEach(function (M) { - Object.defineProperty( - S, - M, - Object.getOwnPropertyDescriptor(_, M), - ); - }); - } - return S; - } - function ie(S, N) { - return ( - (function (_) { - if (Array.isArray(_)) return _; - })(S) || - (function (_, M) { - if ( - !(typeof Symbol > "u" || !(Symbol.iterator in Object(_))) - ) { - var ce = [], - oe = !0, - V = !1, - Ee = void 0; - try { - for ( - var xe, ye = _[Symbol.iterator](); - !(oe = (xe = ye.next()).done) && - (ce.push(xe.value), !M || ce.length !== M); - oe = !0 - ); - } catch (Ze) { - (V = !0), (Ee = Ze); - } finally { - try { - oe || ye.return == null || ye.return(); - } finally { - if (V) throw Ee; - } - } - return ce; - } - })(S, N) || - Oe(S, N) || - (function () { - throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - })() - ); - } - function Oe(S, N) { - if (S) { - if (typeof S == "string") return be(S, N); - var _ = Object.prototype.toString.call(S).slice(8, -1); - return ( - _ === "Object" && S.constructor && (_ = S.constructor.name), - _ === "Map" || _ === "Set" - ? Array.from(S) - : _ === "Arguments" || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_) - ? be(S, N) - : void 0 - ); - } - } - function be(S, N) { - (N == null || N > S.length) && (N = S.length); - for (var _ = 0, M = new Array(N); _ < N; _++) M[_] = S[_]; - return M; - } - function he(S, N) { - if (!(S instanceof N)) - throw new TypeError("Cannot call a class as a function"); - } - function le(S, N) { - for (var _ = 0; _ < N.length; _++) { - var M = N[_]; - (M.enumerable = M.enumerable || !1), - (M.configurable = !0), - "value" in M && (M.writable = !0), - Object.defineProperty(S, M.key, M); - } - } - function Ue(S, N) { - return (Ue = - Object.setPrototypeOf || - function (_, M) { - return (_.__proto__ = M), _; - })(S, N); - } - function Fe(S) { - var N = (function () { - if ( - typeof Reflect > "u" || - !Reflect.construct || - Reflect.construct.sham - ) - return !1; - if (typeof Proxy == "function") return !0; - try { - return ( - Date.prototype.toString.call( - Reflect.construct(Date, [], function () {}), - ), - !0 - ); - } catch { - return !1; - } - })(); - return function () { - var _, - M = Dt(S); - if (N) { - var ce = Dt(this).constructor; - _ = Reflect.construct(M, arguments, ce); - } else _ = M.apply(this, arguments); - return kt(this, _); - }; - } - function kt(S, N) { - return !N || (P(N) !== "object" && typeof N != "function") - ? Ie(S) - : N; - } - function Ie(S) { - if (S === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return S; - } - function Dt(S) { - return (Dt = Object.setPrototypeOf - ? Object.getPrototypeOf - : function (N) { - return N.__proto__ || Object.getPrototypeOf(N); - })(S); - } - function Jt(S, N, _) { - return ( - N in S - ? Object.defineProperty(S, N, { - value: _, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (S[N] = _), - S - ); - } - var ci = s.a.createRef(), - $n = (function (S) { - (function (V, Ee) { - if (typeof Ee != "function" && Ee !== null) - throw new TypeError( - "Super expression must either be null or a function", - ); - (V.prototype = Object.create(Ee && Ee.prototype, { - constructor: { value: V, writable: !0, configurable: !0 }, - })), - Ee && Ue(V, Ee); - })(oe, S); - var N, - _, - M, - ce = Fe(oe); - function oe(V) { - var Ee; - he(this, oe); - for ( - var xe = arguments.length, - ye = new Array(xe > 1 ? xe - 1 : 0), - Ze = 1; - Ze < xe; - Ze++ - ) - ye[Ze - 1] = arguments[Ze]; - return ( - Jt( - Ie((Ee = ce.call.apply(ce, [this, V].concat(ye)))), - "canvas", - s.a.createRef(), - ), - Jt(Ie(Ee), "confetti", void 0), - (Ee.canvas = V.canvasRef || ci), - Ee - ); - } - return ( - (N = oe), - (_ = [ - { - key: "componentDidMount", - value: function () { - if (this.canvas.current) { - var V = Wn(this.props)[0]; - this.confetti = new C(this.canvas.current, V); - } - }, - }, - { - key: "componentDidUpdate", - value: function () { - var V = Wn(this.props)[0]; - this.confetti && (this.confetti.options = V); - }, - }, - { - key: "componentWillUnmount", - value: function () { - this.confetti && this.confetti.stop(), - (this.confetti = void 0); - }, - }, - { - key: "render", - value: function () { - var V = ie(Wn(this.props), 2), - Ee = V[0], - xe = V[1], - ye = se( - { - zIndex: 2, - position: "absolute", - pointerEvents: "none", - top: 0, - left: 0, - bottom: 0, - right: 0, - }, - xe.style, - ); - return s.a.createElement( - "canvas", - W( - { - width: Ee.width, - height: Ee.height, - ref: this.canvas, - }, - xe, - { style: ye }, - ), - ); - }, - }, - ]) && le(N.prototype, _), - M && le(N, M), - oe - ); - })(o.Component); - function Wn(S) { - var N = {}, - _ = {}, - M = [].concat(Z(Object.keys(E)), [ - "confettiSource", - "drawShape", - "onConfettiComplete", - ]), - ce = ["canvasRef"]; - for (var oe in S) { - var V = S[oe]; - M.includes(oe) - ? (N[oe] = V) - : ce.includes(oe) - ? (ce[oe] = V) - : (_[oe] = V); - } - return [N, _, {}]; - } - Jt($n, "defaultProps", se({}, E)), - Jt($n, "displayName", "ReactConfetti"); - var Wa = s.a.forwardRef(function (S, N) { - return s.a.createElement($n, W({ canvasRef: N }, S)); - }); - n.default = Wa; - }, - ]).default; - }); - }); - ke(); - we(); - Ce(); - ke(); - we(); - Ce(); - Qn(); - Qn(); - ke(); - we(); - Ce(); - var R8 = __STORYBOOK_API__, - { - ActiveTabs: I8, - Consumer: Z8, - ManagerContext: B8, - Provider: P8, - RequestResponseError: V8, - addons: En, - combineParameters: D8, - controlOrMetaKey: H8, - controlOrMetaSymbol: j8, - eventMatchesShortcut: z8, - eventToShortcut: U8, - experimental_requestResponse: $8, - isMacLike: W8, - isShortcutTaken: G8, - keyToSymbol: q8, - merge: Y8, - mockChannel: Q8, - optionOrAltSymbol: K8, - shortcutMatchesShortcut: J8, - shortcutToHumanString: X8, - types: eg, - useAddonState: fo, - useArgTypes: tg, - useArgs: ng, - useChannel: Kn, - useGlobalTypes: go, - useGlobals: vo, - useParameter: yo, - useSharedState: ag, - useStoryPrepared: rg, - useStorybookApi: kn, - useStorybookState: en, - } = __STORYBOOK_API__; - ke(); - we(); - Ce(); - var cg = __STORYBOOK_THEMING__, - { - CacheProvider: dg, - ClassNames: ug, - Global: mg, - ThemeProvider: pg, - background: hg, - color: mt, - convert: fg, - create: gg, - createCache: vg, - createGlobal: yg, - createReset: bg, - css: ge, - darken: Eg, - ensure: kg, - ignoreSsrWarning: wg, - isPropValid: Cg, - jsx: Sg, - keyframes: Ut, - lighten: xg, - styled: w, - themes: Ng, - typography: Mg, - useTheme: tn, - withTheme: _g, - } = __STORYBOOK_THEMING__; - ke(); - we(); - Ce(); - var Lg = __STORYBOOK_TYPES__, - { Addon_TypesEnum: Qa } = __STORYBOOK_TYPES__; - var fi = {}; - mo(fi, { - ARGTYPES_INFO_REQUEST: () => Yc, - ARGTYPES_INFO_RESPONSE: () => Qc, - CHANNEL_CREATED: () => Kc, - CHANNEL_WS_DISCONNECT: () => Jc, - CONFIG_ERROR: () => Xc, - CREATE_NEW_STORYFILE_REQUEST: () => ed, - CREATE_NEW_STORYFILE_RESPONSE: () => td, - CURRENT_STORY_WAS_SET: () => nd, - DOCS_PREPARED: () => ad, - DOCS_RENDERED: () => rd, - FILE_COMPONENT_SEARCH_REQUEST: () => id, - FILE_COMPONENT_SEARCH_RESPONSE: () => ld, - FORCE_REMOUNT: () => od, - FORCE_RE_RENDER: () => sd, - GLOBALS_UPDATED: () => cd, - NAVIGATE_URL: () => dd, - PLAY_FUNCTION_THREW_EXCEPTION: () => ud, - PRELOAD_ENTRIES: () => md, - PREVIEW_BUILDER_PROGRESS: () => pd, - PREVIEW_KEYDOWN: () => hd, - REGISTER_SUBSCRIPTION: () => fd, - REQUEST_WHATS_NEW_DATA: () => gd, - RESET_STORY_ARGS: () => vd, - RESULT_WHATS_NEW_DATA: () => yd, - SAVE_STORY_REQUEST: () => bd, - SAVE_STORY_RESPONSE: () => Ed, - SELECT_STORY: () => kd, - SET_CONFIG: () => wd, - SET_CURRENT_STORY: () => Cd, - SET_FILTER: () => Sd, - SET_GLOBALS: () => xd, - SET_INDEX: () => Nd, - SET_STORIES: () => Md, - SET_WHATS_NEW_CACHE: () => _d, - SHARED_STATE_CHANGED: () => Od, - SHARED_STATE_SET: () => Ad, - STORIES_COLLAPSE_ALL: () => Td, - STORIES_EXPAND_ALL: () => Fd, - STORY_ARGS_UPDATED: () => Ld, - STORY_CHANGED: () => Rd, - STORY_ERRORED: () => Id, - STORY_INDEX_INVALIDATED: () => Zd, - STORY_MISSING: () => Bd, - STORY_PREPARED: () => Pd, - STORY_RENDERED: () => Vd, - STORY_RENDER_PHASE_CHANGED: () => Dd, - STORY_SPECIFIED: () => Hd, - STORY_THREW_EXCEPTION: () => jd, - STORY_UNCHANGED: () => zd, - TELEMETRY_ERROR: () => Ud, - TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: () => $d, - TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: () => Wd, - TESTING_MODULE_CRASH_REPORT: () => Gd, - TESTING_MODULE_PROGRESS_REPORT: () => qd, - TESTING_MODULE_RUN_ALL_REQUEST: () => Yd, - TESTING_MODULE_RUN_REQUEST: () => Qd, - TESTING_MODULE_WATCH_MODE_REQUEST: () => Kd, - TOGGLE_WHATS_NEW_NOTIFICATIONS: () => Jd, - UNHANDLED_ERRORS_WHILE_PLAYING: () => Xd, - UPDATE_GLOBALS: () => e5, - UPDATE_QUERY_PARAMS: () => t5, - UPDATE_STORY_ARGS: () => n5, - default: () => qc, - }); - ke(); - we(); - Ce(); - var qc = __STORYBOOK_CORE_EVENTS__, - { - ARGTYPES_INFO_REQUEST: Yc, - ARGTYPES_INFO_RESPONSE: Qc, - CHANNEL_CREATED: Kc, - CHANNEL_WS_DISCONNECT: Jc, - CONFIG_ERROR: Xc, - CREATE_NEW_STORYFILE_REQUEST: ed, - CREATE_NEW_STORYFILE_RESPONSE: td, - CURRENT_STORY_WAS_SET: nd, - DOCS_PREPARED: ad, - DOCS_RENDERED: rd, - FILE_COMPONENT_SEARCH_REQUEST: id, - FILE_COMPONENT_SEARCH_RESPONSE: ld, - FORCE_REMOUNT: od, - FORCE_RE_RENDER: sd, - GLOBALS_UPDATED: cd, - NAVIGATE_URL: dd, - PLAY_FUNCTION_THREW_EXCEPTION: ud, - PRELOAD_ENTRIES: md, - PREVIEW_BUILDER_PROGRESS: pd, - PREVIEW_KEYDOWN: hd, - REGISTER_SUBSCRIPTION: fd, - REQUEST_WHATS_NEW_DATA: gd, - RESET_STORY_ARGS: vd, - RESULT_WHATS_NEW_DATA: yd, - SAVE_STORY_REQUEST: bd, - SAVE_STORY_RESPONSE: Ed, - SELECT_STORY: kd, - SET_CONFIG: wd, - SET_CURRENT_STORY: Cd, - SET_FILTER: Sd, - SET_GLOBALS: xd, - SET_INDEX: Nd, - SET_STORIES: Md, - SET_WHATS_NEW_CACHE: _d, - SHARED_STATE_CHANGED: Od, - SHARED_STATE_SET: Ad, - STORIES_COLLAPSE_ALL: Td, - STORIES_EXPAND_ALL: Fd, - STORY_ARGS_UPDATED: Ld, - STORY_CHANGED: Rd, - STORY_ERRORED: Id, - STORY_INDEX_INVALIDATED: Zd, - STORY_MISSING: Bd, - STORY_PREPARED: Pd, - STORY_RENDERED: Vd, - STORY_RENDER_PHASE_CHANGED: Dd, - STORY_SPECIFIED: Hd, - STORY_THREW_EXCEPTION: jd, - STORY_UNCHANGED: zd, - TELEMETRY_ERROR: Ud, - TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: $d, - TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: Wd, - TESTING_MODULE_CRASH_REPORT: Gd, - TESTING_MODULE_PROGRESS_REPORT: qd, - TESTING_MODULE_RUN_ALL_REQUEST: Yd, - TESTING_MODULE_RUN_REQUEST: Qd, - TESTING_MODULE_WATCH_MODE_REQUEST: Kd, - TOGGLE_WHATS_NEW_NOTIFICATIONS: Jd, - UNHANDLED_ERRORS_WHILE_PLAYING: Xd, - UPDATE_GLOBALS: e5, - UPDATE_QUERY_PARAMS: t5, - UPDATE_STORY_ARGS: n5, - } = __STORYBOOK_CORE_EVENTS__; - ke(); - we(); - Ce(); - var Hg = __STORYBOOK_COMPONENTS__, - { - A: jg, - ActionBar: zg, - AddonPanel: Ug, - Badge: gi, - Bar: $g, - Blockquote: Wg, - Button: vi, - ClipboardCode: Gg, - Code: bo, - DL: qg, - Div: Yg, - DocumentWrapper: Qg, - EmptyTabContent: Kg, - ErrorFormatter: Jg, - FlexBar: Xg, - Form: e9, - H1: t9, - H2: n9, - H3: a9, - H4: r9, - H5: i9, - H6: l9, - HR: o9, - IconButton: Eo, - IconButtonSkeleton: s9, - Icons: c9, - Img: d9, - LI: u9, - Link: nn, - ListItem: m9, - Loader: yi, - Modal: p9, - OL: h9, - P: f9, - Placeholder: g9, - Pre: v9, - ResetWrapper: y9, - ScrollArea: b9, - Separator: E9, - Spaced: k9, - Span: w9, - StorybookIcon: C9, - StorybookLogo: S9, - Symbols: x9, - SyntaxHighlighter: N9, - TT: M9, - TabBar: _9, - TabButton: O9, - TabWrapper: A9, - Table: T9, - Tabs: F9, - TabsState: L9, - TooltipLinkList: ko, - TooltipMessage: wo, - TooltipNote: Co, - UL: R9, - WithTooltip: Le, - WithTooltipPure: I9, - Zoom: Z9, - codeCommon: B9, - components: P9, - createCopyToClipboardFunction: V9, - getStoryHref: D9, - icons: H9, - interleaveSeparators: j9, - nameSpaceClassNames: z9, - resetComponents: U9, - withReset: $9, - } = __STORYBOOK_COMPONENTS__; - ke(); - we(); - Ce(); - var a5 = "array", - r5 = "bit", - So = "bits", - i5 = "byte", - xo = "bytes", - wn = "", - l5 = "exponent", - o5 = "function", - No = "iec", - s5 = "Invalid number", - c5 = "Invalid rounding method", - bi = "jedec", - d5 = "object", - Mo = ".", - u5 = "round", - m5 = "s", - p5 = "si", - h5 = "kbit", - f5 = "kB", - g5 = " ", - v5 = "string", - y5 = "0", - Ei = { - symbol: { - iec: { - bits: [ - "bit", - "Kibit", - "Mibit", - "Gibit", - "Tibit", - "Pibit", - "Eibit", - "Zibit", - "Yibit", - ], - bytes: [ - "B", - "KiB", - "MiB", - "GiB", - "TiB", - "PiB", - "EiB", - "ZiB", - "YiB", - ], - }, - jedec: { - bits: [ - "bit", - "Kbit", - "Mbit", - "Gbit", - "Tbit", - "Pbit", - "Ebit", - "Zbit", - "Ybit", - ], - bytes: ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], - }, - }, - fullform: { - iec: [ - "", - "kibi", - "mebi", - "gibi", - "tebi", - "pebi", - "exbi", - "zebi", - "yobi", - ], - jedec: [ - "", - "kilo", - "mega", - "giga", - "tera", - "peta", - "exa", - "zetta", - "yotta", - ], - }, - }; - function ki( - e, - { - bits: t = !1, - pad: n = !1, - base: r = -1, - round: i = 2, - locale: l = wn, - localeOptions: o = {}, - separator: s = wn, - spacer: c = g5, - symbols: d = {}, - standard: u = wn, - output: m = v5, - fullform: p = !1, - fullforms: f = [], - exponent: g = -1, - roundingMethod: y = u5, - precision: k = 0, - } = {}, - ) { - let b = g, - h = Number(e), - v = [], - E = 0, - C = wn; - u === p5 - ? ((r = 10), (u = bi)) - : u === No || u === bi - ? (r = 2) - : r === 2 - ? (u = No) - : ((r = 10), (u = bi)); - let Z = r === 10 ? 1e3 : 1024, - P = p === !0, - W = h < 0, - q = Math[y]; - if (typeof e != "bigint" && isNaN(e)) throw new TypeError(s5); - if (typeof q !== o5) throw new TypeError(c5); - if ( - (W && (h = -h), - (b === -1 || isNaN(b)) && - ((b = Math.floor(Math.log(h) / Math.log(Z))), b < 0 && (b = 0)), - b > 8 && (k > 0 && (k += 8 - b), (b = 8)), - m === l5) - ) - return b; - if (h === 0) (v[0] = 0), (C = v[1] = Ei.symbol[u][t ? So : xo][b]); - else { - (E = h / (r === 2 ? Math.pow(2, b * 10) : Math.pow(1e3, b))), - t && ((E = E * 8), E >= Z && b < 8 && ((E = E / Z), b++)); - let se = Math.pow(10, b > 0 ? i : 0); - (v[0] = q(E * se) / se), - v[0] === Z && b < 8 && g === -1 && ((v[0] = 1), b++), - (C = v[1] = - r === 10 && b === 1 ? (t ? h5 : f5) : Ei.symbol[u][t ? So : xo][b]); - } - if ( - (W && (v[0] = -v[0]), - k > 0 && (v[0] = v[0].toPrecision(k)), - (v[1] = d[v[1]] || v[1]), - l === !0 - ? (v[0] = v[0].toLocaleString()) - : l.length > 0 - ? (v[0] = v[0].toLocaleString(l, o)) - : s.length > 0 && (v[0] = v[0].toString().replace(Mo, s)), - n && i > 0) - ) { - let se = v[0].toString(), - ie = s || (se.match(/(\D)/g) || []).pop() || Mo, - Oe = se.toString().split(ie), - be = Oe[1] || wn, - he = be.length, - le = i - he; - v[0] = `${Oe[0]}${ie}${be.padEnd(he + le, y5)}`; - } - return ( - P && - (v[1] = f[b] - ? f[b] - : Ei.fullform[u][b] + (t ? r5 : i5) + (v[0] === 1 ? wn : m5)), - m === a5 - ? v - : m === d5 - ? { value: v[0], symbol: v[1], exponent: b, unit: C } - : v.join(c) - ); - } - ke(); - we(); - Ce(); - var Jn = __REACT_DOM__, - { - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ev, - createPortal: Xn, - createRoot: tv, - findDOMNode: nv, - flushSync: av, - hydrate: rv, - hydrateRoot: iv, - render: lv, - unmountComponentAtNode: _o, - unstable_batchedUpdates: ov, - unstable_renderSubtreeIntoContainer: Oo, - version: sv, - } = __REACT_DOM__; - var ps = Cc(Ao(), 1); - ke(); - we(); - Ce(); - ke(); - we(); - Ce(); - function Ci({ onlyFirst: e = !1 } = {}) { - let t = [ - "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", - "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))", - ].join("|"); - return new RegExp(t, e ? void 0 : "g"); - } - var E5 = Ci(); - function Si(e) { - if (typeof e != "string") - throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``); - return e.replace(E5, ""); - } - var k5 = Object.create, - hs = Object.defineProperty, - w5 = Object.getOwnPropertyDescriptor, - C5 = Object.getOwnPropertyNames, - S5 = Object.getPrototypeOf, - x5 = Object.prototype.hasOwnProperty, - N5 = ((e) => - typeof Xt < "u" - ? Xt - : typeof Proxy < "u" - ? new Proxy(e, { get: (t, n) => (typeof Xt < "u" ? Xt : t)[n] }) - : e)(function (e) { - if (typeof Xt < "u") return Xt.apply(this, arguments); - throw new Error('Dynamic require of "' + e + '" is not supported'); - }), - Kt = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ), - M5 = (e, t, n, r) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let i of C5(t)) - !x5.call(e, i) && - i !== n && - hs(e, i, { - get: () => t[i], - enumerable: !(r = w5(t, i)) || r.enumerable, - }); - return e; - }, - ut = (e, t, n) => ( - (n = e != null ? k5(S5(e)) : {}), - M5( - t || !e || !e.__esModule - ? hs(n, "default", { value: e, enumerable: !0 }) - : n, - e, - ) - ), - Ia = Kt((e, t) => { - (function (n, r) { - typeof N5 == "function" && - typeof e == "object" && - typeof t == "object" - ? (t.exports = r()) - : typeof define == "function" && define.amd - ? define(function () { - return r(); - }) - : (n.pluralize = r()); - })(e, function () { - var n = [], - r = [], - i = {}, - l = {}, - o = {}; - function s(y) { - return typeof y == "string" ? new RegExp("^" + y + "$", "i") : y; - } - function c(y, k) { - return y === k - ? k - : y === y.toLowerCase() - ? k.toLowerCase() - : y === y.toUpperCase() - ? k.toUpperCase() - : y[0] === y[0].toUpperCase() - ? k.charAt(0).toUpperCase() + k.substr(1).toLowerCase() - : k.toLowerCase(); - } - function d(y, k) { - return y.replace(/\$(\d{1,2})/g, function (b, h) { - return k[h] || ""; - }); - } - function u(y, k) { - return y.replace(k[0], function (b, h) { - var v = d(k[1], arguments); - return c(b === "" ? y[h - 1] : b, v); - }); - } - function m(y, k, b) { - if (!y.length || i.hasOwnProperty(y)) return k; - for (var h = b.length; h--; ) { - var v = b[h]; - if (v[0].test(k)) return u(k, v); - } - return k; - } - function p(y, k, b) { - return function (h) { - var v = h.toLowerCase(); - return k.hasOwnProperty(v) - ? c(h, v) - : y.hasOwnProperty(v) - ? c(h, y[v]) - : m(v, h, b); - }; - } - function f(y, k, b, h) { - return function (v) { - var E = v.toLowerCase(); - return k.hasOwnProperty(E) - ? !0 - : y.hasOwnProperty(E) - ? !1 - : m(E, E, b) === E; - }; - } - function g(y, k, b) { - var h = k === 1 ? g.singular(y) : g.plural(y); - return (b ? k + " " : "") + h; - } - return ( - (g.plural = p(o, l, n)), - (g.isPlural = f(o, l, n)), - (g.singular = p(l, o, r)), - (g.isSingular = f(l, o, r)), - (g.addPluralRule = function (y, k) { - n.push([s(y), k]); - }), - (g.addSingularRule = function (y, k) { - r.push([s(y), k]); - }), - (g.addUncountableRule = function (y) { - if (typeof y == "string") { - i[y.toLowerCase()] = !0; - return; - } - g.addPluralRule(y, "$0"), g.addSingularRule(y, "$0"); - }), - (g.addIrregularRule = function (y, k) { - (k = k.toLowerCase()), - (y = y.toLowerCase()), - (o[y] = k), - (l[k] = y); - }), - [ - ["I", "we"], - ["me", "us"], - ["he", "they"], - ["she", "they"], - ["them", "them"], - ["myself", "ourselves"], - ["yourself", "yourselves"], - ["itself", "themselves"], - ["herself", "themselves"], - ["himself", "themselves"], - ["themself", "themselves"], - ["is", "are"], - ["was", "were"], - ["has", "have"], - ["this", "these"], - ["that", "those"], - ["echo", "echoes"], - ["dingo", "dingoes"], - ["volcano", "volcanoes"], - ["tornado", "tornadoes"], - ["torpedo", "torpedoes"], - ["genus", "genera"], - ["viscus", "viscera"], - ["stigma", "stigmata"], - ["stoma", "stomata"], - ["dogma", "dogmata"], - ["lemma", "lemmata"], - ["schema", "schemata"], - ["anathema", "anathemata"], - ["ox", "oxen"], - ["axe", "axes"], - ["die", "dice"], - ["yes", "yeses"], - ["foot", "feet"], - ["eave", "eaves"], - ["goose", "geese"], - ["tooth", "teeth"], - ["quiz", "quizzes"], - ["human", "humans"], - ["proof", "proofs"], - ["carve", "carves"], - ["valve", "valves"], - ["looey", "looies"], - ["thief", "thieves"], - ["groove", "grooves"], - ["pickaxe", "pickaxes"], - ["passerby", "passersby"], - ].forEach(function (y) { - return g.addIrregularRule(y[0], y[1]); - }), - [ - [/s?$/i, "s"], - [/[^\u0000-\u007F]$/i, "$0"], - [/([^aeiou]ese)$/i, "$1"], - [/(ax|test)is$/i, "$1es"], - [/(alias|[^aou]us|t[lm]as|gas|ris)$/i, "$1es"], - [/(e[mn]u)s?$/i, "$1s"], - [/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, "$1"], - [ - /(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, - "$1i", - ], - [/(alumn|alg|vertebr)(?:a|ae)$/i, "$1ae"], - [/(seraph|cherub)(?:im)?$/i, "$1im"], - [/(her|at|gr)o$/i, "$1oes"], - [ - /(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, - "$1a", - ], - [ - /(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, - "$1a", - ], - [/sis$/i, "ses"], - [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, "$1$2ves"], - [/([^aeiouy]|qu)y$/i, "$1ies"], - [/([^ch][ieo][ln])ey$/i, "$1ies"], - [/(x|ch|ss|sh|zz)$/i, "$1es"], - [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, "$1ices"], - [/\b((?:tit)?m|l)(?:ice|ouse)$/i, "$1ice"], - [/(pe)(?:rson|ople)$/i, "$1ople"], - [/(child)(?:ren)?$/i, "$1ren"], - [/eaux$/i, "$0"], - [/m[ae]n$/i, "men"], - ["thou", "you"], - ].forEach(function (y) { - return g.addPluralRule(y[0], y[1]); - }), - [ - [/s$/i, ""], - [/(ss)$/i, "$1"], - [ - /(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, - "$1fe", - ], - [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, "$1f"], - [/ies$/i, "y"], - [ - /\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, - "$1ie", - ], - [/\b(mon|smil)ies$/i, "$1ey"], - [/\b((?:tit)?m|l)ice$/i, "$1ouse"], - [/(seraph|cherub)im$/i, "$1"], - [ - /(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, - "$1", - ], - [ - /(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, - "$1sis", - ], - [/(movie|twelve|abuse|e[mn]u)s$/i, "$1"], - [/(test)(?:is|es)$/i, "$1is"], - [ - /(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, - "$1us", - ], - [ - /(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, - "$1um", - ], - [ - /(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, - "$1on", - ], - [/(alumn|alg|vertebr)ae$/i, "$1a"], - [/(cod|mur|sil|vert|ind)ices$/i, "$1ex"], - [/(matr|append)ices$/i, "$1ix"], - [/(pe)(rson|ople)$/i, "$1rson"], - [/(child)ren$/i, "$1"], - [/(eau)x?$/i, "$1"], - [/men$/i, "man"], - ].forEach(function (y) { - return g.addSingularRule(y[0], y[1]); - }), - [ - "adulthood", - "advice", - "agenda", - "aid", - "aircraft", - "alcohol", - "ammo", - "analytics", - "anime", - "athletics", - "audio", - "bison", - "blood", - "bream", - "buffalo", - "butter", - "carp", - "cash", - "chassis", - "chess", - "clothing", - "cod", - "commerce", - "cooperation", - "corps", - "debris", - "diabetes", - "digestion", - "elk", - "energy", - "equipment", - "excretion", - "expertise", - "firmware", - "flounder", - "fun", - "gallows", - "garbage", - "graffiti", - "hardware", - "headquarters", - "health", - "herpes", - "highjinks", - "homework", - "housework", - "information", - "jeans", - "justice", - "kudos", - "labour", - "literature", - "machinery", - "mackerel", - "mail", - "media", - "mews", - "moose", - "music", - "mud", - "manga", - "news", - "only", - "personnel", - "pike", - "plankton", - "pliers", - "police", - "pollution", - "premises", - "rain", - "research", - "rice", - "salmon", - "scissors", - "series", - "sewage", - "shambles", - "shrimp", - "software", - "species", - "staff", - "swine", - "tennis", - "traffic", - "transportation", - "trout", - "tuna", - "wealth", - "welfare", - "whiting", - "wildebeest", - "wildlife", - "you", - /pok[eé]mon$/i, - /[^aeiou]ese$/i, - /deer$/i, - /fish$/i, - /measles$/i, - /o[iu]s$/i, - /pox$/i, - /sheep$/i, - ].forEach(g.addUncountableRule), - g - ); - }); - }), - _5 = Kt((e, t) => { - var n = new Error("Element already at target scroll position"), - r = new Error("Scroll cancelled"), - i = Math.min, - l = Date.now; - t.exports = { left: o("scrollLeft"), top: o("scrollTop") }; - function o(d) { - return function (u, m, p, f) { - (p = p || {}), - typeof p == "function" && ((f = p), (p = {})), - typeof f != "function" && (f = c); - var g = l(), - y = u[d], - k = p.ease || s, - b = isNaN(p.duration) ? 350 : +p.duration, - h = !1; - return y === m ? f(n, u[d]) : requestAnimationFrame(E), v; - function v() { - h = !0; - } - function E(C) { - if (h) return f(r, u[d]); - var Z = l(), - P = i(1, (Z - g) / b), - W = k(P); - (u[d] = W * (m - y) + y), - P < 1 - ? requestAnimationFrame(E) - : requestAnimationFrame(function () { - f(null, u[d]); - }); - } - }; - } - function s(d) { - return 0.5 * (1 - Math.cos(Math.PI * d)); - } - function c() {} - }), - O5 = Kt((e, t) => { - (function (n, r) { - typeof define == "function" && define.amd - ? define([], r) - : typeof t == "object" && t.exports - ? (t.exports = r()) - : (n.Scrollparent = r()); - })(e, function () { - function n(i) { - var l = getComputedStyle(i, null).getPropertyValue("overflow"); - return l.indexOf("scroll") > -1 || l.indexOf("auto") > -1; - } - function r(i) { - if (i instanceof HTMLElement || i instanceof SVGElement) { - for (var l = i.parentNode; l.parentNode; ) { - if (n(l)) return l; - l = l.parentNode; - } - return document.scrollingElement || document.documentElement; - } - } - return r; - }); - }), - xl = Kt((e, t) => { - var n = function (v) { - return r(v) && !i(v); - }; - function r(v) { - return !!v && typeof v == "object"; - } - function i(v) { - var E = Object.prototype.toString.call(v); - return E === "[object RegExp]" || E === "[object Date]" || s(v); - } - var l = typeof Symbol == "function" && Symbol.for, - o = l ? Symbol.for("react.element") : 60103; - function s(v) { - return v.$$typeof === o; - } - function c(v) { - return Array.isArray(v) ? [] : {}; - } - function d(v, E) { - return E.clone !== !1 && E.isMergeableObject(v) ? b(c(v), v, E) : v; - } - function u(v, E, C) { - return v.concat(E).map(function (Z) { - return d(Z, C); - }); - } - function m(v, E) { - if (!E.customMerge) return b; - var C = E.customMerge(v); - return typeof C == "function" ? C : b; - } - function p(v) { - return Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(v).filter(function (E) { - return Object.propertyIsEnumerable.call(v, E); - }) - : []; - } - function f(v) { - return Object.keys(v).concat(p(v)); - } - function g(v, E) { - try { - return E in v; - } catch { - return !1; - } - } - function y(v, E) { - return ( - g(v, E) && - !( - Object.hasOwnProperty.call(v, E) && - Object.propertyIsEnumerable.call(v, E) - ) - ); - } - function k(v, E, C) { - var Z = {}; - return ( - C.isMergeableObject(v) && - f(v).forEach(function (P) { - Z[P] = d(v[P], C); - }), - f(E).forEach(function (P) { - y(v, P) || - (g(v, P) && C.isMergeableObject(E[P]) - ? (Z[P] = m(P, C)(v[P], E[P], C)) - : (Z[P] = d(E[P], C))); - }), - Z - ); - } - function b(v, E, C) { - (C = C || {}), - (C.arrayMerge = C.arrayMerge || u), - (C.isMergeableObject = C.isMergeableObject || n), - (C.cloneUnlessOtherwiseSpecified = d); - var Z = Array.isArray(E), - P = Array.isArray(v), - W = Z === P; - return W ? (Z ? C.arrayMerge(v, E, C) : k(v, E, C)) : d(E, C); - } - b.all = function (v, E) { - if (!Array.isArray(v)) - throw new Error("first argument should be an array"); - return v.reduce(function (C, Z) { - return b(C, Z, E); - }, {}); - }; - var h = b; - t.exports = h; - }), - A5 = Kt((e, t) => { - var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - t.exports = n; - }), - T5 = Kt((e, t) => { - var n = A5(); - function r() {} - function i() {} - (i.resetWarningCache = r), - (t.exports = function () { - function l(c, d, u, m, p, f) { - if (f !== n) { - var g = new Error( - "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types", - ); - throw ((g.name = "Invariant Violation"), g); - } - } - l.isRequired = l; - function o() { - return l; - } - var s = { - array: l, - bigint: l, - bool: l, - func: l, - number: l, - object: l, - string: l, - symbol: l, - any: l, - arrayOf: o, - element: l, - elementType: l, - instanceOf: o, - node: l, - objectOf: o, - oneOf: o, - oneOfType: o, - shape: o, - exact: o, - checkPropTypes: i, - resetWarningCache: r, - }; - return (s.PropTypes = s), s; - }); - }), - F5 = Kt((e, t) => { - t.exports = T5()(); - }), - L5 = Kt((e, t) => { - var n = function (l) { - return Object.prototype.hasOwnProperty.call(l, "props"); - }, - r = function (l, o) { - return l + i(o); - }, - i = function (l) { - return l === null || typeof l == "boolean" || typeof l > "u" - ? "" - : typeof l == "number" - ? l.toString() - : typeof l == "string" - ? l - : Array.isArray(l) - ? l.reduce(r, "") - : n(l) && - Object.prototype.hasOwnProperty.call( - l.props, - "children", - ) - ? i(l.props.children) - : ""; - }; - (i.default = i), (t.exports = i); - }), - R5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z", - fill: e, - }), - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z", - fill: e, - }), - ), - ), - fs = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 15", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z", - fill: e, - }), - ), - ), - I5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("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, - }), - x("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, - }), - ), - ), - qt = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("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, - }), - ), - ), - Z5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z", - fill: e, - }), - ), - ), - gs = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z", - fill: e, - }), - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z", - fill: e, - }), - ), - ), - B5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z", - fill: e, - }), - ), - ), - P5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z", - fill: e, - }), - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z", - fill: e, - }), - ), - ), - V5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z", - fill: e, - }), - ), - ), - D5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 15", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z", - fill: e, - }), - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z", - fill: e, - }), - ), - ), - Nl = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("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, - }), - ), - ), - To = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z", - fill: e, - }), - ), - ), - H5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z", - fill: e, - }), - x("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, - }), - ), - ), - Ml = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z", - fill: e, - }), - x("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, - }), - ), - ), - Wi = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z", - fill: e, - }), - ), - ), - j5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z", - fill: e, - }), - ), - ), - Ot = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z", - fill: e, - }), - ), - ), - vs = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 15", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z", - fill: e, - }), - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z", - fill: e, - }), - ), - ), - z5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z", - fill: e, - }), - x("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, - }), - ), - ), - ys = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z", - fill: e, - }), - x("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, - }), - ), - ), - U5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z", - fill: e, - }), - ), - ), - $5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("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, - }), - x("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, - }), - ), - ), - bs = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z", - fill: e, - }), - x("path", { - d: "M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z", - fill: e, - }), - ), - ), - W5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x( - "g", - { clipPath: "url(#prefix__clip0_1449_588)" }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z", - fill: e, - }), - ), - x( - "defs", - null, - x( - "clipPath", - { id: "prefix__clip0_1449_588" }, - x("path", { fill: "#fff", d: "M0 0h14v14H0z" }), - ), - ), - ), - ), - Es = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("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, - }), - ), - ), - G5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z", - fill: e, - }), - ), - ), - q5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("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, - }), - ), - ), - Y5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z", - fill: e, - }), - ), - ), - Q5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z", - fill: e, - }), - ), - ), - K5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z", - fill: e, - }), - ), - ), - J5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z", - fill: e, - }), - ), - ), - ks = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z", - fill: e, - }), - ), - ), - X5 = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z", - fill: e, - }), - ), - ), - eu = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - d: "M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z", - fill: e, - }), - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z", - fill: e, - }), - ), - ), - tu = K(({ color: e = "currentColor", size: t = 14, ...n }, r) => - x( - "svg", - { - width: t, - height: t, - viewBox: "0 0 14 14", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ref: r, - ...n, - }, - x("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z", - fill: e, - }), - ), - ), - { - CHROMATIC_INDEX_URL: nu, - CHROMATIC_BASE_URL: $r = nu || "https://www.chromatic.com", - CHROMATIC_API_URL: au = `${$r}/api`, - } = Qe, - H = "chromaui/addon-visual-tests", - fn = `${H}/panel`, - dr = `${H}/test-provider`, - ru = `${H}/sidebarTop`, - iu = `${H}/sidebarBottom`, - Gi = `${H}/access-token/${$r}`, - Wr = `${H}/configInfo`, - Fo = `${H}/configInfoDismissed`, - lu = `${H}/gitInfo`, - _l = `${H}/gitInfoError`, - ws = `${H}/projectInfo`, - Ol = `${H}/isOffline`, - hr = `${H}/isOutdated`, - ou = `${H}/startBuild`, - su = `${H}/stopBuild`, - Al = `${H}/localBuildProgress`, - cu = `${H}/selectedModeName`, - du = `${H}/selectedBrowserId`, - uu = `${H}/telemetry`, - qi = `${H}/enableFilter`, - Cs = `${H}/removeAddon`, - mu = "chromatic", - pu = `${H}/ChannelFetch/aborted`, - hu = `${H}ChannelFetch/request`, - fu = `${H}ChannelFetch/response`, - { - TESTING_MODULE_CRASH_REPORT: Fv = "testingModuleCrashReport", - TESTING_MODULE_PROGRESS_REPORT: gu = "testingModuleProgressReport", - TESTING_MODULE_RUN_REQUEST: Lv = "testingModuleRunRequest", - TESTING_MODULE_RUN_ALL_REQUEST: vu = "testingModuleRunAllRequest", - TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: - yu = "testingModuleCancelTestRunRequest", - TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: - Rv = "testingModuleCancelTestRunResponse", - TESTING_MODULE_WATCH_MODE_REQUEST: Iv = "testingModuleWatchModeRequest", - } = fi, - bu = { - autoAcceptChanges: !1, - exitOnceUploaded: !1, - exitZeroOnChanges: !0, - forceRebuild: !0, - fromCI: !1, - interactive: !1, - isLocalBuild: !0, - skip: !1, - skipUpdateCheck: !0, - storybookBuildDir: void 0, - }, - Ss = "https://www.chromatic.com/docs/visual-tests-addon", - Eu = ut(Ia()), - ku = (e, t) => - (t && - { - positive: { color: e.color.positiveText }, - warning: { color: e.color.warningText }, - }[t]) || - {}, - ct = w(Eo)( - ({ active: e, variant: t, theme: n }) => ({ - display: "inline-flex", - alignItems: "center", - verticalAlign: "top", - gap: 6, - margin: 0, - color: e || t === "outline" ? n.color.secondary : n.color.mediumdark, - fontWeight: "normal", - "& > svg": { width: "auto" }, - }), - ({ active: e, status: t, theme: n }) => !e && ku(n, t), - ({ active: e, theme: t }) => { - let n = t.background.content === t.color.lightest, - r = n ? "rgb(241,248,255)" : "rgb(28,37,45)", - i = n ? "rgb(229,243,255)" : "rgb(29,44,56)"; - return { - "--bg-color": e ? r : t.background.content, - "&:hover": { "--bg-color": i, color: t.color.secondary }, - }; - }, - ), - wu = w(gi)(({ theme: e }) => ({ - padding: "4px 8px", - fontSize: e.typography.size.s1, - })), - Cu = w(ct)( - ({ theme: e }) => ({ - fontSize: e.typography.size.s2, - "&:hover [data-badge][data-status=warning], [data-badge=true][data-status=warning]": - { - background: "#E3F3FF", - borderColor: "rgba(2, 113, 182, 0.1)", - color: "#0271B6", - }, - "&:hover [data-badge][data-status=critical], [data-badge=true][data-status=critical]": - { - background: e.background.negative, - boxShadow: "inset 0 0 0 1px rgba(182, 2, 2, 0.1)", - color: e.color.negativeText, - }, - }), - ({ active: e, theme: t }) => - !e && - ge({ - "&:hover": { - color: t.base === "light" ? t.color.defaultText : t.color.light, - }, - }), - ), - Su = w.span(({ theme: e }) => ({ - color: e.base === "light" ? e.color.defaultText : e.color.light, - })), - Lo = ({ active: e, count: t, label: n, status: r, ...i }) => - a.createElement( - Cu, - { active: e, ...i }, - a.createElement( - wu, - { status: r, "data-badge": e, "data-status": r }, - t, - ), - a.createElement(Su, null, (0, Eu.default)(n, t)), - ), - xu = () => !0, - Nu = ({ status: e }) => e?.[H]?.status === "warn", - Mu = ({ status: e }) => e?.[H]?.status === "error", - _u = ({ status: e }) => - e?.[H]?.status === "warn" || e?.[H]?.status === "error", - Ou = (e = !1, t = !1) => (e && t ? _u : e ? Nu : t ? Mu : xu), - Au = w.div({ display: "flex", gap: 5 }), - Tu = ({ api: e, status: t }) => { - let [n, r] = a.useState(!1), - [i, l] = a.useState(!1), - o = Object.values(t).filter((p) => p[H]?.status === "warn"), - s = Object.values(t).filter((p) => p[H]?.status === "error"), - c = o.length > 0, - d = s.length > 0, - u = G(() => r((p) => !p), []), - m = G(() => l((p) => !p), []); - return ( - ne(() => { - let p = Ou(c && n, d && i); - e.experimental_setFilter(H, p), e.emit(qi, p); - }, [e, c, d, n, i]), - !c && !d - ? null - : a.createElement( - Au, - { id: "sidebar-bottom-wrapper" }, - c && - a.createElement(Lo, { - id: "warnings-found-filter", - active: n, - count: o.length, - label: "Change", - status: "warning", - onClick: u, - }), - d && - a.createElement(Lo, { - id: "errors-found-filter", - active: i, - count: s.length, - label: "Error", - status: "critical", - onClick: m, - }), - ) - ); - }, - Fu = (e) => { - let { status: t } = en(); - return a.createElement(Tu, { ...e, status: t }); - }, - xi = ut(Ia()), - Tl = () => {}, - tt = Tl; - function vt(e) { - return { tag: 0, 0: e }; - } - function Za(e) { - return { tag: 1, 0: e }; - } - var Ro = () => - (typeof Symbol == "function" && Symbol.asyncIterator) || - "@@asyncIterator", - Lu = (e) => e; - function Ke(e) { - return (t) => (n) => { - var r = tt; - t((i) => { - i === 0 - ? n(0) - : i.tag === 0 - ? ((r = i[0]), n(i)) - : e(i[0]) - ? n(i) - : r(0); - }); - }; - } - function Yi(e) { - return (t) => (n) => - t((r) => { - r === 0 || r.tag === 0 ? n(r) : n(Za(e(r[0]))); - }); - } - function fr(e) { - return (t) => (n) => { - var r = [], - i = tt, - l = !1, - o = !1; - t((s) => { - o || - (s === 0 - ? ((o = !0), r.length || n(0)) - : s.tag === 0 - ? (i = s[0]) - : ((l = !1), - (function (c) { - var d = tt; - c((u) => { - if (u === 0) { - if (r.length) { - var m = r.indexOf(d); - m > -1 && (r = r.slice()).splice(m, 1), - r.length || (o ? n(0) : l || ((l = !0), i(0))); - } - } else - u.tag === 0 - ? (r.push((d = u[0])), d(0)) - : r.length && (n(u), d(0)); - }); - })(e(s[0])), - l || ((l = !0), i(0)))); - }), - n( - vt((s) => { - if (s === 1) { - o || ((o = !0), i(1)); - for (var c = 0, d = r, u = r.length; c < u; c++) d[c](1); - r.length = 0; - } else { - !o && !l ? ((l = !0), i(0)) : (l = !1); - for (var m = 0, p = r, f = r.length; m < f; m++) p[m](0); - } - }), - ); - }; - } - function Ru(e) { - return fr(Lu)(e); - } - function ya(e) { - return Ru(Bu(e)); - } - function Fl(e) { - return (t) => (n) => { - var r = !1; - t((i) => { - if (!r) - if (i === 0) (r = !0), n(0), e(); - else if (i.tag === 0) { - var l = i[0]; - n( - vt((o) => { - o === 1 ? ((r = !0), l(1), e()) : l(o); - }), - ); - } else n(i); - }); - }; - } - function gr(e) { - return (t) => (n) => { - var r = !1; - t((i) => { - if (!r) - if (i === 0) (r = !0), n(0); - else if (i.tag === 0) { - var l = i[0]; - n( - vt((o) => { - o === 1 && (r = !0), l(o); - }), - ); - } else e(i[0]), n(i); - }); - }; - } - function Qi(e) { - return (t) => (n) => - t((r) => { - r === 0 ? n(0) : r.tag === 0 ? (n(r), e()) : n(r); - }); - } - function ba(e) { - var t = [], - n = tt, - r = !1; - return (i) => { - t.push(i), - t.length === 1 && - e((l) => { - if (l === 0) { - for (var o = 0, s = t, c = t.length; o < c; o++) s[o](0); - t.length = 0; - } else if (l.tag === 0) n = l[0]; - else { - r = !1; - for (var d = 0, u = t, m = t.length; d < m; d++) u[d](l); - } - }), - i( - vt((l) => { - if (l === 1) { - var o = t.indexOf(i); - o > -1 && (t = t.slice()).splice(o, 1), t.length || n(1); - } else r || ((r = !0), n(0)); - }), - ); - }; - } - function Io(e) { - return (t) => (n) => { - var r = tt, - i = tt, - l = !1, - o = !1, - s = !1, - c = !1; - t((d) => { - c || - (d === 0 - ? ((c = !0), s || n(0)) - : d.tag === 0 - ? (r = d[0]) - : (s && (i(1), (i = tt)), - l ? (l = !1) : ((l = !0), r(0)), - (function (u) { - (s = !0), - u((m) => { - s && - (m === 0 - ? ((s = !1), c ? n(0) : l || ((l = !0), r(0))) - : m.tag === 0 - ? ((o = !1), (i = m[0])(0)) - : (n(m), o ? (o = !1) : i(0))); - }); - })(e(d[0])))); - }), - n( - vt((d) => { - d === 1 - ? (c || ((c = !0), r(1)), s && ((s = !1), i(1))) - : (!c && !l && ((l = !0), r(0)), s && !o && ((o = !0), i(0))); - }), - ); - }; - } - function Gr(e) { - return (t) => (n) => { - var r = tt, - i = !1, - l = 0; - t((o) => { - i || - (o === 0 - ? ((i = !0), n(0)) - : o.tag === 0 - ? e <= 0 - ? ((i = !0), n(0), o[0](1)) - : (r = o[0]) - : l++ < e - ? (n(o), !i && l >= e && ((i = !0), n(0), r(1))) - : n(o)); - }), - n( - vt((o) => { - o === 1 && !i ? ((i = !0), r(1)) : o === 0 && !i && l < e && r(0); - }), - ); - }; - } - function xs(e) { - return (t) => (n) => { - var r = tt, - i = tt, - l = !1; - t((o) => { - l || - (o === 0 - ? ((l = !0), i(1), n(0)) - : o.tag === 0 - ? ((r = o[0]), - e((s) => { - s === 0 || - (s.tag === 0 - ? (i = s[0])(0) - : ((l = !0), i(1), r(1), n(0))); - })) - : n(o)); - }), - n( - vt((o) => { - o === 1 && !l ? ((l = !0), r(1), i(1)) : l || r(0); - }), - ); - }; - } - function Ns(e, t) { - return (n) => (r) => { - var i = tt, - l = !1; - n((o) => { - l || - (o === 0 - ? ((l = !0), r(0)) - : o.tag === 0 - ? ((i = o[0]), r(o)) - : e(o[0]) - ? r(o) - : ((l = !0), t && r(o), r(0), i(1))); - }); - }; - } - function Iu(e) { - return (t) => e()(t); - } - function Ms(e) { - return (t) => { - var n = (e[Ro()] && e[Ro()]()) || e, - r = !1, - i = !1, - l = !1, - o; - t( - vt(async (s) => { - if (s === 1) (r = !0), n.return && n.return(); - else if (i) l = !0; - else { - for (l = i = !0; l && !r; ) - if ((o = await n.next()).done) - (r = !0), n.return && (await n.return()), t(0); - else - try { - (l = !1), t(Za(o.value)); - } catch (c) { - if (n.throw) (r = !!(await n.throw(c)).done) && t(0); - else throw c; - } - i = !1; - } - }), - ); - }; - } - function Zu(e) { - return e[Symbol.asyncIterator] - ? Ms(e) - : (t) => { - var n = e[Symbol.iterator](), - r = !1, - i = !1, - l = !1, - o; - t( - vt((s) => { - if (s === 1) (r = !0), n.return && n.return(); - else if (i) l = !0; - else { - for (l = i = !0; l && !r; ) - if ((o = n.next()).done) - (r = !0), n.return && n.return(), t(0); - else - try { - (l = !1), t(Za(o.value)); - } catch (c) { - if (n.throw) (r = !!n.throw(c).done) && t(0); - else throw c; - } - i = !1; - } - }), - ); - }; - } - var Bu = Zu; - function ha(e) { - return (t) => { - var n = !1; - t( - vt((r) => { - r === 1 ? (n = !0) : n || ((n = !0), t(Za(e)), t(0)); - }), - ); - }; - } - function _s(e) { - return (t) => { - var n = !1, - r = e({ - next(i) { - n || t(Za(i)); - }, - complete() { - n || ((n = !0), t(0)); - }, - }); - t( - vt((i) => { - i === 1 && !n && ((n = !0), r()); - }), - ); - }; - } - function Ki() { - var e, t; - return { - source: ba(_s((n) => ((e = n.next), (t = n.complete), Tl))), - next(n) { - e && e(n); - }, - complete() { - t && t(); - }, - }; - } - function Zo(e) { - return _s( - (t) => ( - e.then((n) => { - Promise.resolve(n).then(() => { - t.next(n), t.complete(); - }); - }), - Tl - ), - ); - } - function Tn(e) { - return (t) => { - var n = tt, - r = !1; - return ( - t((i) => { - i === 0 - ? (r = !0) - : i.tag === 0 - ? (n = i[0])(0) - : r || (e(i[0]), n(0)); - }), - { - unsubscribe() { - r || ((r = !0), n(1)); - }, - } - ); - }; - } - function Pu(e) { - Tn((t) => {})(e); - } - function Ll(e) { - return new Promise((t) => { - var n = tt, - r; - e((i) => { - i === 0 - ? Promise.resolve(r).then(t) - : i.tag === 0 - ? (n = i[0])(0) - : ((r = i[0]), n(0)); - }); - }); - } - var Vu = { - NAME: "Name", - DOCUMENT: "Document", - OPERATION_DEFINITION: "OperationDefinition", - VARIABLE_DEFINITION: "VariableDefinition", - SELECTION_SET: "SelectionSet", - FIELD: "Field", - ARGUMENT: "Argument", - FRAGMENT_SPREAD: "FragmentSpread", - INLINE_FRAGMENT: "InlineFragment", - FRAGMENT_DEFINITION: "FragmentDefinition", - VARIABLE: "Variable", - INT: "IntValue", - FLOAT: "FloatValue", - STRING: "StringValue", - BOOLEAN: "BooleanValue", - NULL: "NullValue", - ENUM: "EnumValue", - LIST: "ListValue", - OBJECT: "ObjectValue", - OBJECT_FIELD: "ObjectField", - DIRECTIVE: "Directive", - NAMED_TYPE: "NamedType", - LIST_TYPE: "ListType", - NON_NULL_TYPE: "NonNullType", - }, - Ji = class extends Error { - constructor(e, t, n, r, i, l, o) { - super(e), - (this.name = "GraphQLError"), - (this.message = e), - i && (this.path = i), - t && (this.nodes = Array.isArray(t) ? t : [t]), - n && (this.source = n), - r && (this.positions = r), - l && (this.originalError = l); - var s = o; - if (!s && l) { - var c = l.extensions; - c && typeof c == "object" && (s = c); - } - this.extensions = s || {}; - } - toJSON() { - return { ...this, message: this.message }; - } - toString() { - return this.message; - } - get [Symbol.toStringTag]() { - return "GraphQLError"; - } - }, - Ne, - ee; - function Re(e) { - return new Ji(`Syntax Error: Unexpected token at ${ee} in ${e}`); - } - function et(e) { - if (((e.lastIndex = ee), e.test(Ne))) - return Ne.slice(ee, (ee = e.lastIndex)); - } - var Ka = / +(?=[^\s])/y; - function Du(e) { - for ( - var t = e.split(` -`), - n = "", - r = 0, - i = 0, - l = t.length - 1, - o = 0; - o < t.length; - o++ - ) - (Ka.lastIndex = 0), - Ka.test(t[o]) && - (o && (!r || Ka.lastIndex < r) && (r = Ka.lastIndex), - (i = i || o), - (l = o)); - for (var s = i; s <= l; s++) - s !== i && - (n += ` -`), - (n += t[s].slice(r).replace(/\\"""/g, '"""')); - return n; - } - function re() { - for ( - var e = 0 | Ne.charCodeAt(ee++); - e === 9 || - e === 10 || - e === 13 || - e === 32 || - e === 35 || - e === 44 || - e === 65279; - e = 0 | Ne.charCodeAt(ee++) - ) - if (e === 35) for (; (e = Ne.charCodeAt(ee++)) !== 10 && e !== 13; ); - ee--; - } - var Os = /[_A-Za-z]\w*/y; - function Tt() { - var e; - if ((e = et(Os))) return { kind: "Name", value: e }; - } - var Hu = /(?:null|true|false)/y, - As = /\$[_A-Za-z]\w*/y, - ju = /-?\d+/y, - zu = /(?:\.\d+)?[eE][+-]?\d+|\.\d+/y, - Uu = /\\/g, - $u = /"""(?:"""|(?:[\s\S]*?[^\\])""")/y, - Wu = /"(?:"|[^\r\n]*?[^\\]")/y; - function vr(e) { - var t, n; - if ((n = et(Hu))) - t = - n === "null" - ? { kind: "NullValue" } - : { kind: "BooleanValue", value: n === "true" }; - else if (!e && (n = et(As))) - t = { kind: "Variable", name: { kind: "Name", value: n.slice(1) } }; - else if ((n = et(ju))) { - var r = n; - (n = et(zu)) - ? (t = { kind: "FloatValue", value: r + n }) - : (t = { kind: "IntValue", value: r }); - } else if ((n = et(Os))) t = { kind: "EnumValue", value: n }; - else if ((n = et($u))) - t = { kind: "StringValue", value: Du(n.slice(3, -3)), block: !0 }; - else if ((n = et(Wu))) - t = { - kind: "StringValue", - value: Uu.test(n) ? JSON.parse(n) : n.slice(1, -1), - block: !1, - }; - else if ( - (t = - (function (i) { - var l; - if (Ne.charCodeAt(ee) === 91) { - ee++, re(); - for (var o = []; (l = vr(i)); ) o.push(l); - if (Ne.charCodeAt(ee++) !== 93) throw Re("ListValue"); - return re(), { kind: "ListValue", values: o }; - } - })(e) || - (function (i) { - if (Ne.charCodeAt(ee) === 123) { - ee++, re(); - for (var l = [], o; (o = Tt()); ) { - if ((re(), Ne.charCodeAt(ee++) !== 58)) throw Re("ObjectField"); - re(); - var s = vr(i); - if (!s) throw Re("ObjectField"); - l.push({ kind: "ObjectField", name: o, value: s }); - } - if (Ne.charCodeAt(ee++) !== 125) throw Re("ObjectValue"); - return re(), { kind: "ObjectValue", fields: l }; - } - })(e)) - ) - return t; - return re(), t; - } - function Ts(e) { - var t = []; - if ((re(), Ne.charCodeAt(ee) === 40)) { - ee++, re(); - for (var n; (n = Tt()); ) { - if ((re(), Ne.charCodeAt(ee++) !== 58)) throw Re("Argument"); - re(); - var r = vr(e); - if (!r) throw Re("Argument"); - t.push({ kind: "Argument", name: n, value: r }); - } - if (!t.length || Ne.charCodeAt(ee++) !== 41) throw Re("Argument"); - re(); - } - return t; - } - function Fn(e) { - var t = []; - for (re(); Ne.charCodeAt(ee) === 64; ) { - ee++; - var n = Tt(); - if (!n) throw Re("Directive"); - re(), t.push({ kind: "Directive", name: n, arguments: Ts(e) }); - } - return t; - } - function Gu() { - var e = Tt(); - if (e) { - re(); - var t; - if (Ne.charCodeAt(ee) === 58) { - if ((ee++, re(), (t = e), !(e = Tt()))) throw Re("Field"); - re(); - } - return { - kind: "Field", - alias: t, - name: e, - arguments: Ts(!1), - directives: Fn(!1), - selectionSet: qr(), - }; - } - } - function Fs() { - var e; - if ((re(), Ne.charCodeAt(ee) === 91)) { - ee++, re(); - var t = Fs(); - if (!t || Ne.charCodeAt(ee++) !== 93) throw Re("ListType"); - e = { kind: "ListType", type: t }; - } else if ((e = Tt())) e = { kind: "NamedType", name: e }; - else throw Re("NamedType"); - return ( - re(), - Ne.charCodeAt(ee) === 33 - ? (ee++, re(), { kind: "NonNullType", type: e }) - : e - ); - } - var qu = /on/y; - function Ls() { - if (et(qu)) { - re(); - var e = Tt(); - if (!e) throw Re("NamedType"); - return re(), { kind: "NamedType", name: e }; - } - } - var Yu = /\.\.\./y; - function Qu() { - if (et(Yu)) { - re(); - var e = ee, - t; - if ((t = Tt()) && t.value !== "on") - return { kind: "FragmentSpread", name: t, directives: Fn(!1) }; - ee = e; - var n = Ls(), - r = Fn(!1), - i = qr(); - if (!i) throw Re("InlineFragment"); - return { - kind: "InlineFragment", - typeCondition: n, - directives: r, - selectionSet: i, - }; - } - } - function qr() { - var e; - if ((re(), Ne.charCodeAt(ee) === 123)) { - ee++, re(); - for (var t = []; (e = Qu() || Gu()); ) t.push(e); - if (!t.length || Ne.charCodeAt(ee++) !== 125) throw Re("SelectionSet"); - return re(), { kind: "SelectionSet", selections: t }; - } - } - var Ku = /fragment/y; - function Ju() { - if (et(Ku)) { - re(); - var e = Tt(); - if (!e) throw Re("FragmentDefinition"); - re(); - var t = Ls(); - if (!t) throw Re("FragmentDefinition"); - var n = Fn(!1), - r = qr(); - if (!r) throw Re("FragmentDefinition"); - return { - kind: "FragmentDefinition", - name: e, - typeCondition: t, - directives: n, - selectionSet: r, - }; - } - } - var Xu = /(?:query|mutation|subscription)/y; - function e2() { - var e, - t, - n = [], - r = []; - (e = et(Xu)) && - (re(), - (t = Tt()), - (n = (function () { - var l, - o = []; - if ((re(), Ne.charCodeAt(ee) === 40)) { - for (ee++, re(); (l = et(As)); ) { - if ((re(), Ne.charCodeAt(ee++) !== 58)) - throw Re("VariableDefinition"); - var s = Fs(), - c = void 0; - if (Ne.charCodeAt(ee) === 61 && (ee++, re(), !(c = vr(!0)))) - throw Re("VariableDefinition"); - re(), - o.push({ - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: l.slice(1) }, - }, - type: s, - defaultValue: c, - directives: Fn(!0), - }); - } - if (Ne.charCodeAt(ee++) !== 41) throw Re("VariableDefinition"); - re(); - } - return o; - })()), - (r = Fn(!1))); - var i = qr(); - if (i) - return { - kind: "OperationDefinition", - operation: e || "query", - name: t, - variableDefinitions: n, - directives: r, - selectionSet: i, - }; - } - function t2(e, t) { - return ( - (Ne = typeof e.body == "string" ? e.body : e), - (ee = 0), - (function () { - var n; - re(); - for (var r = []; (n = Ju() || e2()); ) r.push(n); - return { kind: "Document", definitions: r }; - })() - ); - } - function n2(e) { - return JSON.stringify(e); - } - function a2(e) { - return ( - `""" -` + - e.replace(/"""/g, '\\"""') + - ` -"""` - ); - } - var it = (e) => !(!e || !e.length), - De = { - OperationDefinition(e) { - if ( - e.operation === "query" && - !e.name && - !it(e.variableDefinitions) && - !it(e.directives) - ) - return De.SelectionSet(e.selectionSet); - var t = e.operation; - return ( - e.name && (t += " " + e.name.value), - it(e.variableDefinitions) && - (e.name || (t += " "), - (t += - "(" + - e.variableDefinitions.map(De.VariableDefinition).join(", ") + - ")")), - it(e.directives) && - (t += " " + e.directives.map(De.Directive).join(" ")), - t + " " + De.SelectionSet(e.selectionSet) - ); - }, - VariableDefinition(e) { - var t = De.Variable(e.variable) + ": " + lt(e.type); - return ( - e.defaultValue && (t += " = " + lt(e.defaultValue)), - it(e.directives) && - (t += " " + e.directives.map(De.Directive).join(" ")), - t - ); - }, - Field(e) { - var t = (e.alias ? e.alias.value + ": " : "") + e.name.value; - if (it(e.arguments)) { - var n = e.arguments.map(De.Argument), - r = t + "(" + n.join(", ") + ")"; - t = - r.length > 80 - ? t + - `( - ` + - n - .join( - ` -`, - ) - .replace( - /\n/g, - ` - `, - ) + - ` -)` - : r; - } - return ( - it(e.directives) && - (t += " " + e.directives.map(De.Directive).join(" ")), - e.selectionSet ? t + " " + De.SelectionSet(e.selectionSet) : t - ); - }, - StringValue: (e) => (e.block ? a2(e.value) : n2(e.value)), - BooleanValue: (e) => "" + e.value, - NullValue: (e) => "null", - IntValue: (e) => e.value, - FloatValue: (e) => e.value, - EnumValue: (e) => e.value, - Name: (e) => e.value, - Variable: (e) => "$" + e.name.value, - ListValue: (e) => "[" + e.values.map(lt).join(", ") + "]", - ObjectValue: (e) => "{" + e.fields.map(De.ObjectField).join(", ") + "}", - ObjectField: (e) => e.name.value + ": " + lt(e.value), - Document: (e) => - it(e.definitions) - ? e.definitions.map(lt).join(` - -`) - : "", - SelectionSet: (e) => - `{ - ` + - e.selections - .map(lt) - .join( - ` -`, - ) - .replace( - /\n/g, - ` - `, - ) + - ` -}`, - Argument: (e) => e.name.value + ": " + lt(e.value), - FragmentSpread(e) { - var t = "..." + e.name.value; - return ( - it(e.directives) && - (t += " " + e.directives.map(De.Directive).join(" ")), - t - ); - }, - InlineFragment(e) { - var t = "..."; - return ( - e.typeCondition && (t += " on " + e.typeCondition.name.value), - it(e.directives) && - (t += " " + e.directives.map(De.Directive).join(" ")), - t + " " + lt(e.selectionSet) - ); - }, - FragmentDefinition(e) { - var t = "fragment " + e.name.value; - return ( - (t += " on " + e.typeCondition.name.value), - it(e.directives) && - (t += " " + e.directives.map(De.Directive).join(" ")), - t + " " + lt(e.selectionSet) - ); - }, - Directive(e) { - var t = "@" + e.name.value; - return ( - it(e.arguments) && - (t += "(" + e.arguments.map(De.Argument).join(", ") + ")"), - t - ); - }, - NamedType: (e) => e.name.value, - ListType: (e) => "[" + lt(e.type) + "]", - NonNullType: (e) => lt(e.type) + "!", - }; - function lt(e) { - return De[e.kind] ? De[e.kind](e) : ""; - } - var r2 = (e) => - e && e.message && (e.extensions || e.name === "GraphQLError") - ? e - : typeof e == "object" && e.message - ? new Ji( - e.message, - e.nodes, - e.source, - e.positions, - e.path, - e, - e.extensions || {}, - ) - : new Ji(e), - Rl = class extends Error { - constructor(e) { - var t = (e.graphQLErrors || []).map(r2), - n = ((r, i) => { - var l = ""; - if (r) return `[Network] ${r.message}`; - if (i) - for (var o of i) - l && - (l += ` -`), - (l += `[GraphQL] ${o.message}`); - return l; - })(e.networkError, t); - super(n), - (this.name = "CombinedError"), - (this.message = n), - (this.graphQLErrors = t), - (this.networkError = e.networkError), - (this.response = e.response); - } - toString() { - return this.message; - } - }, - Xi = (e, t) => { - for (var n = 0 | (t || 5381), r = 0, i = 0 | e.length; r < i; r++) - n = (n << 5) + n + e.charCodeAt(r); - return n; - }, - sn = new Set(), - Bo = new WeakMap(), - xn = (e) => { - if (e === null || sn.has(e)) return "null"; - if (typeof e != "object") return JSON.stringify(e) || ""; - if (e.toJSON) return xn(e.toJSON()); - if (Array.isArray(e)) { - var t = "["; - for (var n of e) t.length > 1 && (t += ","), (t += xn(n) || "null"); - return (t += "]"); - } else if ( - (br !== Ln && e instanceof br) || - (Er !== Ln && e instanceof Er) - ) - return "null"; - var r = Object.keys(e).sort(); - if ( - !r.length && - e.constructor && - Object.getPrototypeOf(e).constructor !== Object.prototype.constructor - ) { - var i = Bo.get(e) || Math.random().toString(36).slice(2); - return Bo.set(e, i), xn({ __key: i }); - } - sn.add(e); - var l = "{"; - for (var o of r) { - var s = xn(e[o]); - s && (l.length > 1 && (l += ","), (l += xn(o) + ":" + s)); - } - return sn.delete(e), (l += "}"); - }, - el = (e, t, n) => { - if (!(n == null || typeof n != "object" || n.toJSON || sn.has(n))) - if (Array.isArray(n)) - for (var r = 0, i = n.length; r < i; r++) el(e, `${t}.${r}`, n[r]); - else if (n instanceof br || n instanceof Er) e.set(t, n); - else { - sn.add(n); - for (var l of Object.keys(n)) el(e, `${t}.${l}`, n[l]); - } - }, - yr = (e) => (sn.clear(), xn(e)), - Ln = class {}, - br = typeof File < "u" ? File : Ln, - Er = typeof Blob < "u" ? Blob : Ln, - i2 = /("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g, - l2 = /(?:#[^\n\r]+)?(?:[\r\n]+|$)/g, - o2 = (e, t) => - t % 2 == 0 - ? e.replace( - l2, - ` -`, - ) - : e, - Po = (e) => e.split(i2).map(o2).join("").trim(), - Vo = new Map(), - ur = new Map(), - Il = (e) => { - var t; - return ( - typeof e == "string" - ? (t = Po(e)) - : e.loc && ur.get(e.__key) === e - ? (t = e.loc.source.body) - : ((t = Vo.get(e) || Po(lt(e))), Vo.set(e, t)), - typeof e != "string" && - !e.loc && - (e.loc = { - start: 0, - end: t.length, - source: { - body: t, - name: "gql", - locationOffset: { line: 1, column: 1 }, - }, - }), - t - ); - }, - Do = (e) => { - var t = Xi(Il(e)); - if (e.definitions) { - var n = Rs(e); - n && - (t = Xi( - ` -# ${n}`, - t, - )); - } - return t; - }, - s2 = (e) => { - var t, n; - return ( - typeof e == "string" - ? ((t = Do(e)), (n = ur.get(t) || t2(e))) - : ((t = e.__key || Do(e)), (n = ur.get(t) || e)), - n.loc || Il(n), - (n.__key = t), - ur.set(t, n), - n - ); - }, - On = (e, t, n) => { - var r = t || {}, - i = s2(e), - l = yr(r), - o = i.__key; - return ( - l !== "{}" && (o = Xi(l, o)), - { key: o, query: i, variables: r, extensions: n } - ); - }, - Rs = (e) => { - for (var t of e.definitions) - if (t.kind === Vu.OPERATION_DEFINITION) - return t.name ? t.name.value : void 0; - }, - Ho = (e, t, n) => { - if (!("data" in t || ("errors" in t && Array.isArray(t.errors)))) - throw new Error("No Content"); - var r = e.kind === "subscription"; - return { - operation: e, - data: t.data, - error: Array.isArray(t.errors) - ? new Rl({ graphQLErrors: t.errors, response: n }) - : void 0, - extensions: t.extensions ? { ...t.extensions } : void 0, - hasNext: t.hasNext == null ? r : t.hasNext, - stale: !1, - }; - }, - tl = (e, t) => { - if ( - typeof e == "object" && - e != null && - (!e.constructor || e.constructor === Object || Array.isArray(e)) - ) { - e = Array.isArray(e) ? [...e] : { ...e }; - for (var n of Object.keys(t)) e[n] = tl(e[n], t[n]); - return e; - } - return t; - }, - c2 = (e, t, n, r) => { - var i = e.error ? e.error.graphQLErrors : [], - l = !!e.extensions || !!t.extensions, - o = { ...e.extensions, ...t.extensions }, - s = t.incremental; - "path" in t && (s = [t]); - var c = { data: e.data }; - if (s) { - var d = function (m) { - Array.isArray(m.errors) && i.push(...m.errors), - m.extensions && (Object.assign(o, m.extensions), (l = !0)); - var p = "data", - f = c, - g = []; - if (m.path) g = m.path; - else if (r) { - var y = r.find((C) => C.id === m.id); - m.subPath ? (g = [...y.path, ...m.subPath]) : (g = y.path); - } - for (var k = 0, b = g.length; k < b; p = g[k++]) - f = f[p] = Array.isArray(f[p]) ? [...f[p]] : { ...f[p] }; - if (m.items) - for ( - var h = +p >= 0 ? p : 0, v = 0, E = m.items.length; - v < E; - v++ - ) - f[h + v] = tl(f[h + v], m.items[v]); - else m.data !== void 0 && (f[p] = tl(f[p], m.data)); - }; - for (var u of s) d(u); - } else (c.data = t.data || e.data), (i = t.errors || i); - return { - operation: e.operation, - data: c.data, - error: i.length ? new Rl({ graphQLErrors: i, response: n }) : void 0, - extensions: l ? o : void 0, - hasNext: t.hasNext != null ? t.hasNext : e.hasNext, - stale: !1, - }; - }, - Is = (e, t, n) => ({ - operation: e, - data: void 0, - error: new Rl({ networkError: t, response: n }), - extensions: void 0, - hasNext: !1, - stale: !1, - }); - function d2(e) { - return { - query: - e.extensions && - e.extensions.persistedQuery && - !e.extensions.persistedQuery.miss - ? void 0 - : Il(e.query), - operationName: Rs(e.query), - variables: e.variables || void 0, - extensions: e.extensions, - }; - } - var u2 = (e, t) => { - var n = e.kind === "query" && e.context.preferGetMethod; - if (!n || !t) return e.context.url; - var r = new URL(e.context.url); - for (var i in t) { - var l = t[i]; - l && r.searchParams.set(i, typeof l == "object" ? yr(l) : l); - } - var o = r.toString(); - return o.length > 2047 && n !== "force" - ? ((e.context.preferGetMethod = !1), e.context.url) - : o; - }, - m2 = (e, t) => { - if (t && !(e.kind === "query" && e.context.preferGetMethod)) { - var n = yr(t), - r = ((s) => { - var c = new Map(); - return ( - (br !== Ln || Er !== Ln) && (sn.clear(), el(c, "variables", s)), - c - ); - })(t.variables); - if (r.size) { - var i = new FormData(); - i.append("operations", n), - i.append("map", yr({ ...[...r.keys()].map((s) => [s]) })); - var l = 0; - for (var o of r.values()) i.append("" + l++, o); - return i; - } - return n; - } - }, - p2 = (e, t) => { - var n = { - accept: - e.kind === "subscription" - ? "text/event-stream, multipart/mixed" - : "application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed", - }, - r = - (typeof e.context.fetchOptions == "function" - ? e.context.fetchOptions() - : e.context.fetchOptions) || {}; - if (r.headers) - for (var i in r.headers) n[i.toLowerCase()] = r.headers[i]; - var l = m2(e, t); - return ( - typeof l == "string" && - !n["content-type"] && - (n["content-type"] = "application/json"), - { ...r, method: l ? "POST" : "GET", body: l, headers: n } - ); - }, - h2 = typeof TextDecoder < "u" ? new TextDecoder() : null, - f2 = /boundary="?([^=";]+)"?/i, - g2 = /data: ?([^\n]+)/, - jo = (e) => - e.constructor.name === "Buffer" ? e.toString() : h2.decode(e); - async function* zo(e) { - if (e.body[Symbol.asyncIterator]) for await (var t of e.body) yield jo(t); - else { - var n = e.body.getReader(), - r; - try { - for (; !(r = await n.read()).done; ) yield jo(r.value); - } finally { - n.cancel(); - } - } - } - async function* Uo(e, t) { - var n = "", - r; - for await (var i of e) - for (n += i; (r = n.indexOf(t)) > -1; ) - yield n.slice(0, r), (n = n.slice(r + t.length)); - } - async function* v2(e, t, n) { - var r = !0, - i = null, - l; - try { - yield await Promise.resolve(); - var o = - (l = await (e.context.fetch || fetch)(t, n)).headers.get( - "Content-Type", - ) || "", - s; - /multipart\/mixed/i.test(o) - ? (s = (async function* (u, m) { - var p = u.match(f2), - f = "--" + (p ? p[1] : "-"), - g = !0, - y; - for await (var k of Uo( - zo(m), - `\r -` + f, - )) { - if (g) { - g = !1; - var b = k.indexOf(f); - if (b > -1) k = k.slice(b + f.length); - else continue; - } - try { - yield (y = JSON.parse( - k.slice( - k.indexOf(`\r -\r -`) + 4, - ), - )); - } catch (h) { - if (!y) throw h; - } - if (y && y.hasNext === !1) break; - } - y && y.hasNext !== !1 && (yield { hasNext: !1 }); - })(o, l)) - : /text\/event-stream/i.test(o) - ? (s = (async function* (u) { - var m; - for await (var p of Uo( - zo(u), - ` - -`, - )) { - var f = p.match(g2); - if (f) { - var g = f[1]; - try { - yield (m = JSON.parse(g)); - } catch (y) { - if (!m) throw y; - } - if (m && m.hasNext === !1) break; - } - } - m && m.hasNext !== !1 && (yield { hasNext: !1 }); - })(l)) - : /text\//i.test(o) - ? (s = (async function* (u) { - var m = await u.text(); - try { - var p = JSON.parse(m); - yield p; - } catch { - throw new Error(m); - } - })(l)) - : (s = (async function* (u) { - yield JSON.parse(await u.text()); - })(l)); - var c; - for await (var d of s) - d.pending && !i - ? (c = d.pending) - : d.pending && (c = [...c, ...d.pending]), - (i = i ? c2(i, d, l, c) : Ho(e, d, l)), - (r = !1), - yield i, - (r = !0); - i || (yield (i = Ho(e, {}, l))); - } catch (u) { - if (!r) throw u; - yield Is( - e, - l && (l.status < 200 || l.status >= 300) && l.statusText - ? new Error(l.statusText) - : u, - l, - ); - } - } - function y2(e, t, n) { - var r; - return ( - typeof AbortController < "u" && - (n.signal = (r = new AbortController()).signal), - Fl(() => { - r && r.abort(); - })(Ke((i) => !!i)(Ms(v2(e, t, n)))) - ); - } - var nl = (e, t) => { - if (!e || typeof e != "object") return e; - if (Array.isArray(e)) return e.map((i) => nl(i)); - if (e && typeof e == "object" && (t || "__typename" in e)) { - var n = {}; - for (var r in e) - r === "__typename" - ? Object.defineProperty(n, "__typename", { - enumerable: !1, - value: e.__typename, - }) - : (n[r] = nl(e[r])); - return n; - } else return e; - }; - function $o(e) { - var t = (n) => e(n); - return ( - (t.toPromise = () => Ll(Gr(1)(Ke((n) => !n.stale && !n.hasNext)(t)))), - (t.then = (n, r) => t.toPromise().then(n, r)), - (t.subscribe = (n) => Tn(n)(t)), - t - ); - } - function kr(e, t, n) { - return { - ...t, - kind: e, - context: t.context ? { ...t.context, ...n } : n || t.context, - }; - } - var b2 = () => {}, - E2 = - ({ forward: e, dispatchDebug: t }) => - (n) => { - var r = fr((l) => { - var o = d2(l), - s = u2(l, o), - c = p2(l, o), - d = xs(Ke((u) => u.kind === "teardown" && u.key === l.key)(n))( - y2(l, s, c), - ); - return d; - })( - Ke( - (l) => - l.kind !== "teardown" && - (l.kind !== "subscription" || !!l.context.fetchSubscriptions), - )(n), - ), - i = e( - Ke( - (l) => - l.kind === "teardown" || - (l.kind === "subscription" && !l.context.fetchSubscriptions), - )(n), - ); - return ya([r, i]); - }, - k2 = - (e) => - ({ client: t, forward: n, dispatchDebug: r }) => - e.reduceRight( - (i, l) => - l({ - client: t, - forward(o) { - return ba(i(ba(o))); - }, - dispatchDebug(o) {}, - }), - n, - ), - w2 = - ({ onOperation: e, onResult: t, onError: n }) => - ({ forward: r }) => - (i) => - fr((l) => { - n && l.error && n(l.error, l.operation); - var o = (t && t(l)) || l; - return "then" in o ? Zo(o) : ha(o); - })( - r( - fr((l) => { - var o = (e && e(l)) || l; - return "then" in o ? Zo(o) : ha(o); - })(i), - ), - ), - C2 = - ({ dispatchDebug: e }) => - (t) => - Ke((n) => !1)(t), - S2 = function e(t) { - var n = 0, - r = new Map(), - i = new Map(), - l = new Set(), - o = [], - s = { - url: t.url, - fetchSubscriptions: t.fetchSubscriptions, - fetchOptions: t.fetchOptions, - fetch: t.fetch, - preferGetMethod: t.preferGetMethod, - requestPolicy: t.requestPolicy || "cache-first", - }, - c = Ki(); - function d(h) { - (h.kind === "mutation" || h.kind === "teardown" || !l.has(h.key)) && - (h.kind === "teardown" - ? l.delete(h.key) - : h.kind !== "mutation" && l.add(h.key), - c.next(h)); - } - var u = !1; - function m(h) { - if ((h && d(h), !u)) { - for (u = !0; u && (h = o.shift()); ) d(h); - u = !1; - } - } - var p = (h) => { - var v = xs( - Ke((E) => E.kind === "teardown" && E.key === h.key)(c.source), - )( - Ke( - (E) => - E.operation.kind === h.kind && - E.operation.key === h.key && - (!E.operation.context._instance || - E.operation.context._instance === h.context._instance), - )(b), - ); - return ( - t.maskTypename && - (v = Yi((E) => ({ ...E, data: nl(E.data, !0) }))(v)), - h.kind !== "query" - ? (v = Ns((E) => !!E.hasNext, !0)(v)) - : (v = Io((E) => { - var C = ha(E); - return E.stale || E.hasNext - ? C - : ya([ - C, - Yi(() => ((E.stale = !0), E))( - Gr(1)(Ke((Z) => Z.key === h.key)(c.source)), - ), - ]); - })(v)), - h.kind !== "mutation" - ? (v = Fl(() => { - l.delete(h.key), r.delete(h.key), i.delete(h.key), (u = !1); - for (var E = o.length - 1; E >= 0; E--) - o[E].key === h.key && o.splice(E, 1); - d(kr("teardown", h, h.context)); - })( - gr((E) => { - if (E.stale) { - for (var C of o) - if (C.key === E.operation.key) { - l.delete(C.key); - break; - } - } else E.hasNext || l.delete(h.key); - r.set(h.key, E); - })(v), - )) - : (v = Qi(() => { - d(h); - })(v)), - ba(v) - ); - }, - f = this instanceof e ? this : Object.create(e.prototype), - g = Object.assign(f, { - suspense: !!t.suspense, - operations$: c.source, - reexecuteOperation(h) { - if (h.kind === "teardown") m(h); - else if (h.kind === "mutation" || i.has(h.key)) { - for (var v = !1, E = 0; E < o.length; E++) - v = v || o[E].key === h.key; - v || l.delete(h.key), o.push(h), Promise.resolve().then(m); - } - }, - createRequestOperation(h, v, E) { - return ( - E || (E = {}), - kr(h, v, { - _instance: h === "mutation" ? (n = (n + 1) | 0) : void 0, - ...s, - ...E, - requestPolicy: E.requestPolicy || s.requestPolicy, - suspense: E.suspense || (E.suspense !== !1 && g.suspense), - }) - ); - }, - executeRequestOperation(h) { - return h.kind === "mutation" - ? $o(p(h)) - : $o( - Iu(() => { - var v = i.get(h.key); - v || i.set(h.key, (v = p(h))), - (v = Qi(() => { - m(h); - })(v)); - var E = r.get(h.key); - return h.kind === "query" && E && (E.stale || E.hasNext) - ? Io(ha)(ya([v, Ke((C) => C === r.get(h.key))(ha(E))])) - : v; - }), - ); - }, - executeQuery(h, v) { - var E = g.createRequestOperation("query", h, v); - return g.executeRequestOperation(E); - }, - executeSubscription(h, v) { - var E = g.createRequestOperation("subscription", h, v); - return g.executeRequestOperation(E); - }, - executeMutation(h, v) { - var E = g.createRequestOperation("mutation", h, v); - return g.executeRequestOperation(E); - }, - readQuery(h, v, E) { - var C = null; - return ( - Tn((Z) => { - C = Z; - })(g.query(h, v, E)).unsubscribe(), - C - ); - }, - query: (h, v, E) => g.executeQuery(On(h, v), E), - subscription: (h, v, E) => g.executeSubscription(On(h, v), E), - mutation: (h, v, E) => g.executeMutation(On(h, v), E), - }), - y = b2, - k = k2(t.exchanges), - b = ba( - k({ - client: g, - dispatchDebug: y, - forward: C2({ dispatchDebug: y }), - })(c.source), - ); - return Pu(b), g; - }, - Ni = (e, t) => kr(e.kind, e, { ...e.context, authAttempt: t }); - function x2(e) { - return ({ client: t, forward: n }) => { - var r = new Set(), - i = Ki(), - l = Ki(), - o = new Map(); - function s() { - d = void 0; - var m = o; - (o = new Map()), m.forEach(i.next); - } - function c(m) { - d = void 0; - var p = o; - (o = new Map()), - p.forEach((f) => { - l.next(Is(f, m)); - }); - } - var d, - u = null; - return (m) => { - function p() { - d = Promise.resolve() - .then(() => - e({ - mutate(b, h, v) { - var E = t.createRequestOperation("mutation", On(b, h), v); - return Ll( - Gr(1)( - Ke( - (C) => - C.operation.key === E.key && - E.context._instance === - C.operation.context._instance, - )( - Qi(() => { - var C = g(E); - r.add(C.context._instance), i.next(C); - })(k), - ), - ), - ); - }, - appendHeaders(b, h) { - var v = - typeof b.context.fetchOptions == "function" - ? b.context.fetchOptions() - : b.context.fetchOptions || {}; - return kr(b.kind, b, { - ...b.context, - fetchOptions: { ...v, headers: { ...v.headers, ...h } }, - }); - }, - }), - ) - .then((b) => { - b && (u = b), s(); - }) - .catch((b) => { - c(b); - }); - } - p(); - function f(b) { - o.set(b.key, Ni(b, !0)), - u && !d && (d = u.refreshAuth().then(s).catch(c)); - } - function g(b) { - return u ? u.addAuthToOperation(b) : b; - } - var y = Ke(Boolean)( - Yi((b) => - b.kind === "teardown" - ? (o.delete(b.key), b) - : b.context._instance && r.has(b.context._instance) - ? b - : b.context.authAttempt - ? g(b) - : d || !u - ? (d || p(), - o.has(b.key) || o.set(b.key, Ni(b, !1)), - null) - : (function (h) { - return ( - !h.context.authAttempt && - u && - u.willAuthError && - u.willAuthError(h) - ); - })(b) - ? (f(b), null) - : g(Ni(b, !1)), - )(ya([i.source, m])), - ), - k = n(y); - return ya([ - l.source, - Ke((b) => - !r.has(b.operation.context._instance) && - b.error && - (function (h) { - return ( - u && u.didAuthError && u.didAuthError(h.error, h.operation) - ); - })(b) && - !b.operation.context.authAttempt - ? (f(b.operation), !1) - : (r.has(b.operation.context._instance) && - r.delete(b.operation.context._instance), - !0), - )(k), - ]); - }; - }; - } - var N2 = {}, - Yr = Xe(N2), - M2 = Yr.Provider; - Yr.Consumer; - Yr.displayName = "UrqlContext"; - var Zl = () => { - var e = zt(Yr); - return e; - }, - al = { - fetching: !1, - stale: !1, - error: void 0, - data: void 0, - extensions: void 0, - operation: void 0, - }, - _2 = (e, t) => e === t || !(!e || !t || e.key !== t.key), - Mi = (e, t) => { - var n = { - ...e, - ...t, - data: t.data !== void 0 || t.error ? t.data : e.data, - fetching: !!t.fetching, - stale: !!t.stale, - }; - return ((r, i) => { - for (var l in r) if (!(l in i)) return !0; - for (var o in i) - if (o === "operation" ? !_2(r[o], i[o]) : r[o] !== i[o]) return !0; - return !1; - })(e, n) - ? n - : e; - }, - O2 = (e, t) => { - for (var n = 0, r = t.length; n < r; n++) if (e[n] !== t[n]) return !0; - return !1; - }; - function wr(e, t) { - e(t); - } - function Zs(e) { - var t = Be(!0), - n = Zl(), - [r, i] = Pe(al), - l = G( - (o, s) => ( - wr(i, { ...al, fetching: !0 }), - Ll( - Gr(1)( - Ke((c) => !c.hasNext)( - gr((c) => { - t.current && - wr(i, { - fetching: !1, - stale: c.stale, - data: c.data, - error: c.error, - extensions: c.extensions, - operation: c.operation, - }); - })(n.executeMutation(On(e, o), s || {})), - ), - ), - ) - ), - [n, e, i], - ); - return ( - ne( - () => ( - (t.current = !0), - () => { - t.current = !1; - } - ), - [], - ), - [r, l] - ); - } - function A2(e, t) { - var n = Be(void 0); - return wt(() => { - var r = On(e, t); - return n.current !== void 0 && n.current.key === r.key - ? n.current - : ((n.current = r), r); - }, [e, t]); - } - var T2 = (e) => { - if (!e._react) { - var t = new Set(), - n = new Map(); - e.operations$ && - Tn((r) => { - r.kind === "teardown" && - t.has(r.key) && - (t.delete(r.key), n.delete(r.key)); - })(e.operations$), - (e._react = { - get: (r) => n.get(r), - set(r, i) { - t.delete(r), n.set(r, i); - }, - dispose(r) { - t.add(r); - }, - }); - } - return e._react; - }, - F2 = (e, t) => (t && t.suspense !== void 0 ? !!t.suspense : e.suspense); - function Bl(e) { - var t = Zl(), - n = T2(t), - r = F2(t, e.context), - i = A2(e.query, e.variables), - l = wt(() => { - if (e.pause) return null; - var p = t.executeQuery(i, { - requestPolicy: e.requestPolicy, - ...e.context, - }); - return r - ? gr((f) => { - n.set(i.key, f); - })(p) - : p; - }, [n, t, i, r, e.pause, e.requestPolicy, e.context]), - o = G( - (p, f) => { - if (!p) return { fetching: !1 }; - var g = n.get(i.key); - if (g) { - if (f && g != null && "then" in g) throw g; - } else { - var y, - k = Tn((h) => { - (g = h), y && y(g); - })(Ns(() => (f && !y) || !g)(p)); - if (g == null && f) { - var b = new Promise((h) => { - y = h; - }); - throw (n.set(i.key, b), b); - } else k.unsubscribe(); - } - return g || { fetching: !0 }; - }, - [n, i], - ), - s = [t, i, e.requestPolicy, e.context, e.pause], - [c, d] = Pe(() => [l, Mi(al, o(l, r)), s]), - u = c[1]; - l !== c[0] && O2(c[2], s) && d([l, (u = Mi(c[1], o(l, r))), s]), - ne(() => { - var p = c[0], - f = c[2][1], - g = !1, - y = (b) => { - (g = !0), - wr(d, (h) => { - var v = Mi(h[1], b); - return h[1] !== v ? [h[0], v, h[2]] : h; - }); - }; - if (p) { - var k = Tn(y)( - Fl(() => { - y({ fetching: !1 }); - })(p), - ); - return ( - g || y({ fetching: !0 }), - () => { - n.dispose(f.key), k.unsubscribe(); - } - ); - } else y({ fetching: !1 }); - }, [n, c[0], c[2][1]]); - var m = G( - (p) => { - var f = { requestPolicy: e.requestPolicy, ...e.context, ...p }; - wr(d, (g) => [ - r - ? gr((y) => { - n.set(i.key, y); - })(t.executeQuery(i, f)) - : t.executeQuery(i, f), - g[1], - s, - ]); - }, - [t, n, i, r, e.requestPolicy, e.context, e.pause], - ); - return [u, m]; - } - var Ja, - L2 = new Uint8Array(16); - function R2() { - if ( - !Ja && - ((Ja = - typeof crypto < "u" && - crypto.getRandomValues && - crypto.getRandomValues.bind(crypto)), - !Ja) - ) - throw new Error( - "crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported", - ); - return Ja(L2); - } - var Ve = []; - for (let e = 0; e < 256; ++e) Ve.push((e + 256).toString(16).slice(1)); - function I2(e, t = 0) { - return ( - Ve[e[t + 0]] + - Ve[e[t + 1]] + - Ve[e[t + 2]] + - Ve[e[t + 3]] + - "-" + - Ve[e[t + 4]] + - Ve[e[t + 5]] + - "-" + - Ve[e[t + 6]] + - Ve[e[t + 7]] + - "-" + - Ve[e[t + 8]] + - Ve[e[t + 9]] + - "-" + - Ve[e[t + 10]] + - Ve[e[t + 11]] + - Ve[e[t + 12]] + - Ve[e[t + 13]] + - Ve[e[t + 14]] + - Ve[e[t + 15]] - ); - } - var Z2 = - typeof crypto < "u" && - crypto.randomUUID && - crypto.randomUUID.bind(crypto), - Wo = { randomUUID: Z2 }; - function B2(e, t, n) { - if (Wo.randomUUID && !t && !e) return Wo.randomUUID(); - e = e || {}; - let r = e.random || (e.rng || R2)(); - if (((r[6] = (r[6] & 15) | 64), (r[8] = (r[8] & 63) | 128), t)) { - n = n || 0; - for (let i = 0; i < 16; ++i) t[n + i] = r[i]; - return t; - } - return I2(r); - } - var P2 = B2, - St, - fa, - Cr = (e) => { - try { - let { exp: t } = e - ? JSON.parse(atob(e.split(".")[1])) - : { exp: null }; - (St = e), (fa = t); - } catch { - (St = null), (fa = null); - } - St ? localStorage.setItem(Gi, St) : localStorage.removeItem(Gi); - }; - Cr(localStorage.getItem(Gi)); - var Pl = () => { - let [{ token: e }, t] = fo(`${H}/accessToken`, { token: St }), - n = a.useCallback( - (r) => { - Cr(r), t({ token: St }); - }, - [t], - ); - return [e, n]; - }, - V2 = P2(), - Bs = (e) => ({ - headers: { - Accept: "*/*", - ...(e && { Authorization: `Bearer ${e}` }), - "X-Chromatic-Session-ID": V2, - }, - }), - Ps = (e) => - new S2({ - url: au, - exchanges: [ - w2({ - onResult(t) { - t.data?.viewer === null && Cr(null); - }, - }), - x2(async (t) => ({ - addAuthToOperation(n) { - return St - ? t.appendHeaders(n, { Authorization: `Bearer ${St}` }) - : n; - }, - didAuthError: (n) => - n.response.status === 401 || - n.graphQLErrors.some((r) => r.message.includes("Must login")), - async refreshAuth() { - Cr(null); - }, - willAuthError() { - if (!St) return !0; - try { - if (!fa) { - let { exp: n } = JSON.parse(atob(St.split(".")[1])); - fa = n; - } - return Date.now() / 1e3 > (fa || 0); - } catch { - return !0; - } - }, - })), - E2, - ], - fetchOptions: Bs(), - ...e, - }), - D2 = ({ children: e, value: t = Ps() }) => - a.createElement(M2, { value: t }, e), - Rt = (e, t) => { - let n = zt(e); - if (n == null) throw new Error(`Missing context value for ${t}`); - return n; - }, - Ba = Xe(null), - H2 = ({ children: e, value: t }) => - a.createElement(Ba.Provider, { value: t }, e), - nt = (e, t) => { - let n = Rt(Ba, "Telemetry"); - ne(() => n({ location: e, screen: t }), [e, t, n]); - }, - ta = new Map(), - rl = (e, t, n, r = !0) => { - let i = () => { - window.clearTimeout(ta.get(e)), ta.delete(e); - }, - l = (...o) => { - ta.has(e) ? i() : r && t(...o), - ta.set( - e, - window.setTimeout(() => ta.delete(e) && t(...o), n), - ); - }; - return (l.cancel = i), l; - }, - Vl = ({ localBuildProgress: e, accessToken: t }) => { - let n = Kn({}), - r = zt(Ba), - [i, l] = Pe(!1), - [o, s] = Pe(!1), - c = e - ? ["initialize", "build", "upload"].includes(e?.currentStep) - : !1, - d = e - ? !["aborted", "complete", "error", "limited"].includes( - e.currentStep, - ) - : i, - u = wt( - () => - rl( - "startBuild", - () => { - s(!1), - l(!0), - n(ou, { accessToken: t }), - r?.({ action: "startBuild" }); - }, - 1e3, - !1, - ), - [t, n, r], - ), - m = wt( - () => - rl( - "startBuild", - () => { - c ? (l(!1), n(su), r?.({ action: "stopBuild" })) : s(!0); - }, - 1e3, - !1, - ), - [c, n, r], - ); - return ( - ne(() => { - let p = i && setTimeout(() => l(!1), 5e3); - return () => { - p && clearTimeout(p); - }; - }, [i]), - { isDisallowed: o, isRunning: d, startBuild: u, stopBuild: m } - ); - }, - Go = "experimental_useSharedState_getValue", - Xa = "experimental_useSharedState_setValue", - _i = new Map(), - Vs = class { - constructor(e) { - (this.channel = e), - (this.listeners = []), - (this.state = {}), - this.channel.on(Xa, (t, n, r) => { - this.state?.[t]?.index >= r || - (this.state[t] = { index: r, value: n }); - }), - this.channel.on(Go, (t) => { - let n = this.state[t]?.index ?? 0, - r = this.state[t]?.value; - this.channel.emit(Xa, t, r, n); - }); - } - get(e) { - return ( - this.state[e] || this.channel.emit(Go, e), this.state[e]?.value - ); - } - set(e, t) { - let n = (this.state[e]?.index ?? 0) + 1; - (this.state[e] = { index: n, value: t }), - this.channel.emit(Xa, e, t, n); - } - static subscribe(e, t) { - let n = _i.get(e) || new Vs(t); - return ( - _i.has(e) || - (_i.set(e, n), - n.channel.on(Xa, (r, i) => { - r === e && n.listeners.forEach((l) => l(i)); - })), - { - get value() { - return n.get(e); - }, - set value(r) { - n.set(e, r); - }, - on(r, i) { - if (r !== "change") throw new Error("unsupported event"); - n.listeners.push(i); - }, - off(r, i) { - if (r !== "change") throw new Error("unsupported event"); - let l = n.listeners.indexOf(i); - l >= 0 && n.listeners.splice(l, 1); - }, - } - ); - } - }; - function Ae(e) { - let t = kn().getChannel(); - if (!t) throw new Error("Channel not available"); - let n = Be(Vs.subscribe(e, t)), - [r, i] = Pe(n.current.value); - return ( - ne(() => { - let l = n.current; - return l.on("change", i), () => l.off("change", i); - }, [n]), - [ - r, - G((l) => { - i(l), (n.current.value = l); - }, []), - ] - ); - } - var Dl = () => { - let [e, t] = Ae(ws), - { projectId: n, written: r, dismissed: i, configFile: l } = e || {}; - return { - loading: !e, - projectId: n, - configFile: l, - updateProject: G( - (o) => t({ ...e, projectId: o, dismissed: !1 }), - [e, t], - ), - projectUpdatingFailed: !i && r === !1, - projectIdUpdated: !i && r === !0, - clearProjectIdUpdated: G(() => t({ ...e, dismissed: !0 }), [e, t]), - }; - }, - il = ["initialize", "build", "upload", "verify", "snapshot"], - Hl = { - initialize: { - key: "initialize", - emoji: "\u{1F680}", - renderName: () => "Initialize build", - renderProgress: () => "Initializing build...", - renderComplete: () => "Initialized", - estimateDuration: 2e3, - }, - build: { - key: "build", - emoji: "\u{1F3D7}", - renderName: () => "Build Storybook", - renderProgress: () => "Building your Storybook...", - renderComplete: () => "Storybook built", - estimateDuration: 2e4, - }, - upload: { - key: "upload", - emoji: "\u{1F4E1}", - renderName: () => "Publish your Storybook", - renderProgress: ({ stepProgress: e }) => { - let { numerator: t, denominator: n } = e.upload; - if (!n || !t) return "Uploading files..."; - let { value: r, exponent: i } = ki(n, { - output: "object", - round: 1, - }), - { value: l, symbol: o } = ki(t, { - exponent: i, - output: "object", - round: 1, - }); - return `Uploading files... ${l}/${r} ${o}`; - }, - renderComplete: () => "Publish complete", - estimateDuration: 2e4, - }, - verify: { - key: "verify", - emoji: "\u{1F50D}", - renderName: () => "Verify your Storybook", - renderProgress: () => "Verifying contents...", - renderComplete: () => "Storybook verified", - estimateDuration: 2e4, - }, - snapshot: { - key: "snapshot", - emoji: "\u{1F4F8}", - renderName: () => "Run visual tests", - renderProgress: ({ stepProgress: e }) => { - let { numerator: t, denominator: n } = e.snapshot; - return n - ? `Running visual tests... ${t}/${n}` - : "Running visual tests..."; - }, - renderComplete: () => "Tested your stories", - estimateDuration: 9e4, - }, - aborted: { - key: "aborted", - emoji: "\u270B", - renderName: () => "Build canceled", - renderProgress: () => "Build canceled", - renderComplete: () => "Build canceled", - estimateDuration: 0, - }, - complete: { - key: "complete", - emoji: "\u{1F389}", - renderName: () => "Visual tests completed!", - renderProgress: () => "Visual tests completed!", - renderComplete: () => "Visual tests completed!", - estimateDuration: 0, - }, - error: { - key: "error", - emoji: "\u{1F6A8}", - renderName: () => "Build failed", - renderProgress: () => "Build failed", - renderComplete: () => "Build failed", - estimateDuration: 0, - }, - limited: { - key: "error", - emoji: "\u{1F6A8}", - renderName: () => "Build limited", - renderProgress: () => "Build limited", - renderComplete: () => "Build limited", - estimateDuration: 0, - }, - }, - j2 = { - buildProgressPercentage: 0, - currentStep: il[0], - stepProgress: Object.fromEntries(il.map((e) => [e, {}])), - }; - JSON.stringify(j2); - var Y = w.div( - ({ center: e, small: t, block: n, theme: r }) => ({ - display: n ? "block" : "inline-block", - color: r.color.defaultText, - fontSize: t ? r.typography.size.s1 : r.typography.size.s2, - lineHeight: t ? "18px" : "20px", - textAlign: e ? "center" : "left", - textWrap: "balance", - }), - ({ muted: e, theme: t }) => - e && { color: t.base === "light" ? t.color.dark : "#C9CDCF" }, - ({ theme: e }) => ({ - b: { color: e.color.defaultText }, - code: { - fontSize: e.typography.size.s1, - border: `1px solid ${e.appBorderColor}`, - borderRadius: 3, - padding: 2, - }, - small: { fontSize: e.typography.size.s1 }, - span: { whiteSpace: "nowrap" }, - svg: { verticalAlign: "top" }, - }), - ), - jl = ({ localBuildProgress: e, withEmoji: t = !1, ...n }) => { - let { emoji: r, renderProgress: i } = Hl[e.currentStep], - l = i(e); - return a.createElement(Y, { ...n }, t && r, " ", l); - }; - function Sr() { - return ( - (Sr = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var r in n) - Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); - } - return e; - }), - Sr.apply(this, arguments) - ); - } - function z2(e) { - if (e === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return e; - } - function Ea(e, t) { - return ( - (Ea = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (n, r) { - return (n.__proto__ = r), n; - }), - Ea(e, t) - ); - } - function U2(e, t) { - (e.prototype = Object.create(t.prototype)), - (e.prototype.constructor = e), - Ea(e, t); - } - function ll(e) { - return ( - (ll = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (t) { - return t.__proto__ || Object.getPrototypeOf(t); - }), - ll(e) - ); - } - function $2(e) { - try { - return Function.toString.call(e).indexOf("[native code]") !== -1; - } catch { - return typeof e == "function"; - } - } - function Ds() { - try { - var e = !Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ); - } catch {} - return (Ds = function () { - return !!e; - })(); - } - function W2(e, t, n) { - if (Ds()) return Reflect.construct.apply(null, arguments); - var r = [null]; - r.push.apply(r, t); - var i = new (e.bind.apply(e, r))(); - return n && Ea(i, n.prototype), i; - } - function ol(e) { - var t = typeof Map == "function" ? new Map() : void 0; - return ( - (ol = function (n) { - if (n === null || !$2(n)) return n; - if (typeof n != "function") - throw new TypeError( - "Super expression must either be null or a function", - ); - if (typeof t < "u") { - if (t.has(n)) return t.get(n); - t.set(n, r); - } - function r() { - return W2(n, arguments, ll(this).constructor); - } - return ( - (r.prototype = Object.create(n.prototype, { - constructor: { - value: r, - enumerable: !1, - writable: !0, - configurable: !0, - }, - })), - Ea(r, n) - ); - }), - ol(e) - ); - } - var xt = (function (e) { - U2(t, e); - function t(n) { - var r; - return ( - (r = - e.call( - this, - "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + - n + - " for more information.", - ) || this), - z2(r) - ); - } - return t; - })(ol(Error)); - function Oi(e) { - return Math.round(e * 255); - } - function G2(e, t, n) { - return Oi(e) + "," + Oi(t) + "," + Oi(n); - } - function ka(e, t, n, r) { - if ((r === void 0 && (r = G2), t === 0)) return r(n, n, n); - var i = (((e % 360) + 360) % 360) / 60, - l = (1 - Math.abs(2 * n - 1)) * t, - o = l * (1 - Math.abs((i % 2) - 1)), - s = 0, - c = 0, - d = 0; - i >= 0 && i < 1 - ? ((s = l), (c = o)) - : i >= 1 && i < 2 - ? ((s = o), (c = l)) - : i >= 2 && i < 3 - ? ((c = l), (d = o)) - : i >= 3 && i < 4 - ? ((c = o), (d = l)) - : i >= 4 && i < 5 - ? ((s = o), (d = l)) - : i >= 5 && i < 6 && ((s = l), (d = o)); - var u = n - l / 2, - m = s + u, - p = c + u, - f = d + u; - return r(m, p, f); - } - var qo = { - 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 q2(e) { - if (typeof e != "string") return e; - var t = e.toLowerCase(); - return qo[t] ? "#" + qo[t] : e; - } - var Y2 = /^#[a-fA-F0-9]{6}$/, - Q2 = /^#[a-fA-F0-9]{8}$/, - K2 = /^#[a-fA-F0-9]{3}$/, - J2 = /^#[a-fA-F0-9]{4}$/, - Ai = - /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, - X2 = - /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, - em = - /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, - tm = - /^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 Hs(e) { - if (typeof e != "string") throw new xt(3); - var t = q2(e); - if (t.match(Y2)) - 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(Q2)) { - var n = parseFloat((parseInt("" + t[7] + t[8], 16) / 255).toFixed(2)); - return { - red: parseInt("" + t[1] + t[2], 16), - green: parseInt("" + t[3] + t[4], 16), - blue: parseInt("" + t[5] + t[6], 16), - alpha: n, - }; - } - if (t.match(K2)) - 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(J2)) { - var r = parseFloat((parseInt("" + t[4] + t[4], 16) / 255).toFixed(2)); - return { - red: parseInt("" + t[1] + t[1], 16), - green: parseInt("" + t[2] + t[2], 16), - blue: parseInt("" + t[3] + t[3], 16), - alpha: r, - }; - } - var i = Ai.exec(t); - if (i) - return { - red: parseInt("" + i[1], 10), - green: parseInt("" + i[2], 10), - blue: parseInt("" + i[3], 10), - }; - var l = X2.exec(t.substring(0, 50)); - if (l) - return { - red: parseInt("" + l[1], 10), - green: parseInt("" + l[2], 10), - blue: parseInt("" + l[3], 10), - alpha: - parseFloat("" + l[4]) > 1 - ? parseFloat("" + l[4]) / 100 - : parseFloat("" + l[4]), - }; - var o = em.exec(t); - if (o) { - var s = parseInt("" + o[1], 10), - c = parseInt("" + o[2], 10) / 100, - d = parseInt("" + o[3], 10) / 100, - u = "rgb(" + ka(s, c, d) + ")", - m = Ai.exec(u); - if (!m) throw new xt(4, t, u); - return { - red: parseInt("" + m[1], 10), - green: parseInt("" + m[2], 10), - blue: parseInt("" + m[3], 10), - }; - } - var p = tm.exec(t.substring(0, 50)); - if (p) { - var f = parseInt("" + p[1], 10), - g = parseInt("" + p[2], 10) / 100, - y = parseInt("" + p[3], 10) / 100, - k = "rgb(" + ka(f, g, y) + ")", - b = Ai.exec(k); - if (!b) throw new xt(4, t, k); - return { - red: parseInt("" + b[1], 10), - green: parseInt("" + b[2], 10), - blue: parseInt("" + b[3], 10), - alpha: - parseFloat("" + p[4]) > 1 - ? parseFloat("" + p[4]) / 100 - : parseFloat("" + p[4]), - }; - } - throw new xt(5); - } - function nm(e) { - var t = e.red / 255, - n = e.green / 255, - r = e.blue / 255, - i = Math.max(t, n, r), - l = Math.min(t, n, r), - o = (i + l) / 2; - if (i === l) - return e.alpha !== void 0 - ? { hue: 0, saturation: 0, lightness: o, alpha: e.alpha } - : { hue: 0, saturation: 0, lightness: o }; - var s, - c = i - l, - d = o > 0.5 ? c / (2 - i - l) : c / (i + l); - switch (i) { - case t: - s = (n - r) / c + (n < r ? 6 : 0); - break; - case n: - s = (r - t) / c + 2; - break; - default: - s = (t - n) / c + 4; - break; - } - return ( - (s *= 60), - e.alpha !== void 0 - ? { hue: s, saturation: d, lightness: o, alpha: e.alpha } - : { hue: s, saturation: d, lightness: o } - ); - } - function js(e) { - return nm(Hs(e)); - } - var am = 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; - }, - sl = am; - function an(e) { - var t = e.toString(16); - return t.length === 1 ? "0" + t : t; - } - function Ti(e) { - return an(Math.round(e * 255)); - } - function rm(e, t, n) { - return sl("#" + Ti(e) + Ti(t) + Ti(n)); - } - function xr(e, t, n) { - return ka(e, t, n, rm); - } - function im(e, t, n) { - if (typeof e == "number" && typeof t == "number" && typeof n == "number") - return xr(e, t, n); - if (typeof e == "object" && t === void 0 && n === void 0) - return xr(e.hue, e.saturation, e.lightness); - throw new xt(1); - } - function lm(e, t, n, r) { - if ( - typeof e == "number" && - typeof t == "number" && - typeof n == "number" && - typeof r == "number" - ) - return r >= 1 ? xr(e, t, n) : "rgba(" + ka(e, t, n) + "," + r + ")"; - if (typeof e == "object" && t === void 0 && n === void 0 && r === void 0) - return e.alpha >= 1 - ? xr(e.hue, e.saturation, e.lightness) - : "rgba(" + - ka(e.hue, e.saturation, e.lightness) + - "," + - e.alpha + - ")"; - throw new xt(2); - } - function cl(e, t, n) { - if (typeof e == "number" && typeof t == "number" && typeof n == "number") - return sl("#" + an(e) + an(t) + an(n)); - if (typeof e == "object" && t === void 0 && n === void 0) - return sl("#" + an(e.red) + an(e.green) + an(e.blue)); - throw new xt(6); - } - function dl(e, t, n, r) { - if (typeof e == "string" && typeof t == "number") { - var i = Hs(e); - return "rgba(" + i.red + "," + i.green + "," + i.blue + "," + t + ")"; - } else { - if ( - typeof e == "number" && - typeof t == "number" && - typeof n == "number" && - typeof r == "number" - ) - return r >= 1 - ? cl(e, t, n) - : "rgba(" + e + "," + t + "," + n + "," + r + ")"; - if ( - typeof e == "object" && - t === void 0 && - n === void 0 && - r === void 0 - ) - return e.alpha >= 1 - ? cl(e.red, e.green, e.blue) - : "rgba(" + - e.red + - "," + - e.green + - "," + - e.blue + - "," + - e.alpha + - ")"; - } - throw new xt(7); - } - var om = function (e) { - return ( - typeof e.red == "number" && - typeof e.green == "number" && - typeof e.blue == "number" && - (typeof e.alpha != "number" || typeof e.alpha > "u") - ); - }, - sm = function (e) { - return ( - typeof e.red == "number" && - typeof e.green == "number" && - typeof e.blue == "number" && - typeof e.alpha == "number" - ); - }, - cm = function (e) { - return ( - typeof e.hue == "number" && - typeof e.saturation == "number" && - typeof e.lightness == "number" && - (typeof e.alpha != "number" || typeof e.alpha > "u") - ); - }, - dm = function (e) { - return ( - typeof e.hue == "number" && - typeof e.saturation == "number" && - typeof e.lightness == "number" && - typeof e.alpha == "number" - ); - }; - function zs(e) { - if (typeof e != "object") throw new xt(8); - if (sm(e)) return dl(e); - if (om(e)) return cl(e); - if (dm(e)) return lm(e); - if (cm(e)) return im(e); - throw new xt(8); - } - function Us(e, t, n) { - return function () { - var r = n.concat(Array.prototype.slice.call(arguments)); - return r.length >= t ? e.apply(this, r) : Us(e, t, r); - }; - } - function $s(e) { - return Us(e, e.length, []); - } - function Ws(e, t, n) { - return Math.max(e, Math.min(t, n)); - } - function um(e, t) { - if (t === "transparent") return t; - var n = js(t); - return zs( - Sr({}, n, { lightness: Ws(0, 1, n.lightness - parseFloat(e)) }), - ); - } - var mm = $s(um), - rn = mm; - function pm(e, t) { - if (t === "transparent") return t; - var n = js(t); - return zs( - Sr({}, n, { lightness: Ws(0, 1, n.lightness + parseFloat(e)) }), - ); - } - var hm = $s(pm), - mr = hm, - U = { - primary: "#FF4785", - secondary: "#029CFD", - tertiary: "#E3E6E8", - orange: "#FC521F", - gold: "#FFAE00", - green: "#66BF3C", - seafoam: "#37D5D3", - purple: "#6F2CAC", - ultraviolet: "#2A0481", - red: "#ff4400", - bluelight: "#E3F3FF", - bluelighter: "#F5FBFF", - lightest: "#FFFFFF", - lighter: "#F7FAFC", - light: "#EEF3F6", - mediumlight: "#ECF4F9", - medium: "#D9E8F2", - mediumdark: "#73828C", - dark: "#5C6870", - darker: "#454E54", - darkest: "#2E3438", - tr10: "rgba(0, 0, 0, 0.1)", - tr5: "rgba(0, 0, 0, 0.05)", - border: "hsla(203, 50%, 30%, 0.15)", - positive: "#448028", - negative: "#D43900", - warning: "#A15C20", - selected: "#0271B6", - }, - zl = { - padding: { small: 10, medium: 20, large: 30 }, - borderRadius: { small: 5, default: 10 }, - }, - z = { - type: { - primary: - 'var(--nunito-sans, "Nunito Sans"), "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif', - code: '"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace', - }, - weight: { regular: "400", bold: "700", extrabold: "800" }, - size: { - s1: 12, - s2: 14, - s3: 16, - m1: 20, - m2: 24, - m3: 28, - l1: 32, - l2: 40, - l3: 48, - code: 90, - }, - }, - er = 600, - tr = 5.55555; - ge({ - padding: `0 ${zl.padding.medium}px`, - [`@media (min-width: ${er * 1}px)`]: { margin: `0 ${tr * 1}%` }, - [`@media (min-width: ${er * 2}px)`]: { margin: `0 ${tr * 2}%` }, - [`@media (min-width: ${er * 3}px)`]: { margin: `0 ${tr * 3}%` }, - [`@media (min-width: ${er * 4}px)`]: { margin: `0 ${tr * 4}%` }, - }); - ge({ - border: `1px solid ${U.border}`, - borderRadius: `${zl.borderRadius.small}px`, - transition: - "background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out", - "&:hover, &.__hover": { - borderColor: `${dl(U.secondary, 0.5)}`, - transform: "translate3d(0, -3px, 0)", - boxShadow: "rgba(0, 0, 0, 0.08) 0 3px 10px 0", - }, - "&:active, &.__active": { - borderColor: `${dl(U.secondary, 1)}`, - transform: "translate3d(0, 0, 0)", - }, - }); - ge({ fontSize: z.size.l3, fontWeight: z.weight.bold }), - ge({ fontSize: z.size.l2, fontWeight: z.weight.bold }), - ge({ fontSize: z.size.l1, fontWeight: z.weight.bold }), - ge({ fontSize: z.size.m3, fontWeight: z.weight.bold }), - ge({ fontSize: z.size.m2, fontWeight: z.weight.bold }), - ge({ fontSize: z.size.m1, fontWeight: z.weight.bold }), - ge({ fontSize: z.size.s3, fontWeight: z.weight.bold }), - ge({ fontSize: z.size.s2, fontWeight: z.weight.bold }); - ge({ - fontSize: 14, - fontWeight: z.weight.extrabold, - lineHeight: "18px", - letterSpacing: "0.38em", - }), - ge({ - fontSize: 11, - fontWeight: z.weight.extrabold, - lineHeight: "16px", - letterSpacing: "0.38em", - }); - ge({ fontSize: 14, fontWeight: z.weight.bold, lineHeight: "18px" }), - ge({ fontSize: 14, fontWeight: z.weight.regular, lineHeight: "18px" }), - ge({ - fontSize: z.size.s3, - fontWeight: z.weight.bold, - lineHeight: "24px", - }), - ge({ - fontSize: z.size.s1, - fontWeight: z.weight.regular, - lineHeight: "18px", - }), - ge({ - fontSize: z.size.s2, - fontWeight: z.weight.bold, - lineHeight: "20px", - }), - ge({ - fontSize: z.size.s1, - fontWeight: z.weight.bold, - lineHeight: "18px", - }), - ge({ - fontSize: z.size.s3, - fontWeight: z.weight.regular, - lineHeight: "24px", - }), - ge({ - fontSize: z.size.s2, - fontWeight: z.weight.regular, - lineHeight: "20px", - }); - ge({ - fontFamily: z.type.code, - fontSize: z.size.s2, - fontWeight: z.weight.regular, - lineHeight: "17px", - }), - ge({ - fontFamily: z.type.code, - fontSize: z.size.s1, - fontWeight: z.weight.regular, - lineHeight: "14px", - }); - var Gs = Ut({ - from: { transform: "rotate(0deg)" }, - to: { transform: "rotate(360deg)" }, - }), - qs = Ut({ "0%, 100%": { opacity: 1 }, "50%": { opacity: 0.4 } }); - Ut({ - "0%": { transform: "translateY(1px)" }, - "25%": { transform: "translateY(0px)" }, - "50%": { transform: "translateY(-3px)" }, - "100%": { transform: "translateY(1px)" }, - }); - var Ys = Ut({ - "0%, 100%": { transform: "translate3d(0,0,0)" }, - "12.5%, 62.5%": { transform: "translate3d(-4px,0,0)" }, - "37.5%, 87.5%": { transform: "translate3d(4px,0,0)" }, - }); - Ut({ - "0%": { transform: "rotate(-3deg)" }, - "1.68421%": { transform: "rotate(3deg)" }, - "2.10526%": { transform: "rotate(6deg)" }, - "3.78947%": { transform: "rotate(-6deg)" }, - "4.21053%": { transform: "rotate(-6deg)" }, - "5.89474%": { transform: "rotate(6deg)" }, - "6.31579%": { transform: "rotate(6deg)" }, - "8%": { transform: "rotate(-6deg)" }, - "8.42105%": { transform: "rotate(-6deg)" }, - "10.10526%": { transform: "rotate(6deg)" }, - "10.52632%": { transform: "rotate(6deg)" }, - "12.21053%": { transform: "rotate(-6deg)" }, - "12.63158%": { transform: "rotate(-6deg)" }, - "14.31579%": { transform: "rotate(6deg)" }, - "15.78947%": { transform: "rotate(0deg)" }, - "100%": { transform: "rotate(0deg)" }, - }); - var fm = ge({ - animation: `${qs} 1.5s ease-in-out infinite`, - background: U.tr5, - color: "transparent", - cursor: "progress", - }), - gm = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "StatusTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - { - kind: "Field", - name: { kind: "Name", value: "story" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "storyId" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - vm = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "LastBuildOnBranchTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - ], - }, - }, - ], - }, - ym = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "LastBuildOnBranchBuildFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Build" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "committedAt" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "StartedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - alias: { kind: "Name", value: "testsForStatus" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "1000" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "statuses" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "testStatuses" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StatusTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "LastBuildOnBranchTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompletedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "result" }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStatus" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "1000" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "statuses" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "testStatuses" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StatusTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "LastBuildOnBranchTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "StatusTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - { - kind: "Field", - name: { kind: "Name", value: "story" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "storyId" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "LastBuildOnBranchTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - ], - }, - }, - ], - }, - bm = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "StoryTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - { kind: "Field", name: { kind: "Name", value: "webUrl" } }, - { - kind: "Field", - name: { kind: "Name", value: "comparisons" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "result" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "browser" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "key" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "version" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "captureDiff" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "diffImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "focusImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "headCapture" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "captureImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "backgroundColor", - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "imageHeight", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "thumbnailUrl", - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "captureError" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "kind" }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorInteractionFailure", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorJSError", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorFailedJS", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "baseCapture" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "captureImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "imageHeight", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "mode" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "globals" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "story" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "storyId" }, - }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "component" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - Em = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "SelectedBuildFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Build" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "number" } }, - { kind: "Field", name: { kind: "Name", value: "branch" } }, - { kind: "Field", name: { kind: "Name", value: "commit" } }, - { kind: "Field", name: { kind: "Name", value: "committedAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "uncommittedHash" }, - }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "StartedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "startedAt" }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StoryTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompletedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "startedAt" }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StoryTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "StoryTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - { kind: "Field", name: { kind: "Name", value: "webUrl" } }, - { - kind: "Field", - name: { kind: "Name", value: "comparisons" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "result" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "browser" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "key" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "version" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "captureDiff" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "diffImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "focusImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "headCapture" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "captureImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "backgroundColor", - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "imageHeight", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "thumbnailUrl", - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "captureError" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "kind" }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorInteractionFailure", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorJSError", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorFailedJS", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "baseCapture" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "captureImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "imageHeight", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "mode" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "globals" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "story" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "storyId" }, - }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "component" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - km = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "VisualTestsProjectCountQuery" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewer" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "projectCount" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "accounts" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "newProjectUrl" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - wm = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "SelectProjectsQuery" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewer" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "accounts" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "avatarUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "newProjectUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "projects" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "webUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "lastBuild" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "branch", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "number", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - Cm = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "ProjectQuery" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "projectId" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "ID" }, - }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "project" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "id" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "projectId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "webUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "lastBuild" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "branch" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "number" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - Sm = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "UpdateUserPreferences" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "input" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "UserPreferencesInput" }, - }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "updateUserPreferences" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "input" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "updatedPreferences" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "vtaOnboarding" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - xm = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "AddonVisualTestsBuild" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "projectId" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "ID" }, - }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "branch" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "gitUserEmailHash" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "repositoryOwnerName" }, - }, - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "testStatuses" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "ListType", - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "TestStatus" }, - }, - }, - }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "selectedBuildId" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "ID" }, - }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "hasSelectedBuildId" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "Boolean" }, - }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "project" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "id" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "projectId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "manageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "account" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "billingUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "suspensionReason" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "features" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "uiTests" }, - }, - ], - }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "lastBuildOnBranch" }, - name: { kind: "Name", value: "lastBuild" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "branches" }, - value: { - kind: "ListValue", - values: [ - { - kind: "Variable", - name: { kind: "Name", value: "branch" }, - }, - ], - }, - }, - { - kind: "Argument", - name: { - kind: "Name", - value: "repositoryOwnerName", - }, - value: { - kind: "Variable", - name: { - kind: "Name", - value: "repositoryOwnerName", - }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "localBuilds" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { - kind: "Name", - value: "localBuildEmailHash", - }, - value: { - kind: "Variable", - name: { - kind: "Name", - value: "gitUserEmailHash", - }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "LastBuildOnBranchBuildFields", - }, - }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "SelectedBuildFields", - }, - directives: [ - { - kind: "Directive", - name: { kind: "Name", value: "skip" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "if" }, - value: { - kind: "Variable", - name: { - kind: "Name", - value: "hasSelectedBuildId", - }, - }, - }, - ], - }, - ], - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "lastBuild" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "slug" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "branch" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "selectedBuild" }, - name: { kind: "Name", value: "build" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "id" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "selectedBuildId" }, - }, - }, - ], - directives: [ - { - kind: "Directive", - name: { kind: "Name", value: "include" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "if" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "hasSelectedBuildId" }, - }, - }, - ], - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { kind: "Name", value: "SelectedBuildFields" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "viewer" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "preferences" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "vtaOnboarding" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "projectMembership" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "projectId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "projectId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - alias: { kind: "Name", value: "userCanReview" }, - name: { kind: "Name", value: "meetsAccessLevel" }, - arguments: [ - { - kind: "Argument", - name: { - kind: "Name", - value: "minimumAccessLevel", - }, - value: { - kind: "EnumValue", - value: "REVIEWER", - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "StatusTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - { - kind: "Field", - name: { kind: "Name", value: "story" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "storyId" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "LastBuildOnBranchTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "StoryTestFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Test" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "result" } }, - { kind: "Field", name: { kind: "Name", value: "webUrl" } }, - { - kind: "Field", - name: { kind: "Name", value: "comparisons" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "result" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "browser" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "key" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "version" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "captureDiff" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "diffImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "focusImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "headCapture" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "captureImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "backgroundColor", - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "imageHeight", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "thumbnailUrl", - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "captureError" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "kind" }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorInteractionFailure", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorJSError", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "CaptureErrorFailedJS", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "error", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "baseCapture" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "captureImage" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "signed" }, - value: { kind: "BooleanValue", value: !0 }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "imageUrl" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "imageWidth" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "imageHeight", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "mode" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "globals" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "story" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "storyId" }, - }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { - kind: "Field", - name: { kind: "Name", value: "component" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "name" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "LastBuildOnBranchBuildFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Build" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "committedAt" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "StartedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - alias: { kind: "Name", value: "testsForStatus" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "1000" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "statuses" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "testStatuses" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StatusTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "LastBuildOnBranchTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompletedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "result" }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStatus" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "1000" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "statuses" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "testStatuses" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StatusTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "LastBuildOnBranchTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "SelectedBuildFields" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Build" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "number" } }, - { kind: "Field", name: { kind: "Name", value: "branch" } }, - { kind: "Field", name: { kind: "Name", value: "commit" } }, - { kind: "Field", name: { kind: "Name", value: "committedAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "uncommittedHash" }, - }, - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "StartedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "startedAt" }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StoryTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompletedBuild" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "startedAt" }, - }, - { - kind: "Field", - alias: { kind: "Name", value: "testsForStory" }, - name: { kind: "Name", value: "tests" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "storyId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "storyId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "nodes" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "StoryTestFields", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - Nm = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "ReviewTest" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "input" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "ReviewTestInput" }, - }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "reviewTest" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "input" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "updatedTests" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "status" }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "userErrors" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserError" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "__typename" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "message" }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "BuildSupersededError", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "build" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { - kind: "Name", - value: "TestUnreviewableError", - }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "test" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - Qs = w.div( - ({ status: e, theme: t }) => ({ - display: "inline-block", - width: 6, - height: 6, - borderRadius: "50%", - background: - e && - { - IN_PROGRESS: "transparent", - PASSED: t.color.positive, - PENDING: t.color.gold, - ACCEPTED: t.color.positive, - DENIED: t.color.positive, - BROKEN: t.color.negative, - FAILED: t.color.negative, - EQUAL: t.color.positive, - FIXED: t.color.positive, - ADDED: t.color.gold, - CHANGED: t.color.gold, - REMOVED: t.color.gold, - CAPTURE_ERROR: t.color.negative, - SYSTEM_ERROR: t.color.negative, - positive: t.color.positive, - negative: t.color.negative, - warning: t.color.gold, - notification: t.color.secondary, - }[e], - }), - ({ overlay: e, theme: t }) => - e && - ge({ - position: "absolute", - top: -1, - right: -2, - width: 7, - height: 7, - border: "1px solid rgba(0, 0, 0, 0.1)", - boxShadow: `0 0 0 2px var(--bg-color, ${t.background.bar})`, - boxSizing: "border-box", - }), - ), - Ks = ({ status: e }) => a.createElement(Qs, { status: e }), - Mm = w.div({ - position: "relative", - display: "inline-flex", - justifyContent: "center", - "img, svg": { verticalAlign: "top" }, - }), - Nr = ({ status: e, children: t }) => - a.createElement( - Mm, - null, - t, - a.createElement(Qs, { overlay: !0, status: e }), - ), - He = w(Co)(({ theme: e }) => ({ - marginBottom: "-4px", - marginTop: "-4px", - left: -8, - })), - _m = w.div(({ theme: e }) => ({ - width: 220, - padding: 3, - color: e.base === "light" ? e.color.defaultText : e.color.light, - "& > div": { margin: 7 }, - })), - Ul = w.div(({ theme: e }) => ({ - height: 5, - background: e.background.hoverable, - borderRadius: 5, - overflow: "hidden", - })), - Js = w(Ul)(({ theme: e }) => ({ - background: e.color.secondary, - transition: "width 3s ease-out", - })), - Om = Ut({ - "0%": { transform: "rotate(0deg)" }, - "100%": { transform: "rotate(360deg)" }, - }), - Fi = w.svg( - ({ progress: e, theme: t }) => ({ - position: "absolute", - width: "24px!important", - height: "24px!important", - transform: "rotate(-90deg)", - color: t.color.secondary, - circle: { - r: "10", - cx: "12", - cy: "12", - fill: "transparent", - stroke: e ? "currentColor" : t.background.hoverable, - strokeWidth: "2", - strokeLinecap: "round", - strokeDasharray: Math.PI * 20, - }, - }), - ({ spinner: e, theme: t }) => - e && { - animation: `${Om} 1s linear infinite`, - circle: { stroke: `${t.color.secondary}33` }, - }, - ), - Am = w.div(({ theme: e }) => ({ - color: e.color.warningText, - "&&": { marginTop: 10 }, - })), - na = w(ct)(({ isDisallowed: e, theme: t }) => ({ - position: "relative", - overflow: "visible", - color: t.textMutedColor, - marginTop: 0, - zIndex: 1, - marginRight: 4, - ...(e && { animation: `${Ys} 700ms ease-out` }), - })), - Tm = ({ - isDisabled: e = !1, - isDisallowed: t = !1, - isOutdated: n = !1, - isRunning: r = !1, - localBuildProgress: i, - warning: l, - clickWarning: o, - startBuild: s, - stopBuild: c, - }) => { - if (e) - return l - ? a.createElement( - Le, - { - tooltip: a.createElement(He, { note: l }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - na, - { - id: "button-run-tests", - "aria-label": "Visual tests locked", - disabled: !o, - onClick: o, - }, - a.createElement( - Nr, - { status: "warning" }, - a.createElement(qt, null), - ), - ), - ) - : a.createElement( - na, - { - id: "button-run-tests", - "aria-label": "Visual tests locked", - disabled: !0, - }, - a.createElement(qt, null), - ); - if (r && i) { - let { buildProgressPercentage: d } = i; - return a.createElement( - Le, - { - trigger: "hover", - tooltip: a.createElement( - _m, - null, - a.createElement( - "div", - null, - a.createElement(jl, { - localBuildProgress: i, - small: !0, - withEmoji: !0, - }), - ), - a.createElement( - Ul, - null, - typeof d == "number" && - a.createElement(Js, { style: { width: `${d}%` } }), - ), - t && - a.createElement( - Am, - null, - "This job has already reached the capture cloud and cannot be stopped locally.", - ), - ), - }, - a.createElement( - na, - { - "aria-label": "Stop tests", - isDisallowed: t, - onClick: () => c(), - }, - a.createElement(Z5, { style: { width: 10, margin: 2 } }), - a.createElement( - Fi, - { xmlns: "http://www.w3.org/2000/svg" }, - a.createElement("circle", null), - ), - a.createElement( - Fi, - { xmlns: "http://www.w3.org/2000/svg", spinner: !0 }, - a.createElement("circle", { - strokeDashoffset: Math.PI * 20 * (1 - d / 100), - }), - ), - typeof d == "number" && - a.createElement( - Fi, - { xmlns: "http://www.w3.org/2000/svg", progress: !0 }, - a.createElement("circle", { - strokeDashoffset: Math.PI * 20 * (1 - d / 100), - }), - ), - ), - ); - } - return n - ? a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: "Code changes detected; click to run tests", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - na, - { - id: "button-run-tests", - "aria-label": "Run tests", - onClick: () => s(), - }, - a.createElement( - Nr, - { status: "notification" }, - a.createElement(qt, null), - ), - ), - ) - : a.createElement( - Le, - { - trigger: "hover", - hasChrome: !1, - tooltip: a.createElement(He, { - note: "No code changes detected. Rerun tests to take new snapshots.", - }), - }, - a.createElement( - na, - { - id: "button-run-tests", - "aria-label": "Run tests", - onClick: () => s(), - }, - a.createElement(qt, null), - ), - ); - }, - Fm = ({ api: e }) => { - let { - addNotification: t, - clearNotification: n, - selectStory: r, - setOptions: i, - togglePanel: l, - } = e, - o = zt(Ba), - { projectId: s } = Dl(), - [c] = Pl(), - d = !!c, - [u, m] = Ae(Ol), - [p] = Ae(hr), - [f] = Ae(Al), - [g] = Ae(Wr), - y = Object.keys(g?.problems || {}).length > 0, - [k] = Ae(_l), - b = Be(f?.currentStep), - { index: h, status: v, storyId: E, viewMode: C } = en(), - Z = Object.values(v).filter((le) => le[H]?.status === "warn"), - P = G( - (le) => { - if ((i({ selectedPanel: fn }), l(!0), h && C !== "story")) { - let Ue = Object.keys(h).indexOf(E), - Fe = Object.entries(h).slice(Ue > 0 ? Ue : 0), - [kt] = Fe.find(([, { type: Ie }]) => Ie === "story") || []; - kt && r(kt); - } - le && o?.({ action: "openWarning", warning: le }); - }, - [i, l, o, h, r, E, C], - ), - W = G( - ({ onDismiss: le }) => { - le(), P(); - }, - [P], - ); - ne(() => { - let le = () => m(!0), - Ue = () => m(!1); - return ( - window.addEventListener("offline", le), - window.addEventListener("online", Ue), - () => { - window.removeEventListener("offline", le), - window.removeEventListener("online", Ue); - } - ); - }, [m]), - ne(() => { - if (f?.currentStep !== b.current) { - if ( - ((b.current = f?.currentStep), f?.currentStep === "initialize") - ) { - let le = `${H}/build-initialize/${Date.now()}`; - t({ - id: le, - content: { - headline: "Build started", - subHeadline: - "Check the visual test addon to see the progress of your build.", - }, - icon: a.createElement(Wi, { color: mt.positive }), - duration: 8e3, - onClick: W, - }), - setTimeout(() => n(le), 8e3); - } - if (f?.currentStep === "aborted") { - let le = `${H}/build-aborted/${Date.now()}`; - t({ - id: le, - content: { - headline: "Build canceled", - subHeadline: "Aborted by user.", - }, - icon: a.createElement(Ot, { color: mt.negative }), - duration: 8e3, - onClick: W, - }), - setTimeout(() => n(le), 8e3); - } - if (f?.currentStep === "complete") { - let le = `${H}/build-complete/${Date.now()}`; - t({ - id: le, - content: { - headline: "Build complete", - subHeadline: f.errorCount - ? `Encountered ${(0, xi.default)("component error", f.errorCount, !0)}` - : Z.length - ? `Found ${(0, xi.default)("story", Z.length, !0)} with ${(0, xi.default)("change", Z.length)}` - : "No visual changes detected", - }, - icon: a.createElement(Wi, { color: mt.positive }), - duration: 8e3, - onClick: W, - }), - setTimeout(() => n(le), 8e3); - } - f?.currentStep === "error" && - t({ - id: `${H}/build-error/${Date.now()}`, - content: { - headline: "Build error", - subHeadline: - "Check the Storybook process on the command line for more details.", - }, - icon: a.createElement(Ot, { color: mt.negative }), - onClick: W, - }), - f?.currentStep === "limited" && - t({ - id: `${H}/build-limited/${Date.now()}`, - content: { - headline: "Build limited", - subHeadline: - "Your account has insufficient snapshots remaining to run this build. Visit your billing page to find out more.", - }, - icon: a.createElement(Ot, { color: mt.negative }), - onClick: W, - }); - } - }, [ - t, - n, - W, - f?.currentStep, - f?.errorCount, - f?.changeCount, - Z.length, - ]); - let { - isDisallowed: q, - isRunning: se, - startBuild: ie, - stopBuild: Oe, - } = Vl({ localBuildProgress: f, accessToken: c }), - be; - s || (be = "Visual tests locked until a project is selected."), - d || (be = "Visual tests locked until you are logged in."), - k && (be = "Visual tests locked due to Git synchronization problem."), - y && (be = "Visual tests locked due to configuration problem."), - u && (be = "Visual tests locked while offline."); - let he = G(() => P(be), [P, be]); - return globalThis.CONFIG_TYPE !== "DEVELOPMENT" - ? null - : a.createElement(Tm, { - isDisabled: !!be, - isDisallowed: q, - isOutdated: p, - isRunning: se, - localBuildProgress: f, - warning: be, - clickWarning: he, - startBuild: ie, - stopBuild: Oe, - }); - }, - Xs = Xe(null), - Lm = ({ children: e, value: t }) => - a.createElement(Xs.Provider, { value: t }, e), - e0 = () => Rt(Xs, "AuthState"), - Rm = { - user: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0ZM2.67 11.15c.7-1 2.6-1.81 3.2-1.9.22-.04.23-.66.23-.66s-.67-.66-.81-1.55c-.4 0-.63-.94-.24-1.27l-.02-.13c-.06-.6-.28-2.6 1.97-2.6s2.03 2 1.97 2.6l-.02.13c.4.33.15 1.27-.24 1.27-.14.89-.8 1.55-.8 1.55s0 .62.22.66c.6.09 2.5.9 3.2 1.9a6 6 0 1 0-8.66 0Z", - }), - ), - useralt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.27 13.16a11.39 11.39 0 0 0 5.18-1.23v-.25c0-1.57-3.24-3-4.1-3.13-.27-.05-.28-.79-.28-.79s.8-.78.96-1.83c.47 0 .75-1.12.29-1.52.02-.41.6-3.25-2.32-3.25S4.65 4 4.67 4.41c-.46.4-.17 1.52.29 1.52.17 1.05.96 1.83.96 1.83s0 .74-.27.79c-.86.13-4.04 1.53-4.1 3.08a11.44 11.44 0 0 0 5.72 1.53Z", - }), - ), - useradd: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z", - }), - ), - users: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M9.21 11.62A10.59 10.59 0 0 1 0 11.07c.06-1.35 2.93-2.58 3.7-2.7.25-.03.26-.68.26-.68s-.72-.69-.87-1.6c-.42 0-.68-.99-.26-1.33 0-.03 0-.08-.02-.14-.07-.63-.3-2.71 2.12-2.71 2.41 0 2.18 2.08 2.11 2.71l-.01.14c.42.34.16 1.32-.26 1.32-.16.92-.87 1.6-.87 1.6s0 .66.25.7c.78.11 3.7 1.36 3.7 2.73v.22l-.64.3Z", - }), - a.createElement("path", { - d: "M8.81 8.42a9.64 9.64 0 0 0-.74-.4 5.2 5.2 0 0 1 1.7-.76c.17-.02.17-.47.17-.47s-.49-.47-.6-1.1c-.28 0-.46-.68-.17-.91l-.01-.1c-.05-.43-.2-1.86 1.45-1.86 1.66 0 1.5 1.43 1.45 1.86v.1c.28.23.1.9-.18.9-.11.64-.6 1.11-.6 1.11s0 .45.17.47c.54.08 2.55.94 2.55 1.89v.62a10.6 10.6 0 0 1-3.3.56 2.97 2.97 0 0 0-.58-.88c-.37-.41-.85-.76-1.31-1.03Z", - }), - ), - profile: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M9.1 7.35a5.06 5.06 0 0 1-4.52-.28C4.6 6.4 6.02 5.77 6.4 5.7c.12-.02.12-.35.12-.35s-.35-.34-.43-.81c-.2 0-.33-.5-.12-.67l-.01-.07C5.93 3.48 5.81 2.42 7 2.42S8.07 3.48 8.04 3.8v.07c.2.17.07.67-.13.67-.08.47-.43.81-.43.81s0 .33.12.35c.38.06 1.82.7 1.82 1.4v.1c-.1.06-.2.1-.31.15Zm-5.35 3.9c0-.14.11-.25.25-.25h6a.25.25 0 1 1 0 .5H4a.25.25 0 0 1-.25-.25ZM4 9a.25.25 0 0 0 0 .5h6a.25.25 0 1 0 0-.5H4Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1 .5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V.5ZM2 13V1h10v12H2Z", - }), - ), - facehappy: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.97 8.75a.5.5 0 0 0-.87.5 4.5 4.5 0 0 0 7.8 0 .5.5 0 1 0-.87-.5 3.5 3.5 0 0 1-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - faceneutral: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - facesad: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.97 10.25a.5.5 0 0 1-.87-.5 4.5 4.5 0 0 1 7.8 0 .5.5 0 1 1-.87.5 3.5 3.5 0 0 0-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - accessibility: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z", - }), - a.createElement("path", { d: "M7 4.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z", - }), - ), - accessibilityalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM8 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z", - }), - ), - arrowup: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m7.35 2.9 5.5 5.5a.5.5 0 0 1-.7.7L7 3.96 1.85 9.1a.5.5 0 1 1-.7-.7l5.5-5.5c.2-.2.5-.2.7 0Z", - }), - ), - arrowdown: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m1.15 5.6 5.5 5.5c.2.2.5.2.7 0l5.5-5.5a.5.5 0 0 0-.7-.7L7 10.04 1.85 4.9a.5.5 0 1 0-.7.7Z", - }), - ), - arrowleft: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.76 7.1c.02.09.06.18.14.25l5.5 5.5a.5.5 0 0 0 .7-.7L3.96 7 9.1 1.85a.5.5 0 1 0-.7-.7l-5.5 5.5a.5.5 0 0 0-.14.45Z", - }), - ), - arrowright: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z", - }), - ), - arrowupalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.85 4.65 7.35.15a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 1 0 .7.7L6.5 1.71V13.5a.5.5 0 0 0 1 0V1.7l3.65 3.65a.5.5 0 0 0 .7-.7Z", - }), - ), - arrowdownalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.5.5a.5.5 0 0 0-1 0v11.8L2.85 8.64a.5.5 0 1 0-.7.7l4.5 4.5A.5.5 0 0 0 7 14a.5.5 0 0 0 .35-.15l4.5-4.5a.5.5 0 0 0-.7-.7L7.5 12.29V.5Z", - }), - ), - arrowleftalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.35 2.15c.2.2.2.5 0 .7L1.71 6.5H13.5a.5.5 0 0 1 0 1H1.7l3.65 3.65a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z", - }), - ), - arrowrightalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M8.65 2.15c.2-.2.5-.2.7 0l4.5 4.5c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7-.7l3.64-3.65H.5a.5.5 0 0 1 0-1h11.8L8.64 2.85a.5.5 0 0 1 0-.7Z", - }), - ), - expandalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m7.35.15 4 4a.5.5 0 0 1-.7.7L7 1.21 3.35 4.85a.5.5 0 1 1-.7-.7l4-4c.2-.2.5-.2.7 0ZM11.35 9.15c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7 0l-4-4a.5.5 0 1 1 .7-.7L7 12.79l3.65-3.64c.2-.2.5-.2.7 0Z", - }), - ), - collapse: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.354.146a.5.5 0 1 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0-.708-.708L7 3.793 3.354.146Zm3.292 9a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708L7 10.207l-3.646 3.647a.5.5 0 0 1-.708-.708l4-4Z", - }), - ), - expand: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.5 1h2a.5.5 0 0 1 0 1h-.8l3.15 3.15a.5.5 0 1 1-.7.7L2 2.71v.79a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 1.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-.8L8.85 5.86a.5.5 0 1 1-.7-.7L11.29 2h-.79a.5.5 0 0 1-.5-.5ZM12.5 10c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h.8L8.14 8.85a.5.5 0 1 1 .7-.7L12 11.29v-.79c0-.28.22-.5.5-.5ZM2 11.3v-.8a.5.5 0 0 0-1 0v2c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1h-.8l3.15-3.15a.5.5 0 1 0-.7-.7L2 11.29Z", - }), - ), - unfold: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m6.65.15-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64V5a.5.5 0 0 0 1 0V1.7l.65.65a.5.5 0 1 0 .7-.7L7.35.15a.5.5 0 0 0-.7 0Z", - }), - a.createElement("path", { - d: "M1.3 4.04a.5.5 0 0 0-.16.82L3.3 7 1.15 9.15a.5.5 0 0 0 .35.85h3a.5.5 0 0 0 0-1H2.7l1.5-1.5h5.6l2.35 2.35a.5.5 0 0 0 .7-.7L10.71 7l2.14-2.15.11-.54-.1.54A.5.5 0 0 0 13 4.5a.5.5 0 0 0-.14-.35.5.5 0 0 0-.36-.15h-3a.5.5 0 0 0 0 1h1.8L9.8 6.5H4.2L2.7 5h1.8a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.2.04Z", - }), - a.createElement("path", { - d: "M7 8.5c.28 0 .5.22.5.5v3.3l.65-.65a.5.5 0 0 1 .7.7l-1.5 1.5a.5.5 0 0 1-.7 0l-1.5-1.5a.5.5 0 0 1 .7-.7l.65.64V9c0-.28.22-.5.5-.5ZM9 9.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z", - }), - ), - transfer: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.65 2.65c.2-.2.5-.2.7 0l1.5 1.5c.2.2.2.5 0 .7l-1.5 1.5a.5.5 0 0 1-.7-.7l.64-.65H1.5a.5.5 0 0 1 0-1h9.8l-.65-.65a.5.5 0 0 1 0-.7ZM3.35 8.35 2.71 9h9.79a.5.5 0 0 1 0 1H2.7l.65.65a.5.5 0 0 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7Z", - }), - ), - redirect: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.5 1c.28 0 .5.22.5.5V10a2 2 0 0 0 4 0V4a3 3 0 0 1 6 0v7.8l1.15-1.15a.5.5 0 0 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7L11 11.79V4a2 2 0 1 0-4 0v6a3 3 0 0 1-6 0V1.5c0-.28.22-.5.5-.5Z", - }), - ), - undo: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.15 3.85a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L2.71 3H9a4 4 0 0 1 0 8H3a.5.5 0 0 1 0-1h6a3 3 0 1 0 0-6H2.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2Z", - }), - ), - reply: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4.35 2.15c.2.2.2.5 0 .7L1.71 5.5H9.5A4.5 4.5 0 0 1 14 10v1.5a.5.5 0 0 1-1 0V10a3.5 3.5 0 0 0-3.5-3.5H1.7l2.65 2.65a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z", - }), - ), - sync: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.5 1A.5.5 0 0 0 5 .5H2a.5.5 0 0 0 0 1h1.53a6.5 6.5 0 0 0 2.39 11.91.5.5 0 1 0 .16-.99A5.5 5.5 0 0 1 4.5 2.1V4a.5.5 0 0 0 1 0V1ZM7.5 1a.5.5 0 0 1 .58-.41 6.5 6.5 0 0 1 2.39 11.91H12a.5.5 0 0 1 0 1H9a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.9A5.5 5.5 0 0 0 7.92 1.58.5.5 0 0 1 7.5 1Z", - }), - ), - upload: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M8.65 5.85 7.5 4.71v5.79a.5.5 0 0 1-1 0V4.7L5.35 5.86a.5.5 0 1 1-.7-.7l2-2c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - download: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.35 8.15 6.5 9.29V3.5a.5.5 0 0 1 1 0v5.8l1.15-1.15a.5.5 0 1 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 1 1 .7-.7Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm1 0a6 6 0 1 1 12 0A6 6 0 0 1 1 7Z", - }), - ), - back: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.85 5.35 4.71 6.5h5.79a.5.5 0 0 1 0 1H4.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Z", - }), - ), - proceed: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.5 6.5h5.8L8.14 5.35a.5.5 0 1 1 .7-.7l2 2c.2.2.2.5 0 .7l-2 2a.5.5 0 1 1-.7-.7L9.29 7.5H3.5a.5.5 0 0 1 0-1Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 14A7 7 0 1 1 7 0a7 7 0 0 1 0 14Zm0-1A6 6 0 1 1 7 1a6 6 0 0 1 0 12Z", - }), - ), - refresh: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.1.5H7a6.5 6.5 0 1 0 6.41 7.58.5.5 0 1 0-.99-.16A5.47 5.47 0 0 1 7 12.5a5.5 5.5 0 0 1 0-11 5.5 5.5 0 0 1 4.9 3H10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-1 0v1.53A6.5 6.5 0 0 0 7.1.5Z", - }), - ), - globe: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 0 0 7a7 7 0 0 0 14 0Zm-6.53 5.74c-.24.23-.4.26-.47.26-.08 0-.23-.03-.47-.26-.23-.24-.5-.62-.73-1.18A11.57 11.57 0 0 1 5 7.5h4a11.57 11.57 0 0 1-.8 4.06c-.24.56-.5.94-.73 1.18ZM8.99 6.5H5.01c.05-1.62.35-3.04.79-4.06.24-.56.5-.94.73-1.18.24-.23.4-.26.47-.26.08 0 .23.03.47.26.23.24.5.62.73 1.18.44 1.02.74 2.44.8 4.06Zm1 1c-.06 2.18-.56 4.08-1.28 5.25a6 6 0 0 0 4.27-5.25H9.99Zm2.99-1H9.99c-.06-2.18-.56-4.08-1.28-5.25a6 6 0 0 1 4.27 5.25ZM4 6.5c.06-2.18.56-4.08 1.28-5.25A6 6 0 0 0 1.02 6.5h2.99Zm-2.99 1a6 6 0 0 0 4.27 5.25c-.72-1.17-1.22-3.07-1.28-5.25H1.02Z", - }), - ), - compass: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M10.09 3.4 5.95 5.8a.37.37 0 0 0-.11.09.38.38 0 0 0-.04.05l-2.4 4.15a.37.37 0 0 0 0 .38c.1.18.33.24.5.14l4.15-2.4a.37.37 0 0 0 .15-.15l2.4-4.15a.37.37 0 0 0-.03-.44.37.37 0 0 0-.48-.07ZM4.75 9.25 7.6 7.6 6.4 6.4 4.75 9.25Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - location: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm6.5 3.5v2.48A6 6 0 0 1 1.02 7.5H3.5a.5.5 0 0 0 0-1H1.02A6 6 0 0 1 6.5 1.02V3.5a.5.5 0 0 0 1 0V1.02a6 6 0 0 1 5.48 5.48H10.5a.5.5 0 0 0 0 1h2.48a6 6 0 0 1-5.48 5.48V10.5a.5.5 0 0 0-1 0Z", - }), - ), - pin: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M12 5A5 5 0 0 0 2 5c0 2.63 2.27 6.15 4.65 8.64.2.2.5.2.7 0C9.73 11.15 12 7.64 12 5ZM7 1a4 4 0 0 1 4 4c0 1.06-.47 2.42-1.3 3.88A21.23 21.23 0 0 1 7 12.55c-1-1.1-1.97-2.39-2.7-3.67A8.46 8.46 0 0 1 3 5a4 4 0 0 1 4-4Z", - }), - ), - time: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 2c.28 0 .5.22.5.5v4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V2.5c0-.28.22-.5.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z", - }), - ), - dashboard: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M9.8 4.1a.5.5 0 0 1 .1.7L7.92 7.58A1 1 0 1 1 7.1 7l2-2.8a.5.5 0 0 1 .7-.12Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M2.07 12.97a7 7 0 1 1 9.86 0 12.96 12.96 0 0 0-9.86 0Zm9.58-1.18a6 6 0 1 0-9.3 0 13.98 13.98 0 0 1 9.3 0Z", - }), - ), - timer: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.5 4.5a.5.5 0 0 0-1 0v2.63a1 1 0 1 0 1 0V4.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M5.5.5c0-.28.22-.5.5-.5h2a.5.5 0 0 1 0 1h-.5v1.02c1.28.1 2.45.61 3.37 1.4l.78-.77a.5.5 0 0 1 .7.7l-.77.78a6 6 0 1 1-5.08-2.1V1H6a.5.5 0 0 1-.5-.5ZM7 3a5 5 0 1 0 0 10A5 5 0 0 0 7 3Z", - }), - ), - home: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m7.35 1.15 5.5 5.5a.5.5 0 0 1-.7.7L12 7.21v5.29a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V9H6v3.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V7.2l-.15.15a.5.5 0 1 1-.7-.7l1-1 4.5-4.5c.2-.2.5-.2.7 0ZM3 6.2V12h2V8.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5V12h2V6.2l-4-4-4 4Z", - }), - ), - admin: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M1.21 4.1a.5.5 0 0 1 .06-.04l5.48-3a.5.5 0 0 1 .5 0l5.48 3a.5.5 0 0 1 .27.39.5.5 0 0 1-.51.55H1.51a.5.5 0 0 1-.3-.9ZM3.46 4h7.08L7 2.07 3.46 4Z", - }), - a.createElement("path", { - d: "M4 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM11 6a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V6ZM5.75 5.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM8.75 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM1.5 12.5c0-.27.22-.5.5-.5h10a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z", - }), - ), - info: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM7 4.5A.75.75 0 1 0 7 3a.75.75 0 0 0 0 1.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z", - }), - ), - question: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.25 5.25A1.75 1.75 0 1 1 7 7a.5.5 0 0 0-.5.5V9a.5.5 0 0 0 1 0V7.95a2.75 2.75 0 1 0-3.25-2.7.5.5 0 0 0 1 0ZM7 11.5A.75.75 0 1 0 7 10a.75.75 0 0 0 0 1.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - support: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-3.52 4.9a5.97 5.97 0 0 1-6.96 0l1.45-1.45a3.98 3.98 0 0 0 4.06 0l1.45 1.44Zm-.03-2.87 1.44 1.45a5.97 5.97 0 0 0 0-6.96l-1.44 1.45a3.98 3.98 0 0 1 0 4.06ZM9.03 3.55l1.45-1.44a5.97 5.97 0 0 0-6.96 0l1.45 1.44a3.98 3.98 0 0 1 4.06 0ZM3.55 4.97 2.11 3.52a5.97 5.97 0 0 0 0 6.96l1.44-1.45a3.98 3.98 0 0 1 0-4.06ZM10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z", - }), - ), - alert: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 4.5c.28 0 .5.22.5.5v3.5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM7.75 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7.2 1.04a.5.5 0 0 1 .24.21l6.49 11a.5.5 0 0 1-.44.75H.51a.5.5 0 0 1-.5-.45.5.5 0 0 1 .06-.31l6.5-10.99a.5.5 0 0 1 .64-.2ZM7 2.48 1.38 12h11.24L7 2.48Z", - }), - ), - email: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M0 2.5c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-9Zm1 1.02V11h12V3.52L7.31 7.89a.5.5 0 0 1-.52.07.5.5 0 0 1-.1-.07L1 3.52ZM12.03 3H1.97L7 6.87 12.03 3Z", - }), - ), - phone: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "m7.76 8.13-.05.05a.2.2 0 0 1-.28.03A6.76 6.76 0 0 1 5.8 6.56a.21.21 0 0 1 .04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 0 0-.51.13A3.23 3.23 0 0 0 .9 3.42c-.13 1.1.26 2.37 1.17 3.78a16.68 16.68 0 0 0 4.55 4.6 6.57 6.57 0 0 0 3.53 1.32A3.2 3.2 0 0 0 13 11.46c.14-.24.24-.64-.07-1.18a7.8 7.8 0 0 0-1.73-1.8c-.64-.5-1.52-1.12-2.13-1.12a.97.97 0 0 0-.34.06c-.47.17-.74.46-.95.69l-.02.02Zm4.32 2.68a6.8 6.8 0 0 0-1.48-1.54h-.02c-.3-.25-.64-.49-.95-.67a2.7 2.7 0 0 0-.56-.24h-.01c-.23.09-.34.21-.56.45l-.02.02-.04.04a1.2 1.2 0 0 1-1.6.15 7.76 7.76 0 0 1-1.86-1.89l-.01-.01-.02-.02a1.21 1.21 0 0 1 .2-1.53l.06-.06.02-.02c.22-.2.35-.31.43-.53v-.02c0-.02 0-.06-.03-.14a3.7 3.7 0 0 0-.5-.88h-.01V3.9c-.23-.33-.65-.87-1.1-1.32H4c-.31-.32-.55-.5-.72-.6a.6.6 0 0 0-.22-.1h-.03a2.23 2.23 0 0 0-1.15 1.66c-.09.78.18 1.8 1.02 3.1a15.68 15.68 0 0 0 4.27 4.33l.02.01.02.02a5.57 5.57 0 0 0 2.97 1.11 2.2 2.2 0 0 0 1.93-1.14h.01v-.05a.57.57 0 0 0-.05-.12Z", - }), - ), - link: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.84 2.16a2.25 2.25 0 0 0-3.18 0l-2.5 2.5c-.88.88-.88 2.3 0 3.18a.5.5 0 0 1-.7.7 3.25 3.25 0 0 1 0-4.59l2.5-2.5a3.25 3.25 0 0 1 4.59 4.6L10.48 8.1c.04-.44.01-.89-.09-1.32l1.45-1.45c.88-.88.88-2.3 0-3.18Z", - }), - a.createElement("path", { - d: "M3.6 7.2c-.1-.42-.12-.87-.08-1.31L1.45 7.95a3.25 3.25 0 1 0 4.6 4.6l2.5-2.5a3.25 3.25 0 0 0 0-4.6.5.5 0 0 0-.7.7c.87.89.87 2.31 0 3.2l-2.5 2.5a2.25 2.25 0 1 1-3.2-3.2l1.46-1.44Z", - }), - ), - unlink: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m1.45 7.95 1.3-1.3.71.7-1.3 1.3a2.25 2.25 0 1 0 3.18 3.2l1.3-1.31.71.7-1.3 1.3a3.25 3.25 0 0 1-4.6-4.59ZM12.55 6.05l-1.3 1.3-.71-.7 1.3-1.3a2.25 2.25 0 1 0-3.18-3.2l-1.3 1.31-.71-.7 1.3-1.3a3.25 3.25 0 0 1 4.6 4.59ZM1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z", - }), - ), - bell: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M8 1.11a1 1 0 1 0-1.99 0A4.5 4.5 0 0 0 2.5 5.5v3.88l-.94 1.89a.5.5 0 0 0-.06.3.5.5 0 0 0 .51.43h3.58a1.5 1.5 0 1 0 2.82 0H12a.5.5 0 0 0 .45-.73l-.94-1.89V5.5A4.5 4.5 0 0 0 8 1.11ZM2.8 11h8.4l-.5-1H3.3l-.5 1Zm7.7-2V5.5a3.5 3.5 0 1 0-7 0V9h7Zm-4 3.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z", - }), - ), - rss: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.5.5c0-.28.22-.5.5-.5a12 12 0 0 1 12 12 .5.5 0 0 1-1 0A11 11 0 0 0 2 1a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - d: "M1.5 4.5c0-.28.22-.5.5-.5a8 8 0 0 1 8 8 .5.5 0 0 1-1 0 7 7 0 0 0-7-7 .5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M5 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-1 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z", - }), - ), - sharealt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.5a.5.5 0 0 0-1 0V12H2V2h4.5a.5.5 0 0 0 0-1H2Z", - }), - a.createElement("path", { - d: "M7.35 7.36 12 2.7v1.8a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 0 0 1h1.8L6.64 6.64a.5.5 0 1 0 .7.7Z", - }), - ), - share: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6.65.15c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7L7.5 1.72v6.8a.5.5 0 0 1-1 0V1.7L5.35 2.86a.5.5 0 1 1-.7-.71l2-2Z", - }), - a.createElement("path", { - d: "M2 4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9.5a.5.5 0 1 0 0 1H12v7H2V5h2.5a.5.5 0 0 0 0-1H2Z", - }), - ), - circlehollow: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M7 13A6 6 0 1 0 7 1a6 6 0 0 0 0 12Zm0 1A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z", - }), - ), - circle: a.createElement("path", { - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Z", - }), - bookmarkhollow: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5ZM4 12.41l2.66-2.28a.45.45 0 0 1 .38-.13c.1.01.2.05.29.12l2.67 2.3V1H4v11.41Z", - }), - ), - bookmark: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5Z", - }), - ), - diamond: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M8.41 1.59a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 0 2.82l4 4a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0 0-2.82l-4-4Zm.71-.71a3 3 0 0 0-4.24 0l-4 4a3 3 0 0 0 0 4.24l4 4a3 3 0 0 0 4.24 0l4-4a3 3 0 0 0 0-4.24l-4-4Z", - }), - ), - hearthollow: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59ZM1.2 3.53A2.2 2.2 0 0 1 2.57 2.2M1.2 3.53c-.13.33-.2.72-.2 1.18 0 .22.03.45.1.68a3.97 3.97 0 0 0 .79 1.46c.19.23.38.45.59.65l4.51 4.36 4.52-4.35c.2-.2.4-.4.59-.65.18-.23.34-.47.49-.73.13-.23.23-.48.3-.73.08-.23.11-.46.11-.7 0-.45-.07-.84-.2-1.18-.12-.33-.3-.6-.51-.8v-.01c-.22-.2-.5-.38-.85-.51-.34-.13-.75-.2-1.24-.2-.2 0-.4.03-.6.09a4.95 4.95 0 0 0-1.9 1.22l-.68.67-.7-.65a9.97 9.97 0 0 0-.62-.53c-.2-.16-.42-.3-.63-.42h-.01c-.21-.12-.43-.22-.66-.29C4.2 2.03 4 2 3.77 2c-.48 0-.88.07-1.21.2", - }), - ), - heart: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59Z", - }), - ), - starhollow: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6.32.78a.75.75 0 0 1 1.36 0l1.63 3.54 3.87.46c.63.07.89.86.42 1.3l-2.86 2.64.76 3.81a.75.75 0 0 1-1.1.8L7 11.43l-3.4 1.9a.75.75 0 0 1-1.1-.8l.76-3.81L.4 6.07a.75.75 0 0 1 .42-1.3l3.87-.45L6.32.78ZM7 1.7 5.54 4.86c-.11.24-.34.4-.6.43l-3.46.42 2.56 2.37c.2.17.28.44.23.7l-.68 3.42 3.04-1.7c.23-.14.5-.14.74 0l3.04 1.7-.68-3.43a.75.75 0 0 1 .23-.7l2.56-2.36-3.47-.42a.75.75 0 0 1-.59-.43L7 1.7Z", - }), - ), - star: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.68.78a.75.75 0 0 0-1.36 0L4.69 4.32l-3.87.46a.75.75 0 0 0-.42 1.3l2.86 2.64-.76 3.81a.75.75 0 0 0 1.1.8l3.4-1.9 3.4 1.9a.75.75 0 0 0 1.1-.8l-.76-3.81 2.86-2.65a.75.75 0 0 0-.42-1.3L9.3 4.33 7.68.78Z", - }), - ), - certificate: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M10 7.85A4.49 4.49 0 0 0 7 0a4.5 4.5 0 0 0-3 7.85V13a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.15L7 11.21l2.15 2.14A.5.5 0 0 0 10 13V7.85ZM7 8a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm-.35 2.15c.2-.2.5-.2.7 0L9 11.79V8.53a4.48 4.48 0 0 1-4 0v3.26l1.65-1.64Z", - }), - ), - verified: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6.56 13.12a1 1 0 0 1 .88 0l.98.49a1 1 0 0 0 1.31-.43l.52-.97a1 1 0 0 1 .7-.51l1.08-.2a1 1 0 0 0 .81-1.1l-.15-1.1a1 1 0 0 1 .27-.82l.76-.8a1 1 0 0 0 0-1.37l-.76-.79a1 1 0 0 1-.27-.83l.15-1.08a1 1 0 0 0-.8-1.12l-1.09-.19a1 1 0 0 1-.7-.5L9.73.81A1 1 0 0 0 8.43.4l-1 .49a1 1 0 0 1-.87 0L5.58.39a1 1 0 0 0-1.31.43l-.52.97a1 1 0 0 1-.7.51l-1.08.2a1 1 0 0 0-.81 1.1l.15 1.1a1 1 0 0 1-.27.82l-.76.8a1 1 0 0 0 0 1.37l.76.79a1 1 0 0 1 .27.83l-.15 1.08a1 1 0 0 0 .8 1.12l1.09.19a1 1 0 0 1 .7.5l.52.98a1 1 0 0 0 1.3.43l1-.49Zm4.3-8.47c.19.2.19.5 0 .7l-4.5 4.5a.5.5 0 0 1-.71 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z", - }), - ), - thumbsup: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.5 5.5 0 0 1-1.3-.16c-.42-.1-.91-.25-1.47-.45-.3-.12-.63-.21-.95-.27H2.88a.84.84 0 0 1-.62-.26.84.84 0 0 1-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 0 1 .62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 0 1 .62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7a2.94 2.94 0 0 1 .21 1.58 3 3 0 0 1-.3 1h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98.07.54-.07 1.08-.4 1.51a1.9 1.9 0 0 1-.57 1.5Zm.47-5.33a.96.96 0 0 0 .03-.25.74.74 0 0 0-.23-.51.68.68 0 0 0-.52-.23H7.93l.73-1.45a2 2 0 0 0 .21-.87c0-.44-.07-.7-.13-.82a.53.53 0 0 0-.24-.24 1.3 1.3 0 0 0-.54-.12.99.99 0 0 0-.14.28c-.08.27-.13.52-.18.76-.06.38-.2.77-.48 1.07v.01l-.02.01c-.2.2-.4.46-.67.8l-.61.76c-.15.17-.35.38-.54.51l-.26.18H5v4.13h.02c.38.08.76.18 1.12.32.53.2.98.33 1.35.42.36.09.71.13 1.07.13h.88c.43 0 .68-.11.87-.29a.9.9 0 0 0 .26-.7l-.02-.37.22-.3c.17-.23.25-.5.2-.78l-.04-.33.17-.3a.97.97 0 0 0 .13-.48c0-.09 0-.13-.02-.15l-.15-.46.26-.4c.1-.15.13-.25.15-.33ZM3.5 10.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z", - }), - ), - shield: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M11.76 2.08a.5.5 0 0 1 .24.42v6a.5.5 0 0 1-.17.38l-4.5 3.99a.5.5 0 0 1-.67 0l-4.49-4A.5.5 0 0 1 2 8.5V2.5c0-.18.1-.34.24-.42l.01-.02a2.5 2.5 0 0 1 .3-.16c.22-.1.52-.24.92-.37C4.27 1.26 5.44 1 7 1c1.56 0 2.73.26 3.53.53a6.97 6.97 0 0 1 1.22.53l.01.02ZM3 2.79v5.49l1.07.94 6.59-6.58-.44-.17C9.52 2.24 8.44 2 7 2c-1.44 0-2.52.24-3.22.47-.35.12-.6.24-.78.32Zm4 9.04L4.82 9.9 11 3.71v4.57l-4 3.55Z", - }), - ), - basket: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.35 2.85a.5.5 0 1 0-.7-.7l-3 3a.5.5 0 1 0 .7.7l3-3Z", - }), - a.createElement("path", { - d: "M2.09 6H4.5a.5.5 0 0 0 0-1H1.8a.75.75 0 0 0-.74.87l.8 4.88A1.5 1.5 0 0 0 3.36 12h7.3a1.5 1.5 0 0 0 1.48-1.25l.81-4.88A.75.75 0 0 0 12.2 5H10a.5.5 0 0 0 0 1h1.91l-.76 4.58a.5.5 0 0 1-.5.42h-7.3a.5.5 0 0 1-.5-.42L2.1 6Z", - }), - a.createElement("path", { - d: "M4.5 7c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 7.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2ZM6.5 9.5v-2a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0Z", - }), - ), - beaker: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M4.5 2h.75v3.87l-3.03 5.26c-.48.83.12 1.87 1.08 1.87h7.4c.96 0 1.57-1.04 1.08-1.87L8.75 5.87V2h.75a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm1.75 4V2h1.5v4.13l.07.12 1 1.75H5.18l1.01-1.75.07-.12V6ZM4.6 9l-1.52 2.63c-.1.16.03.37.22.37h7.4c.2 0 .31-.2.22-.37L9.4 9H4.6Z", - }), - ), - hourglass: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M3.5 1a.5.5 0 0 0-.5.5c0 1.06.14 1.9.68 2.97.34.7.86 1.5 1.6 2.53a16.53 16.53 0 0 0-1.8 2.96A6 6 0 0 0 3 12.49v.01a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5 6 6 0 0 0-.48-2.54c-.34-.8-.9-1.71-1.8-2.96a19.78 19.78 0 0 0 1.6-2.53c.54-1.08.68-1.9.68-2.97a.5.5 0 0 0-.5-.5h-7Zm6.49 11a4.68 4.68 0 0 0-.39-1.65c-.27-.65-.73-1.4-1.5-2.5a133 133 0 0 1-.75 1 .5.5 0 0 1-.56.1.5.5 0 0 1-.2-.16l-.7-.94a14.36 14.36 0 0 0-1.5 2.5A4.68 4.68 0 0 0 4.02 12H10ZM6.3 6.72l.7.94a90.06 90.06 0 0 0 .7-.96c.49-.67.87-1.22 1.17-1.7H5.13A32.67 32.67 0 0 0 6.3 6.72ZM4.56 4h4.88c.36-.73.5-1.31.55-2H4c.04.69.19 1.27.55 2Z", - }), - ), - flag: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M11.5 1h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 1 0V8h8.5a.5.5 0 0 0 .35-.85L9.21 4.5l2.64-2.65A.5.5 0 0 0 11.5 1ZM8.15 4.15 10.29 2H3v5h7.3L8.14 4.85a.5.5 0 0 1 0-.7Z", - }), - ), - cloudhollow: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M10 7V6a3 3 0 0 0-5.9-.74l-.18.68-.7.07A2.5 2.5 0 0 0 3.5 11h3.19l.07-.01h.08L7 11h4a2 2 0 1 0 0-4h-1ZM3.12 5.02A3.5 3.5 0 0 0 3.5 12H11a3 3 0 1 0 0-6 4 4 0 0 0-7.88-.98Z", - }), - ), - cloud: a.createElement("path", { - d: "M7 2a4 4 0 0 1 4 4 3 3 0 1 1 0 6H3.5a3.5 3.5 0 0 1-.38-6.98A4 4 0 0 1 7 2Z", - }), - edit: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "m13.85 2.15-2-2a.5.5 0 0 0-.7 0l-1.5 1.5-9 9a.5.5 0 0 0-.14.26L0 13.39a.5.5 0 0 0 .14.46.5.5 0 0 0 .46.14l2.48-.5a.5.5 0 0 0 .27-.14l9-9 1.5-1.5a.5.5 0 0 0 0-.7ZM12 3.29l.8-.79-1.3-1.3-.8.8L12 3.3Zm-2-.58L1.7 11 3 12.3 11.3 4 10 2.7ZM1.14 12.86l.17-.85.68.68-.85.17Z", - }), - ), - cog: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.59 5.59a2 2 0 0 1 3.27 2.14.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 1 0-.36-.94A2 2 0 0 1 5.6 5.6Z", - fill: "#333", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M.94 6.53c.13.12.19.3.18.46 0 .17-.05.34-.18.47L0 8.39c.19.94.55 1.81 1.07 2.58h1.32c.18 0 .34.07.46.2.12.11.2.27.2.45v1.32c.76.51 1.62.88 2.55 1.06l.94-.94a.63.63 0 0 1 .45-.19h.03c.16 0 .33.07.45.19l.94.94a7.1 7.1 0 0 0 2.55-1.06v-1.33c0-.18.07-.35.2-.46.11-.12.27-.2.45-.2h1.33A7.1 7.1 0 0 0 14 8.4l-.95-.94a.64.64 0 0 1-.18-.47c0-.17.06-.34.18-.46l.95-.95a7.1 7.1 0 0 0-1.05-2.52h-1.34a.63.63 0 0 1-.46-.2.64.64 0 0 1-.2-.46V1.06A7.1 7.1 0 0 0 8.42 0l-.94.94a.63.63 0 0 1-.45.19H7a.63.63 0 0 1-.45-.19L5.6 0a7.1 7.1 0 0 0-2.56 1.06v1.33c0 .18-.07.34-.2.46a.63.63 0 0 1-.45.2H1.06A7.1 7.1 0 0 0 0 5.59l.94.94Zm.7 1.63c.33-.32.49-.75.48-1.17 0-.42-.15-.85-.47-1.17l-.54-.54c.12-.43.3-.85.51-1.23h.77c.46 0 .87-.2 1.17-.5.3-.29.48-.7.48-1.16v-.77c.4-.22.81-.39 1.25-.52l.54.55c.33.32.75.48 1.16.48h.03c.42 0 .84-.16 1.16-.48l.54-.54c.44.12.85.3 1.24.5v.8c0 .45.19.87.49 1.16.3.3.7.5 1.16.5h.78c.2.37.38.78.5 1.2l-.54.55c-.33.32-.49.75-.48 1.17 0 .42.15.85.48 1.17l.55.55c-.13.44-.3.85-.52 1.24h-.77c-.45 0-.87.2-1.16.5-.3.29-.5.7-.5 1.16v.77c-.38.21-.8.39-1.23.51l-.54-.54a1.64 1.64 0 0 0-1.16-.48H7c-.41 0-.83.16-1.16.48l-.54.55a6.1 6.1 0 0 1-1.25-.52v-.76c0-.45-.19-.87-.48-1.16-.3-.3-.71-.5-1.17-.5h-.76a6.1 6.1 0 0 1-.53-1.25l.55-.55Z", - }), - ), - nut: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.59 8.41a2 2 0 1 1 3.27-.68.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 0 0-.36-.94 2 2 0 0 1-2.14-.45Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M6.5.29a1 1 0 0 1 1 0l5.06 2.92c.31.18.5.51.5.87v5.84a1 1 0 0 1-.5.87L7.5 13.7a1 1 0 0 1-1 0L1.44 10.8a1 1 0 0 1-.5-.87V4.08a1 1 0 0 1 .5-.87L6.5.3Zm.5.86 5.06 2.93v5.84L7 12.85 1.94 9.92V4.08L7 1.15Z", - }), - ), - wrench: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.5 1c.44 0 .56.52.25.83l-.8.81c-.2.2-.2.52 0 .72l.69.7c.2.2.52.2.72 0l.8-.81c.32-.31.84-.2.84.25a2.5 2.5 0 0 1-3.41 2.33L2.7 12.7a1 1 0 0 1-1.42-1.42l6.88-6.88A2.5 2.5 0 0 1 10.5 1ZM2 12.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z", - }), - ), - ellipsis: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM13 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z", - }), - ), - check: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M13.85 3.35a.5.5 0 0 0-.7-.7L5 10.79.85 6.65a.5.5 0 1 0-.7.7l4.5 4.5c.2.2.5.2.7 0l8.5-8.5Z", - }), - ), - form: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6.4a.5.5 0 0 0-1 0V12H2V2h7.5a.5.5 0 0 0 0-1H2Z", - }), - a.createElement("path", { - d: "m6.35 9.86 7.5-7.5a.5.5 0 0 0-.7-.71L6 8.8 3.85 6.65a.5.5 0 1 0-.7.7l2.5 2.5c.2.2.5.2.7 0Z", - }), - ), - batchdeny: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.646.646a.5.5 0 0 1 0 .708L5.207 7l3.647 3.646a.5.5 0 0 1-.708.708L4.5 7.707.854 11.354a.5.5 0 0 1-.708-.708L3.793 7 .146 3.354a.5.5 0 1 1 .708-.708L4.5 6.293l3.646-3.647a.5.5 0 0 1 .708 0ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z", - }), - ), - batchaccept: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.2.6a.5.5 0 0 1 .1.7l-5.995 7.993a.505.505 0 0 1-.37.206.5.5 0 0 1-.395-.152L.146 8.854a.5.5 0 1 1 .708-.708l2.092 2.093L8.6 2.7a.5.5 0 0 1 .7-.1ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z", - }), - ), - controls: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.5 1c.28 0 .5.22.5.5V2h1.5a.5.5 0 0 1 0 1H11v.5a.5.5 0 0 1-1 0V3H1.5a.5.5 0 0 1 0-1H10v-.5c0-.28.22-.5.5-.5ZM1.5 11a.5.5 0 0 0 0 1H10v.5a.5.5 0 0 0 1 0V12h1.5a.5.5 0 0 0 0-1H11v-.5a.5.5 0 0 0-1 0v.5H1.5ZM1 7c0-.28.22-.5.5-.5H3V6a.5.5 0 0 1 1 0v.5h8.5a.5.5 0 0 1 0 1H4V8a.5.5 0 0 1-1 0v-.5H1.5A.5.5 0 0 1 1 7Z", - }), - ), - plus: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.5.5a.5.5 0 0 0-1 0v6h-6a.5.5 0 0 0 0 1h6v6a.5.5 0 0 0 1 0v-6h6a.5.5 0 0 0 0-1h-6v-6Z", - }), - ), - closeAlt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.03.97A.75.75 0 0 0 .97 2.03L5.94 7 .97 11.97a.75.75 0 1 0 1.06 1.06L7 8.06l4.97 4.97a.75.75 0 1 0 1.06-1.06L8.06 7l4.97-4.97A.75.75 0 0 0 11.97.97L7 5.94 2.03.97Z", - }), - ), - cross: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.85 1.15a.5.5 0 1 0-.7.7L6.29 7l-5.14 5.15a.5.5 0 0 0 .7.7L7 7.71l5.15 5.14a.5.5 0 0 0 .7-.7L7.71 7l5.14-5.15a.5.5 0 0 0-.7-.7L7 6.29 1.85 1.15Z", - }), - ), - trash: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.5 4.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM9 5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M4.5.5c0-.28.22-.5.5-.5h4c.28 0 .5.22.5.5V2h3a.5.5 0 0 1 0 1H12v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h-.5a.5.5 0 0 1 0-1h3V.5ZM3 3v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3H3Zm2.5-2h3v1h-3V1Z", - }), - ), - pinalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5 5H3.66A4 4 0 0 0 .83 6.17l-.48.48a.5.5 0 0 0 0 .7l2.8 2.8-3 3a.5.5 0 0 0 .7.7l3-3 2.8 2.8c.2.2.5.2.7 0l.48-.48A4 4 0 0 0 9 10.34V9l2-2c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM11 5.59l-3 3v1.75a3 3 0 0 1-.88 2.12L7 12.6 1.41 7l.13-.12A3 3 0 0 1 3.66 6H5.4l3-3-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6Z", - }), - ), - unpin: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5.7 4.3l.71.7 2-2-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6l-2 2 .7.7L11 7c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM.83 6.17A4 4 0 0 1 3.59 5l1 1h-.93a3 3 0 0 0-2.12.88L1.4 7 7 12.59l.12-.13A3 3 0 0 0 8 10.34v-.93l1 1a4 4 0 0 1-1.17 2.76l-.48.48a.5.5 0 0 1-.7 0l-2.8-2.8-3 3a.5.5 0 0 1-.7-.7l3-3-2.8-2.8a.5.5 0 0 1 0-.7l.48-.48Zm1.02-5.02a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z", - }), - ), - add: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 3c.28 0 .5.22.5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3c0-.28.22-.5.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z", - }), - ), - subtract: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - close: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M9.85 4.15c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z", - }), - ), - delete: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0a6 6 0 0 1-9.87 4.58l8.45-8.45A5.98 5.98 0 0 1 13 7ZM2.42 10.87l8.45-8.45a6 6 0 0 0-8.46 8.46Z", - }), - ), - passed: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm3.85-9.35c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z", - }), - ), - changed: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z", - }), - ), - failed: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm2.85-9.85c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z", - }), - ), - clear: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M5 2h7a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-1.41-.59l-3-3a2 2 0 0 1 0-2.82l3-3A2 2 0 0 1 5 2Zm1.15 3.15c.2-.2.5-.2.7 0L8 6.29l1.15-1.14a.5.5 0 1 1 .7.7L8.71 7l1.14 1.15a.5.5 0 0 1-.7.7L8 7.71 6.85 8.85a.5.5 0 1 1-.7-.7L7.29 7 6.15 5.85a.5.5 0 0 1 0-.7Z", - }), - ), - comment: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.5 5a.5.5 0 1 0 0 1h7a.5.5 0 0 0 0-1h-7ZM3 8.5c0-.27.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M12.5 12H5.7l-1.85 1.86a.5.5 0 0 1-.35.14.5.5 0 0 1-.5-.5V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5ZM2 11V3h10v8H2Z", - }), - ), - commentadd: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.5 5a.5.5 0 1 0-1 0v1.5H5a.5.5 0 1 0 0 1h1.5V9a.5.5 0 0 0 1 0V7.5H9a.5.5 0 0 0 0-1H7.5V5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z", - }), - ), - requestchange: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M9.85 6.65c.2.2.2.51 0 .7l-2 2a.5.5 0 1 1-.7-.7L8.3 7.5H4.5a.5.5 0 0 1 0-1h3.79L7.15 5.36a.5.5 0 1 1 .7-.71l2 2Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z", - }), - ), - comments: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M8.5 7a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1h5ZM9 8.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h5c.28 0 .5.23.5.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M12 11.5V10h1.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5H2v1.5a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.14L4.71 12h6.79a.5.5 0 0 0 .5-.5ZM3 3V2h10v7h-1V3.5a.5.5 0 0 0-.5-.5H3Zm-2 8V4h10v7H1Z", - }), - ), - lock: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M8 8a1 1 0 0 1-.5.87v1.63a.5.5 0 0 1-1 0V8.87A1 1 0 1 1 8 8Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M3 4a4 4 0 1 1 8 0v1h1.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4Zm7 1V4a3 3 0 1 0-6 0v1h6Zm2 1H2v7h10V6Z", - }), - ), - unlock: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6.5 8.87a1 1 0 1 1 1 0v1.63a.5.5 0 0 1-1 0V8.87Z", - }), - a.createElement("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M7 1a3 3 0 0 0-3 3v1h8.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4a4 4 0 0 1 7.76-1.38.5.5 0 0 1-.94.34A3 3 0 0 0 7 1ZM2 6h10v7H2V6Z", - }), - ), - key: a.createElement( - a.Fragment, - null, - a.createElement("path", { d: "M11 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7.5 8.53v.97a.5.5 0 0 1-.5.5H5.5v1.5a.5.5 0 0 1-.5.5H3.5v1.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .15-.36l5.12-5.11a4.5 4.5 0 1 1 2.23 2.5ZM6 4.5a3.5 3.5 0 1 1 1.5 2.87c-.29-.2-1-.37-1 .48V9H5a.5.5 0 0 0-.5.5V11H3a.5.5 0 0 0-.5.5V13H1v-1.3l5.2-5.19c.15-.16.18-.4.1-.6A3.47 3.47 0 0 1 6 4.5Z", - }), - ), - outbox: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.35.15a.5.5 0 0 0-.7 0l-2 2a.5.5 0 1 0 .7.7L6.5 1.72v6.8a.5.5 0 0 0 1 0V1.7l1.15 1.15a.5.5 0 1 0 .7-.71l-2-2Z", - }), - a.createElement("path", { - d: "M2 7.5a.5.5 0 1 0-1 0v5c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-1 0V12H2V7.5Z", - }), - ), - credit: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.5 8a.5.5 0 1 0 0 1h3a.5.5 0 0 0 0-1h-3Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M0 11.5c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0-.5.5v9ZM1 3v1h12V3H1Zm0 8h12V6H1v5Z", - }), - ), - button: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1 3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h3.5a.5.5 0 1 0 0-1H1V4h12v5h-1a.5.5 0 0 0 0 1h1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1Z", - }), - a.createElement("path", { - d: "M6.45 7a.5.5 0 0 1 .3.08l3.48 2.02a.5.5 0 0 1 0 .87l-1.08.62.75 1.3a.75.75 0 0 1-1.3.75l-.75-1.3-1.07.62a.5.5 0 0 1-.67-.13.5.5 0 0 1-.1-.3L6 7.5a.5.5 0 0 1 .45-.5Z", - }), - ), - type: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4 1.5c0-.27.22-.5.5-.5h5a.5.5 0 1 1 0 1h-2v10h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2V2h-2a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - d: "M0 4.5c0-.27.22-.5.5-.5h4a.5.5 0 1 1 0 1H1v4h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-5ZM9.5 4a.5.5 0 1 0 0 1H13v4H9.5a.5.5 0 1 0 0 1h4a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-4Z", - }), - ), - pointerdefault: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.94 12.46c.11 0 .2-.06.25-.15l1.58-3.16 2.54 2.54c.04.05.1.07.19.07a.3.3 0 0 0 .2-.07l.8-.8a.27.27 0 0 0 0-.38L8.9 7.9l3.4-1.7c.06-.03.1-.07.12-.11a.22.22 0 0 0 .04-.14.33.33 0 0 0-.06-.16.17.17 0 0 0-.09-.07h-.02L1.91 1.55a.27.27 0 0 0-.35.36l4.15 10.37c.04.09.12.16.23.17Zm-.03 1h-.02a1.28 1.28 0 0 1-1.1-.8L.62 2.29A1.27 1.27 0 0 1 2.3.63l10.35 4.15c.52.18.79.65.81 1.11.04.53-.27.98-.7 1.2l-2.17 1.08L12.2 9.8c.5.5.5 1.3 0 1.8l-.8.8v.01c-.5.46-1.3.48-1.8-.01l-1.56-1.56-.95 1.92c-.23.45-.68.7-1.15.7h-.03Z", - }), - ), - pointerhand: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.87 6v-.02c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47V5.17a.6.6 0 0 0 0-.05c-.02-.27-.23-.5-.47-.5a.5.5 0 0 0-.52.5v1.65l-.01.1a.49.49 0 0 1-.46.37.48.48 0 0 1-.47-.47V4.62a.6.6 0 0 0 0-.05c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 0 1-.47-.47V1.75c-.02-.27-.22-.5-.47-.5a.5.5 0 0 0-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47v-.26a.78.78 0 0 0-.06-.31.65.65 0 0 0-.16-.22l-.2-.19A6.37 6.37 0 0 0 3.06 7h-.02c-.43-.34-.62-.25-.69-.2-.26.14-.29.5-.13.74l1.73 2.6v.01h-.01l-.04.02.05-.02s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.04-.6.04-1.19.03-1.78V6Zm.97 2.38c-.06 1.29-.26 2.67-1.08 3.72-.88 1.12-2.29 1.65-4.23 1.65a4.64 4.64 0 0 1-3.4-1.62 6.96 6.96 0 0 1-1.05-1.5v-.02L1.4 8.1A1.6 1.6 0 0 1 1.15 7c.05-.38.26-.8.69-1.04.2-.13.48-.23.85-.19.36.05.68.22.98.45.14.1.27.22.4.33v-4.8A1.5 1.5 0 0 1 5.63.25c.93.04 1.43.86 1.43 1.55v1.33c.17-.05.35-.07.53-.06h.02c.5.04.91.33 1.15.71a1.5 1.5 0 0 1 .74-.16c.66.03 1.12.46 1.32.97a1.5 1.5 0 0 1 .64-.1h.02c.85.06 1.39.8 1.39 1.55v.48c0 .6 0 1.24-.03 1.86Z", - }), - ), - browser: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5H.5Zm.5-1V4h12v8H1Zm1-9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", - }), - ), - tablet: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3.5 0C2.67 0 2 .68 2 1.5v11c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-11c0-.82-.67-1.5-1.5-1.5h-7Zm0 1h7c.28 0 .5.23.5.5V11H3V1.5c0-.27.22-.5.5-.5ZM6 12a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1H6Z", - }), - ), - mobile: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3 1.5C3 .68 3.67 0 4.5 0h5c.83 0 1.5.68 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 3 12.5v-11ZM4 12V2h6v10H4Z", - }), - ), - watch: a.createElement( - a.Fragment, - null, - a.createElement("path", { - key: "watch", - fillRule: "evenodd", - d: "M4 .5c0-.27.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 4 .5ZM9.5 3h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Zm-5-1C3.67 2 3 2.68 3 3.5v7c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-7c0-.82-.67-1.5-1.5-1.5h-5ZM7 4c.28 0 .5.23.5.5v2h1a.5.5 0 1 1 0 1H7a.5.5 0 0 1-.5-.5V4.5c0-.27.22-.5.5-.5Zm-2.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z", - }), - ), - sidebar: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2ZM6 2h6v10H6V2Z", - }), - ), - sidebaralt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M9.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5ZM10 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h6v10H2ZM9 2h3v10H9V2Z", - }), - ), - sidebaralttoggle: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.5 4.5A.5.5 0 0 0 11 4h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5ZM11 6a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1Zm.5 2.5A.5.5 0 0 0 11 8h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11ZM9 12h3V2H9v10Zm-1 0H2V2h6v4.5H5.2l.66-.65a.5.5 0 1 0-.71-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7l-.64-.65H8V12Z", - }), - ), - sidebartoggle: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2Zm4 0V7.5h2.8l-.65.65a.5.5 0 1 0 .7.7l1.5-1.5a.5.5 0 0 0 0-.7l-1.5-1.5a.5.5 0 1 0-.7.7l.64.65H6V2h6v10H6Z", - }), - ), - bottombar: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3 10.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 8V2h10v6H2Zm10 1v3H2V9h10Z", - }), - ), - bottombartoggle: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.5 10a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1 12.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5Zm1-.5V9h10v3H2Zm4.5-4H2V2h10v6H7.5V5.21l.65.65a.5.5 0 1 0 .7-.71l-1.5-1.5a.5.5 0 0 0-.7 0l-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64v2.8Z", - }), - ), - cpu: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M5 5.5c0-.27.22-.5.5-.5h3c.28 0 .5.23.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3ZM6 8V6h2v2H6Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M5.5 0c.28 0 .5.23.5.5V2h2V.5a.5.5 0 0 1 1 0V2h2.5c.28 0 .5.23.5.5V5h1.5a.5.5 0 0 1 0 1H12v2h1.5a.5.5 0 0 1 0 1H12v2.5a.5.5 0 0 1-.5.5H9v1.5a.5.5 0 0 1-1 0V12H6v1.5a.5.5 0 0 1-1 0V12H2.5a.5.5 0 0 1-.5-.5V9H.5a.5.5 0 0 1 0-1H2V6H.5a.5.5 0 0 1 0-1H2V2.5c0-.27.22-.5.5-.5H5V.5c0-.27.22-.5.5-.5ZM11 3H3v8h8V3Z", - }), - ), - database: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M12 3c0-1.1-2.24-2-5-2s-5 .9-5 2v8c0 .43.26.75.54.98.3.23.68.41 1.12.55.88.3 2.06.47 3.34.47 1.28 0 2.46-.17 3.34-.46.44-.15.83-.33 1.12-.56.28-.23.54-.55.54-.98V3Zm-1.03 0a2.45 2.45 0 0 0-.8-.49A8.88 8.88 0 0 0 7 2c-1.29 0-2.4.21-3.16.51a2.45 2.45 0 0 0-.81.49l.05.05c.13.13.37.28.76.44C4.6 3.79 5.7 4 7 4s2.4-.21 3.16-.51a2.45 2.45 0 0 0 .81-.49ZM11 5.75V4.2A8.9 8.9 0 0 1 7 5a8.98 8.98 0 0 1-4-.8v1.55l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 6.75a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03v-.01ZM3 7.01c.2.1.42.2.66.28.88.29 2.06.46 3.34.46 1.28 0 2.46-.17 3.34-.46.24-.08.46-.17.66-.28V8.5l-.02.04a.62.62 0 0 1-.14.15c-.17.13-.44.27-.82.4A10 10 0 0 1 7 9.5a10 10 0 0 1-3.02-.41 2.76 2.76 0 0 1-.82-.4.62.62 0 0 1-.14-.15.15.15 0 0 1-.02-.03V7Zm0 2.75V11l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 12a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03V9.76c-.2.1-.42.2-.66.28-.88.29-2.06.46-3.34.46-1.28 0-2.46-.17-3.34-.46A4.77 4.77 0 0 1 3 9.76Z", - }), - ), - memory: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5 3a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V3Zm2-.5c.28 0 .5.22.5.5v3a.5.5 0 0 1-1 0V3c0-.28.22-.5.5-.5Zm3 2a.5.5 0 1 0-1 0V6a.5.5 0 0 0 1 0V4.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M12 3.54a.5.5 0 0 0-.15-.39l-3-3a.5.5 0 0 0-.38-.14H2.5a.5.5 0 0 0-.5.5v13c0 .27.22.5.5.5h9a.5.5 0 0 0 .5-.5V3.53ZM3 1h5.3L11 3.71v5.3H3V1Zm0 9v3h8v-3H3Z", - }), - ), - structure: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M8.16 3.45a1.5 1.5 0 1 0-2.33 0l-4.02 6.58A1.5 1.5 0 1 0 2.91 12h8.18a1.5 1.5 0 1 0 1.1-1.97L8.16 3.45Zm-1.47.52a1.5 1.5 0 0 0 .62 0l4.03 6.58c-.11.14-.2.29-.25.45H2.9a1.5 1.5 0 0 0-.25-.45L6.7 3.97Z", - }), - ), - box: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "m7.21.05 6.49 2.99a.5.5 0 0 1 .3.47v6.98a.5.5 0 0 1-.3.47l-6.47 2.98a.5.5 0 0 1-.46 0L.3 10.96a.5.5 0 0 1-.3-.47V3.5a.5.5 0 0 1 .3-.47L6.79.05a.5.5 0 0 1 .43 0ZM1 4.28v5.9l5.5 2.54v-5.9L1 4.28Zm6.5 8.44 5.5-2.54v-5.9L7.5 6.82v5.9Zm4.8-9.22L7 5.95 1.7 3.5 7 1.05l5.3 2.45Z", - }), - ), - power: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.5.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6Z", - }), - a.createElement("path", { - d: "M4.27 2.8a.5.5 0 0 0-.54-.83 6 6 0 1 0 6.54 0 .5.5 0 0 0-.54.84 5 5 0 1 1-5.46 0Z", - }), - ), - photo: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M6.25 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M13 1.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5ZM2 9.3V2h10v5.3L9.85 5.15a.5.5 0 0 0-.7 0L6.5 7.8 5.35 6.65a.5.5 0 0 0-.7 0L2 9.3Zm7.5-3.1L12 8.7V12H2v-1.3l3-3 3.15 3.15a.5.5 0 0 0 .7-.71L7.21 8.5 9.5 6.21Z", - }), - ), - component: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3.5 1A2.5 2.5 0 0 0 1 3.5v7A2.5 2.5 0 0 0 3.5 13h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 10.5 1h-7ZM12 6.5H7.5V2h3c.83 0 1.5.68 1.5 1.5v3Zm0 1v3c0 .83-.67 1.5-1.5 1.5h-3V7.5H12ZM6.5 12V7.5H2v3c0 .83.67 1.5 1.5 1.5h3ZM2 6.5h4.5V2h-3C2.67 2 2 2.68 2 3.5v3Z", - }), - ), - grid: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M1 1.5c0-.27.22-.5.5-.5H6c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H1.5A.5.5 0 0 1 1 6V1.5Zm1 4V2h3.5v3.5H2Zm5.5-4c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V1.5Zm1 4V2H12v3.5H8.5Zm-7 2A.5.5 0 0 0 1 8v4.5c0 .28.22.5.5.5H6a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H1.5Zm.5 1V12h3.5V8.5H2ZM7.5 8c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z", - }), - ), - outline: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v-1h4ZM9 1v1H5V1h4Zm4 8h-1V5h1v4ZM7 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z", - }), - ), - photodrag: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M8.25 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5V6h1V4h2v6.5c0 .28.22.5.5.5H10v2H8v1h2.5a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V7ZM4 1v5.8l1.65-1.65c.2-.2.5-.2.7 0L7.5 6.3l2.65-2.65c.2-.2.5-.2.7 0L13 5.8V1H4Zm9 6.21-2.5-2.5-2.3 2.3 1.15 1.14a.5.5 0 1 1-.7.7L6 6.22l-2 2v1.8h9V7.2Z", - }), - a.createElement("path", { - d: "M0 10V7h1v3H0Zm0 3.5V11h1v2h2v1H.5a.5.5 0 0 1-.5-.5Zm7 .5H4v-1h3v1Z", - }), - ), - search: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z", - }), - ), - zoom: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6 3.5c.28 0 .5.22.5.5v1.5H8a.5.5 0 0 1 0 1H6.5V8a.5.5 0 0 1-1 0V6.5H4a.5.5 0 0 1 0-1h1.5V4c0-.28.22-.5.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z", - }), - ), - zoomout: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4 5.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H4Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M6 11.5c1.35 0 2.59-.49 3.54-1.3.03.06.06.11.1.15l3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1A5.5 5.5 0 1 0 6 11.5Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z", - }), - ), - zoomreset: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.5 2.84V1.5a.5.5 0 0 0-1 0V4c0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H2.26a4.5 4.5 0 1 1-.5 4.02.5.5 0 1 0-.94.33 5.5 5.5 0 0 0 8.72 2.36l.1.14 3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1 5.5 5.5 0 1 0-8.7-6.7Z", - }), - ), - eye: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "m14 7-.2.3c-.13.16-3.06 4.2-6.8 4.2C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3C.34 6.55 3.27 2.5 7 2.5c3.74 0 6.67 4.04 6.8 4.2l.2.3ZM2.9 5.3A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8 1.52 0 2.96-.83 4.1-1.8A13 13 0 0 0 12.76 7a13 13 0 0 0-1.66-1.7C9.96 4.33 8.52 3.5 7 3.5c-1.52 0-2.96.83-4.1 1.8Z", - }), - ), - eyeclose: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11ZM11.1 8.7c-.17.15-.36.3-.55.44l.72.71a13.25 13.25 0 0 0 2.52-2.56L14 7l-.2-.3c-.13-.16-3.06-4.2-6.8-4.2-.89 0-1.73.23-2.5.58l.76.76A4.86 4.86 0 0 1 7 3.5c1.52 0 2.96.83 4.1 1.8A13 13 0 0 1 12.76 7a13 13 0 0 1-1.66 1.7ZM.2 6.7c.08-.09 1.04-1.41 2.53-2.55l.72.71c-.2.14-.38.3-.55.44A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8.6 0 1.18-.13 1.74-.34l.77.76c-.78.35-1.62.58-2.51.58C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3Z", - }), - a.createElement("path", { - d: "M4.5 7c0-.32.06-.63.17-.91l3.24 3.24A2.5 2.5 0 0 1 4.5 7Zm4.83.91L6.09 4.67a2.5 2.5 0 0 1 3.24 3.24Z", - }), - ), - lightning: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .28.09.5.5 0 0 0 .35-.14L11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L2.52 6.6Zm7.72.63-3.07-.8 1.85-4.14-5.2 4.51 2.94.77-1.27 4.28 4.75-4.62Zm-5.73 6.2.04.02Z", - }), - ), - lightningoff: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.14 8.72 11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L5.46 4.05l.71.7L9.02 2.3 7.38 5.97l.7.7 2.16.56-.8.79.7.7ZM2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .63-.05l3.84-3.74-.7-.7-2.51 2.43 1.13-3.81-.68-.69L3.8 6.8l.85-.73-.71-.7L2.52 6.6Zm-.67-5.45a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z", - }), - ), - contrast: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3 3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h10a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3Zm1 1v2.3L6.3 4H4ZM3 4v6.5a.5.5 0 0 0 .5.5H10v2H1V4h2Zm1-1h6.5a.5.5 0 0 1 .5.5V10h2V1H4v2Zm6 7V7.71l-2.3 2.3H10Zm0-3.7V4.7L4.7 10h1.6L10 6.3ZM9.3 4H7.7L4 7.71V9.3L9.3 4Z", - }), - ), - switchalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3 3V.5c0-.27.22-.5.5-.5h10c.28 0 .5.23.5.5v10a.5.5 0 0 1-.5.5H11v2.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-10c0-.27.22-.5.5-.5H3Zm1 0V1h9v9h-2V3.5a.5.5 0 0 0-.5-.5H4Zm6 8v2H1V4h2v6.5c0 .28.22.5.5.5H10Zm0-1H4V4h6v6Z", - }), - ), - mirror: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12h10V2L2 12Z", - }), - ), - grow: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.5 1a.5.5 0 1 0 0 1H12v10.5a.5.5 0 0 0 1 0V2a1 1 0 0 0-1-1H1.5Z", - }), - a.createElement("path", { - d: "M1 3.5c0-.27.22-.5.5-.5H10a1 1 0 0 1 1 1v8.5a.5.5 0 0 1-1 0V4H1.5a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7ZM2 6v6h6V6H2Z", - }), - ), - paintbrush: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M11.8535.1464a.5.5 0 0 0-.7071 0L2.9827 8.3102a2.2396 2.2396 0 0 0-1.0737.599C.6772 10.141.2402 11.903.0852 12.9978 0 13.5998 0 14.0002 0 14.0002s.4004 0 1.0023-.0853c1.095-.155 2.8569-.5919 4.0887-1.8237.307-.307.5067-.6806.5992-1.0743l8.1633-8.1633a.5.5 0 0 0 0-.7071l-2-2Zm-6.253 9.546L6.543 8.75l-1.293-1.2929-.9424.9424a2.242 2.242 0 0 1 .7835.5097c.23.2302.4.4977.5095.7831ZM7.25 8.0428 12.7929 2.5 11.5 1.2071 5.957 6.75 7.25 8.0429ZM4.3839 9.6163c.4881.4882.4881 1.2796 0 1.7678-.7665.7664-1.832 1.1845-2.7791 1.403a8.6972 8.6972 0 0 1-.49.0982 8.7151 8.7151 0 0 1 .0982-.4899c.2186-.9471.6367-2.0126 1.403-2.779.4882-.4882 1.2797-.4882 1.7679 0Z", - }), - ), - ruler: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1.5 1c.28 0 .5.23.5.5V2h10v-.5a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0V3H2v.5a.5.5 0 0 1-1 0v-2c0-.27.22-.5.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 6a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-11ZM2 7v5h10V7h-1v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H7.5v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H4v2.5a.5.5 0 0 1-1 0V7H2Z", - }), - ), - stop: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4.5 4a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z", - }), - ), - camera: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 7a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M2.5 1a.5.5 0 0 0-.5.5V2H.5a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H6v-.5a.5.5 0 0 0-.5-.5h-3ZM1 3v8h12V3H1Z", - }), - ), - video: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.5 10a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M0 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v.5l3.19-2.4a.5.5 0 0 1 .81.4v9a.5.5 0 0 1-.8.4L10 9.5v.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm9 0v1.5a.5.5 0 0 0 .8.4L13 3.5v7L9.8 8.1a.5.5 0 0 0-.8.4V10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z", - }), - ), - speaker: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M1 4.50004V9.50004C1 9.77618 1.22386 10 1.5 10H4L7.17075 12.7744C7.49404 13.0573 8 12.8277 8 12.3982V1.60192C8 1.17235 7.49404 0.942757 7.17075 1.22564L4 4.00004H1.5C1.22386 4.00004 1 4.2239 1 4.50004ZM4 9.00004V5.00004H2V9.00004H4ZM4.99804 9.54456C4.99934 9.52989 5 9.51505 5 9.50004V4.50004C5 4.48504 4.99934 4.47019 4.99804 4.45552L7 2.70381V11.2963L4.99804 9.54456Z", - }), - a.createElement("path", { - d: "M10.1498 1.75202C9.88637 1.66927 9.60572 1.81577 9.52297 2.07922C9.44023 2.34267 9.58672 2.62332 9.85017 2.70607C11.6763 3.27963 13 4.98596 13 7.00014C13 9.01433 11.6763 10.7207 9.85017 11.2942C9.58672 11.377 9.44023 11.6576 9.52297 11.9211C9.60572 12.1845 9.88637 12.331 10.1498 12.2483C12.3808 11.5476 14 9.4636 14 7.00014C14 4.53669 12.3808 2.45272 10.1498 1.75202Z", - }), - a.createElement("path", { - d: "M10.2504 3.96861C10.0113 3.83033 9.70547 3.91201 9.5672 4.15105C9.42893 4.39008 9.51061 4.69594 9.74964 4.83421C10.4982 5.26723 11 6.07534 11 7.00006C11 7.92479 10.4982 8.7329 9.74964 9.16591C9.51061 9.30418 9.42893 9.61005 9.5672 9.84908C9.70547 10.0881 10.0113 10.1698 10.2504 10.0315C11.2952 9.42711 12 8.29619 12 7.00006C12 5.70394 11.2952 4.57302 10.2504 3.96861Z", - }), - ), - play: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m12.81 7.43-9.05 5.6A.5.5 0 0 1 3 12.6V1.4c0-.4.43-.63.76-.43l9.05 5.6a.5.5 0 0 1 0 .86Z", - }), - ), - playback: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.24 12.04 3.7 7.42a.5.5 0 0 1-.2-.23v4.05a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0V6.8a.5.5 0 0 1 .2-.23l7.54-4.6a.5.5 0 0 1 .76.42v9.22a.5.5 0 0 1-.76.43Z", - }), - ), - playnext: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m2.76 12.04 7.54-4.61a.5.5 0 0 0 .2-.23v4.05a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0V6.8a.5.5 0 0 0-.2-.23l-7.54-4.6a.5.5 0 0 0-.76.42v9.22c0 .39.43.63.76.43Z", - }), - ), - rewind: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M9 2.42v2.32L13.23 2a.5.5 0 0 1 .77.42v9.16a.5.5 0 0 1-.77.42L9 9.26v2.32a.5.5 0 0 1-.77.42L1.5 7.65v3.6a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0v3.6L8.23 2a.5.5 0 0 1 .77.42Z", - }), - ), - fastforward: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5 2.42v2.32L.77 2a.5.5 0 0 0-.77.42v9.16c0 .4.44.64.77.42L5 9.26v2.32c0 .4.44.64.77.42l6.73-4.35v3.6a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0v3.6L5.77 2a.5.5 0 0 0-.77.42Z", - }), - ), - stopalt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11Z", - }), - ), - sidebyside: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12V2h5v10H2Z", - }), - ), - stacked: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M12.5 1c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11ZM2 2h10v5H2V2Z", - }), - ), - sun: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.5.5a.5.5 0 0 0-1 0V2a.5.5 0 0 0 1 0V.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z", - }), - a.createElement("path", { - d: "M7 11.5c.28 0 .5.22.5.5v1.5a.5.5 0 0 1-1 0V12c0-.28.22-.5.5-.5ZM11.5 7c0-.28.22-.5.5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5ZM.5 6.5a.5.5 0 0 0 0 1H2a.5.5 0 0 0 0-1H.5ZM3.82 10.18c.2.2.2.51 0 .7l-1.06 1.07a.5.5 0 1 1-.71-.7l1.06-1.07c.2-.2.51-.2.7 0ZM11.95 2.76a.5.5 0 1 0-.7-.71l-1.07 1.06a.5.5 0 1 0 .7.7l1.07-1.05ZM10.18 10.18c.2-.2.51-.2.7 0l1.07 1.06a.5.5 0 1 1-.7.71l-1.07-1.06a.5.5 0 0 1 0-.7ZM2.76 2.05a.5.5 0 1 0-.71.7l1.06 1.07a.5.5 0 0 0 .7-.7L2.77 2.04Z", - }), - ), - moon: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M7.78.04a7.03 7.03 0 0 0-4.28.9 7 7 0 1 0 9.87 8.96c.1-.21-.14-.41-.36-.32a4.98 4.98 0 0 1-2 .42A5 5 0 0 1 8.53.65c.2-.12.19-.44-.04-.49a7.04 7.04 0 0 0-.72-.12Zm-1.27.98a6 6 0 0 0 4.98 9.96 6 6 0 1 1-4.98-9.96Z", - }), - ), - book: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M13 2a2 2 0 0 0-2-2H1.5a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5H11a2 2 0 0 0 2-2V2ZM3 13h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H7v6a.5.5 0 0 1-.86.36L5.5 6.7l-.65.65A.5.5 0 0 1 4 7V1H3v12ZM5 1v4.8l.15-.15a.5.5 0 0 1 .74.04l.11.1V1H5Z", - }), - ), - document: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4 5.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 10.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 0a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5V3.2a.5.5 0 0 0-.15-.35l-2.7-2.7A.5.5 0 0 0 9.79 0H1.5ZM2 1h7.5v2c0 .28.22.5.5.5h2V13H2V1Z", - }), - ), - copy: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M11.75.07A.5.5 0 0 0 11.5 0h-6a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V11h4.5a.5.5 0 0 0 .5-.5V2.51a.5.5 0 0 0-.15-.36l-2-2a.5.5 0 0 0-.1-.08ZM9 10h4V3h-1.5a.5.5 0 0 1-.5-.5V1H6v2h.5a.5.5 0 0 1 .36.15l1.99 2c.1.09.15.21.15.35v4.51ZM1 4v9h7V6H6.5a.5.5 0 0 1-.5-.5V4H1Z", - }), - ), - category: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3 1.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-1 2c0-.27.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1 5.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7ZM2 12V6h10v6H2Z", - }), - ), - folder: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M6.59 3.5 5.09 2H1v9h12V3.5H6.59Zm.41-1L5.8 1.3a1 1 0 0 0-.71-.3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H7Z", - }), - ), - print: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4.5 8a.5.5 0 1 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M2 1.5c0-.27.22-.5.5-.5h8a.5.5 0 0 1 .36.15l.99 1c.1.09.15.21.15.35v1.51h1.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-.5.5H12v2.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10H.5a.5.5 0 0 1-.5-.5v-5c0-.28.22-.5.5-.5H2V1.5ZM13 9h-1V6.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V9H1V5h12v4Zm-2-6v1H3V2h7v.5c0 .28.22.5.5.5h.5Zm-8 9h8V7H3v5Z", - }), - ), - graphline: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5.15 6.15c.2-.2.5-.2.7 0L7 7.3l2.15-2.15c.2-.2.5-.2.7 0l1 1a.5.5 0 0 1-.7.7l-.65-.64-2.15 2.15a.5.5 0 0 1-.7 0L5.5 7.2 3.85 8.86a.5.5 0 1 1-.7-.71l2-2Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1.5 1a.5.5 0 0 0-.5.5v11c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-11ZM2 2v10h10V2H2Z", - }), - ), - calendar: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3.5 0c.28 0 .5.22.5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5H3V.5c0-.28.22-.5.5-.5ZM2 4v2.3h3V4H2Zm0 5.2V6.8h3v2.4H2Zm0 .5V12h3V9.7H2Zm3.5 0V12h3V9.7h-3Zm3.5 0V12h3V9.7H9Zm3-.5H9V6.8h3v2.4Zm-3.5 0h-3V6.8h3v2.4ZM9 4v2.3h3V4H9ZM5.5 6.3h3V4h-3v2.3Z", - }), - ), - graphbar: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M12 2.5a.5.5 0 0 0-1 0v10a.5.5 0 0 0 1 0v-10Zm-3 2a.5.5 0 0 0-1 0v8a.5.5 0 0 0 1 0v-8ZM5.5 7c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5ZM3 10.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2Z", - }), - ), - menu: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M13 2a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-3 3a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h9Zm1.5 3.5A.5.5 0 0 0 11 8H1a.5.5 0 0 0 0 1h10a.5.5 0 0 0 .5-.5Zm-4 2.5a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h6.5Z", - }), - ), - menualt: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm3 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H4ZM2.5 8.5c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Zm4 2.5a.5.5 0 0 0 0 1H13a.5.5 0 0 0 0-1H6.5Z", - }), - ), - filter: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm2 3a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1H3Zm1.5 3.5c0-.28.22-.5.5-.5h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5Zm2 2.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z", - }), - ), - docchart: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M1 1.5C1 1.22386 1.22386 1 1.5 1H12.5C12.7761 1 13 1.22386 13 1.5V12.5C13 12.7761 12.7761 13 12.5 13H1.5C1.22386 13 1 12.7761 1 12.5V1.5ZM2 4V6.2998H5V4H2ZM2 9.2002V6.7998H5V9.2002H2ZM2 9.7002V12H5V9.7002H2ZM5.5 9.7002V12H8.5V9.7002H5.5ZM9 9.7002V12H12V9.7002H9ZM12 9.2002H9V6.7998H12V9.2002ZM8.5 9.2002H5.5V6.7998H8.5V9.2002ZM9 6.2998H12V4H9V6.2998ZM5.5 6.2998H8.5V4H5.5V6.2998Z", - }), - ), - doclist: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M3.5 6.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5ZM4 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H4Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M1 1.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 4v8h10V4H2Z", - }), - ), - markup: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M8.98 1.63a.5.5 0 0 0-.96-.26l-3 11a.5.5 0 1 0 .96.26l3-11ZM3.32 3.62a.5.5 0 0 1 .06.7L1.15 7l2.23 2.68a.5.5 0 1 1-.76.64l-2.5-3a.5.5 0 0 1 0-.64l2.5-3a.5.5 0 0 1 .7-.06Zm7.36 0a.5.5 0 0 0-.06.7L12.85 7l-2.23 2.68a.5.5 0 0 0 .76.64l2.5-3a.5.5 0 0 0 0-.64l-2.5-3a.5.5 0 0 0-.7-.06Z", - }), - ), - bold: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3 2v1.5h1v7H3V12h5a3 3 0 0 0 1.8-5.4A2.74 2.74 0 0 0 8 2H3Zm5 5.5H5.5v3H8a1.5 1.5 0 1 0 0-3Zm-.25-4H5.5V6h2.25a1.25 1.25 0 1 0 0-2.5Z", - }), - ), - italic: a.createElement("path", { - d: "M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2Z", - }), - paperclip: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.55 2.27a1.5 1.5 0 0 0-2.12 0L2.78 7.92a2.5 2.5 0 0 0 3.53 3.54l3.54-3.54a.5.5 0 1 1 .7.71l-3.53 3.54a3.5 3.5 0 0 1-4.96-4.94v-.01l5.66-5.66h.01a2.5 2.5 0 0 1 3.53 3.53L5.6 10.76a1.5 1.5 0 0 1-2.12-2.12L7.02 5.1a.5.5 0 1 1 .7.7L4.2 9.34a.5.5 0 0 0 .7.7l5.66-5.65a1.5 1.5 0 0 0 0-2.12Z", - }), - ), - listordered: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5 2.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm.5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm-3-9H1v1h1v3h1V2.5a.5.5 0 0 0-.5-.5ZM3 8.5v1a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h1c.28 0 .5.22.5.5Zm-1 2a.5.5 0 0 0-1 0V12h2v-1H2v-.5Z", - }), - ), - listunordered: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.75 2.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM5.5 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 9a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM2 12.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm-3 .75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z", - }), - ), - paragraph: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6 7a3 3 0 1 1 0-6h5.5a.5.5 0 0 1 0 1H10v10.5a.5.5 0 0 1-1 0V2H7v10.5a.5.5 0 0 1-1 0V7Z", - }), - ), - markdown: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2 4.5h1.5L5 6.38 6.5 4.5H8v5H6.5V7L5 8.88 3.5 7v2.5H2v-5Zm7.75 0h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M.5 2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5ZM1 3v8h12V3H1Z", - }), - ), - repository: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M5 2.5C5 2.77614 4.77614 3 4.5 3C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2C4.77614 2 5 2.22386 5 2.5Z", - }), - a.createElement("path", { - d: "M4.5 5C4.77614 5 5 4.77614 5 4.5C5 4.22386 4.77614 4 4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5Z", - }), - a.createElement("path", { - d: "M5 6.5C5 6.77614 4.77614 7 4.5 7C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6C4.77614 6 5 6.22386 5 6.5Z", - }), - a.createElement("path", { - fillRule: "evenodd", - d: "M11 0C12.1046 0 13 0.895431 13 2V12C13 13.1046 12.1046 14 11 14H1.5C1.22386 14 1 13.7761 1 13.5V0.5C1 0.223857 1.22386 0 1.5 0H11ZM11 1H3V13H11C11.5523 13 12 12.5523 12 12V2C12 1.44772 11.5523 1 11 1Z", - }), - ), - commit: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M3.03 7.5a4 4 0 0 0 7.94 0h2.53a.5.5 0 0 0 0-1h-2.53a4 4 0 0 0-7.94 0H.5a.5.5 0 0 0 0 1h2.53ZM7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z", - }), - ), - branch: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M6 2.5c0 .65-.42 1.2-1 1.41v4.06A3.36 3.36 0 0 1 7.5 7a2.7 2.7 0 0 0 1.81-.56c.22-.18.38-.4.48-.62a1.5 1.5 0 1 1 1.03.15c-.16.42-.43.87-.86 1.24-.57.47-1.37.79-2.46.79-1.04 0-1.64.42-2 .92-.26.37-.4.8-.47 1.18A1.5 1.5 0 1 1 4 10.09V3.9a1.5 1.5 0 1 1 2-1.4Zm-2 9a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm1-9a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm6 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", - }), - ), - pullrequest: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M8.35 1.35 7.71 2h.79A2.5 2.5 0 0 1 11 4.5v5.59a1.5 1.5 0 1 1-1 0V4.5C10 3.67 9.33 3 8.5 3h-.8l.65.65a.5.5 0 1 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7ZM11 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM4 3.91a1.5 1.5 0 1 0-1 0v6.18a1.5 1.5 0 1 0 1 0V3.9ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm0-8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z", - }), - ), - merge: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M4.1 3.87a1.5 1.5 0 1 0-1.1.04v6.18a1.5 1.5 0 1 0 1 0V6.4c.26.4.57.77.93 1.08A6.57 6.57 0 0 0 9.08 9a1.5 1.5 0 1 0 0-1 5.57 5.57 0 0 1-3.5-1.25 4.74 4.74 0 0 1-1.47-2.87ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM4 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z", - }), - ), - apple: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.03 8.1a3.05 3.05 0 0 1-.2-1.74 2.7 2.7 0 0 1 1.4-1.94 3.13 3.13 0 0 0-2.35-1.4c-.84-.08-2.01.56-2.65.57h-.02c-.63 0-1.81-.65-2.64-.57-.42.04-1.75.32-2.55 1.6-.28.44-.5 1.01-.58 1.74a6.36 6.36 0 0 0 .02 1.74 7.5 7.5 0 0 0 1.35 3.33c.7 1.01 1.51 1.6 1.97 1.6.93.02 1.74-.6 2.41-.6l.02.01h.04c.67-.02 1.48.61 2.42.6.45-.02 1.26-.6 1.97-1.6a7.95 7.95 0 0 0 .97-1.86 2.6 2.6 0 0 1-1.58-1.48ZM8.86 2.13c.72-.85.7-2.07.63-2.12-.07-.06-1.25.16-1.99.98a2.78 2.78 0 0 0-.62 2.13c.06.05 1.27-.14 1.98-.99Z", - }), - ), - linux: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M7 0a3 3 0 0 1 3 3v1.24c.13.13.25.27.36.42l.52.43.2.15c.32.26.7.59 1.09.97A6.28 6.28 0 0 1 14 9.54a.5.5 0 0 1-.35.44c-.31.1-.8.18-1.34.13-.33-.03-.7-.12-1.05-.3-.04.17-.1.34-.17.51a2 2 0 1 1-2.89 2.56 5.5 5.5 0 0 1-2.4 0 2 2 0 1 1-2.9-2.56 5.56 5.56 0 0 1-.16-.51c-.35.18-.72.27-1.05.3a3.4 3.4 0 0 1-1.34-.13.5.5 0 0 1-.35-.44l.01-.14a6.28 6.28 0 0 1 1.82-3.2 13.42 13.42 0 0 1 1.3-1.11c.22-.19.4-.32.5-.43.12-.15.24-.29.37-.42V3a3 3 0 0 1 3-3Zm1 11.9a2 2 0 0 1 2.14-1.9 5.5 5.5 0 0 0 .36-2c0-.51-.1-1.07-.3-1.6l-.03-.02a4.4 4.4 0 0 0-.86-.42 6.71 6.71 0 0 0-1-.31l-.86.64c-.27.2-.63.2-.9 0l-.85-.64a6.72 6.72 0 0 0-1.87.73l-.03.02A4.6 4.6 0 0 0 3.5 8c0 .68.11 1.39.36 2H4a2 2 0 0 1 2 1.9 4.49 4.49 0 0 0 2 0ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.1 4.3a1.5 1.5 0 0 1 1.8 0l.27.2L7 5.38 5.83 4.5l.27-.2ZM8.5 2c.28 0 .5.22.5.5V3a.5.5 0 0 1-1 0v-.5c0-.28.22-.5.5-.5ZM6 2.5a.5.5 0 0 0-1 0V3a.5.5 0 0 0 1 0v-.5Z", - }), - ), - ubuntu: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M12.26 2.07c0 1.14-.89 2.06-1.99 2.06s-1.99-.92-1.99-2.06c0-1.14.9-2.07 2-2.07s1.98.93 1.98 2.07ZM3.98 6.6c0 1.14-.9 2.07-2 2.07C.9 8.67 0 7.74 0 6.6c0-1.14.9-2.07 1.99-2.07 1.1 0 1.99.93 1.99 2.07ZM6.47 11.92a4.76 4.76 0 0 1-3.3-2.62c-.53.25-1.12.33-1.7.22a6.72 6.72 0 0 0 1.84 2.63 6.38 6.38 0 0 0 4.24 1.58c-.37-.5-.57-1.1-.59-1.73a4.77 4.77 0 0 1-.49-.08ZM11.81 11.93c0 1.14-.89 2.07-1.99 2.07s-1.98-.93-1.98-2.07c0-1.14.89-2.06 1.98-2.06 1.1 0 2 .92 2 2.06ZM12.6 11.17a6.93 6.93 0 0 0 .32-7.93A2.95 2.95 0 0 1 11.8 4.6a5.23 5.23 0 0 1-.16 5.03c.47.4.8.94.95 1.54ZM1.99 3.63h-.15A6.48 6.48 0 0 1 8 .24a3.07 3.07 0 0 0-.6 1.68 4.7 4.7 0 0 0-3.9 2.17c-.46-.3-.98-.45-1.51-.45Z", - }), - ), - windows: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6.5 1H1v5.5h5.5V1ZM13 1H7.5v5.5H13V1ZM7.5 7.5H13V13H7.5V7.5ZM6.5 7.5H1V13h5.5V7.5Z", - }), - ), - storybook: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M2.04.62a.7.7 0 0 0-.66.72l.44 11.56c.01.37.3.66.67.68l9.4.42h.02a.7.7 0 0 0 .7-.7V.66a.7.7 0 0 0-.74-.66l-.77.05.05 1.62a.1.1 0 0 1-.17.08l-.52-.4-.61.46a.1.1 0 0 1-.17-.09L9.75.13l-7.7.49Zm8 4.74c-.24.2-2.09.33-2.09.05.04-1.04-.43-1.09-.69-1.09-.24 0-.66.08-.66.64 0 .57.6.89 1.32 1.27 1.02.53 2.24 1.18 2.24 2.82 0 1.57-1.27 2.43-2.9 2.43-1.67 0-3.14-.68-2.97-3.03.06-.27 2.2-.2 2.2 0-.03.97.19 1.26.75 1.26.43 0 .62-.24.62-.64 0-.6-.63-.95-1.36-1.36-.99-.56-2.15-1.2-2.15-2.7 0-1.5 1.03-2.5 2.86-2.5 1.83 0 2.84.99 2.84 2.85Z", - }), - ), - azuredevops: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "m0 5.18 1.31-1.73 4.9-2V.01l4.3 3.15-8.78 1.7v4.8L0 9.16V5.18Zm14-2.6v8.55l-3.36 2.86-5.42-1.79V14L1.73 9.66l8.78 1.05V3.16L14 2.58Z", - }), - ), - bitbucket: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M1 1.52A.41.41 0 0 0 .59 2l1.74 10.6c.05.26.28.46.55.46h8.37c.2 0 .38-.14.42-.34l1.01-6.25H8.81l-.46 2.71H5.68L4.95 5.4h7.91L13.4 2a.41.41 0 0 0-.41-.48H1Z", - }), - ), - chrome: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M13.02 3.43a.11.11 0 0 1-.1.17H7a3.4 3.4 0 0 0-3.3 2.55.11.11 0 0 1-.21.03L1.52 2.76a.11.11 0 0 1 0-.12 6.97 6.97 0 0 1 9-1.7c1.03.6 1.9 1.47 2.5 2.5ZM7 9.62a2.62 2.62 0 1 1 0-5.24 2.62 2.62 0 0 1 0 5.24Zm1.03.7a.11.11 0 0 0-.12-.04 3.4 3.4 0 0 1-4-1.84L1.1 3.57a.11.11 0 0 0-.2 0 7 7 0 0 0 5.07 10.35c.04 0 .08-.02.1-.05l1.97-3.42a.11.11 0 0 0 0-.13Zm1.43-5.95h3.95c.05 0 .1.03.1.07a6.97 6.97 0 0 1-1.53 7.48A6.96 6.96 0 0 1 7.08 14a.11.11 0 0 1-.1-.17l2.81-4.88h.01a3.38 3.38 0 0 0-.42-4.38.11.11 0 0 1 .08-.2Z", - }), - ), - chromatic: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M0 7a7 7 0 1 0 14 0A7 7 0 0 0 0 7Zm5.22-3.87a1.97 1.97 0 0 1 3.75.83v1.29L5.61 3.32a2.49 2.49 0 0 0-.4-.19ZM8.7 5.71 5.35 3.78a1.97 1.97 0 0 0-2.6 2.83c.12-.1.24-.18.37-.26l1.51-.87a.27.27 0 0 1 .27 0L7 6.69l1.7-.98Zm-.32 4.97-1.52-.87a.27.27 0 0 1-.13-.23V7.15l-1.7-.97v3.86a1.97 1.97 0 0 0 3.75.83 2.5 2.5 0 0 1-.4-.19Zm.26-.46a1.97 1.97 0 0 0 2.6-2.83c-.11.1-.23.18-.36.26L7.53 9.58l1.11.64Zm-4.1.26h-.17a1.97 1.97 0 0 1-1.9-2.47 2 2 0 0 1 .92-1.2l1.11-.63v3.86c0 .14.01.29.04.44Zm6.79-5.98a1.97 1.97 0 0 0-1.87-.97c.03.14.04.29.04.43v1.75c0 .1-.05.19-.14.23l-2.1 1.22V9.1l3.35-1.93a1.97 1.97 0 0 0 .72-2.68Z", - }), - ), - componentdriven: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.85 2.18 8.87.2a.69.69 0 0 0-.97 0L3.09 5.01a.69.69 0 0 0 0 .97l2.46 2.46-2.4 2.4a.69.69 0 0 0 0 .98l1.98 1.98c.27.27.7.27.97 0l4.8-4.81a.69.69 0 0 0 0-.97L8.45 5.56l2.4-2.4a.69.69 0 0 0 0-.98Z", - }), - ), - discord: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M11.85 2.88C10.95 2.48 10 2.18 9 2a7.05 7.05 0 0 0-.4.75 10.66 10.66 0 0 0-3.2 0c-.1-.23-.24-.5-.36-.73A.04.04 0 0 0 4.99 2a11.51 11.51 0 0 0-2.86.9 11.82 11.82 0 0 0-2.05 8 11.6 11.6 0 0 0 3.5 1.77c.01 0 .03 0 .04-.02.27-.36.51-.75.72-1.16a.04.04 0 0 0-.03-.06 7.66 7.66 0 0 1-1.09-.52.04.04 0 0 1 0-.08 5.96 5.96 0 0 0 .26-.17 8.28 8.28 0 0 0 7.08 0l.22.17c.02.02.02.06 0 .08-.36.2-.72.37-1.1.52a.04.04 0 0 0-.02.06c.2.4.45.8.71 1.16.01.02.03.02.05.02a11.57 11.57 0 0 0 3.52-1.8 11.74 11.74 0 0 0-2.09-7.99Zm-7.17 6.4c-.7 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.56 1.42-1.26 1.42Zm4.65 0c-.69 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.55 1.42-1.26 1.42Z", - }), - ), - facebook: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.4 14H5.06V7H3.5V4.59h1.56V3.17C5.06 1.2 5.53 0 7.6 0h1.72v2.41H8.25c-.8 0-.85.34-.85.97v1.2h1.93L9.11 7H7.4l-.01 7Z", - }), - ), - figma: a.createElement( - a.Fragment, - null, - a.createElement("path", { - fillRule: "evenodd", - d: "M9.2 0H4.8a2.6 2.6 0 0 0-1.4 4.8 2.6 2.6 0 0 0 0 4.4 2.6 2.6 0 1 0 4 2.2V8.89a2.6 2.6 0 1 0 3.2-4.09A2.6 2.6 0 0 0 9.2 0ZM7.4 7A1.8 1.8 0 1 0 11 7a1.8 1.8 0 0 0-3.6 0Zm-.8 2.6H4.8a1.8 1.8 0 1 0 1.8 1.8V9.6ZM4.8 4.4h1.8V.8H4.8a1.8 1.8 0 0 0 0 3.59Zm0 .8a1.8 1.8 0 0 0 0 3.6h1.8V5.2H4.8Zm4.4-.8H7.4V.8h1.8a1.8 1.8 0 1 1 0 3.59Z", - }), - ), - gdrive: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M6.37 8.77 4.33 12.3h6.75l2.04-3.54H6.38Zm6.18-1-3.5-6.08h-4.1l3.51 6.08h4.09ZM4.38 2.7.88 8.77l2.04 3.54 3.5-6.07L4.38 2.7Z", - }), - ), - github: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7 0a7 7 0 0 0-2.21 13.64c.35.06.48-.15.48-.33L5.26 12c-1.76.32-2.21-.43-2.35-.83-.08-.2-.43-.82-.72-.99-.25-.13-.6-.45-.01-.46.55 0 .94.5 1.07.72.63 1.06 1.64.76 2.04.58.07-.46.25-.77.45-.94-1.56-.18-3.19-.78-3.19-3.46 0-.76.28-1.39.72-1.88-.07-.17-.31-.9.07-1.85 0 0 .59-.19 1.93.71a6.5 6.5 0 0 1 3.5 0c1.34-.9 1.92-.71 1.92-.71.39.96.14 1.68.07 1.85.45.5.72 1.11.72 1.88 0 2.69-1.64 3.28-3.2 3.46.26.22.48.64.48 1.3l-.01 1.92c0 .18.13.4.48.33A7.01 7.01 0 0 0 7 0Z", - }), - ), - gitlab: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4.53 5.58H1.07l1.49-4.55a.26.26 0 0 1 .48 0l1.49 4.55ZM7 13.15 1.07 5.58l-.75 2.3a.5.5 0 0 0 .18.57l6.5 4.7Zm0 0 6.5-4.7a.5.5 0 0 0 .18-.57l-.75-2.3L7 13.15l2.47-7.57H4.53L7 13.15Zm2.47-7.57h3.46l-1.49-4.55a.26.26 0 0 0-.48 0L9.47 5.58Z", - }), - ), - google: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.92 1.1H7.26c-1.64 0-3.19 1.24-3.19 2.68 0 1.47 1.12 2.66 2.8 2.66l.33-.01c-.1.2-.18.44-.18.68 0 .41.22.75.5 1.02h-.64c-2.03 0-3.6 1.3-3.6 2.64 0 1.32 1.72 2.15 3.75 2.15 2.32 0 3.6-1.31 3.6-2.64 0-1.06-.31-1.7-1.28-2.38-.33-.23-.96-.8-.96-1.14 0-.39.1-.58.7-1.04a2.46 2.46 0 0 0 1.03-1.92c0-.92-.4-1.82-1.18-2.11h1.17l.81-.6ZM9.6 10.04c.03.13.05.25.05.38 0 1.07-.7 1.9-2.67 1.9-1.4 0-2.42-.88-2.42-1.95 0-1.05 1.26-1.92 2.66-1.9a3 3 0 0 1 .92.14c.76.53 1.3.83 1.46 1.43ZM7.34 6.07c-.94-.03-1.84-1.06-2-2.3-.17-1.24.47-2.19 1.41-2.16.94.03 1.84 1.03 2 2.26.17 1.24-.47 2.23-1.41 2.2Z", - }), - ), - graphql: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M7.87 11.6a1.17 1.17 0 0 0-1.7-.02l-2.71-1.56.01-.04h7.07l.02.07-2.69 1.56Zm-1.7-9.18.03.03-3.54 6.12h-.04V5.43a1.17 1.17 0 0 0 .84-1.46l2.7-1.56Zm4.38 1.56a1.17 1.17 0 0 0 .84 1.46v3.12l-.04.01-3.54-6.12c.02 0 .03-.02.04-.03l2.7 1.56ZM3.47 9.42a1.17 1.17 0 0 0-.32-.57l3.53-6.12a1.17 1.17 0 0 0 .65 0l3.54 6.12a1.17 1.17 0 0 0-.33.57H3.47Zm8.8-.74c-.1-.05-.21-.1-.32-.12V5.44a1.17 1.17 0 1 0-1.12-1.94l-2.7-1.56a1.17 1.17 0 1 0-2.24 0L3.19 3.5a1.17 1.17 0 1 0-1.13 1.94v3.12a1.17 1.17 0 1 0 1.12 1.94l2.7 1.56a1.17 1.17 0 1 0 2.24-.03l2.69-1.55a1.17 1.17 0 1 0 1.45-1.8Z", - }), - ), - medium: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M0 0v14h14V0H0Zm11.63 3.32-.75.72a.22.22 0 0 0-.08.2v5.33c0 .07.03.14.08.18l.73.72v.16H7.92v-.16l.76-.74c.08-.07.08-.1.08-.21V5.24l-2.11 5.37h-.29L3.9 5.24v3.67c0 .13.05.25.14.34l.99 1.2v.16h-2.8v-.16l.98-1.2a.48.48 0 0 0 .13-.41V4.65c0-.11-.04-.2-.12-.27l-.88-1.06v-.16h2.73l2.1 4.62 1.86-4.62h2.6v.16Z", - }), - ), - redux: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M4.06 9.69c.02.49.42.88.91.88H5a.91.91 0 0 0-.03-1.83h-.03c-.03 0-.08 0-.11.02a5.97 5.97 0 0 1-.85-3.62c.06-.98.39-1.82.96-2.52.47-.6 1.39-.9 2-.92 1.73-.03 2.47 2.12 2.51 2.99.22.04.57.16.82.24-.2-2.64-1.83-4-3.4-4-1.46 0-2.81 1.05-3.35 2.61a6.67 6.67 0 0 0 .65 5.68.74.74 0 0 0-.11.47Zm8.28-2.3a6.62 6.62 0 0 0-5.15-2.25h-.26a.9.9 0 0 0-.8-.49H6.1a.91.91 0 0 0 .03 1.83h.03a.92.92 0 0 0 .8-.56h.3c1.23 0 2.4.36 3.47 1.06.81.54 1.4 1.24 1.72 2.09.28.68.26 1.35-.03 1.92a2.4 2.4 0 0 1-2.23 1.34c-.65 0-1.27-.2-1.6-.34-.18.16-.5.42-.73.58.7.33 1.41.5 2.1.5 1.56 0 2.72-.85 3.16-1.72.47-.94.44-2.57-.78-3.96ZM4.9 12.9a4 4 0 0 1-.98.11c-1.2 0-2.3-.5-2.84-1.32C.38 10.6.13 8.3 2.5 6.58c.05.26.15.62.22.83-.31.23-.8.68-1.11 1.3a2.4 2.4 0 0 0 .13 2.53c.36.54.93.86 1.66.96.9.11 1.8-.05 2.66-.5a5.83 5.83 0 0 0 2.67-2.56.91.91 0 0 1 .62-1.55h.03a.92.92 0 0 1 .1 1.82 6.26 6.26 0 0 1-4.56 3.49Z", - }), - ), - twitter: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M14 2.55c-.51.23-1.07.39-1.65.46.6-.36 1.05-.94 1.26-1.63-.55.34-1.17.58-1.82.72a2.84 2.84 0 0 0-2.1-.93 2.9 2.9 0 0 0-2.8 3.61 8.09 8.09 0 0 1-5.9-3.07 2.99 2.99 0 0 0 .88 3.93 2.8 2.8 0 0 1-1.3-.37v.04c0 1.42 1 2.61 2.3 2.89a2.82 2.82 0 0 1-1.3.05 2.89 2.89 0 0 0 2.7 2.04A5.67 5.67 0 0 1 0 11.51a7.98 7.98 0 0 0 4.4 1.32c5.29 0 8.17-4.48 8.17-8.38v-.38A5.93 5.93 0 0 0 14 2.55Z", - }), - ), - youtube: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M13.99 8.17V5.83a14.95 14.95 0 0 0-.23-2.22c-.09-.38-.27-.7-.55-.96s-.6-.41-.97-.45A51.3 51.3 0 0 0 7 2c-2.34 0-4.09.07-5.24.2A1.78 1.78 0 0 0 .25 3.61 15.26 15.26 0 0 0 0 7v1.16a15.24 15.24 0 0 0 .24 2.22c.09.38.27.7.55.96.27.26.6.41.97.45 1.15.13 2.9.2 5.24.2 2.34 0 4.08-.06 5.24-.2.37-.04.7-.19.97-.45s.45-.58.54-.96a15.26 15.26 0 0 0 .24-2.22Zm-4.23-1.6c.16.1.24.24.24.43 0 .2-.08.33-.24.42l-4 2.5a.44.44 0 0 1-.26.08.54.54 0 0 1-.24-.06A.46.46 0 0 1 5 9.5v-5c0-.2.08-.34.26-.44.17-.1.34-.09.5.02l4 2.5Z", - }), - ), - linkedin: a.createElement("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M11.6667 13H2.33333C1.59695 13 1 12.403 1 11.6667V2.33333C1 1.59695 1.59695 1 2.33333 1H11.6667C12.403 1 13 1.59695 13 2.33333V11.6667C13 12.403 12.403 13 11.6667 13ZM9.55293 11.3333H11.3337V7.67516C11.3337 6.12737 10.4563 5.379 9.23075 5.379C8.00467 5.379 7.48867 6.33378 7.48867 6.33378V5.55552H5.77255V11.3333H7.48867V8.30031C7.48867 7.48764 7.86276 7.00405 8.57878 7.00405C9.23696 7.00405 9.55293 7.46875 9.55293 8.30031V11.3333ZM2.66699 3.73279C2.66699 4.32157 3.14067 4.79896 3.72522 4.79896C4.30977 4.79896 4.78316 4.32157 4.78316 3.73279C4.78316 3.14402 4.30977 2.66663 3.72522 2.66663C3.14067 2.66663 2.66699 3.14402 2.66699 3.73279ZM4.62856 11.3333H2.83908V5.55552H4.62856V11.3333Z", - fill: "#1EA7FD", - }), - vscode: a.createElement( - a.Fragment, - null, - a.createElement("path", { - d: "M10.24.04c.13 0 .26.03.38.09L13.5 1.5a.87.87 0 0 1 .5.8v.03-.01 9.39c0 .33-.2.63-.5.78l-2.88 1.38a.87.87 0 0 1-1-.17l-5.5-5.03-2.4 1.83a.58.58 0 0 1-.75-.04l-.77-.7a.58.58 0 0 1 0-.86L2.27 7 .2 5.1a.58.58 0 0 1 0-.86l.77-.7c.21-.2.52-.2.75-.04l2.4 1.83L9.63.3a.87.87 0 0 1 .61-.26Zm.26 3.78L6.32 7l4.18 3.18V3.82Z", - }), - ), - }, - Im = w.svg({ - display: "inline-block", - shapeRendering: "inherit", - transform: "translate3d(0, 0, 0)", - verticalAlign: "middle", - path: { fill: "currentColor" }, - }), - $l = ({ icon: e, ...t }) => - a.createElement( - Im, - { viewBox: "0 0 14 14", width: "14px", height: "14px", ...t }, - a.createElement(a.Fragment, null, Rm[e]), - ), - ln = { large: 40, medium: 28, small: 20, tiny: 16 }, - Zm = w.div( - { - background: "transparent", - display: "inline-block", - verticalAlign: "top", - overflow: "hidden", - textTransform: "uppercase", - img: { width: "100%", height: "auto", display: "block" }, - }, - (e) => ({ - borderRadius: e.type === "user" ? "50%" : 5, - height: `${ln[e.size || "medium"]}px`, - width: `${ln[e.size || "medium"]}px`, - lineHeight: `${ln[e.size || "medium"]}px`, - ...(e.isLoading && { background: U.light, filter: "grayscale(1)" }), - ...(!e.src && !e.isLoading && { background: "#37D5D3" }), - }), - ), - Bm = w($l)( - { - position: "relative", - margin: "0 auto", - display: "block", - verticalAlign: "top", - path: { - fill: U.medium, - animation: `${qs} 1.5s ease-in-out infinite`, - }, - }, - (e) => ({ - bottom: `${e.type === "user" ? -2 : -4}px`, - height: `${e.type === "user" ? 100 : 70}%`, - width: `${e.type === "user" ? 100 : 70}%`, - }), - ), - Pm = w.div( - { color: U.lightest, textAlign: "center" }, - (e) => - ({ - tiny: { - fontSize: `${z.size.s1 - 2}px`, - lineHeight: `${ln.tiny}px`, - }, - small: { fontSize: `${z.size.s1}px`, lineHeight: `${ln.small}px` }, - medium: { - fontSize: `${z.size.s2}px`, - lineHeight: `${ln.medium}px`, - }, - large: { fontSize: `${z.size.s3}px`, lineHeight: `${ln.large}px` }, - })[e.size || "medium"], - ), - Vm = ({ - isLoading: e = !1, - username: t = "loading", - src: n = void 0, - size: r = "medium", - type: i = "user", - ...l - }) => { - let o = a.createElement(Bm, { - icon: i === "user" ? "useralt" : "repository", - type: i, - }), - s = {}; - return ( - e - ? ((s["aria-busy"] = !0), (s["aria-label"] = "Loading avatar ...")) - : n - ? (o = a.createElement("img", { src: n, alt: t })) - : ((s["aria-label"] = t), - (o = a.createElement( - Pm, - { size: r, "aria-hidden": "true" }, - t.substring(0, 1), - ))), - a.createElement( - Zm, - { size: r, isLoading: e, src: n, type: i, ...s, ...l }, - o, - ) - ); - }, - Dm = w.span( - (e) => - e.withArrow && { - "> svg:last-of-type": { - height: "0.65em", - width: "0.65em", - marginRight: 0, - marginLeft: "0.25em", - bottom: "auto", - verticalAlign: "inherit", - }, - }, - ), - Hm = w.a( - { - display: "inline-block", - transition: "transform 150ms ease-out, color 150ms ease-out", - textDecoration: "none", - color: U.secondary, - "&:hover, &:focus-visible": { - cursor: "pointer", - transform: "translateY(-1px)", - color: rn(0.07, U.secondary), - }, - "&:active": { - transform: "translateY(0)", - color: rn(0.1, U.secondary), - }, - svg: { - display: "inline-block", - height: "1em", - width: "1em", - verticalAlign: "text-top", - position: "relative", - bottom: "-0.125em", - marginRight: "0.4em", - }, - }, - (e) => ({ - ...(e.secondary && { - color: e.theme.base === "light" ? U.mediumdark : U.medium, - "&:hover": { color: e.theme.base === "light" ? U.dark : U.light }, - "&:active": { - color: e.theme.base === "light" ? U.darker : U.lighter, - }, - }), - ...(e.tertiary && { - color: U.dark, - "&:hover": { color: U.darkest }, - "&:active": { color: U.mediumdark }, - }), - ...(e.nochrome && { - color: "inherit", - "&:hover, &:active": { - color: "inherit", - textDecoration: "underline", - }, - }), - ...(e.inverse && { - color: U.lightest, - "&:hover": { color: U.lighter }, - "&:active": { color: U.light }, - }), - }), - ), - jm = w.a({}), - zm = w.button({ - background: "none", - border: "none", - padding: "0", - font: "inherit", - cursor: "pointer", - }), - t0 = K( - ( - { - inverse: e, - isButton: t, - LinkWrapper: n, - nochrome: r, - secondary: i, - tertiary: l, - ...o - }, - s, - ) => - t - ? a.createElement(zm, { ...o, ref: s }) - : n - ? a.createElement(n, { ...o, ref: s }) - : a.createElement(jm, { ...o, ref: s }), - ); - t0.displayName = "LinkComponentPicker"; - var Ge = K(({ children: e, withArrow: t, ...n }, r) => { - let i = a.createElement( - a.Fragment, - null, - a.createElement( - Dm, - { withArrow: !!t }, - e, - t && a.createElement($l, { icon: "arrowright" }), - ), - ); - return a.createElement(Hm, { as: t0, ref: r, ...n }, i); - }); - Ge.displayName = "Link"; - Ge.defaultProps = { - withArrow: !1, - isButton: !1, - secondary: !1, - tertiary: !1, - nochrome: !1, - inverse: !1, - }; - var Um = w.label((e) => ({ - ...(e.appearance !== "code" && { fontWeight: z.weight.bold }), - ...(e.appearance === "code" - ? { - fontFamily: z.type.code, - fontSize: `${z.size.s1 - 1}px`, - lineHeight: "16px", - } - : { fontSize: `${z.size.s2}px`, lineHeight: "20px" }), - })), - $m = w.div([ - { marginBottom: 8 }, - (e) => - e.hideLabel && { - border: "0px !important", - clip: "rect(0 0 0 0) !important", - WebkitClipPath: "inset(100%) !important", - clipPath: "inset(100%) !important", - height: "1px !important", - overflow: "hidden !important", - padding: "0px !important", - position: "absolute !important", - whiteSpace: "nowrap !important", - width: "1px !important", - }, - ]), - Wm = w.input({ - "&::placeholder": { color: U.mediumdark }, - appearance: "none", - border: "none", - boxSizing: "border-box", - display: "block", - outline: "none", - width: "100%", - margin: "0", - "&[disabled]": { cursor: "not-allowed", opacity: 0.5 }, - "&:-webkit-autofill": { - WebkitBoxShadow: `0 0 0 3em ${U.lightest} inset`, - }, - }), - Gm = (e) => { - let t = { - position: "relative", - ...(e.error && { zIndex: 1 }), - "&:focus": { zIndex: 2 }, - }; - switch (e.stackLevel) { - case "top": - return { - borderTopLeftRadius: "4px", - borderTopRightRadius: "4px", - borderBottomLeftRadius: 0, - borderBottomRightRadius: 0, - ...t, - }; - case "middle": - return { borderRadius: 0, marginTop: -1, ...t }; - case "bottom": - return { - borderBottomLeftRadius: "4px", - borderBottomRightRadius: "4px", - borderTopLeftRadius: 0, - borderTopRightRadius: 0, - marginTop: -1, - ...t, - }; - default: - return { borderRadius: "4px" }; - } - }, - qm = w.div((e) => ({ - display: "inline-block", - position: "relative", - verticalAlign: "top", - width: "100%", - ".sbds-input-el": { - position: "relative", - ...Gm(e), - background: U.lightest, - color: U.darkest, - fontSize: `${z.size.s2}px`, - lineHeight: "20px", - padding: "10px 15px", - boxShadow: `${U.border} 0 0 0 1px inset`, - "&:focus": { boxShadow: `${U.secondary} 0 0 0 1px inset` }, - ...(e.appearance === "pill" && { - fontSize: `${z.size.s1}px`, - lineHeight: "16px", - padding: "6px 12px", - borderRadius: "3em", - background: "transparent", - }), - ...(e.appearance === "code" && { - fontSize: `${z.size.s1 - 1}px`, - lineHeight: "16px", - fontFamily: z.type.code, - borderRadius: `${zl.borderRadius.small}px`, - background: U.lightest, - padding: "8px 10px", - }), - ...(e.startingType === "password" && { paddingRight: 52 }), - ...(e.icon && { - paddingLeft: 40, - ...((e.appearance === "pill" || e.appearance === "code") && { - paddingLeft: 30, - }), - "&:focus + svg path": { fill: U.darker }, - }), - ...(e.error && { - boxShadow: `${U.red} 0 0 0 1px inset`, - "&:focus": { boxShadow: `${U.red} 0 0 0 1px inset !important` }, - }), - }, - "> svg": { - ...(e.icon && { - transition: "all 150ms ease-out", - position: "absolute", - top: "50%", - zIndex: 3, - background: "transparent", - ...(e.appearance === "pill" || e.appearance === "code" - ? { - fontSize: `${z.size.s1}px`, - height: 12, - marginTop: -6, - width: 12, - left: 10, - } - : { - fontSize: `${z.size.s2}px`, - height: 14, - marginTop: -7, - width: 14, - left: e.appearance === "tertiary" ? 0 : 15, - }), - path: { transition: "all 150ms ease-out", fill: U.mediumdark }, - }), - ...(e.error && { - animation: `${Ys} 700ms ease-out`, - path: { fill: U.red }, - }), - }, - })), - Ym = w.div( - (e) => - e.orientation === "horizontal" && { - display: "table-row", - ".sbds-input-label-wrapper, .sbds-input-input-wrapper": { - display: "table-cell", - }, - ".sbds-input-label-wrapper": { - width: 1, - paddingRight: 20, - verticalAlign: "middle", - }, - ".sbds-input-input-wrapper": { width: "auto" }, - }, - ), - Qm = w(Le)({ width: "100%" }), - Km = w(wo)({ width: 170 }), - Jm = w.div({ - position: "absolute", - right: "0", - minWidth: 45, - top: "50%", - transform: "translateY(-50%)", - fontWeight: "bold", - fontSize: 11, - zIndex: 2, - }), - Yo = ({ error: e, value: t, lastErrorValue: n }) => { - let r = typeof e == "function" ? e(t) : e; - return n && t !== n && (r = null), r; - }, - n0 = K( - ( - { - id: e, - appearance: t = "default", - className: n = void 0, - error: r = null, - errorTooltipPlacement: i = "right", - hideLabel: l = !1, - icon: o = void 0, - label: s, - lastErrorValue: c = void 0, - onActionClick: d = void 0, - orientation: u = "vertical", - stackLevel: m = void 0, - startingType: p = "text", - suppressErrorMessage: f = !1, - type: g = "text", - value: y = "", - ...k - }, - b, - ) => { - let [h, v] = Pe(Yo({ error: r, value: y, lastErrorValue: c })), - E = `${e}-error`; - ne(() => { - v(Yo({ error: r, value: y, lastErrorValue: c })); - }, [y, r, c]); - let C = a.createElement(Wm, { - className: "sbds-input-el", - id: e, - ref: b, - value: y, - type: g, - "aria-describedby": E, - "aria-invalid": !!r, - ...k, - }); - return a.createElement( - Ym, - { orientation: u, className: n }, - a.createElement( - $m, - { className: "sbds-input-label-wrapper", hideLabel: l }, - a.createElement(Um, { htmlFor: e, appearance: t }, s), - ), - a.createElement( - qm, - { - className: "sbds-input-input-wrapper", - error: h, - "data-error": h, - icon: o, - appearance: t, - stackLevel: m, - startingType: p, - }, - o && a.createElement($l, { icon: o, "aria-hidden": !0 }), - a.createElement( - Qm, - { - tabIndex: -1, - placement: i, - startOpen: !0, - hasChrome: !!h && !f, - tooltip: h && !f && a.createElement(Km, { desc: h }), - role: "none", - }, - C, - ), - p === "password" && - a.createElement( - Jm, - null, - a.createElement( - Ge, - { isButton: !0, tertiary: !0, onClick: d, type: "button" }, - g === "password" ? "Show" : "Hide", - ), - ), - ), - ); - }, - ); - n0.displayName = "PureInput"; - var a0 = K(({ type: e, startFocused: t, ...n }, r) => { - let [i, l] = Pe(e), - o = G( - (u) => { - if ((u.preventDefault(), u.stopPropagation(), i === "password")) { - l("text"); - return; - } - l("password"); - }, - [i, l], - ), - s = Be(), - c = r || s, - d = Be(!1); - return ( - ne(() => { - c.current && t && !d.current && (c.current.focus(), (d.current = !0)); - }, [c, t, d]), - a.createElement(n0, { - ref: c, - startingType: e, - type: i, - onActionClick: o, - ...n, - }) - ); - }); - a0.displayName = "Input"; - var Xm = w.div( - { - borderRadius: "3em", - cursor: "progress", - display: "inline-block", - overflow: "hidden", - position: ["relative", "absolute"], - transition: "all 200ms ease-out", - verticalAlign: "top", - top: "50%", - left: "50%", - marginTop: -16, - marginLeft: -16, - height: 32, - width: 32, - animation: `${Gs} 0.7s linear infinite`, - borderWidth: 2, - borderStyle: "solid", - borderColor: "rgba(0, 0, 0, 0.03)", - borderTopColor: "rgba(0, 0, 0, 0.15)", - }, - (e) => ({ - ...(e.inverse && { - borderColor: "rgba(255, 255, 255, 0.2)", - borderTopColor: "rgba(255, 255, 255, 0.4)", - }), - ...(e.inForm && { - marginTop: -6, - marginLeft: -6, - height: 12, - width: 12, - border: `1px solid ${U.secondary}`, - borderBottomColor: "transparent", - }), - ...(e.inline && { - position: "relative", - top: "initial", - left: "initial", - marginTop: "initial", - marginLeft: "initial", - verticalAlign: "middle", - height: 8, - width: 8, - border: "1px solid", - borderTopColor: U.secondary, - borderLeftColor: U.secondary, - borderRightColor: U.secondary, - borderBottomColor: "transparent", - ...(e.positive && { - borderTopColor: U.positive, - borderLeftColor: U.positive, - borderRightColor: U.positive, - }), - ...(e.negative && { - borderTopColor: U.red, - borderLeftColor: U.red, - borderRightColor: U.red, - }), - ...(e.neutral && { - borderTopColor: U.dark, - borderLeftColor: U.dark, - borderRightColor: U.dark, - }), - ...(e.inverse && { - borderTopColor: U.lightest, - borderLeftColor: U.lightest, - borderRightColor: U.lightest, - }), - }), - }), - ), - ul = (e) => - a.createElement(Xm, { - "aria-label": "Content is loading ...", - "aria-live": "polite", - role: "status", - ...e, - }), - e4 = function (e) { - var t = new WeakMap(); - return function (n) { - if (t.has(n)) return t.get(n); - var r = e(n); - return t.set(n, r), r; - }; - }, - t4 = w.span({}), - n4 = w.span(({ theme: e }) => ({ - fontWeight: e.typography.weight.bold, - whiteSpace: "nowrap", - overflow: "hidden", - textOverflow: "ellipsis", - })), - a4 = w.span({}), - r4 = w.span({}), - Qo = w.li(({ theme: e }) => ({ - listStyle: "none", - "&:not(:first-of-type)": { borderTop: `1px solid ${e.appBorderColor}` }, - })), - i4 = w.span({ - lineHeight: "18px", - padding: "7px 15px", - display: "flex", - alignItems: "center", - justifyContent: "space-between", - ".sbds-list-item-title": { - display: "block", - flex: "0 1 auto", - marginRight: "auto", - }, - ".sbds-list-item-left, .sbds-list-item-center, .sbds-list-item-right": { - display: "inline-flex", - }, - ".sbds-list-item-center": { - flex: "0 1 auto", - marginLeft: "auto", - marginRight: "auto", - }, - ".sbds-list-item-left, .sbds-list-item-right": { flex: "0 1 auto" }, - ".sbds-list-item-right": { - flex: "none", - textAlign: "right", - marginLeft: 10, - }, - }), - Wl = ({ - active: e, - activeColor: t, - disabled: n, - isLoading: r, - theme: i, - }) => ({ - fontSize: `${i.typography.size.s1}px`, - transition: "all 150ms ease-out", - color: i.color.mediumdark, - textDecoration: "none", - display: "block", - ".sbds-list-item-title": { - color: i.base === "light" ? i.color.darker : i.color.lighter, - }, - ".sbds-list-item-right svg": { - transition: "all 200ms ease-out", - opacity: 0, - height: 12, - width: 12, - margin: "3px 0", - verticalAlign: "top", - path: { fill: i.color.mediumdark }, - }, - "&:hover": { - background: i.background.hoverable, - cursor: "pointer", - ".sbds-list-item-right svg": { opacity: 1 }, - }, - ...(e && { - ".sbds-list-item-title": { fontWeight: i.typography.weight.bold }, - ".sbds-list-item-title, .sbds-list-item-center": { color: t }, - ".sbds-list-item-right svg": { opacity: 1, path: { fill: t } }, - }), - ...(r && { - ".sbds-list-item-title": { - ...fm, - flex: "0 1 auto", - display: "inline-block", - }, - }), - ...(n && { - cursor: "not-allowed !important", - ".sbds-list-item-title, .sbds-list-item-center": { - color: i.color.mediumdark, - }, - }), - }), - l4 = w(({ active: e, activeColor: t, isLoading: n, ...r }) => - a.createElement("a", { ...r }), - )(Wl), - o4 = w.span(Wl), - s4 = e4((e) => - w(({ active: t, isLoading: n, activeColor: r, ...i }) => - a.createElement(e, { ...i }), - )(Wl), - ), - pt = ({ - appearance: e = "primary", - left: t, - title: n = a.createElement("span", null, "Loading"), - center: r, - right: i, - onClick: l, - LinkWrapper: o, - isLink: s = !0, - ...c - }) => { - let d = tn().color[e], - u = a.createElement( - i4, - { onClick: l, role: "presentation" }, - t && a.createElement(t4, { className: "sbds-list-item-left" }, t), - n && a.createElement(n4, { className: "sbds-list-item-title" }, n), - r && a.createElement(a4, { className: "sbds-list-item-center" }, r), - i && a.createElement(r4, { className: "sbds-list-item-right" }, i), - ); - if (o) { - let m = s4(o); - return a.createElement( - Qo, - null, - a.createElement(m, { activeColor: d, ...c }, u), - ); - } - return a.createElement( - Qo, - null, - a.createElement(s ? l4 : o4, { activeColor: d, ...c }, u), - ); - }; - function ma(e) { - function t(Z, P) { - return (Z >>> P) | (Z << (32 - P)); - } - for ( - var n, - r, - i = Math.pow, - l = i(2, 32), - o = "", - s = [], - c = 8 * e.length, - d = (ma.h = ma.h || []), - u = (ma.k = ma.k || []), - m = u.length, - p = {}, - f = 2; - m < 64; - f++ - ) - if (!p[f]) { - for (n = 0; n < 313; n += f) p[n] = f; - (d[m] = (i(f, 0.5) * l) | 0), (u[m++] = (i(f, 1 / 3) * l) | 0); - } - for (e += "\x80"; (e.length % 64) - 56; ) e += "\0"; - for (n = 0; n < e.length; n++) { - if ((r = e.charCodeAt(n)) >> 8) return; - s[n >> 2] |= r << (((3 - n) % 4) * 8); - } - for (s[s.length] = (c / l) | 0, s[s.length] = c, r = 0; r < s.length; ) { - var g = s.slice(r, (r += 16)), - y = d; - for (d = d.slice(0, 8), n = 0; n < 64; n++) { - var k = g[n - 15], - b = g[n - 2], - h = d[0], - v = d[4], - E = - d[7] + - (t(v, 6) ^ t(v, 11) ^ t(v, 25)) + - ((v & d[5]) ^ (~v & d[6])) + - u[n] + - (g[n] = - n < 16 - ? g[n] - : (g[n - 16] + - (t(k, 7) ^ t(k, 18) ^ (k >>> 3)) + - g[n - 7] + - (t(b, 17) ^ t(b, 19) ^ (b >>> 10))) | - 0); - (d = [ - (E + - ((t(h, 2) ^ t(h, 13) ^ t(h, 22)) + - ((h & d[1]) ^ (h & d[2]) ^ (d[1] & d[2])))) | - 0, - ].concat(d))[4] = (d[4] + E) | 0; - } - for (n = 0; n < 8; n++) d[n] = (d[n] + y[n]) | 0; - } - for (n = 0; n < 8; n++) - for (r = 3; r + 1; r--) { - var C = (d[n] >> (8 * r)) & 255; - o += (C < 16 ? 0 : "") + C.toString(16); - } - return o; - } - var c4 = (e) => - new Uint8Array(e).reduce((t, n) => t + String.fromCharCode(n), ""), - d4 = (e) => window.btoa(Array.isArray(e) ? c4(e) : e), - Ko = (e) => - d4(e).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, ""), - u4 = (e) => Array.from(e.match(/.{1,2}/g) ?? [], (t) => parseInt(t, 16)), - m4 = () => - Math.random().toString(36).slice(2, 10) + - Math.random().toString(36).slice(2, 10) + - Math.random().toString(36).slice(2, 10) + - Math.random().toString(36).slice(2, 10), - r0 = (e) => - Object.entries(e) - .map(([t, n]) => `${encodeURIComponent(t)}=${encodeURIComponent(n)}`) - .join("&"), - p4 = ({ error: e }) => e === "authorization_pending", - h4 = ({ error_description: e }) => e === "Not OAuth beta user", - f4 = async (e) => { - let t = Ko(m4()), - n = Ko(u4(ma(t))), - r = await fetch(`${$r}/authorize`, { - method: "POST", - headers: { - "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8", - }, - body: r0({ - client_id: "chromaui:addon-visual-tests", - code_challenge: n, - }), - }), - { - device_code: i, - user_code: l, - verification_uri_complete: o, - expires_in: s, - interval: c, - } = await r.json(), - d = e ? o.replace("https://www", `https://${e}`) : o; - return { - expires: Date.now() + s * 1e3, - interval: c * 1e3, - user_code: l, - device_code: i, - verifier: t, - verificationUrl: d, - }; - }, - g4 = async ({ expires: e, device_code: t, verifier: n }) => { - if (Date.now() >= e) - throw new Error("Token exchange expired, please restart sign in."); - try { - let r = await ( - await fetch(`${$r}/token`, { - method: "POST", - headers: { - "Content-Type": - "application/x-www-form-urlencoded;charset=UTF-8", - }, - body: r0({ - client_id: "chromaui:addon-visual-tests", - grant_type: "urn:ietf:params:oauth:grant-type:device_code", - device_code: t, - code_verifier: n, - scope: "user:read account:read project:read project:write", - }), - }) - ).json(); - if (p4(r)) - throw new Error( - "You have not authorized the Visual Tests addon for Chromatic, please try again", - ); - if (r.access_token) return r.access_token; - if (h4(r)) - return ( - alert("You must be a beta user to use this addon at this time."), - null - ); - throw new Error(); - } catch (r) { - throw (console.warn(r), r); - } - }; - function i0() { - let e = kn(), - { addNotification: t, setOptions: n, togglePanel: r } = e, - i = G( - ({ onDismiss: l }) => { - l(), n({ selectedPanel: fn }), r(!0); - }, - [n, r], - ); - return G( - (l, o) => { - t({ - id: `${H}/error/${Date.now()}`, - content: { headline: l, subHeadline: o.toString() }, - icon: a.createElement(Ot, { color: mt.negative }), - onClick: i, - }); - }, - [t, i], - ); - } - function ot(e, t) { - let n = G(() => { - try { - let s = sessionStorage.getItem(`${H}/state/${e}`); - if (s != null) return JSON.parse(s); - } catch {} - return typeof t == "function" ? t() : t; - }, [e, t]), - [r, i] = Pe(n), - l = wt( - () => - rl( - e, - (s) => { - let c = new Set( - sessionStorage.getItem(`${H}/state`)?.split(";"), - ); - s == null - ? (sessionStorage.removeItem(`${H}/state/${e}`), c.delete(e)) - : (sessionStorage.setItem( - `${H}/state/${e}`, - JSON.stringify(s), - ), - c.add(e)), - sessionStorage.setItem(`${H}/state`, Array.from(c).join(";")), - window.dispatchEvent( - new StorageEvent("session-storage", { key: e }), - ); - }, - 1e3, - ), - [e], - ); - ne(() => l.cancel, [l]); - let o = G( - (s) => { - let c = s; - (!c.key || c.key === e) && i(n()); - }, - [e, n], - ); - return ( - ne( - () => ( - window.addEventListener("storage", o), - window.addEventListener("session-storage", o), - () => { - window.removeEventListener("storage", o), - window.removeEventListener("session-storage", o); - } - ), - [o], - ), - [ - r, - G( - (s) => - i((c) => { - let d = typeof s == "function" ? s(c) : s; - return l(d), d; - }), - [l], - ), - ] - ); - } - function v4(...e) { - let t = sessionStorage.getItem(`${H}/state`)?.split(";") || []; - e.length - ? (e.forEach((n) => sessionStorage.removeItem(`${H}/state/${n}`)), - sessionStorage.setItem( - `${H}/state`, - t.filter((n) => !e.includes(n)).join(";"), - )) - : (t.forEach((n) => sessionStorage.removeItem(`${H}/state/${n}`)), - sessionStorage.removeItem(`${H}/state`)); - } - var l0 = Xe(void 0), - y4 = ({ children: e, addonUninstalled: t, setAddonUninstalled: n }) => { - let r = kn().getChannel(); - if (!r) throw new Error("Channel not available"); - let i = () => { - r.emit(Cs), n(!0); - }; - return a.createElement( - l0.Provider, - { value: { addonUninstalled: t, uninstallAddon: i } }, - e, - ); - }, - Gl = () => Rt(l0, "Uninstall Addon"), - Se = w.div({ - display: "flex", - flexDirection: "column", - flexGrow: 1, - alignItems: "center", - justifyContent: "center", - padding: 10, - }), - ve = w.h1(({ theme: e }) => ({ - marginTop: 0, - marginBottom: 4, - fontSize: "1em", - fontWeight: "bold", - color: e.base === "light" ? e.color.defaultText : e.color.lightest, - })), - o0 = (e) => - a.createElement( - "svg", - { - width: "58", - height: "53", - viewBox: "0 0 58 53", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ...e, - }, - a.createElement( - "g", - { filter: "url(#filter0_dd_304_317890)" }, - a.createElement("rect", { - x: "6", - y: "2", - width: "40", - height: "40", - rx: "8", - fill: "#FF4785", - shapeRendering: "crispEdges", - }), - a.createElement("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M17.5005 11.0555C16.8471 11.0963 16.3455 11.6508 16.37 12.3051L17.1135 32.1151C17.137 32.7426 17.6379 33.2471 18.2651 33.2753L34.3716 33.9987C34.3896 33.9995 34.4077 33.9999 34.4257 33.9999C35.0921 33.9999 35.6324 33.4597 35.6324 32.7932V11.2067C35.6324 11.1816 35.6316 11.1565 35.63 11.1314C35.5885 10.4663 35.0156 9.96082 34.3505 10.0024L33.0259 10.0853L33.1227 12.8548C33.1261 12.9541 33.0484 13.0375 32.949 13.041C32.9065 13.0424 32.8648 13.0288 32.8314 13.0025L31.939 12.2995L30.8825 13.1009C30.8033 13.161 30.6904 13.1455 30.6303 13.0663C30.605 13.033 30.5921 12.9919 30.5939 12.9501L30.707 10.2302L17.5005 11.0555ZM31.221 19.1936C30.7965 19.5234 27.6343 19.7484 27.6343 19.2789C27.7011 17.4876 26.8991 17.409 26.4536 17.409C26.0303 17.409 25.3174 17.537 25.3174 18.4966C25.3174 19.4746 26.3592 20.0267 27.582 20.6747C29.3191 21.5952 31.4215 22.7093 31.4215 25.5128C31.4215 28.1998 29.2383 29.6842 26.4536 29.6842C23.5797 29.6842 21.0683 28.5215 21.352 24.4904C21.4633 24.0171 25.1169 24.1296 25.1169 24.4904C25.0723 26.1538 25.4511 26.6431 26.409 26.6431C27.1442 26.6431 27.4783 26.2379 27.4783 25.5554C27.4783 24.5227 26.3929 23.9133 25.1442 23.2122C23.4534 22.2629 21.4633 21.1456 21.4633 18.5819C21.4633 16.0229 23.2233 14.3168 26.3645 14.3168C29.5056 14.3168 31.221 15.9967 31.221 19.1936Z", - fill: "white", - }), - ), - a.createElement("circle", { - cx: "46", - cy: "22", - r: "2.5", - fill: "white", - stroke: "#FF4785", - }), - a.createElement("path", { - d: "M57.8536 22.3536C58.0488 22.1583 58.0488 21.8417 57.8536 21.6464L54.6716 18.4645C54.4763 18.2692 54.1597 18.2692 53.9645 18.4645C53.7692 18.6597 53.7692 18.9763 53.9645 19.1716L56.7929 22L53.9645 24.8284C53.7692 25.0237 53.7692 25.3403 53.9645 25.5355C54.1597 25.7308 54.4763 25.7308 54.6716 25.5355L57.8536 22.3536ZM48.5 22.5H57.5V21.5H48.5V22.5Z", - fill: "#FF4785", - }), - a.createElement( - "defs", - null, - a.createElement( - "filter", - { - id: "filter0_dd_304_317890", - x: "0", - y: "0", - width: "52", - height: "53", - filterUnits: "userSpaceOnUse", - colorInterpolationFilters: "sRGB", - }, - a.createElement("feFlood", { - floodOpacity: "0", - result: "BackgroundImageFix", - }), - a.createElement("feColorMatrix", { - in: "SourceAlpha", - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", - result: "hardAlpha", - }), - a.createElement("feOffset", { dy: "5" }), - a.createElement("feGaussianBlur", { stdDeviation: "3" }), - a.createElement("feColorMatrix", { - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0", - }), - a.createElement("feBlend", { - mode: "normal", - in2: "BackgroundImageFix", - result: "effect1_dropShadow_304_317890", - }), - a.createElement("feColorMatrix", { - in: "SourceAlpha", - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", - result: "hardAlpha", - }), - a.createElement("feOffset", { dy: "1" }), - a.createElement("feGaussianBlur", { stdDeviation: "1.5" }), - a.createElement("feComposite", { - in2: "hardAlpha", - operator: "out", - }), - a.createElement("feColorMatrix", { - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0", - }), - a.createElement("feBlend", { - mode: "normal", - in2: "effect1_dropShadow_304_317890", - result: "effect2_dropShadow_304_317890", - }), - a.createElement("feBlend", { - mode: "normal", - in: "SourceGraphic", - in2: "effect2_dropShadow_304_317890", - result: "shape", - }), - ), - ), - ), - gn = (e) => - a.createElement( - "svg", - { - width: "52", - height: "53", - viewBox: "0 0 52 53", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ...e, - }, - a.createElement( - "g", - { filter: "url(#filter0_dd_304_317945)" }, - a.createElement( - "g", - { clipPath: "url(#clip0_304_317945)" }, - a.createElement("rect", { - x: "6", - y: "2", - width: "40", - height: "40", - rx: "8", - fill: "#288041", - }), - a.createElement( - "g", - { clipPath: "url(#clip1_304_317945)" }, - a.createElement("rect", { - x: "14.75", - y: "10.75", - width: "22.5", - height: "22.5", - rx: "2", - fill: "#215D31", - }), - a.createElement("rect", { - x: "20.6104", - y: "20.1591", - width: "20.1485", - height: "20.1485", - transform: "rotate(45 20.6104 20.1591)", - fill: "#93D4A5", - }), - a.createElement("rect", { - x: "30.9502", - y: "16.59", - width: "20.1485", - height: "20.1485", - transform: "rotate(45 30.9502 16.59)", - fill: "#93D4A5", - }), - a.createElement("circle", { - cx: "20.435", - cy: "16.2246", - r: "2.45455", - fill: "#93D4A5", - }), - ), - a.createElement("rect", { - x: "7.05469", - y: "3", - width: "53.75", - height: "32.25", - transform: "rotate(45 7.05469 3)", - fill: "#67B47C", - }), - a.createElement( - "g", - { clipPath: "url(#clip2_304_317945)" }, - a.createElement( - "g", - { clipPath: "url(#clip3_304_317945)" }, - a.createElement("rect", { - x: "14.75", - y: "10.75", - width: "22.5", - height: "22.5", - rx: "2", - fill: "#2B733F", - }), - a.createElement("rect", { - x: "21.3604", - y: "21.6592", - width: "20.1485", - height: "20.1485", - transform: "rotate(45 21.3604 21.6592)", - fill: "#A9E0B8", - }), - a.createElement("rect", { - x: "32.2012", - y: "18.5908", - width: "20.1485", - height: "20.1485", - transform: "rotate(45 32.2012 18.5908)", - fill: "#A9E0B8", - }), - a.createElement("circle", { - cx: "21.685", - cy: "17.9746", - r: "2.45455", - fill: "#A9E0B8", - }), - ), - ), - ), - ), - a.createElement( - "defs", - null, - a.createElement( - "filter", - { - id: "filter0_dd_304_317945", - x: "0", - y: "0", - width: "52", - height: "53", - filterUnits: "userSpaceOnUse", - colorInterpolationFilters: "sRGB", - }, - a.createElement("feFlood", { - floodOpacity: "0", - result: "BackgroundImageFix", - }), - a.createElement("feColorMatrix", { - in: "SourceAlpha", - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", - result: "hardAlpha", - }), - a.createElement("feOffset", { dy: "5" }), - a.createElement("feGaussianBlur", { stdDeviation: "3" }), - a.createElement("feComposite", { - in2: "hardAlpha", - operator: "out", - }), - a.createElement("feColorMatrix", { - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0", - }), - a.createElement("feBlend", { - mode: "normal", - in2: "BackgroundImageFix", - result: "effect1_dropShadow_304_317945", - }), - a.createElement("feColorMatrix", { - in: "SourceAlpha", - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", - result: "hardAlpha", - }), - a.createElement("feOffset", { dy: "1" }), - a.createElement("feGaussianBlur", { stdDeviation: "1.5" }), - a.createElement("feComposite", { - in2: "hardAlpha", - operator: "out", - }), - a.createElement("feColorMatrix", { - type: "matrix", - values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0", - }), - a.createElement("feBlend", { - mode: "normal", - in2: "effect1_dropShadow_304_317945", - result: "effect2_dropShadow_304_317945", - }), - a.createElement("feBlend", { - mode: "normal", - in: "SourceGraphic", - in2: "effect2_dropShadow_304_317945", - result: "shape", - }), - ), - a.createElement( - "clipPath", - { id: "clip0_304_317945" }, - a.createElement("rect", { - x: "6", - y: "2", - width: "40", - height: "40", - rx: "8", - fill: "white", - }), - ), - a.createElement( - "clipPath", - { id: "clip1_304_317945" }, - a.createElement("rect", { - x: "14.75", - y: "10.75", - width: "22.5", - height: "22.5", - rx: "2", - fill: "white", - }), - ), - a.createElement( - "clipPath", - { id: "clip2_304_317945" }, - a.createElement("rect", { - width: "60.7428", - height: "29.9046", - fill: "white", - transform: "translate(7.20801 3.17212) rotate(45)", - }), - ), - a.createElement( - "clipPath", - { id: "clip3_304_317945" }, - a.createElement("rect", { - x: "14.75", - y: "10.75", - width: "22.5", - height: "22.5", - rx: "2", - fill: "white", - }), - ), - ), - ), - b4 = ut(Ia()), - s0 = w.div({ display: "flex", flexDirection: "column" }), - ml = w.div(({ theme: e }) => ({ - padding: 15, - lineHeight: "18px", - borderBottom: `1px solid ${e.appBorderColor}`, - p: { margin: "10px 0", "&:last-of-type": { marginBottom: 0 } }, - dl: { - display: "grid", - gridTemplateColumns: "auto 1fr", - gap: 10, - margin: "10px 0 0 0", - }, - dt: { color: e.color.mediumdark, fontWeight: 700 }, - dd: { marginLeft: 0 }, - "button + button": { marginLeft: 10 }, - })), - Mr = w.div({ display: "flex", fontWeight: "bold", marginBottom: 15 }), - Jo = w(z5)(({ theme: e }) => ({ - width: 12, - height: 12, - margin: "3px 6px", - verticalAlign: "top", - color: e.color.mediumdark, - })), - Qr = { - width: 14, - height: 14, - margin: "2px 6px 2px 0", - verticalAlign: "top", - }, - E4 = w(eu)(Qr), - k4 = w(I5)(Qr), - w4 = w(fs)(Qr), - C4 = w(B5)(Qr), - ql = w(Ml)({ marginLeft: "auto" }), - Yl = w(ct)({ margin: -5, marginLeft: "auto" }), - pe = w(vi)( - { - "&&": { - display: "inline-flex", - borderRadius: 4, - fontSize: 13, - lineHeight: "14px", - padding: "9px 12px", - alignItems: "center", - "@container (min-width: 800px)": { padding: "8px 10px" }, - }, - }, - ({ link: e, theme: t }) => - e && - ge({ - "&&": { - background: "none", - boxShadow: "none", - padding: 2, - fontWeight: "normal", - color: t.base === "light" ? t.color.dark : "#C9CDCF", - opacity: 0.8, - transition: "opacity 150ms ease-out", - "&:hover, &:focus": { opacity: 1 }, - "&:focus:not(:active)": { - outline: `1px solid ${t.color.secondary}`, - }, - }, - }), - ({ tertiary: e }) => e && ge({ "&&:hover": { boxShadow: "none" } }), - ({ belowText: e }) => e && { marginTop: 7 }, - ), - ze = w(bo)(({ theme: e }) => ({ - color: e.base === "light" ? e.color.darker : e.color.lighter, - border: `1px solid ${e.appBorderColor}`, - fontSize: "12px", - padding: "2px 3px", - })), - S4 = { - autoAcceptChanges: { - description: - "Automatically accept visual changes - usually for a specific branch name.", - type: "true or branch name", - }, - buildScriptName: { - description: "The package.json script that builds your Storybook.", - type: "string", - }, - cypress: { - description: - "Run build against `@chromatic-com/cypress` test archives.", - type: "boolean", - }, - debug: { - description: "Output verbose logs and debug information.", - type: "boolean", - }, - diagnosticsFile: { - description: "Write process information to a JSON file.", - type: "string or boolean", - }, - exitOnceUploaded: { - description: - "Exit the process as soon as your Storybook is published.", - type: "string or boolean", - }, - exitZeroOnChanges: { - description: - "Exit the process succesfully even when visual changes are found.", - type: "string or boolean", - }, - externals: { - description: - "Disable TurboSnap when any of these files have changed since the baseline build.", - type: "string: ['public/**']", - }, - fileHashing: { - description: - "Apply file hashing to skip uploading unchanged files - default: true", - type: "boolean", - }, - ignoreLastBuildOnBranch: { - description: - "Do not use the last build on this branch as a baseline if it is no longer in history (i.e. branch was rebased).", - type: "string", - }, - junitReport: { - description: "Write build results to a JUnit XML file.", - type: "string or boolean", - }, - logFile: { - description: "Write Chromatic CLI logs to a file.", - type: "string or boolean", - }, - onlyChanged: { - description: - "Enables TurboSnap to only run stories affected by files changed since the baseline build.", - type: "true or string (branch name)", - glob: !0, - }, - onlyStoryFiles: { - description: - "Only run a single story or a subset of stories by their filename(s).", - type: "string[]", - }, - onlyStoryNames: { - description: - "Only run a single story or a subset of stories by their name(s).", - type: "string[]", - }, - outputDir: { - description: - "Relative path to target directory for building your Storybook, in case you want to preserve it.", - type: "string", - }, - playwright: { - description: - "Run build against `@chromatic-com/playwright` test archives.", - type: "boolean", - }, - projectId: { - description: "Unique identifier for your project. ", - type: "string", - }, - projectToken: { - description: - "Secret token for your project. Preferably configured through CHROMATIC_PROJECT_TOKEN.", - type: "string", - }, - skip: { - description: - "Skip Chromatic tests, but mark the commit as passing. Avoids blocking PRs due to required merge checks.", - type: "string or boolean", - }, - storybookBaseDir: { - description: - "Relative path from repository root to Storybook project root.", - type: "string", - }, - storybookBuildDir: { - description: "Path to the directory of an already built Storybook.", - type: "string", - }, - storybookConfigDir: { - description: - "Relative path from where you run Chromatic to your Storybook config directory.", - type: "string", - }, - storybookLogFile: { - description: "Write Storybook build logs to a file.", - type: "string or boolean", - }, - untraced: { - description: - "Disregard these files and their dependencies when tracing dependent stories for TurboSnap.", - type: "string[]", - }, - uploadMetadata: { - description: - "Upload Chromatic metadata files as part of the published Storybook.", - type: "boolean", - }, - zip: { - description: - "Publish your Storybook to Chromatic as a single zip file instead of individual content files.", - type: "boolean", - }, - }, - x4 = w(Yl)({ position: "absolute", right: 16, top: 10 }), - N4 = w.div(({ theme: e }) => ({ - backgroundColor: e.background.content, - display: "flex", - flexDirection: "column", - minHeight: "100%", - overflowY: "auto", - padding: 20, - position: "relative", - })), - M4 = w.div({ margin: "0 auto", maxWidth: 600, width: "100%" }), - Xo = w.div(({ theme: e }) => ({ - borderBottom: `1px solid ${e.appBorderColor}`, - marginBottom: 20, - paddingBottom: 20, - code: { fontSize: "90%" }, - })), - _4 = w(Mr)({ marginBottom: 10 }), - O4 = w.div({ display: "flex", flexDirection: "column", gap: 20 }), - e1 = w.div(({ theme: e }) => ({ - alignItems: "center", - borderRadius: e.appBorderRadius, - display: "flex", - flexWrap: "wrap", - "> div": { width: "100%" }, - })), - t1 = w.div(({ theme: e }) => ({ - display: "flex", - flexGrow: 1, - flexWrap: "wrap", - gap: "5px 10px", - })), - n1 = w.div(({ theme: e }) => ({ - fontWeight: e.typography.weight.bold, - div: { marginLeft: 5, position: "relative", top: 2 }, - })), - a1 = w.div({ marginTop: 10 }), - A4 = w.div(({ hideBorderRadius: e, theme: t }) => ({ - background: t.base === "dark" ? t.color.darkest : t.color.lighter, - border: `1px solid ${t.appBorderColor}`, - borderRadius: t.appBorderRadius, - borderBottomLeftRadius: e ? 0 : t.appBorderRadius, - borderBottomRightRadius: e ? 0 : t.appBorderRadius, - color: t.base === "dark" ? t.color.medium : t.color.dark, - fontFamily: t.typography.fonts.mono, - fontSize: 13, - lineHeight: "20px", - padding: "5px 10px", - wordWrap: "break-word", - })), - T4 = w.div(({ theme: e }) => ({ color: e.color.warningText })), - r1 = w.div(({ theme: e }) => ({ - color: e.base === "dark" ? e.color.medium : e.color.dark, - marginTop: 2, - })), - i1 = w.div(({ warning: e, theme: t }) => ({ - alignItems: "center", - display: "flex", - backgroundColor: e - ? t.base === "dark" - ? "#342E1A" - : t.background.warning - : t.background.hoverable, - border: `1px solid ${t.appBorderColor}`, - borderRadius: 3, - borderTopLeftRadius: 0, - borderTopRightRadius: 0, - borderTop: 0, - fontSize: t.typography.size.s1, - gap: 5, - lineHeight: "20px", - padding: 5, - svg: { - color: e - ? t.base === "dark" - ? t.color.warning - : t.color.warningText - : t.color.secondary, - flexShrink: 0, - }, - code: { fontSize: "85%" }, - })), - F4 = w.div(({ theme: e }) => ({ - "&:nth-last-of-type(2)": { - borderBottom: `1px solid ${e.appBorderColor}`, - paddingBottom: 30, - }, - })), - c0 = { height: 12, margin: 2, verticalAlign: "top", width: 12 }, - L4 = w($5)(c0), - R4 = w(D5)(c0), - I4 = ({ onClose: e }) => { - let { uninstallAddon: t } = Gl(), - [n] = Ae(Wr), - { - configuration: r = {}, - problems: i = {}, - suggestions: l = {}, - } = n || {}, - { configFile: o, ...s } = r, - c = Object.keys({ ...s, ...i, ...l }) - .sort() - .map((d) => ({ - key: d, - value: d in s ? s[d] : void 0, - problem: i[d], - suggestion: l[d], - })); - return a.createElement( - N4, - null, - a.createElement( - x4, - { onClick: e, style: { marginRight: -8 } }, - a.createElement(ql, { "aria-label": "Close" }), - ), - a.createElement( - M4, - null, - a.createElement(_4, null, "Configuration"), - o - ? a.createElement( - Xo, - null, - "This is a read-only representation of the Chromatic configuration options found in", - " ", - a.createElement(ze, null, o), - ". Changes to the config file will be reflected here.", - " ", - a.createElement( - nn, - { - href: "https://www.chromatic.com/docs/configure/", - target: "_blank", - withArrow: !0, - }, - "Learn more", - ), - ) - : a.createElement( - Xo, - null, - "To configure this addon, create ", - a.createElement(ze, null, "chromatic.config.json"), - " in your project's root directory.", - " ", - a.createElement( - nn, - { - href: "https://www.chromatic.com/docs/cli#chromatic-config-file", - target: "_blank", - withArrow: !0, - }, - "Learn more", - ), - ), - c && - a.createElement( - O4, - null, - c.map(({ key: d, value: u, problem: m, suggestion: p }) => - a.createElement( - F4, - { key: d, id: `${d}-option` }, - a.createElement( - e1, - null, - a.createElement( - t1, - null, - a.createElement(n1, null, d, " "), - d in bu && - a.createElement( - T4, - null, - "*Disabled for local builds", - ), - ), - a.createElement(r1, null, S4[d]?.description), - a.createElement( - a1, - null, - a.createElement( - A4, - { hideBorderRadius: !!(m || p) }, - u === void 0 ? "undefined" : JSON.stringify(u), - ), - ), - ), - m !== void 0 && - a.createElement( - i1, - { warning: !0 }, - a.createElement(L4, null), - m === null - ? a.createElement( - "span", - null, - a.createElement("strong", null, "Warning: "), - "This should be removed.", - ) - : a.createElement( - "span", - null, - a.createElement("strong", null, "Warning: "), - "This should be: ", - a.createElement(ze, null, JSON.stringify(m)), - ), - ), - p !== void 0 && - a.createElement( - i1, - null, - a.createElement(R4, null), - a.createElement( - "span", - null, - a.createElement("strong", null, "Hint: "), - "Try setting as ", - a.createElement(ze, null, JSON.stringify(p)), - ), - ), - ), - ), - a.createElement( - "div", - null, - a.createElement( - e1, - null, - a.createElement( - t1, - null, - a.createElement(n1, null, "Uninstall addon"), - ), - a.createElement( - r1, - null, - "Removing the addon updates your Storybook configuration and uninstalls the dependency.", - ), - a.createElement( - a1, - null, - a.createElement(pe, { onClick: t }, "Uninstall"), - ), - ), - ), - ), - ), - ); - }, - d0 = { - configVisible: !1, - settingsVisible: !1, - warningsVisible: !1, - baselineImageVisible: !1, - focusVisible: !1, - diffVisible: !1, - }, - Cn = (e) => (t, n) => ({ ...t, [e]: typeof n == "boolean" ? n : !t[e] }), - Z4 = { - toggleDiff: Cn("diffVisible"), - toggleFocus: Cn("focusVisible"), - toggleConfig: Cn("configVisible"), - toggleSettings: Cn("settingsVisible"), - toggleWarnings: Cn("warningsVisible"), - toggleBaselineImage: Cn("baselineImageVisible"), - }, - B4 = (e, t) => Z4[t.type](e, t.payload), - u0 = Xe(d0), - m0 = Xe(() => {}), - Kr = () => Rt(u0, "Controls"), - Hn = () => { - let e = Rt(m0, "ControlsDispatch"); - return wt( - () => ({ - toggleDiff: (t) => e({ type: "toggleDiff", payload: t }), - toggleFocus: (t) => e({ type: "toggleFocus", payload: t }), - toggleConfig: (t) => e({ type: "toggleConfig", payload: t }), - toggleSettings: (t) => e({ type: "toggleSettings", payload: t }), - toggleWarnings: (t) => e({ type: "toggleWarnings", payload: t }), - toggleBaselineImage: (t) => - e({ type: "toggleBaselineImage", payload: t }), - }), - [e], - ); - }, - P4 = ({ children: e, initialState: t = d0 }) => { - let [n, r] = hi(B4, t); - return a.createElement( - u0.Provider, - { value: n }, - a.createElement(m0.Provider, { value: r }, e), - ); - }, - V4 = w.div({ "& > div": { minWidth: 120 } }), - wa = ({ children: e, links: t, note: n, ...r }) => { - let [i, l] = a.useState(!1), - o = a.createElement( - Le, - { - closeOnOutsideClick: !0, - closeOnTriggerHidden: !0, - onVisibleChange: (s) => l(s), - tooltip: ({ onHide: s }) => - a.createElement( - V4, - null, - a.createElement(ko, { - links: t.map((c) => ({ - ...c, - onClick: (...d) => (s(), c.onClick?.(...d)), - })), - }), - ), - trigger: "click", - ...r, - }, - typeof e == "function" - ? e(i) - : a.createElement(ct, { active: i }, e), - ); - return n - ? a.createElement( - Le, - { - tooltip: a.createElement(He, { note: n }), - trigger: "hover", - hasChrome: !1, - }, - o, - ) - : o; - }, - Jr = () => { - let { accessToken: e, setAccessToken: t } = e0(), - { toggleConfig: n } = Hn(), - [r] = Ae(ws), - { projectId: i } = r || {}, - l = [ - { - id: "learn", - title: "About this addon", - icon: a.createElement(ys, { "aria-hidden": !0 }), - href: "https://www.chromatic.com/docs/visual-testing-addon", - target: "_blank", - }, - { - id: "configuration", - title: "Configuration", - icon: a.createElement(P5, { "aria-hidden": !0 }), - onClick: () => n(), - }, - ...(i - ? [ - { - id: "visit", - title: "View project on Chromatic", - icon: a.createElement(bs, { "aria-hidden": !0 }), - href: i - ? `https://www.chromatic.com/builds?appId=${i?.split(":")[1]}` - : "https://www.chromatic.com/start", - target: "_blank", - }, - ] - : []), - ...(e - ? [ - { - id: "logout", - title: "Log out", - icon: a.createElement(tu, { "aria-hidden": !0 }), - onClick: () => t(null), - }, - ] - : []), - ]; - return a.createElement( - wa, - { placement: "top", links: l }, - a.createElement(V5, null), - ); - }; - w.div(({ hidden: e, theme: t }) => ({ - background: t.background.app, - containerType: "size", - display: e ? "none" : "flex", - flexDirection: "column", - height: "100%", - })); - var D4 = w.div( - { display: "flex", flexDirection: "column", flexGrow: 1 }, - ({ hidden: e }) => e && { display: "none" }, - ), - ga = w.div(({ grow: e }) => e && { flexGrow: e ? 1 : "auto" }), - pa = w.div( - { display: "flex", flexDirection: "row", margin: 15 }, - ({ header: e, theme: t }) => - e && { - margin: 0, - padding: 15, - borderBottom: `1px solid ${t.appBorderColor}`, - "@container (min-width: 800px)": { - height: 40, - alignItems: "center", - justifyContent: "space-between", - padding: "5px 15px", - }, - }, - ), - H4 = w(pa)({ alignItems: "center", height: 40, margin: "0 10px" }), - dt = w.div( - { display: "flex", flexDirection: "column", alignItems: "center" }, - ({ push: e }) => e && { marginLeft: "auto" }, - ), - l1 = w.div(({ theme: e }) => ({ - borderBottom: `1px solid ${e.appBorderColor}`, - display: "flex", - alignItems: "center", - minHeight: 40, - lineHeight: "20px", - padding: "5px 15px", - })), - j4 = w(ga)(({ theme: e }) => ({ - background: e.background.warning, - color: e.color.warningText, - })), - z4 = w(ga)(({ theme: e }) => ({ - background: e.background.hoverable, - color: e.color.defaultText, - })), - U4 = ({ - hidden: e, - ignoreConfig: t, - ignoreSuggestions: n, - onOpen: r, - }) => { - let [i] = Ae(Wr), - l = Object.keys(i?.problems || {}), - o = Object.keys(i?.suggestions || {}), - [s, c] = Pe(() => !!localStorage.getItem(Fo)), - d = G(() => { - c(!0), localStorage.setItem(Fo, "true"); - }, []), - u = a.createElement( - Ge, - { isButton: !0, onClick: () => r(l[0] || o[0]), withArrow: !0 }, - "Show details", - ); - return l.length > 0 && !t - ? a.createElement( - j4, - { hidden: e }, - a.createElement( - l1, - null, - a.createElement( - dt, - null, - a.createElement( - "span", - null, - "Visual tests locked due to configuration ", - (0, b4.default)("problem", l.length), - ".", - " ", - u, - ), - ), - ), - ) - : o.length > 0 && !s && !t && !n - ? a.createElement( - z4, - { hidden: e }, - a.createElement( - l1, - null, - a.createElement( - dt, - null, - a.createElement( - "span", - null, - "Configuration could be improved. ", - u, - ), - ), - a.createElement( - dt, - { push: !0 }, - a.createElement( - ct, - { onClick: d }, - a.createElement(Ml, null), - ), - ), - ), - ) - : null; - }, - $4 = w.div({ display: "flex", flexDirection: "column", height: "100%" }), - o1 = w.div(({ hidden: e, theme: t }) => ({ - background: t.background.app, - display: e ? "none" : "flex", - flexDirection: "column", - flexGrow: 1, - height: "100%", - overflowY: "auto", - })), - Xr = w.div(({ theme: e }) => ({ - background: e.background.bar, - borderTop: `1px solid ${e.appBorderColor}`, - display: "flex", - flexDirection: "row", - alignItems: "center", - height: 39, - flexShrink: 0, - padding: "0 10px", - })), - _e = ({ - children: e, - footer: t = a.createElement( - Xr, - null, - a.createElement(dt, { push: !0 }), - a.createElement(dt, null, a.createElement(Jr, null)), - ), - ignoreConfig: n = !1, - ignoreSuggestions: r = !t, - }) => { - let { configVisible: i } = Kr(), - { toggleConfig: l } = Hn(), - o = G( - (s) => { - l(!0), - s && - setTimeout(() => { - document.getElementById(`${s}-option`)?.scrollIntoView({ - behavior: "smooth", - inline: "nearest", - }); - }, 200); - }, - [l], - ); - return a.createElement( - $4, - null, - a.createElement(U4, { - onOpen: o, - hidden: i, - ignoreConfig: n, - ignoreSuggestions: r, - }), - a.createElement(o1, { hidden: i }, e), - a.createElement( - o1, - { hidden: !i }, - a.createElement(I4, { onClose: () => l(!1) }), - ), - t, - ); - }, - W4 = w.div(({ theme: e }) => ({ - position: "relative", - "&& input": { - color: e.input.color || "inherit", - background: e.input.background, - boxShadow: `${e.input.border} 0 0 0 1px inset`, - fontSize: e.typography.size.s2, - lineHeight: "20px", - }, - })), - G4 = w.div(({ theme: e }) => ({ - pointerEvents: "none", - position: "absolute", - top: 0, - left: 40, - right: 0, - zIndex: 2, - overflow: "hidden", - height: 40, - display: "flex", - alignItems: "center", - lineHeight: "20px", - color: e.input.color || "inherit", - fontSize: e.typography.size.s2, - span: { opacity: 0 }, - })), - q4 = ({ value: e, placeholder: t, suffix: n }) => - a.createElement( - G4, - null, - a.createElement("span", null, e || t), - a.createElement("b", null, n), - ), - Y4 = ({ id: e, value: t, placeholder: n, suffix: r, ...i }) => - a.createElement( - W4, - null, - a.createElement(a0, { - id: e, - hideLabel: !0, - label: "", - value: t, - placeholder: n, - crossOrigin: void 0, - enterKeyHint: void 0, - ...i, - }), - a.createElement(q4, { value: t, placeholder: n, suffix: r }), - ), - s1 = w(ct)(({ theme: e }) => ({ - color: e.base === "light" ? "currentColor" : e.color.medium, - fontSize: e.typography.size.s2, - fontWeight: e.typography.weight.bold, - })), - ei = ({ onBack: e }) => - a.createElement( - H4, - null, - e && - a.createElement( - dt, - null, - a.createElement( - s1, - { onClick: e }, - a.createElement(G5, null), - "Back", - ), - ), - a.createElement( - dt, - { push: !0 }, - a.createElement( - Le, - { - as: "div", - hasChrome: !1, - trigger: "hover", - tooltip: a.createElement(He, { - note: "Learn about visual tests", - }), - }, - a.createElement( - s1, - { - as: "a", - href: "https://www.chromatic.com/features/visual-test", - target: "_blank", - }, - a.createElement(ys, null), - ), - ), - ), - ), - Q4 = w.form({ - position: "relative", - display: "flex", - flexDirection: "column", - width: "100%", - maxWidth: 300, - margin: 10, - }), - K4 = w(vi)({ - "&&": { - fontSize: 13, - borderTopLeftRadius: 0, - borderTopRightRadius: 0, - borderBottomLeftRadius: 4, - borderBottomRightRadius: 4, - }, - }), - J4 = ({ onBack: e, onSignIn: t }) => { - let [n, r] = Pe(""), - [i, l] = Pe(null), - o = G((c) => { - let d = c.target.value.replace(/[^a-z0-9-]/g, ""); - r(d), l(null); - }, []), - s = G( - (c) => { - c.preventDefault(), n ? t(n) : l("Please enter a subdomain"); - }, - [n, t], - ); - return a.createElement( - _e, - { footer: null, ignoreConfig: !0 }, - a.createElement(ei, { onBack: e }), - a.createElement( - Se, - null, - a.createElement( - "div", - null, - a.createElement(o0, null), - a.createElement(gn, null), - ), - a.createElement(ve, null, "Sign in with SSO"), - a.createElement( - Y, - { muted: !0 }, - "Enter your team's Chromatic URL.", - ), - a.createElement( - Q4, - { onSubmit: s }, - a.createElement(Y4, { - autoFocus: !0, - icon: "users", - value: n, - placeholder: "yourteam", - suffix: ".chromatic.com", - onChange: o, - id: "subdomain-input", - stackLevel: "top", - error: i, - errorTooltipPlacement: "top", - }), - a.createElement( - K4, - { type: "submit", variant: "solid", size: "medium" }, - "Continue", - ), - ), - ), - ); - }, - Ft = w.div(() => ({ - display: "flex", - flexDirection: "column", - gap: 5, - alignItems: "center", - textAlign: "center", - })), - me = w.div((e) => ({ - display: "flex", - flexDirection: "column", - gap: 15, - alignItems: e.alignItems ?? "center", - textAlign: e.textAlign ?? "center", - })), - X4 = ({ onBack: e, onSignIn: t, onSignInWithSSO: n }) => - a.createElement( - _e, - { footer: null, ignoreConfig: !0 }, - a.createElement(ei, { onBack: e }), - a.createElement( - Se, - null, - a.createElement( - me, - { alignItems: "center", textAlign: "center" }, - a.createElement( - "div", - null, - a.createElement(o0, null), - a.createElement(gn, null), - a.createElement(ve, null, "Sign in to begin visual testing"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Pinpoint bugs instantly by connecting with cloud browsers that run visual tests in parallel.", - ), - ), - a.createElement( - Ft, - null, - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: () => t() }, - "Sign in with Chromatic", - ), - a.createElement( - pe, - { link: !0, onClick: () => n() }, - "Sign in with SSO", - ), - ), - ), - ), - ); - function An(e, t) { - return t; - } - var ep = { - "\n query VisualTestsProjectCountQuery {\n viewer {\n projectCount\n accounts {\n newProjectUrl\n }\n }\n }\n": - km, - "\n query SelectProjectsQuery {\n viewer {\n accounts {\n id\n name\n avatarUrl\n newProjectUrl\n projects {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n }\n }\n": - wm, - "\n query ProjectQuery($projectId: ID!) {\n project(id: $projectId) {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n": - Cm, - "\n mutation UpdateUserPreferences($input: UserPreferencesInput!) {\n updateUserPreferences(input: $input) {\n updatedPreferences {\n vtaOnboarding\n }\n }\n }\n": - Sm, - "\n query AddonVisualTestsBuild(\n $projectId: ID!\n $branch: String!\n $gitUserEmailHash: String!\n $repositoryOwnerName: String\n $storyId: String!\n $testStatuses: [TestStatus!]!\n $selectedBuildId: ID!\n $hasSelectedBuildId: Boolean!\n ) {\n project(id: $projectId) {\n name\n manageUrl\n account {\n billingUrl\n suspensionReason\n }\n features {\n uiTests\n }\n lastBuildOnBranch: lastBuild(\n branches: [$branch]\n repositoryOwnerName: $repositoryOwnerName\n localBuilds: { localBuildEmailHash: $gitUserEmailHash }\n ) {\n ...LastBuildOnBranchBuildFields\n ...SelectedBuildFields @skip(if: $hasSelectedBuildId)\n }\n lastBuild {\n id\n slug\n branch\n }\n }\n selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) {\n ...SelectedBuildFields\n }\n viewer {\n preferences {\n vtaOnboarding\n }\n projectMembership(projectId: $projectId) {\n userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER)\n }\n }\n }\n": - xm, - "\n fragment LastBuildOnBranchBuildFields on Build {\n __typename\n id\n status\n committedAt\n ... on StartedBuild {\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n ... on CompletedBuild {\n result\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n }\n": - ym, - "\n fragment SelectedBuildFields on Build {\n __typename\n id\n number\n branch\n commit\n committedAt\n uncommittedHash\n status\n ... on StartedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n ... on CompletedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n }\n": - Em, - "\n fragment StatusTestFields on Test {\n id\n status\n result\n story {\n storyId\n }\n }\n": - gm, - "\n fragment LastBuildOnBranchTestFields on Test {\n status\n result\n }\n": - vm, - "\n fragment StoryTestFields on Test {\n id\n status\n result\n webUrl\n comparisons {\n id\n result\n browser {\n id\n key\n name\n version\n }\n captureDiff {\n diffImage(signed: true) {\n imageUrl\n imageWidth\n }\n focusImage(signed: true) {\n imageUrl\n imageWidth\n }\n }\n headCapture {\n captureImage(signed: true) {\n backgroundColor\n imageUrl\n imageWidth\n imageHeight\n thumbnailUrl\n }\n captureError {\n kind\n ... on CaptureErrorInteractionFailure {\n error\n }\n ... on CaptureErrorJSError {\n error\n }\n ... on CaptureErrorFailedJS {\n error\n }\n }\n }\n baseCapture {\n captureImage(signed: true) {\n imageUrl\n imageWidth\n imageHeight\n }\n }\n }\n mode {\n name\n globals\n }\n story {\n storyId\n name\n component {\n name\n }\n }\n }\n": - bm, - "\n mutation ReviewTest($input: ReviewTestInput!) {\n reviewTest(input: $input) {\n updatedTests {\n id\n status\n }\n userErrors {\n ... on UserError {\n __typename\n message\n }\n ... on BuildSupersededError {\n build {\n id\n }\n }\n ... on TestUnreviewableError {\n test {\n id\n }\n }\n }\n }\n }\n": - Nm, - }; - function yt(e) { - return ep[e] ?? {}; - } - var ue; - (function (e) { - e.assertEqual = (i) => i; - function t(i) {} - e.assertIs = t; - function n(i) { - throw new Error(); - } - (e.assertNever = n), - (e.arrayToEnum = (i) => { - let l = {}; - for (let o of i) l[o] = o; - return l; - }), - (e.getValidEnumValues = (i) => { - let l = e.objectKeys(i).filter((s) => typeof i[i[s]] != "number"), - o = {}; - for (let s of l) o[s] = i[s]; - return e.objectValues(o); - }), - (e.objectValues = (i) => - e.objectKeys(i).map(function (l) { - return i[l]; - })), - (e.objectKeys = - typeof Object.keys == "function" - ? (i) => Object.keys(i) - : (i) => { - let l = []; - for (let o in i) - Object.prototype.hasOwnProperty.call(i, o) && l.push(o); - return l; - }), - (e.find = (i, l) => { - for (let o of i) if (l(o)) return o; - }), - (e.isInteger = - typeof Number.isInteger == "function" - ? (i) => Number.isInteger(i) - : (i) => - typeof i == "number" && isFinite(i) && Math.floor(i) === i); - function r(i, l = " | ") { - return i.map((o) => (typeof o == "string" ? `'${o}'` : o)).join(l); - } - (e.joinValues = r), - (e.jsonStringifyReplacer = (i, l) => - typeof l == "bigint" ? l.toString() : l); - })(ue || (ue = {})); - var pl; - (function (e) { - e.mergeShapes = (t, n) => ({ ...t, ...n }); - })(pl || (pl = {})); - var T = ue.arrayToEnum([ - "string", - "nan", - "number", - "integer", - "float", - "boolean", - "date", - "bigint", - "symbol", - "function", - "undefined", - "null", - "array", - "object", - "unknown", - "promise", - "void", - "never", - "map", - "set", - ]), - $t = (e) => { - switch (typeof e) { - case "undefined": - return T.undefined; - case "string": - return T.string; - case "number": - return isNaN(e) ? T.nan : T.number; - case "boolean": - return T.boolean; - case "function": - return T.function; - case "bigint": - return T.bigint; - case "symbol": - return T.symbol; - case "object": - return Array.isArray(e) - ? T.array - : e === null - ? T.null - : e.then && - typeof e.then == "function" && - e.catch && - typeof e.catch == "function" - ? T.promise - : typeof Map < "u" && e instanceof Map - ? T.map - : typeof Set < "u" && e instanceof Set - ? T.set - : typeof Date < "u" && e instanceof Date - ? T.date - : T.object; - default: - return T.unknown; - } - }, - O = ue.arrayToEnum([ - "invalid_type", - "invalid_literal", - "custom", - "invalid_union", - "invalid_union_discriminator", - "invalid_enum_value", - "unrecognized_keys", - "invalid_arguments", - "invalid_return_type", - "invalid_date", - "invalid_string", - "too_small", - "too_big", - "invalid_intersection_types", - "not_multiple_of", - "not_finite", - ]), - tp = (e) => JSON.stringify(e, null, 2).replace(/"([^"]+)":/g, "$1:"), - ft = class extends Error { - constructor(e) { - super(), - (this.issues = []), - (this.addIssue = (n) => { - this.issues = [...this.issues, n]; - }), - (this.addIssues = (n = []) => { - this.issues = [...this.issues, ...n]; - }); - let t = new.target.prototype; - Object.setPrototypeOf - ? Object.setPrototypeOf(this, t) - : (this.__proto__ = t), - (this.name = "ZodError"), - (this.issues = e); - } - get errors() { - return this.issues; - } - format(e) { - let t = - e || - function (i) { - return i.message; - }, - n = { _errors: [] }, - r = (i) => { - for (let l of i.issues) - if (l.code === "invalid_union") l.unionErrors.map(r); - else if (l.code === "invalid_return_type") r(l.returnTypeError); - else if (l.code === "invalid_arguments") r(l.argumentsError); - else if (l.path.length === 0) n._errors.push(t(l)); - else { - let o = n, - s = 0; - for (; s < l.path.length; ) { - let c = l.path[s]; - s === l.path.length - 1 - ? ((o[c] = o[c] || { _errors: [] }), - o[c]._errors.push(t(l))) - : (o[c] = o[c] || { _errors: [] }), - (o = o[c]), - s++; - } - } - }; - return r(this), n; - } - toString() { - return this.message; - } - get message() { - return JSON.stringify(this.issues, ue.jsonStringifyReplacer, 2); - } - get isEmpty() { - return this.issues.length === 0; - } - flatten(e = (t) => t.message) { - let t = {}, - n = []; - for (let r of this.issues) - r.path.length > 0 - ? ((t[r.path[0]] = t[r.path[0]] || []), t[r.path[0]].push(e(r))) - : n.push(e(r)); - return { formErrors: n, fieldErrors: t }; - } - get formErrors() { - return this.flatten(); - } - }; - ft.create = (e) => new ft(e); - var Ca = (e, t) => { - let n; - switch (e.code) { - case O.invalid_type: - e.received === T.undefined - ? (n = "Required") - : (n = `Expected ${e.expected}, received ${e.received}`); - break; - case O.invalid_literal: - n = `Invalid literal value, expected ${JSON.stringify(e.expected, ue.jsonStringifyReplacer)}`; - break; - case O.unrecognized_keys: - n = `Unrecognized key(s) in object: ${ue.joinValues(e.keys, ", ")}`; - break; - case O.invalid_union: - n = "Invalid input"; - break; - case O.invalid_union_discriminator: - n = `Invalid discriminator value. Expected ${ue.joinValues(e.options)}`; - break; - case O.invalid_enum_value: - n = `Invalid enum value. Expected ${ue.joinValues(e.options)}, received '${e.received}'`; - break; - case O.invalid_arguments: - n = "Invalid function arguments"; - break; - case O.invalid_return_type: - n = "Invalid function return type"; - break; - case O.invalid_date: - n = "Invalid date"; - break; - case O.invalid_string: - typeof e.validation == "object" - ? "includes" in e.validation - ? ((n = `Invalid input: must include "${e.validation.includes}"`), - typeof e.validation.position == "number" && - (n = `${n} at one or more positions greater than or equal to ${e.validation.position}`)) - : "startsWith" in e.validation - ? (n = `Invalid input: must start with "${e.validation.startsWith}"`) - : "endsWith" in e.validation - ? (n = `Invalid input: must end with "${e.validation.endsWith}"`) - : ue.assertNever(e.validation) - : e.validation !== "regex" - ? (n = `Invalid ${e.validation}`) - : (n = "Invalid"); - break; - case O.too_small: - e.type === "array" - ? (n = `Array must contain ${e.exact ? "exactly" : e.inclusive ? "at least" : "more than"} ${e.minimum} element(s)`) - : e.type === "string" - ? (n = `String must contain ${e.exact ? "exactly" : e.inclusive ? "at least" : "over"} ${e.minimum} character(s)`) - : e.type === "number" - ? (n = `Number must be ${e.exact ? "exactly equal to " : e.inclusive ? "greater than or equal to " : "greater than "}${e.minimum}`) - : e.type === "date" - ? (n = `Date must be ${e.exact ? "exactly equal to " : e.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(e.minimum))}`) - : (n = "Invalid input"); - break; - case O.too_big: - e.type === "array" - ? (n = `Array must contain ${e.exact ? "exactly" : e.inclusive ? "at most" : "less than"} ${e.maximum} element(s)`) - : e.type === "string" - ? (n = `String must contain ${e.exact ? "exactly" : e.inclusive ? "at most" : "under"} ${e.maximum} character(s)`) - : e.type === "number" - ? (n = `Number must be ${e.exact ? "exactly" : e.inclusive ? "less than or equal to" : "less than"} ${e.maximum}`) - : e.type === "bigint" - ? (n = `BigInt must be ${e.exact ? "exactly" : e.inclusive ? "less than or equal to" : "less than"} ${e.maximum}`) - : e.type === "date" - ? (n = `Date must be ${e.exact ? "exactly" : e.inclusive ? "smaller than or equal to" : "smaller than"} ${new Date(Number(e.maximum))}`) - : (n = "Invalid input"); - break; - case O.custom: - n = "Invalid input"; - break; - case O.invalid_intersection_types: - n = "Intersection results could not be merged"; - break; - case O.not_multiple_of: - n = `Number must be a multiple of ${e.multipleOf}`; - break; - case O.not_finite: - n = "Number must be finite"; - break; - default: - (n = t.defaultError), ue.assertNever(e); - } - return { message: n }; - }, - p0 = Ca; - function np(e) { - p0 = e; - } - function _r() { - return p0; - } - var Or = (e) => { - let { data: t, path: n, errorMaps: r, issueData: i } = e, - l = [...n, ...(i.path || [])], - o = { ...i, path: l }, - s = "", - c = r - .filter((d) => !!d) - .slice() - .reverse(); - for (let d of c) s = d(o, { data: t, defaultError: s }).message; - return { ...i, path: l, message: i.message || s }; - }, - ap = []; - function R(e, t) { - let n = Or({ - issueData: t, - data: e.data, - path: e.path, - errorMaps: [ - e.common.contextualErrorMap, - e.schemaErrorMap, - _r(), - Ca, - ].filter((r) => !!r), - }); - e.common.issues.push(n); - } - var qe = class { - constructor() { - this.value = "valid"; - } - dirty() { - this.value === "valid" && (this.value = "dirty"); - } - abort() { - this.value !== "aborted" && (this.value = "aborted"); - } - static mergeArray(e, t) { - let n = []; - for (let r of t) { - if (r.status === "aborted") return Q; - r.status === "dirty" && e.dirty(), n.push(r.value); - } - return { status: e.value, value: n }; - } - static async mergeObjectAsync(e, t) { - let n = []; - for (let r of t) n.push({ key: await r.key, value: await r.value }); - return qe.mergeObjectSync(e, n); - } - static mergeObjectSync(e, t) { - let n = {}; - for (let r of t) { - let { key: i, value: l } = r; - if (i.status === "aborted" || l.status === "aborted") return Q; - i.status === "dirty" && e.dirty(), - l.status === "dirty" && e.dirty(), - i.value !== "__proto__" && - (typeof l.value < "u" || r.alwaysSet) && - (n[i.value] = l.value); - } - return { status: e.value, value: n }; - } - }, - Q = Object.freeze({ status: "aborted" }), - h0 = (e) => ({ status: "dirty", value: e }), - Ye = (e) => ({ status: "valid", value: e }), - hl = (e) => e.status === "aborted", - fl = (e) => e.status === "dirty", - Sa = (e) => e.status === "valid", - Ar = (e) => typeof Promise < "u" && e instanceof Promise, - j; - (function (e) { - (e.errToObj = (t) => (typeof t == "string" ? { message: t } : t || {})), - (e.toString = (t) => (typeof t == "string" ? t : t?.message)); - })(j || (j = {})); - var Lt = class { - constructor(e, t, n, r) { - (this._cachedPath = []), - (this.parent = e), - (this.data = t), - (this._path = n), - (this._key = r); - } - get path() { - return ( - this._cachedPath.length || - (this._key instanceof Array - ? this._cachedPath.push(...this._path, ...this._key) - : this._cachedPath.push(...this._path, this._key)), - this._cachedPath - ); - } - }, - c1 = (e, t) => { - if (Sa(t)) return { success: !0, data: t.value }; - if (!e.common.issues.length) - throw new Error("Validation failed but no issues detected."); - return { - success: !1, - get error() { - if (this._error) return this._error; - let n = new ft(e.common.issues); - return (this._error = n), this._error; - }, - }; - }; - function J(e) { - if (!e) return {}; - let { - errorMap: t, - invalid_type_error: n, - required_error: r, - description: i, - } = e; - if (t && (n || r)) - throw new Error( - `Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`, - ); - return t - ? { errorMap: t, description: i } - : { - errorMap: (l, o) => - l.code !== "invalid_type" - ? { message: o.defaultError } - : typeof o.data > "u" - ? { message: r ?? o.defaultError } - : { message: n ?? o.defaultError }, - description: i, - }; - } - var te = class { - constructor(e) { - (this.spa = this.safeParseAsync), - (this._def = e), - (this.parse = this.parse.bind(this)), - (this.safeParse = this.safeParse.bind(this)), - (this.parseAsync = this.parseAsync.bind(this)), - (this.safeParseAsync = this.safeParseAsync.bind(this)), - (this.spa = this.spa.bind(this)), - (this.refine = this.refine.bind(this)), - (this.refinement = this.refinement.bind(this)), - (this.superRefine = this.superRefine.bind(this)), - (this.optional = this.optional.bind(this)), - (this.nullable = this.nullable.bind(this)), - (this.nullish = this.nullish.bind(this)), - (this.array = this.array.bind(this)), - (this.promise = this.promise.bind(this)), - (this.or = this.or.bind(this)), - (this.and = this.and.bind(this)), - (this.transform = this.transform.bind(this)), - (this.brand = this.brand.bind(this)), - (this.default = this.default.bind(this)), - (this.catch = this.catch.bind(this)), - (this.describe = this.describe.bind(this)), - (this.pipe = this.pipe.bind(this)), - (this.readonly = this.readonly.bind(this)), - (this.isNullable = this.isNullable.bind(this)), - (this.isOptional = this.isOptional.bind(this)); - } - get description() { - return this._def.description; - } - _getType(e) { - return $t(e.data); - } - _getOrReturnCtx(e, t) { - return ( - t || { - common: e.parent.common, - data: e.data, - parsedType: $t(e.data), - schemaErrorMap: this._def.errorMap, - path: e.path, - parent: e.parent, - } - ); - } - _processInputParams(e) { - return { - status: new qe(), - ctx: { - common: e.parent.common, - data: e.data, - parsedType: $t(e.data), - schemaErrorMap: this._def.errorMap, - path: e.path, - parent: e.parent, - }, - }; - } - _parseSync(e) { - let t = this._parse(e); - if (Ar(t)) throw new Error("Synchronous parse encountered promise."); - return t; - } - _parseAsync(e) { - let t = this._parse(e); - return Promise.resolve(t); - } - parse(e, t) { - let n = this.safeParse(e, t); - if (n.success) return n.data; - throw n.error; - } - safeParse(e, t) { - var n; - let r = { - common: { - issues: [], - async: (n = t?.async) !== null && n !== void 0 ? n : !1, - contextualErrorMap: t?.errorMap, - }, - path: t?.path || [], - schemaErrorMap: this._def.errorMap, - parent: null, - data: e, - parsedType: $t(e), - }, - i = this._parseSync({ data: e, path: r.path, parent: r }); - return c1(r, i); - } - async parseAsync(e, t) { - let n = await this.safeParseAsync(e, t); - if (n.success) return n.data; - throw n.error; - } - async safeParseAsync(e, t) { - let n = { - common: { - issues: [], - contextualErrorMap: t?.errorMap, - async: !0, - }, - path: t?.path || [], - schemaErrorMap: this._def.errorMap, - parent: null, - data: e, - parsedType: $t(e), - }, - r = this._parse({ data: e, path: n.path, parent: n }), - i = await (Ar(r) ? r : Promise.resolve(r)); - return c1(n, i); - } - refine(e, t) { - let n = (r) => - typeof t == "string" || typeof t > "u" - ? { message: t } - : typeof t == "function" - ? t(r) - : t; - return this._refinement((r, i) => { - let l = e(r), - o = () => i.addIssue({ code: O.custom, ...n(r) }); - return typeof Promise < "u" && l instanceof Promise - ? l.then((s) => (s ? !0 : (o(), !1))) - : l - ? !0 - : (o(), !1); - }); - } - refinement(e, t) { - return this._refinement((n, r) => - e(n) ? !0 : (r.addIssue(typeof t == "function" ? t(n, r) : t), !1), - ); - } - _refinement(e) { - return new gt({ - schema: this, - typeName: $.ZodEffects, - effect: { type: "refinement", refinement: e }, - }); - } - superRefine(e) { - return this._refinement(e); - } - optional() { - return Bt.create(this, this._def); - } - nullable() { - return pn.create(this, this._def); - } - nullish() { - return this.nullable().optional(); - } - array() { - return At.create(this, this._def); - } - promise() { - return Bn.create(this, this._def); - } - or(e) { - return _a.create([this, e], this._def); - } - and(e) { - return Oa.create(this, e, this._def); - } - transform(e) { - return new gt({ - ...J(this._def), - schema: this, - typeName: $.ZodEffects, - effect: { type: "transform", transform: e }, - }); - } - default(e) { - let t = typeof e == "function" ? e : () => e; - return new La({ - ...J(this._def), - innerType: this, - defaultValue: t, - typeName: $.ZodDefault, - }); - } - brand() { - return new g0({ - typeName: $.ZodBranded, - type: this, - ...J(this._def), - }); - } - catch(e) { - let t = typeof e == "function" ? e : () => e; - return new Ir({ - ...J(this._def), - innerType: this, - catchValue: t, - typeName: $.ZodCatch, - }); - } - describe(e) { - let t = this.constructor; - return new t({ ...this._def, description: e }); - } - pipe(e) { - return ti.create(this, e); - } - readonly() { - return Br.create(this); - } - isOptional() { - return this.safeParse(void 0).success; - } - isNullable() { - return this.safeParse(null).success; - } - }, - rp = /^c[^\s-]{8,}$/i, - ip = /^[a-z][a-z0-9]*$/, - lp = /^[0-9A-HJKMNP-TV-Z]{26}$/, - op = - /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, - sp = - /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, - cp = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$", - Li, - dp = - /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, - up = - /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, - mp = (e) => - e.precision - ? e.offset - ? new RegExp( - `^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`, - ) - : new RegExp( - `^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`, - ) - : e.precision === 0 - ? e.offset - ? new RegExp( - "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$", - ) - : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") - : e.offset - ? new RegExp( - "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$", - ) - : new RegExp( - "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$", - ); - function pp(e, t) { - return !!( - ((t === "v4" || !t) && dp.test(e)) || - ((t === "v6" || !t) && up.test(e)) - ); - } - var Nt = class extends te { - _parse(e) { - if ( - (this._def.coerce && (e.data = String(e.data)), - this._getType(e) !== T.string) - ) { - let r = this._getOrReturnCtx(e); - return ( - R(r, { - code: O.invalid_type, - expected: T.string, - received: r.parsedType, - }), - Q - ); - } - let t = new qe(), - n; - for (let r of this._def.checks) - if (r.kind === "min") - e.data.length < r.value && - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.too_small, - minimum: r.value, - type: "string", - inclusive: !0, - exact: !1, - message: r.message, - }), - t.dirty()); - else if (r.kind === "max") - e.data.length > r.value && - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.too_big, - maximum: r.value, - type: "string", - inclusive: !0, - exact: !1, - message: r.message, - }), - t.dirty()); - else if (r.kind === "length") { - let i = e.data.length > r.value, - l = e.data.length < r.value; - (i || l) && - ((n = this._getOrReturnCtx(e, n)), - i - ? R(n, { - code: O.too_big, - maximum: r.value, - type: "string", - inclusive: !0, - exact: !0, - message: r.message, - }) - : l && - R(n, { - code: O.too_small, - minimum: r.value, - type: "string", - inclusive: !0, - exact: !0, - message: r.message, - }), - t.dirty()); - } else if (r.kind === "email") - sp.test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "email", - code: O.invalid_string, - message: r.message, - }), - t.dirty()); - else if (r.kind === "emoji") - Li || (Li = new RegExp(cp, "u")), - Li.test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "emoji", - code: O.invalid_string, - message: r.message, - }), - t.dirty()); - else if (r.kind === "uuid") - op.test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "uuid", - code: O.invalid_string, - message: r.message, - }), - t.dirty()); - else if (r.kind === "cuid") - rp.test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "cuid", - code: O.invalid_string, - message: r.message, - }), - t.dirty()); - else if (r.kind === "cuid2") - ip.test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "cuid2", - code: O.invalid_string, - message: r.message, - }), - t.dirty()); - else if (r.kind === "ulid") - lp.test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "ulid", - code: O.invalid_string, - message: r.message, - }), - t.dirty()); - else if (r.kind === "url") - try { - new URL(e.data); - } catch { - (n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "url", - code: O.invalid_string, - message: r.message, - }), - t.dirty(); - } - else - r.kind === "regex" - ? ((r.regex.lastIndex = 0), - r.regex.test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "regex", - code: O.invalid_string, - message: r.message, - }), - t.dirty())) - : r.kind === "trim" - ? (e.data = e.data.trim()) - : r.kind === "includes" - ? e.data.includes(r.value, r.position) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.invalid_string, - validation: { includes: r.value, position: r.position }, - message: r.message, - }), - t.dirty()) - : r.kind === "toLowerCase" - ? (e.data = e.data.toLowerCase()) - : r.kind === "toUpperCase" - ? (e.data = e.data.toUpperCase()) - : r.kind === "startsWith" - ? e.data.startsWith(r.value) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.invalid_string, - validation: { startsWith: r.value }, - message: r.message, - }), - t.dirty()) - : r.kind === "endsWith" - ? e.data.endsWith(r.value) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.invalid_string, - validation: { endsWith: r.value }, - message: r.message, - }), - t.dirty()) - : r.kind === "datetime" - ? mp(r).test(e.data) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.invalid_string, - validation: "datetime", - message: r.message, - }), - t.dirty()) - : r.kind === "ip" - ? pp(e.data, r.version) || - ((n = this._getOrReturnCtx(e, n)), - R(n, { - validation: "ip", - code: O.invalid_string, - message: r.message, - }), - t.dirty()) - : ue.assertNever(r); - return { status: t.value, value: e.data }; - } - _regex(e, t, n) { - return this.refinement((r) => e.test(r), { - validation: t, - code: O.invalid_string, - ...j.errToObj(n), - }); - } - _addCheck(e) { - return new Nt({ ...this._def, checks: [...this._def.checks, e] }); - } - email(e) { - return this._addCheck({ kind: "email", ...j.errToObj(e) }); - } - url(e) { - return this._addCheck({ kind: "url", ...j.errToObj(e) }); - } - emoji(e) { - return this._addCheck({ kind: "emoji", ...j.errToObj(e) }); - } - uuid(e) { - return this._addCheck({ kind: "uuid", ...j.errToObj(e) }); - } - cuid(e) { - return this._addCheck({ kind: "cuid", ...j.errToObj(e) }); - } - cuid2(e) { - return this._addCheck({ kind: "cuid2", ...j.errToObj(e) }); - } - ulid(e) { - return this._addCheck({ kind: "ulid", ...j.errToObj(e) }); - } - ip(e) { - return this._addCheck({ kind: "ip", ...j.errToObj(e) }); - } - datetime(e) { - var t; - return typeof e == "string" - ? this._addCheck({ - kind: "datetime", - precision: null, - offset: !1, - message: e, - }) - : this._addCheck({ - kind: "datetime", - precision: typeof e?.precision > "u" ? null : e?.precision, - offset: (t = e?.offset) !== null && t !== void 0 ? t : !1, - ...j.errToObj(e?.message), - }); - } - regex(e, t) { - return this._addCheck({ kind: "regex", regex: e, ...j.errToObj(t) }); - } - includes(e, t) { - return this._addCheck({ - kind: "includes", - value: e, - position: t?.position, - ...j.errToObj(t?.message), - }); - } - startsWith(e, t) { - return this._addCheck({ - kind: "startsWith", - value: e, - ...j.errToObj(t), - }); - } - endsWith(e, t) { - return this._addCheck({ kind: "endsWith", value: e, ...j.errToObj(t) }); - } - min(e, t) { - return this._addCheck({ kind: "min", value: e, ...j.errToObj(t) }); - } - max(e, t) { - return this._addCheck({ kind: "max", value: e, ...j.errToObj(t) }); - } - length(e, t) { - return this._addCheck({ kind: "length", value: e, ...j.errToObj(t) }); - } - nonempty(e) { - return this.min(1, j.errToObj(e)); - } - trim() { - return new Nt({ - ...this._def, - checks: [...this._def.checks, { kind: "trim" }], - }); - } - toLowerCase() { - return new Nt({ - ...this._def, - checks: [...this._def.checks, { kind: "toLowerCase" }], - }); - } - toUpperCase() { - return new Nt({ - ...this._def, - checks: [...this._def.checks, { kind: "toUpperCase" }], - }); - } - get isDatetime() { - return !!this._def.checks.find((e) => e.kind === "datetime"); - } - get isEmail() { - return !!this._def.checks.find((e) => e.kind === "email"); - } - get isURL() { - return !!this._def.checks.find((e) => e.kind === "url"); - } - get isEmoji() { - return !!this._def.checks.find((e) => e.kind === "emoji"); - } - get isUUID() { - return !!this._def.checks.find((e) => e.kind === "uuid"); - } - get isCUID() { - return !!this._def.checks.find((e) => e.kind === "cuid"); - } - get isCUID2() { - return !!this._def.checks.find((e) => e.kind === "cuid2"); - } - get isULID() { - return !!this._def.checks.find((e) => e.kind === "ulid"); - } - get isIP() { - return !!this._def.checks.find((e) => e.kind === "ip"); - } - get minLength() { - let e = null; - for (let t of this._def.checks) - t.kind === "min" && (e === null || t.value > e) && (e = t.value); - return e; - } - get maxLength() { - let e = null; - for (let t of this._def.checks) - t.kind === "max" && (e === null || t.value < e) && (e = t.value); - return e; - } - }; - Nt.create = (e) => { - var t; - return new Nt({ - checks: [], - typeName: $.ZodString, - coerce: (t = e?.coerce) !== null && t !== void 0 ? t : !1, - ...J(e), - }); - }; - function hp(e, t) { - let n = (e.toString().split(".")[1] || "").length, - r = (t.toString().split(".")[1] || "").length, - i = n > r ? n : r, - l = parseInt(e.toFixed(i).replace(".", "")), - o = parseInt(t.toFixed(i).replace(".", "")); - return (l % o) / Math.pow(10, i); - } - var dn = class extends te { - constructor() { - super(...arguments), - (this.min = this.gte), - (this.max = this.lte), - (this.step = this.multipleOf); - } - _parse(e) { - if ( - (this._def.coerce && (e.data = Number(e.data)), - this._getType(e) !== T.number) - ) { - let r = this._getOrReturnCtx(e); - return ( - R(r, { - code: O.invalid_type, - expected: T.number, - received: r.parsedType, - }), - Q - ); - } - let t, - n = new qe(); - for (let r of this._def.checks) - r.kind === "int" - ? ue.isInteger(e.data) || - ((t = this._getOrReturnCtx(e, t)), - R(t, { - code: O.invalid_type, - expected: "integer", - received: "float", - message: r.message, - }), - n.dirty()) - : r.kind === "min" - ? (r.inclusive ? e.data < r.value : e.data <= r.value) && - ((t = this._getOrReturnCtx(e, t)), - R(t, { - code: O.too_small, - minimum: r.value, - type: "number", - inclusive: r.inclusive, - exact: !1, - message: r.message, - }), - n.dirty()) - : r.kind === "max" - ? (r.inclusive ? e.data > r.value : e.data >= r.value) && - ((t = this._getOrReturnCtx(e, t)), - R(t, { - code: O.too_big, - maximum: r.value, - type: "number", - inclusive: r.inclusive, - exact: !1, - message: r.message, - }), - n.dirty()) - : r.kind === "multipleOf" - ? hp(e.data, r.value) !== 0 && - ((t = this._getOrReturnCtx(e, t)), - R(t, { - code: O.not_multiple_of, - multipleOf: r.value, - message: r.message, - }), - n.dirty()) - : r.kind === "finite" - ? Number.isFinite(e.data) || - ((t = this._getOrReturnCtx(e, t)), - R(t, { code: O.not_finite, message: r.message }), - n.dirty()) - : ue.assertNever(r); - return { status: n.value, value: e.data }; - } - gte(e, t) { - return this.setLimit("min", e, !0, j.toString(t)); - } - gt(e, t) { - return this.setLimit("min", e, !1, j.toString(t)); - } - lte(e, t) { - return this.setLimit("max", e, !0, j.toString(t)); - } - lt(e, t) { - return this.setLimit("max", e, !1, j.toString(t)); - } - setLimit(e, t, n, r) { - return new dn({ - ...this._def, - checks: [ - ...this._def.checks, - { kind: e, value: t, inclusive: n, message: j.toString(r) }, - ], - }); - } - _addCheck(e) { - return new dn({ ...this._def, checks: [...this._def.checks, e] }); - } - int(e) { - return this._addCheck({ kind: "int", message: j.toString(e) }); - } - positive(e) { - return this._addCheck({ - kind: "min", - value: 0, - inclusive: !1, - message: j.toString(e), - }); - } - negative(e) { - return this._addCheck({ - kind: "max", - value: 0, - inclusive: !1, - message: j.toString(e), - }); - } - nonpositive(e) { - return this._addCheck({ - kind: "max", - value: 0, - inclusive: !0, - message: j.toString(e), - }); - } - nonnegative(e) { - return this._addCheck({ - kind: "min", - value: 0, - inclusive: !0, - message: j.toString(e), - }); - } - multipleOf(e, t) { - return this._addCheck({ - kind: "multipleOf", - value: e, - message: j.toString(t), - }); - } - finite(e) { - return this._addCheck({ kind: "finite", message: j.toString(e) }); - } - safe(e) { - return this._addCheck({ - kind: "min", - inclusive: !0, - value: Number.MIN_SAFE_INTEGER, - message: j.toString(e), - })._addCheck({ - kind: "max", - inclusive: !0, - value: Number.MAX_SAFE_INTEGER, - message: j.toString(e), - }); - } - get minValue() { - let e = null; - for (let t of this._def.checks) - t.kind === "min" && (e === null || t.value > e) && (e = t.value); - return e; - } - get maxValue() { - let e = null; - for (let t of this._def.checks) - t.kind === "max" && (e === null || t.value < e) && (e = t.value); - return e; - } - get isInt() { - return !!this._def.checks.find( - (e) => - e.kind === "int" || - (e.kind === "multipleOf" && ue.isInteger(e.value)), - ); - } - get isFinite() { - let e = null, - t = null; - for (let n of this._def.checks) { - if ( - n.kind === "finite" || - n.kind === "int" || - n.kind === "multipleOf" - ) - return !0; - n.kind === "min" - ? (t === null || n.value > t) && (t = n.value) - : n.kind === "max" && (e === null || n.value < e) && (e = n.value); - } - return Number.isFinite(t) && Number.isFinite(e); - } - }; - dn.create = (e) => - new dn({ - checks: [], - typeName: $.ZodNumber, - coerce: e?.coerce || !1, - ...J(e), - }); - var un = class extends te { - constructor() { - super(...arguments), (this.min = this.gte), (this.max = this.lte); - } - _parse(e) { - if ( - (this._def.coerce && (e.data = BigInt(e.data)), - this._getType(e) !== T.bigint) - ) { - let r = this._getOrReturnCtx(e); - return ( - R(r, { - code: O.invalid_type, - expected: T.bigint, - received: r.parsedType, - }), - Q - ); - } - let t, - n = new qe(); - for (let r of this._def.checks) - r.kind === "min" - ? (r.inclusive ? e.data < r.value : e.data <= r.value) && - ((t = this._getOrReturnCtx(e, t)), - R(t, { - code: O.too_small, - type: "bigint", - minimum: r.value, - inclusive: r.inclusive, - message: r.message, - }), - n.dirty()) - : r.kind === "max" - ? (r.inclusive ? e.data > r.value : e.data >= r.value) && - ((t = this._getOrReturnCtx(e, t)), - R(t, { - code: O.too_big, - type: "bigint", - maximum: r.value, - inclusive: r.inclusive, - message: r.message, - }), - n.dirty()) - : r.kind === "multipleOf" - ? e.data % r.value !== BigInt(0) && - ((t = this._getOrReturnCtx(e, t)), - R(t, { - code: O.not_multiple_of, - multipleOf: r.value, - message: r.message, - }), - n.dirty()) - : ue.assertNever(r); - return { status: n.value, value: e.data }; - } - gte(e, t) { - return this.setLimit("min", e, !0, j.toString(t)); - } - gt(e, t) { - return this.setLimit("min", e, !1, j.toString(t)); - } - lte(e, t) { - return this.setLimit("max", e, !0, j.toString(t)); - } - lt(e, t) { - return this.setLimit("max", e, !1, j.toString(t)); - } - setLimit(e, t, n, r) { - return new un({ - ...this._def, - checks: [ - ...this._def.checks, - { kind: e, value: t, inclusive: n, message: j.toString(r) }, - ], - }); - } - _addCheck(e) { - return new un({ ...this._def, checks: [...this._def.checks, e] }); - } - positive(e) { - return this._addCheck({ - kind: "min", - value: BigInt(0), - inclusive: !1, - message: j.toString(e), - }); - } - negative(e) { - return this._addCheck({ - kind: "max", - value: BigInt(0), - inclusive: !1, - message: j.toString(e), - }); - } - nonpositive(e) { - return this._addCheck({ - kind: "max", - value: BigInt(0), - inclusive: !0, - message: j.toString(e), - }); - } - nonnegative(e) { - return this._addCheck({ - kind: "min", - value: BigInt(0), - inclusive: !0, - message: j.toString(e), - }); - } - multipleOf(e, t) { - return this._addCheck({ - kind: "multipleOf", - value: e, - message: j.toString(t), - }); - } - get minValue() { - let e = null; - for (let t of this._def.checks) - t.kind === "min" && (e === null || t.value > e) && (e = t.value); - return e; - } - get maxValue() { - let e = null; - for (let t of this._def.checks) - t.kind === "max" && (e === null || t.value < e) && (e = t.value); - return e; - } - }; - un.create = (e) => { - var t; - return new un({ - checks: [], - typeName: $.ZodBigInt, - coerce: (t = e?.coerce) !== null && t !== void 0 ? t : !1, - ...J(e), - }); - }; - var xa = class extends te { - _parse(e) { - if ( - (this._def.coerce && (e.data = !!e.data), - this._getType(e) !== T.boolean) - ) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - code: O.invalid_type, - expected: T.boolean, - received: t.parsedType, - }), - Q - ); - } - return Ye(e.data); - } - }; - xa.create = (e) => - new xa({ typeName: $.ZodBoolean, coerce: e?.coerce || !1, ...J(e) }); - var Rn = class extends te { - _parse(e) { - if ( - (this._def.coerce && (e.data = new Date(e.data)), - this._getType(e) !== T.date) - ) { - let r = this._getOrReturnCtx(e); - return ( - R(r, { - code: O.invalid_type, - expected: T.date, - received: r.parsedType, - }), - Q - ); - } - if (isNaN(e.data.getTime())) { - let r = this._getOrReturnCtx(e); - return R(r, { code: O.invalid_date }), Q; - } - let t = new qe(), - n; - for (let r of this._def.checks) - r.kind === "min" - ? e.data.getTime() < r.value && - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.too_small, - message: r.message, - inclusive: !0, - exact: !1, - minimum: r.value, - type: "date", - }), - t.dirty()) - : r.kind === "max" - ? e.data.getTime() > r.value && - ((n = this._getOrReturnCtx(e, n)), - R(n, { - code: O.too_big, - message: r.message, - inclusive: !0, - exact: !1, - maximum: r.value, - type: "date", - }), - t.dirty()) - : ue.assertNever(r); - return { status: t.value, value: new Date(e.data.getTime()) }; - } - _addCheck(e) { - return new Rn({ ...this._def, checks: [...this._def.checks, e] }); - } - min(e, t) { - return this._addCheck({ - kind: "min", - value: e.getTime(), - message: j.toString(t), - }); - } - max(e, t) { - return this._addCheck({ - kind: "max", - value: e.getTime(), - message: j.toString(t), - }); - } - get minDate() { - let e = null; - for (let t of this._def.checks) - t.kind === "min" && (e === null || t.value > e) && (e = t.value); - return e != null ? new Date(e) : null; - } - get maxDate() { - let e = null; - for (let t of this._def.checks) - t.kind === "max" && (e === null || t.value < e) && (e = t.value); - return e != null ? new Date(e) : null; - } - }; - Rn.create = (e) => - new Rn({ - checks: [], - coerce: e?.coerce || !1, - typeName: $.ZodDate, - ...J(e), - }); - var Tr = class extends te { - _parse(e) { - if (this._getType(e) !== T.symbol) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - code: O.invalid_type, - expected: T.symbol, - received: t.parsedType, - }), - Q - ); - } - return Ye(e.data); - } - }; - Tr.create = (e) => new Tr({ typeName: $.ZodSymbol, ...J(e) }); - var Na = class extends te { - _parse(e) { - if (this._getType(e) !== T.undefined) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - code: O.invalid_type, - expected: T.undefined, - received: t.parsedType, - }), - Q - ); - } - return Ye(e.data); - } - }; - Na.create = (e) => new Na({ typeName: $.ZodUndefined, ...J(e) }); - var Ma = class extends te { - _parse(e) { - if (this._getType(e) !== T.null) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - code: O.invalid_type, - expected: T.null, - received: t.parsedType, - }), - Q - ); - } - return Ye(e.data); - } - }; - Ma.create = (e) => new Ma({ typeName: $.ZodNull, ...J(e) }); - var In = class extends te { - constructor() { - super(...arguments), (this._any = !0); - } - _parse(e) { - return Ye(e.data); - } - }; - In.create = (e) => new In({ typeName: $.ZodAny, ...J(e) }); - var cn = class extends te { - constructor() { - super(...arguments), (this._unknown = !0); - } - _parse(e) { - return Ye(e.data); - } - }; - cn.create = (e) => new cn({ typeName: $.ZodUnknown, ...J(e) }); - var Pt = class extends te { - _parse(e) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - code: O.invalid_type, - expected: T.never, - received: t.parsedType, - }), - Q - ); - } - }; - Pt.create = (e) => new Pt({ typeName: $.ZodNever, ...J(e) }); - var Fr = class extends te { - _parse(e) { - if (this._getType(e) !== T.undefined) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - code: O.invalid_type, - expected: T.void, - received: t.parsedType, - }), - Q - ); - } - return Ye(e.data); - } - }; - Fr.create = (e) => new Fr({ typeName: $.ZodVoid, ...J(e) }); - var At = class extends te { - _parse(e) { - let { ctx: t, status: n } = this._processInputParams(e), - r = this._def; - if (t.parsedType !== T.array) - return ( - R(t, { - code: O.invalid_type, - expected: T.array, - received: t.parsedType, - }), - Q - ); - if (r.exactLength !== null) { - let l = t.data.length > r.exactLength.value, - o = t.data.length < r.exactLength.value; - (l || o) && - (R(t, { - code: l ? O.too_big : O.too_small, - minimum: o ? r.exactLength.value : void 0, - maximum: l ? r.exactLength.value : void 0, - type: "array", - inclusive: !0, - exact: !0, - message: r.exactLength.message, - }), - n.dirty()); - } - if ( - (r.minLength !== null && - t.data.length < r.minLength.value && - (R(t, { - code: O.too_small, - minimum: r.minLength.value, - type: "array", - inclusive: !0, - exact: !1, - message: r.minLength.message, - }), - n.dirty()), - r.maxLength !== null && - t.data.length > r.maxLength.value && - (R(t, { - code: O.too_big, - maximum: r.maxLength.value, - type: "array", - inclusive: !0, - exact: !1, - message: r.maxLength.message, - }), - n.dirty()), - t.common.async) - ) - return Promise.all( - [...t.data].map((l, o) => - r.type._parseAsync(new Lt(t, l, t.path, o)), - ), - ).then((l) => qe.mergeArray(n, l)); - let i = [...t.data].map((l, o) => - r.type._parseSync(new Lt(t, l, t.path, o)), - ); - return qe.mergeArray(n, i); - } - get element() { - return this._def.type; - } - min(e, t) { - return new At({ - ...this._def, - minLength: { value: e, message: j.toString(t) }, - }); - } - max(e, t) { - return new At({ - ...this._def, - maxLength: { value: e, message: j.toString(t) }, - }); - } - length(e, t) { - return new At({ - ...this._def, - exactLength: { value: e, message: j.toString(t) }, - }); - } - nonempty(e) { - return this.min(1, e); - } - }; - At.create = (e, t) => - new At({ - type: e, - minLength: null, - maxLength: null, - exactLength: null, - typeName: $.ZodArray, - ...J(t), - }); - function Nn(e) { - if (e instanceof Te) { - let t = {}; - for (let n in e.shape) { - let r = e.shape[n]; - t[n] = Bt.create(Nn(r)); - } - return new Te({ ...e._def, shape: () => t }); - } else - return e instanceof At - ? new At({ ...e._def, type: Nn(e.element) }) - : e instanceof Bt - ? Bt.create(Nn(e.unwrap())) - : e instanceof pn - ? pn.create(Nn(e.unwrap())) - : e instanceof Vt - ? Vt.create(e.items.map((t) => Nn(t))) - : e; - } - var Te = class extends te { - constructor() { - super(...arguments), - (this._cached = null), - (this.nonstrict = this.passthrough), - (this.augment = this.extend); - } - _getCached() { - if (this._cached !== null) return this._cached; - let e = this._def.shape(), - t = ue.objectKeys(e); - return (this._cached = { shape: e, keys: t }); - } - _parse(e) { - if (this._getType(e) !== T.object) { - let s = this._getOrReturnCtx(e); - return ( - R(s, { - code: O.invalid_type, - expected: T.object, - received: s.parsedType, - }), - Q - ); - } - let { status: t, ctx: n } = this._processInputParams(e), - { shape: r, keys: i } = this._getCached(), - l = []; - if ( - !( - this._def.catchall instanceof Pt && - this._def.unknownKeys === "strip" - ) - ) - for (let s in n.data) i.includes(s) || l.push(s); - let o = []; - for (let s of i) { - let c = r[s], - d = n.data[s]; - o.push({ - key: { status: "valid", value: s }, - value: c._parse(new Lt(n, d, n.path, s)), - alwaysSet: s in n.data, - }); - } - if (this._def.catchall instanceof Pt) { - let s = this._def.unknownKeys; - if (s === "passthrough") - for (let c of l) - o.push({ - key: { status: "valid", value: c }, - value: { status: "valid", value: n.data[c] }, - }); - else if (s === "strict") - l.length > 0 && - (R(n, { code: O.unrecognized_keys, keys: l }), t.dirty()); - else if (s !== "strip") - throw new Error( - "Internal ZodObject error: invalid unknownKeys value.", - ); - } else { - let s = this._def.catchall; - for (let c of l) { - let d = n.data[c]; - o.push({ - key: { status: "valid", value: c }, - value: s._parse(new Lt(n, d, n.path, c)), - alwaysSet: c in n.data, - }); - } - } - return n.common.async - ? Promise.resolve() - .then(async () => { - let s = []; - for (let c of o) { - let d = await c.key; - s.push({ - key: d, - value: await c.value, - alwaysSet: c.alwaysSet, - }); - } - return s; - }) - .then((s) => qe.mergeObjectSync(t, s)) - : qe.mergeObjectSync(t, o); - } - get shape() { - return this._def.shape(); - } - strict(e) { - return ( - j.errToObj, - new Te({ - ...this._def, - unknownKeys: "strict", - ...(e !== void 0 - ? { - errorMap: (t, n) => { - var r, i, l, o; - let s = - (l = - (i = (r = this._def).errorMap) === null || i === void 0 - ? void 0 - : i.call(r, t, n).message) !== null && l !== void 0 - ? l - : n.defaultError; - return t.code === "unrecognized_keys" - ? { - message: - (o = j.errToObj(e).message) !== null && o !== void 0 - ? o - : s, - } - : { message: s }; - }, - } - : {}), - }) - ); - } - strip() { - return new Te({ ...this._def, unknownKeys: "strip" }); - } - passthrough() { - return new Te({ ...this._def, unknownKeys: "passthrough" }); - } - extend(e) { - return new Te({ - ...this._def, - shape: () => ({ ...this._def.shape(), ...e }), - }); - } - merge(e) { - return new Te({ - unknownKeys: e._def.unknownKeys, - catchall: e._def.catchall, - shape: () => ({ ...this._def.shape(), ...e._def.shape() }), - typeName: $.ZodObject, - }); - } - setKey(e, t) { - return this.augment({ [e]: t }); - } - catchall(e) { - return new Te({ ...this._def, catchall: e }); - } - pick(e) { - let t = {}; - return ( - ue.objectKeys(e).forEach((n) => { - e[n] && this.shape[n] && (t[n] = this.shape[n]); - }), - new Te({ ...this._def, shape: () => t }) - ); - } - omit(e) { - let t = {}; - return ( - ue.objectKeys(this.shape).forEach((n) => { - e[n] || (t[n] = this.shape[n]); - }), - new Te({ ...this._def, shape: () => t }) - ); - } - deepPartial() { - return Nn(this); - } - partial(e) { - let t = {}; - return ( - ue.objectKeys(this.shape).forEach((n) => { - let r = this.shape[n]; - e && !e[n] ? (t[n] = r) : (t[n] = r.optional()); - }), - new Te({ ...this._def, shape: () => t }) - ); - } - required(e) { - let t = {}; - return ( - ue.objectKeys(this.shape).forEach((n) => { - if (e && !e[n]) t[n] = this.shape[n]; - else { - let r = this.shape[n]; - for (; r instanceof Bt; ) r = r._def.innerType; - t[n] = r; - } - }), - new Te({ ...this._def, shape: () => t }) - ); - } - keyof() { - return f0(ue.objectKeys(this.shape)); - } - }; - Te.create = (e, t) => - new Te({ - shape: () => e, - unknownKeys: "strip", - catchall: Pt.create(), - typeName: $.ZodObject, - ...J(t), - }); - Te.strictCreate = (e, t) => - new Te({ - shape: () => e, - unknownKeys: "strict", - catchall: Pt.create(), - typeName: $.ZodObject, - ...J(t), - }); - Te.lazycreate = (e, t) => - new Te({ - shape: e, - unknownKeys: "strip", - catchall: Pt.create(), - typeName: $.ZodObject, - ...J(t), - }); - var _a = class extends te { - _parse(e) { - let { ctx: t } = this._processInputParams(e), - n = this._def.options; - function r(i) { - for (let o of i) if (o.result.status === "valid") return o.result; - for (let o of i) - if (o.result.status === "dirty") - return t.common.issues.push(...o.ctx.common.issues), o.result; - let l = i.map((o) => new ft(o.ctx.common.issues)); - return R(t, { code: O.invalid_union, unionErrors: l }), Q; - } - if (t.common.async) - return Promise.all( - n.map(async (i) => { - let l = { - ...t, - common: { ...t.common, issues: [] }, - parent: null, - }; - return { - result: await i._parseAsync({ - data: t.data, - path: t.path, - parent: l, - }), - ctx: l, - }; - }), - ).then(r); - { - let i, - l = []; - for (let s of n) { - let c = { ...t, common: { ...t.common, issues: [] }, parent: null }, - d = s._parseSync({ data: t.data, path: t.path, parent: c }); - if (d.status === "valid") return d; - d.status === "dirty" && !i && (i = { result: d, ctx: c }), - c.common.issues.length && l.push(c.common.issues); - } - if (i) return t.common.issues.push(...i.ctx.common.issues), i.result; - let o = l.map((s) => new ft(s)); - return R(t, { code: O.invalid_union, unionErrors: o }), Q; - } - } - get options() { - return this._def.options; - } - }; - _a.create = (e, t) => new _a({ options: e, typeName: $.ZodUnion, ...J(t) }); - var pr = (e) => - e instanceof Aa - ? pr(e.schema) - : e instanceof gt - ? pr(e.innerType()) - : e instanceof Ta - ? [e.value] - : e instanceof mn - ? e.options - : e instanceof Fa - ? Object.keys(e.enum) - : e instanceof La - ? pr(e._def.innerType) - : e instanceof Na - ? [void 0] - : e instanceof Ma - ? [null] - : null, - Ql = class extends te { - _parse(e) { - let { ctx: t } = this._processInputParams(e); - if (t.parsedType !== T.object) - return ( - R(t, { - code: O.invalid_type, - expected: T.object, - received: t.parsedType, - }), - Q - ); - let n = this.discriminator, - r = t.data[n], - i = this.optionsMap.get(r); - return i - ? t.common.async - ? i._parseAsync({ data: t.data, path: t.path, parent: t }) - : i._parseSync({ data: t.data, path: t.path, parent: t }) - : (R(t, { - code: O.invalid_union_discriminator, - options: Array.from(this.optionsMap.keys()), - path: [n], - }), - Q); - } - get discriminator() { - return this._def.discriminator; - } - get options() { - return this._def.options; - } - get optionsMap() { - return this._def.optionsMap; - } - static create(e, t, n) { - let r = new Map(); - for (let i of t) { - let l = pr(i.shape[e]); - if (!l) - throw new Error( - `A discriminator value for key \`${e}\` could not be extracted from all schema options`, - ); - for (let o of l) { - if (r.has(o)) - throw new Error( - `Discriminator property ${String(e)} has duplicate value ${String(o)}`, - ); - r.set(o, i); - } - } - return new Ql({ - typeName: $.ZodDiscriminatedUnion, - discriminator: e, - options: t, - optionsMap: r, - ...J(n), - }); - } - }; - function gl(e, t) { - let n = $t(e), - r = $t(t); - if (e === t) return { valid: !0, data: e }; - if (n === T.object && r === T.object) { - let i = ue.objectKeys(t), - l = ue.objectKeys(e).filter((s) => i.indexOf(s) !== -1), - o = { ...e, ...t }; - for (let s of l) { - let c = gl(e[s], t[s]); - if (!c.valid) return { valid: !1 }; - o[s] = c.data; - } - return { valid: !0, data: o }; - } else if (n === T.array && r === T.array) { - if (e.length !== t.length) return { valid: !1 }; - let i = []; - for (let l = 0; l < e.length; l++) { - let o = e[l], - s = t[l], - c = gl(o, s); - if (!c.valid) return { valid: !1 }; - i.push(c.data); - } - return { valid: !0, data: i }; - } else - return n === T.date && r === T.date && +e == +t - ? { valid: !0, data: e } - : { valid: !1 }; - } - var Oa = class extends te { - _parse(e) { - let { status: t, ctx: n } = this._processInputParams(e), - r = (i, l) => { - if (hl(i) || hl(l)) return Q; - let o = gl(i.value, l.value); - return o.valid - ? ((fl(i) || fl(l)) && t.dirty(), - { status: t.value, value: o.data }) - : (R(n, { code: O.invalid_intersection_types }), Q); - }; - return n.common.async - ? Promise.all([ - this._def.left._parseAsync({ - data: n.data, - path: n.path, - parent: n, - }), - this._def.right._parseAsync({ - data: n.data, - path: n.path, - parent: n, - }), - ]).then(([i, l]) => r(i, l)) - : r( - this._def.left._parseSync({ - data: n.data, - path: n.path, - parent: n, - }), - this._def.right._parseSync({ - data: n.data, - path: n.path, - parent: n, - }), - ); - } - }; - Oa.create = (e, t, n) => - new Oa({ left: e, right: t, typeName: $.ZodIntersection, ...J(n) }); - var Vt = class extends te { - _parse(e) { - let { status: t, ctx: n } = this._processInputParams(e); - if (n.parsedType !== T.array) - return ( - R(n, { - code: O.invalid_type, - expected: T.array, - received: n.parsedType, - }), - Q - ); - if (n.data.length < this._def.items.length) - return ( - R(n, { - code: O.too_small, - minimum: this._def.items.length, - inclusive: !0, - exact: !1, - type: "array", - }), - Q - ); - !this._def.rest && - n.data.length > this._def.items.length && - (R(n, { - code: O.too_big, - maximum: this._def.items.length, - inclusive: !0, - exact: !1, - type: "array", - }), - t.dirty()); - let r = [...n.data] - .map((i, l) => { - let o = this._def.items[l] || this._def.rest; - return o ? o._parse(new Lt(n, i, n.path, l)) : null; - }) - .filter((i) => !!i); - return n.common.async - ? Promise.all(r).then((i) => qe.mergeArray(t, i)) - : qe.mergeArray(t, r); - } - get items() { - return this._def.items; - } - rest(e) { - return new Vt({ ...this._def, rest: e }); - } - }; - Vt.create = (e, t) => { - if (!Array.isArray(e)) - throw new Error( - "You must pass an array of schemas to z.tuple([ ... ])", - ); - return new Vt({ items: e, typeName: $.ZodTuple, rest: null, ...J(t) }); - }; - var Lr = class extends te { - get keySchema() { - return this._def.keyType; - } - get valueSchema() { - return this._def.valueType; - } - _parse(e) { - let { status: t, ctx: n } = this._processInputParams(e); - if (n.parsedType !== T.object) - return ( - R(n, { - code: O.invalid_type, - expected: T.object, - received: n.parsedType, - }), - Q - ); - let r = [], - i = this._def.keyType, - l = this._def.valueType; - for (let o in n.data) - r.push({ - key: i._parse(new Lt(n, o, n.path, o)), - value: l._parse(new Lt(n, n.data[o], n.path, o)), - }); - return n.common.async - ? qe.mergeObjectAsync(t, r) - : qe.mergeObjectSync(t, r); - } - get element() { - return this._def.valueType; - } - static create(e, t, n) { - return t instanceof te - ? new Lr({ - keyType: e, - valueType: t, - typeName: $.ZodRecord, - ...J(n), - }) - : new Lr({ - keyType: Nt.create(), - valueType: e, - typeName: $.ZodRecord, - ...J(t), - }); - } - }, - Rr = class extends te { - get keySchema() { - return this._def.keyType; - } - get valueSchema() { - return this._def.valueType; - } - _parse(e) { - let { status: t, ctx: n } = this._processInputParams(e); - if (n.parsedType !== T.map) - return ( - R(n, { - code: O.invalid_type, - expected: T.map, - received: n.parsedType, - }), - Q - ); - let r = this._def.keyType, - i = this._def.valueType, - l = [...n.data.entries()].map(([o, s], c) => ({ - key: r._parse(new Lt(n, o, n.path, [c, "key"])), - value: i._parse(new Lt(n, s, n.path, [c, "value"])), - })); - if (n.common.async) { - let o = new Map(); - return Promise.resolve().then(async () => { - for (let s of l) { - let c = await s.key, - d = await s.value; - if (c.status === "aborted" || d.status === "aborted") return Q; - (c.status === "dirty" || d.status === "dirty") && t.dirty(), - o.set(c.value, d.value); - } - return { status: t.value, value: o }; - }); - } else { - let o = new Map(); - for (let s of l) { - let c = s.key, - d = s.value; - if (c.status === "aborted" || d.status === "aborted") return Q; - (c.status === "dirty" || d.status === "dirty") && t.dirty(), - o.set(c.value, d.value); - } - return { status: t.value, value: o }; - } - } - }; - Rr.create = (e, t, n) => - new Rr({ valueType: t, keyType: e, typeName: $.ZodMap, ...J(n) }); - var Zn = class extends te { - _parse(e) { - let { status: t, ctx: n } = this._processInputParams(e); - if (n.parsedType !== T.set) - return ( - R(n, { - code: O.invalid_type, - expected: T.set, - received: n.parsedType, - }), - Q - ); - let r = this._def; - r.minSize !== null && - n.data.size < r.minSize.value && - (R(n, { - code: O.too_small, - minimum: r.minSize.value, - type: "set", - inclusive: !0, - exact: !1, - message: r.minSize.message, - }), - t.dirty()), - r.maxSize !== null && - n.data.size > r.maxSize.value && - (R(n, { - code: O.too_big, - maximum: r.maxSize.value, - type: "set", - inclusive: !0, - exact: !1, - message: r.maxSize.message, - }), - t.dirty()); - let i = this._def.valueType; - function l(s) { - let c = new Set(); - for (let d of s) { - if (d.status === "aborted") return Q; - d.status === "dirty" && t.dirty(), c.add(d.value); - } - return { status: t.value, value: c }; - } - let o = [...n.data.values()].map((s, c) => - i._parse(new Lt(n, s, n.path, c)), - ); - return n.common.async ? Promise.all(o).then((s) => l(s)) : l(o); - } - min(e, t) { - return new Zn({ - ...this._def, - minSize: { value: e, message: j.toString(t) }, - }); - } - max(e, t) { - return new Zn({ - ...this._def, - maxSize: { value: e, message: j.toString(t) }, - }); - } - size(e, t) { - return this.min(e, t).max(e, t); - } - nonempty(e) { - return this.min(1, e); - } - }; - Zn.create = (e, t) => - new Zn({ - valueType: e, - minSize: null, - maxSize: null, - typeName: $.ZodSet, - ...J(t), - }); - var va = class extends te { - constructor() { - super(...arguments), (this.validate = this.implement); - } - _parse(e) { - let { ctx: t } = this._processInputParams(e); - if (t.parsedType !== T.function) - return ( - R(t, { - code: O.invalid_type, - expected: T.function, - received: t.parsedType, - }), - Q - ); - function n(o, s) { - return Or({ - data: o, - path: t.path, - errorMaps: [ - t.common.contextualErrorMap, - t.schemaErrorMap, - _r(), - Ca, - ].filter((c) => !!c), - issueData: { code: O.invalid_arguments, argumentsError: s }, - }); - } - function r(o, s) { - return Or({ - data: o, - path: t.path, - errorMaps: [ - t.common.contextualErrorMap, - t.schemaErrorMap, - _r(), - Ca, - ].filter((c) => !!c), - issueData: { code: O.invalid_return_type, returnTypeError: s }, - }); - } - let i = { errorMap: t.common.contextualErrorMap }, - l = t.data; - if (this._def.returns instanceof Bn) { - let o = this; - return Ye(async function (...s) { - let c = new ft([]), - d = await o._def.args.parseAsync(s, i).catch((m) => { - throw (c.addIssue(n(s, m)), c); - }), - u = await Reflect.apply(l, this, d); - return await o._def.returns._def.type - .parseAsync(u, i) - .catch((m) => { - throw (c.addIssue(r(u, m)), c); - }); - }); - } else { - let o = this; - return Ye(function (...s) { - let c = o._def.args.safeParse(s, i); - if (!c.success) throw new ft([n(s, c.error)]); - let d = Reflect.apply(l, this, c.data), - u = o._def.returns.safeParse(d, i); - if (!u.success) throw new ft([r(d, u.error)]); - return u.data; - }); - } - } - parameters() { - return this._def.args; - } - returnType() { - return this._def.returns; - } - args(...e) { - return new va({ ...this._def, args: Vt.create(e).rest(cn.create()) }); - } - returns(e) { - return new va({ ...this._def, returns: e }); - } - implement(e) { - return this.parse(e); - } - strictImplement(e) { - return this.parse(e); - } - static create(e, t, n) { - return new va({ - args: e || Vt.create([]).rest(cn.create()), - returns: t || cn.create(), - typeName: $.ZodFunction, - ...J(n), - }); - } - }, - Aa = class extends te { - get schema() { - return this._def.getter(); - } - _parse(e) { - let { ctx: t } = this._processInputParams(e); - return this._def - .getter() - ._parse({ data: t.data, path: t.path, parent: t }); - } - }; - Aa.create = (e, t) => new Aa({ getter: e, typeName: $.ZodLazy, ...J(t) }); - var Ta = class extends te { - _parse(e) { - if (e.data !== this._def.value) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - received: t.data, - code: O.invalid_literal, - expected: this._def.value, - }), - Q - ); - } - return { status: "valid", value: e.data }; - } - get value() { - return this._def.value; - } - }; - Ta.create = (e, t) => new Ta({ value: e, typeName: $.ZodLiteral, ...J(t) }); - function f0(e, t) { - return new mn({ values: e, typeName: $.ZodEnum, ...J(t) }); - } - var mn = class extends te { - _parse(e) { - if (typeof e.data != "string") { - let t = this._getOrReturnCtx(e), - n = this._def.values; - return ( - R(t, { - expected: ue.joinValues(n), - received: t.parsedType, - code: O.invalid_type, - }), - Q - ); - } - if (this._def.values.indexOf(e.data) === -1) { - let t = this._getOrReturnCtx(e), - n = this._def.values; - return ( - R(t, { received: t.data, code: O.invalid_enum_value, options: n }), - Q - ); - } - return Ye(e.data); - } - get options() { - return this._def.values; - } - get enum() { - let e = {}; - for (let t of this._def.values) e[t] = t; - return e; - } - get Values() { - let e = {}; - for (let t of this._def.values) e[t] = t; - return e; - } - get Enum() { - let e = {}; - for (let t of this._def.values) e[t] = t; - return e; - } - extract(e) { - return mn.create(e); - } - exclude(e) { - return mn.create(this.options.filter((t) => !e.includes(t))); - } - }; - mn.create = f0; - var Fa = class extends te { - _parse(e) { - let t = ue.getValidEnumValues(this._def.values), - n = this._getOrReturnCtx(e); - if (n.parsedType !== T.string && n.parsedType !== T.number) { - let r = ue.objectValues(t); - return ( - R(n, { - expected: ue.joinValues(r), - received: n.parsedType, - code: O.invalid_type, - }), - Q - ); - } - if (t.indexOf(e.data) === -1) { - let r = ue.objectValues(t); - return ( - R(n, { received: n.data, code: O.invalid_enum_value, options: r }), - Q - ); - } - return Ye(e.data); - } - get enum() { - return this._def.values; - } - }; - Fa.create = (e, t) => - new Fa({ values: e, typeName: $.ZodNativeEnum, ...J(t) }); - var Bn = class extends te { - unwrap() { - return this._def.type; - } - _parse(e) { - let { ctx: t } = this._processInputParams(e); - if (t.parsedType !== T.promise && t.common.async === !1) - return ( - R(t, { - code: O.invalid_type, - expected: T.promise, - received: t.parsedType, - }), - Q - ); - let n = t.parsedType === T.promise ? t.data : Promise.resolve(t.data); - return Ye( - n.then((r) => - this._def.type.parseAsync(r, { - path: t.path, - errorMap: t.common.contextualErrorMap, - }), - ), - ); - } - }; - Bn.create = (e, t) => new Bn({ type: e, typeName: $.ZodPromise, ...J(t) }); - var gt = class extends te { - innerType() { - return this._def.schema; - } - sourceType() { - return this._def.schema._def.typeName === $.ZodEffects - ? this._def.schema.sourceType() - : this._def.schema; - } - _parse(e) { - let { status: t, ctx: n } = this._processInputParams(e), - r = this._def.effect || null, - i = { - addIssue: (l) => { - R(n, l), l.fatal ? t.abort() : t.dirty(); - }, - get path() { - return n.path; - }, - }; - if (((i.addIssue = i.addIssue.bind(i)), r.type === "preprocess")) { - let l = r.transform(n.data, i); - return n.common.issues.length - ? { status: "dirty", value: n.data } - : n.common.async - ? Promise.resolve(l).then((o) => - this._def.schema._parseAsync({ - data: o, - path: n.path, - parent: n, - }), - ) - : this._def.schema._parseSync({ - data: l, - path: n.path, - parent: n, - }); - } - if (r.type === "refinement") { - let l = (o) => { - let s = r.refinement(o, i); - if (n.common.async) return Promise.resolve(s); - if (s instanceof Promise) - throw new Error( - "Async refinement encountered during synchronous parse operation. Use .parseAsync instead.", - ); - return o; - }; - if (n.common.async === !1) { - let o = this._def.schema._parseSync({ - data: n.data, - path: n.path, - parent: n, - }); - return o.status === "aborted" - ? Q - : (o.status === "dirty" && t.dirty(), - l(o.value), - { status: t.value, value: o.value }); - } else - return this._def.schema - ._parseAsync({ data: n.data, path: n.path, parent: n }) - .then((o) => - o.status === "aborted" - ? Q - : (o.status === "dirty" && t.dirty(), - l(o.value).then(() => ({ - status: t.value, - value: o.value, - }))), - ); - } - if (r.type === "transform") - if (n.common.async === !1) { - let l = this._def.schema._parseSync({ - data: n.data, - path: n.path, - parent: n, - }); - if (!Sa(l)) return l; - let o = r.transform(l.value, i); - if (o instanceof Promise) - throw new Error( - "Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.", - ); - return { status: t.value, value: o }; - } else - return this._def.schema - ._parseAsync({ data: n.data, path: n.path, parent: n }) - .then((l) => - Sa(l) - ? Promise.resolve(r.transform(l.value, i)).then((o) => ({ - status: t.value, - value: o, - })) - : l, - ); - ue.assertNever(r); - } - }; - gt.create = (e, t, n) => - new gt({ schema: e, typeName: $.ZodEffects, effect: t, ...J(n) }); - gt.createWithPreprocess = (e, t, n) => - new gt({ - schema: t, - effect: { type: "preprocess", transform: e }, - typeName: $.ZodEffects, - ...J(n), - }); - var Bt = class extends te { - _parse(e) { - return this._getType(e) === T.undefined - ? Ye(void 0) - : this._def.innerType._parse(e); - } - unwrap() { - return this._def.innerType; - } - }; - Bt.create = (e, t) => - new Bt({ innerType: e, typeName: $.ZodOptional, ...J(t) }); - var pn = class extends te { - _parse(e) { - return this._getType(e) === T.null - ? Ye(null) - : this._def.innerType._parse(e); - } - unwrap() { - return this._def.innerType; - } - }; - pn.create = (e, t) => - new pn({ innerType: e, typeName: $.ZodNullable, ...J(t) }); - var La = class extends te { - _parse(e) { - let { ctx: t } = this._processInputParams(e), - n = t.data; - return ( - t.parsedType === T.undefined && (n = this._def.defaultValue()), - this._def.innerType._parse({ data: n, path: t.path, parent: t }) - ); - } - removeDefault() { - return this._def.innerType; - } - }; - La.create = (e, t) => - new La({ - innerType: e, - typeName: $.ZodDefault, - defaultValue: - typeof t.default == "function" ? t.default : () => t.default, - ...J(t), - }); - var Ir = class extends te { - _parse(e) { - let { ctx: t } = this._processInputParams(e), - n = { ...t, common: { ...t.common, issues: [] } }, - r = this._def.innerType._parse({ - data: n.data, - path: n.path, - parent: { ...n }, - }); - return Ar(r) - ? r.then((i) => ({ - status: "valid", - value: - i.status === "valid" - ? i.value - : this._def.catchValue({ - get error() { - return new ft(n.common.issues); - }, - input: n.data, - }), - })) - : { - status: "valid", - value: - r.status === "valid" - ? r.value - : this._def.catchValue({ - get error() { - return new ft(n.common.issues); - }, - input: n.data, - }), - }; - } - removeCatch() { - return this._def.innerType; - } - }; - Ir.create = (e, t) => - new Ir({ - innerType: e, - typeName: $.ZodCatch, - catchValue: typeof t.catch == "function" ? t.catch : () => t.catch, - ...J(t), - }); - var Zr = class extends te { - _parse(e) { - if (this._getType(e) !== T.nan) { - let t = this._getOrReturnCtx(e); - return ( - R(t, { - code: O.invalid_type, - expected: T.nan, - received: t.parsedType, - }), - Q - ); - } - return { status: "valid", value: e.data }; - } - }; - Zr.create = (e) => new Zr({ typeName: $.ZodNaN, ...J(e) }); - var fp = Symbol("zod_brand"), - g0 = class extends te { - _parse(e) { - let { ctx: t } = this._processInputParams(e), - n = t.data; - return this._def.type._parse({ data: n, path: t.path, parent: t }); - } - unwrap() { - return this._def.type; - } - }, - ti = class extends te { - _parse(e) { - let { status: t, ctx: n } = this._processInputParams(e); - if (n.common.async) - return (async () => { - let r = await this._def.in._parseAsync({ - data: n.data, - path: n.path, - parent: n, - }); - return r.status === "aborted" - ? Q - : r.status === "dirty" - ? (t.dirty(), h0(r.value)) - : this._def.out._parseAsync({ - data: r.value, - path: n.path, - parent: n, - }); - })(); - { - let r = this._def.in._parseSync({ - data: n.data, - path: n.path, - parent: n, - }); - return r.status === "aborted" - ? Q - : r.status === "dirty" - ? (t.dirty(), { status: "dirty", value: r.value }) - : this._def.out._parseSync({ - data: r.value, - path: n.path, - parent: n, - }); - } - } - static create(e, t) { - return new ti({ in: e, out: t, typeName: $.ZodPipeline }); - } - }, - Br = class extends te { - _parse(e) { - let t = this._def.innerType._parse(e); - return Sa(t) && (t.value = Object.freeze(t.value)), t; - } - }; - Br.create = (e, t) => - new Br({ innerType: e, typeName: $.ZodReadonly, ...J(t) }); - var v0 = (e, t = {}, n) => - e - ? In.create().superRefine((r, i) => { - var l, o; - if (!e(r)) { - let s = - typeof t == "function" - ? t(r) - : typeof t == "string" - ? { message: t } - : t, - c = - (o = (l = s.fatal) !== null && l !== void 0 ? l : n) !== - null && o !== void 0 - ? o - : !0, - d = typeof s == "string" ? { message: s } : s; - i.addIssue({ code: "custom", ...d, fatal: c }); - } - }) - : In.create(), - gp = { object: Te.lazycreate }, - $; - (function (e) { - (e.ZodString = "ZodString"), - (e.ZodNumber = "ZodNumber"), - (e.ZodNaN = "ZodNaN"), - (e.ZodBigInt = "ZodBigInt"), - (e.ZodBoolean = "ZodBoolean"), - (e.ZodDate = "ZodDate"), - (e.ZodSymbol = "ZodSymbol"), - (e.ZodUndefined = "ZodUndefined"), - (e.ZodNull = "ZodNull"), - (e.ZodAny = "ZodAny"), - (e.ZodUnknown = "ZodUnknown"), - (e.ZodNever = "ZodNever"), - (e.ZodVoid = "ZodVoid"), - (e.ZodArray = "ZodArray"), - (e.ZodObject = "ZodObject"), - (e.ZodUnion = "ZodUnion"), - (e.ZodDiscriminatedUnion = "ZodDiscriminatedUnion"), - (e.ZodIntersection = "ZodIntersection"), - (e.ZodTuple = "ZodTuple"), - (e.ZodRecord = "ZodRecord"), - (e.ZodMap = "ZodMap"), - (e.ZodSet = "ZodSet"), - (e.ZodFunction = "ZodFunction"), - (e.ZodLazy = "ZodLazy"), - (e.ZodLiteral = "ZodLiteral"), - (e.ZodEnum = "ZodEnum"), - (e.ZodEffects = "ZodEffects"), - (e.ZodNativeEnum = "ZodNativeEnum"), - (e.ZodOptional = "ZodOptional"), - (e.ZodNullable = "ZodNullable"), - (e.ZodDefault = "ZodDefault"), - (e.ZodCatch = "ZodCatch"), - (e.ZodPromise = "ZodPromise"), - (e.ZodBranded = "ZodBranded"), - (e.ZodPipeline = "ZodPipeline"), - (e.ZodReadonly = "ZodReadonly"); - })($ || ($ = {})); - var vp = (e, t = { message: `Input not instance of ${e.name}` }) => - v0((n) => n instanceof e, t), - y0 = Nt.create, - b0 = dn.create, - yp = Zr.create, - bp = un.create, - E0 = xa.create, - Ep = Rn.create, - kp = Tr.create, - wp = Na.create, - Cp = Ma.create, - Sp = In.create, - xp = cn.create, - Np = Pt.create, - Mp = Fr.create, - _p = At.create, - Op = Te.create, - Ap = Te.strictCreate, - Tp = _a.create, - Fp = Ql.create, - Lp = Oa.create, - Rp = Vt.create, - Ip = Lr.create, - Zp = Rr.create, - Bp = Zn.create, - Pp = va.create, - Vp = Aa.create, - Dp = Ta.create, - Hp = mn.create, - jp = Fa.create, - zp = Bn.create, - d1 = gt.create, - Up = Bt.create, - $p = pn.create, - Wp = gt.createWithPreprocess, - Gp = ti.create, - qp = () => y0().optional(), - Yp = () => b0().optional(), - Qp = () => E0().optional(), - Kp = { - string: (e) => Nt.create({ ...e, coerce: !0 }), - number: (e) => dn.create({ ...e, coerce: !0 }), - boolean: (e) => xa.create({ ...e, coerce: !0 }), - bigint: (e) => un.create({ ...e, coerce: !0 }), - date: (e) => Rn.create({ ...e, coerce: !0 }), - }, - Jp = Q, - It = Object.freeze({ - __proto__: null, - defaultErrorMap: Ca, - setErrorMap: np, - getErrorMap: _r, - makeIssue: Or, - EMPTY_PATH: ap, - addIssueToContext: R, - ParseStatus: qe, - INVALID: Q, - DIRTY: h0, - OK: Ye, - isAborted: hl, - isDirty: fl, - isValid: Sa, - isAsync: Ar, - get util() { - return ue; - }, - get objectUtil() { - return pl; - }, - ZodParsedType: T, - getParsedType: $t, - ZodType: te, - ZodString: Nt, - ZodNumber: dn, - ZodBigInt: un, - ZodBoolean: xa, - ZodDate: Rn, - ZodSymbol: Tr, - ZodUndefined: Na, - ZodNull: Ma, - ZodAny: In, - ZodUnknown: cn, - ZodNever: Pt, - ZodVoid: Fr, - ZodArray: At, - ZodObject: Te, - ZodUnion: _a, - ZodDiscriminatedUnion: Ql, - ZodIntersection: Oa, - ZodTuple: Vt, - ZodRecord: Lr, - ZodMap: Rr, - ZodSet: Zn, - ZodFunction: va, - ZodLazy: Aa, - ZodLiteral: Ta, - ZodEnum: mn, - ZodNativeEnum: Fa, - ZodPromise: Bn, - ZodEffects: gt, - ZodTransformer: gt, - ZodOptional: Bt, - ZodNullable: pn, - ZodDefault: La, - ZodCatch: Ir, - ZodNaN: Zr, - BRAND: fp, - ZodBranded: g0, - ZodPipeline: ti, - ZodReadonly: Br, - custom: v0, - Schema: te, - ZodSchema: te, - late: gp, - get ZodFirstPartyTypeKind() { - return $; - }, - coerce: Kp, - any: Sp, - array: _p, - bigint: bp, - boolean: E0, - date: Ep, - discriminatedUnion: Fp, - effect: d1, - enum: Hp, - function: Pp, - instanceof: vp, - intersection: Lp, - lazy: Vp, - literal: Dp, - map: Zp, - nan: yp, - nativeEnum: jp, - never: Np, - null: Cp, - nullable: $p, - number: b0, - object: Op, - oboolean: Qp, - onumber: Yp, - optional: Up, - ostring: qp, - pipeline: Gp, - preprocess: Wp, - promise: zp, - record: Ip, - set: Bp, - strictObject: Ap, - string: y0, - symbol: kp, - transformer: d1, - tuple: Rp, - undefined: wp, - union: Tp, - unknown: xp, - void: Mp, - NEVER: Jp, - ZodIssueCode: O, - quotelessJson: tp, - ZodError: ft, - }), - Xp = It.union([ - It.object({ message: It.literal("login") }), - It.object({ message: It.literal("grant"), denied: It.boolean() }), - It.object({ - message: It.literal("createdProject"), - projectId: It.string(), - }), - ]), - k0 = (e) => { - let t = Be(), - n = Be(); - return ( - ne(() => { - let r = ({ origin: i, data: l }) => { - if (i === n.current) { - let o; - try { - o = Xp.parse(l); - } catch { - return; - } - e?.(o); - } - }; - return ( - window.addEventListener("message", r), - () => window.removeEventListener("message", r) - ); - }, [e]), - [ - G((r) => { - if (window.innerWidth > 800 && window.innerHeight > 800) { - let l = (window.innerWidth - 800) / 2 + window.screenLeft, - o = `scrollbars=yes,width=800,height=800,top=${(window.innerHeight - 800) / 2 + window.screenTop},left=${l}`; - (t.current = window.open(r, "chromatic-dialog", o)), - t.current?.focus(); - } else t.current = window.open(r, "_blank"); - let { origin: i } = new URL(r); - n.current = i; - }, []), - G(() => t.current?.close(), []), - ] - ); - }, - e3 = w.ol(({ theme: e }) => ({ - display: "inline-flex", - listStyle: "none", - marginTop: 15, - marginBottom: 5, - padding: 0, - gap: 5, - "li:not(:empty)": { - display: "flex", - alignItems: "center", - justifyContent: "center", - border: `1px dashed ${e.input.border}`, - borderRadius: 4, - width: 28, - height: 32, - }, - })), - t3 = yt(` - query VisualTestsProjectCountQuery { - viewer { - projectCount - accounts { - newProjectUrl - } - } - } -`), - n3 = ({ - onBack: e, - hasProjectId: t, - setAccessToken: n, - setCreatedProjectId: r, - exchangeParameters: i, - }) => { - let l = Zl(), - o = i0(), - { user_code: s, verificationUrl: c } = i, - d = Be(), - u = Be(), - m = Be(), - p = G( - async (y) => { - if ( - (y.message === "login" && u.current?.(c), y.message === "grant") - ) - try { - let k = await g4(i); - if (!k) throw new Error("Failed to fetch an access token"); - d.current = k; - let b = Bs(k), - { data: h } = await l.query(t3, {}, { fetchOptions: b }); - if (!h?.viewer) - throw new Error("Failed to fetch initial project list"); - if (h.viewer.projectCount > 0 || t) - n(d.current), m.current?.(); - else { - if (!h.viewer.accounts[0]) - throw new Error("User has no accounts!"); - if (!h.viewer.accounts[0].newProjectUrl) - throw new Error("Unexpected missing project URL"); - u.current?.(h.viewer.accounts[0].newProjectUrl); - } - } catch (k) { - o("Login Error", k); - } - y.message === "createdProject" && - (d.current - ? (n(d.current), r(`Project:${y.projectId}`), m.current?.()) - : o("Unexpected missing access token", new Error())); - }, - [c, i, l, t, n, o, r], - ), - [f, g] = k0(p); - return ( - (u.current = f), - (m.current = g), - a.createElement( - _e, - { footer: null, ignoreConfig: !0 }, - a.createElement(ei, { onBack: e }), - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Verify your account"), - a.createElement( - "div", - null, - a.createElement( - Y, - { center: !0, muted: !0 }, - "Check this verification code on Chromatic to grant access to your published Storybooks.", - ), - ), - a.createElement( - e3, - null, - s - ?.split("") - .map((y, k) => - a.createElement( - "li", - { key: `${k}-${y}` }, - y.replace(/[^A-Z0-9]/, ""), - ), - ), - ), - ), - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: () => f(c) }, - "Go to Chromatic", - ), - ), - ), - ) - ); - }, - a3 = ({ onNext: e, onUninstall: t }) => - a.createElement( - _e, - { footer: null, ignoreConfig: !0 }, - a.createElement(ei, null), - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(gn, null), - a.createElement(ve, null, "Visual tests"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.", - ), - ), - a.createElement( - Ft, - null, - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: e }, - "Enable", - ), - a.createElement( - pe, - { link: !0, onClick: () => t() }, - "Uninstall", - ), - ), - ), - ), - ), - r3 = ({ setAccessToken: e, setCreatedProjectId: t, hasProjectId: n }) => { - let [r, i] = ot("authenticationScreen", n ? "signin" : "welcome"), - [l, o] = ot("exchangeParameters"), - s = i0(), - { uninstallAddon: c } = Gl(); - nt("Authentication", r.charAt(0).toUpperCase() + r.slice(1)); - let d = G( - async (u) => { - try { - o(await f4(u)), i("verify"); - } catch (m) { - s("Sign in Error", m); - } - }, - [s, o, i], - ); - if (r === "welcome" && !n) - return a.createElement(a3, { - onNext: () => i("signin"), - onUninstall: c, - }); - if (r === "signin" || (r === "welcome" && n)) - return a.createElement(X4, { - ...(n ? {} : { onBack: () => i("welcome") }), - onSignIn: d, - onSignInWithSSO: () => i("subdomain"), - }); - if (r === "subdomain") - return a.createElement(J4, { - onBack: () => i("signin"), - onSignIn: d, - }); - if (r === "verify") { - if (!l) - throw new Error( - "Expected to have a `exchangeParameters` if at `verify` step", - ); - return a.createElement(n3, { - onBack: () => i("signin"), - hasProjectId: n, - setAccessToken: e, - setCreatedProjectId: t, - exchangeParameters: l, - }); - } - return null; - }, - w0 = w.div( - ({ theme: e }) => ({ - display: "flex", - flexDirection: "row", - alignItems: "center", - borderRadius: e.appBorderRadius, - background: e.base === "light" ? e.color.lightest : e.color.darkest, - border: `1px solid ${e.appBorderColor}`, - padding: 15, - flex: 1, - gap: 14, - maxWidth: "500px", - width: "100%", - }), - ({ theme: e, warning: t }) => - t && { - background: e.base === "dark" ? "#342e1a" : e.background.warning, - }, - ), - i3 = w.b(() => ({ display: "block", marginBottom: 2 })), - l3 = () => { - nt("Errors", "GitNotFound"); - let { uninstallAddon: e } = Gl(); - return a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(gn, null), - a.createElement(ve, null, "Visual tests"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.", - ), - ), - a.createElement( - w0, - null, - a.createElement(vs, { style: { flexShrink: 0 } }), - a.createElement( - Y, - null, - a.createElement(i3, null, "Git not detected"), - "This addon requires Git to associate test results with commits and branches. Run", - " ", - a.createElement(ze, null, "git init"), - " and make your first commit", - a.createElement(ze, null, "git commit -m"), - " to get started!", - ), - ), - a.createElement( - Ge, - { - target: "_blank", - href: "https://www.chromatic.com/docs/visual-tests-addon#git-addon", - withArrow: !0, - secondary: !0, - }, - "Visual tests requirements", - ), - a.createElement( - Ge, - { withArrow: !0, onClick: () => e() }, - "Uninstall", - ), - ), - ), - ); - }, - o3 = w(Nl)(({ theme: e }) => ({ - width: 40, - height: 40, - padding: 10, - background: e.color.positive, - borderRadius: "100%", - color: "white", - })), - s3 = w(Ge)(() => ({ marginTop: 5 })), - c3 = yt(` - query ProjectQuery($projectId: ID!) { - project(id: $projectId) { - id - name - webUrl - lastBuild { - branch - number - } - } - } -`), - d3 = ({ projectId: e, configFile: t, goToNext: n }) => { - nt("LinkProject", "LinkedProject"); - let [{ data: r, fetching: i, error: l }] = Bl({ - query: c3, - variables: { projectId: e }, - }); - return a.createElement( - _e, - { - footer: a.createElement( - Xr, - null, - a.createElement( - dt, - null, - r?.project?.lastBuild && - a.createElement( - Y, - { style: { marginLeft: 5 } }, - "Last build: ", - r.project.lastBuild.number, - " on branch", - " ", - r.project.lastBuild.branch, - ), - ), - a.createElement(dt, { push: !0 }, a.createElement(Jr, null)), - ), - }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - i && a.createElement("p", null, "Loading..."), - l && a.createElement("p", null, l.message), - r?.project && - a.createElement( - a.Fragment, - null, - a.createElement(o3, null), - a.createElement( - "div", - null, - a.createElement(ve, null, "Project linked!"), - a.createElement( - Y, - { center: !0, muted: !0, style: { maxWidth: 500 } }, - "The ", - a.createElement(ze, null, "projectId"), - " for ", - a.createElement("strong", null, r.project.name), - " was added in", - " ", - a.createElement(ze, null, t), - " to sync tests with Chromatic. Please commit this change to continue using this addon.", - ), - ), - a.createElement( - Ft, - null, - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: () => n() }, - "Catch a UI change", - ), - a.createElement( - s3, - { - href: "https://www.chromatic.com/docs/cli", - target: "_blank", - withArrow: !0, - secondary: !0, - }, - "What's a project ID?", - ), - ), - ), - ), - ), - ); - }; - function u3(e) { - for (var t = [], n = 1; n < arguments.length; n++) - t[n - 1] = arguments[n]; - var r = Array.from(typeof e == "string" ? [e] : e); - r[r.length - 1] = r[r.length - 1].replace(/\r?\n([\t ]*)$/, ""); - var i = r.reduce(function (s, c) { - var d = c.match(/\n([\t ]+|(?!\s).)/g); - return d - ? s.concat( - d.map(function (u) { - var m, p; - return (p = - (m = u.match(/[\t ]/g)) === null || m === void 0 - ? void 0 - : m.length) !== null && p !== void 0 - ? p - : 0; - }), - ) - : s; - }, []); - if (i.length) { - var l = new RegExp( - ` -[ ]{` + - Math.min.apply(Math, i) + - "}", - "g", - ); - r = r.map(function (s) { - return s.replace( - l, - ` -`, - ); - }); - } - r[0] = r[0].replace(/^\r?\n/, ""); - var o = r[0]; - return ( - t.forEach(function (s, c) { - var d = o.match(/(?:^|\n)( *)$/), - u = d ? d[1] : "", - m = s; - typeof s == "string" && - s.includes(` -`) && - (m = String(s) - .split( - ` -`, - ) - .map(function (p, f) { - return f === 0 ? p : "" + u + p; - }).join(` -`)), - (o += m + r[c + 1]); - }), - o - ); - } - var m3 = w.div(({ theme: e }) => ({ - "&& > *": { margin: 0 }, - "&& pre": { - color: e.base === "light" ? e.color.darker : e.color.lighter, - background: e.base === "light" ? e.color.lightest : e.color.darkest, - fontSize: "12px", - lineHeight: "16px", - textAlign: "left", - padding: "15px !important", - }, - })), - p3 = "https://www.chromatic.com/docs/visual-tests-addon/#configure"; - function h3({ projectId: e, configFile: t }) { - return ( - nt("LinkProject", "LinkingProjectFailed"), - a.createElement( - _e, - null, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement( - ve, - null, - "Add the project ID to your Chromatic config", - ), - a.createElement( - Y, - { center: !0, muted: !0 }, - "The ", - a.createElement(ze, null, "projectId"), - " will be used to sync tests with Chromatic. Please commit this change to continue using the addon. The file should be saved at", - " ", - a.createElement(ze, null, t), - ".", - ), - ), - a.createElement( - m3, - null, - a.createElement( - ze, - null, - u3` - { - "projectId": "${e}", - } - `, - ), - ), - a.createElement( - Ge, - { secondary: !0, withArrow: !0, target: "_blank", href: p3 }, - "What's this for?", - ), - ), - ), - ) - ); - } - var f3 = yt(` - query SelectProjectsQuery { - viewer { - accounts { - id - name - avatarUrl - newProjectUrl - projects { - id - name - webUrl - lastBuild { - branch - number - } - } - } - } - } -`), - g3 = ({ - createdProjectId: e, - setCreatedProjectId: t, - onUpdateProject: n, - }) => { - let r = a.useCallback( - async (i) => { - await n(i); - }, - [n], - ); - return a.createElement(b3, { - createdProjectId: e, - setCreatedProjectId: t, - onSelectProjectId: r, - }); - }, - nr = w.div(({ theme: e }) => ({ - fontSize: `${e.typography.size.s1 - 1}px`, - fontWeight: e.typography.weight.bold, - color: e.base === "light" ? e.color.dark : e.color.light, - backgroundColor: "inherit", - padding: "7px 15px", - borderBottom: `1px solid ${e.appBorderColor}`, - lineHeight: "18px", - letterSpacing: "0.38em", - textTransform: "uppercase", - })), - u1 = w.div(({ theme: e }) => ({})), - m1 = w.div(({ theme: e }) => ({ - background: e.base === "light" ? e.color.lighter : e.color.darker, - })), - p1 = w.div(({ theme: e }) => ({ - background: e.base === "light" ? e.color.lightest : e.color.darkest, - borderRadius: 5, - border: `1px solid ${e.appBorderColor}`, - height: 260, - maxWidth: 420, - minWidth: 260, - width: "100%", - overflow: "hidden", - textAlign: "left", - position: "relative", - display: "flex", - "> *": { - flex: 1, - display: "flex", - flexDirection: "column", - width: "50%", - }, - })), - ar = w.div({ height: "100%", overflowY: "auto" }), - v3 = w(me)({ width: "100%" }), - y3 = w(Vm)({ marginRight: 10 }); - function b3({ - createdProjectId: e, - setCreatedProjectId: t, - onSelectProjectId: n, - }) { - let [{ data: r, fetching: i, error: l }, o] = Bl({ query: f3 }); - ne(() => { - let h = setInterval(o, 5e3); - return () => clearInterval(h); - }, [o]); - let [s, c] = ot("selectedAccountId"), - d = r?.viewer?.accounts.find((h) => h.id === s), - u = G((h) => c(h.id), [c]); - ne(() => { - !s && r?.viewer?.accounts && u(r.viewer.accounts[0]); - }, [r, s, u]); - let [m, p] = ot("isSelectingProject", !1), - f = G( - (h) => { - p(!0), n(h.id); - let v = setTimeout(() => { - p(!1); - }, 1e3); - return () => clearTimeout(v); - }, - [n, p], - ), - g = G( - async (h) => { - h.message === "createdProject" && (o(), t(h.projectId)); - }, - [o, t], - ), - [y, k] = k0(g), - b = e && d?.projects?.find((h) => h?.id.endsWith(e)); - return ( - ne(() => { - b && (k(), f(b)); - }, [b, f, k]), - nt("LinkProject", "LinkProject"), - a.createElement( - _e, - null, - a.createElement( - Se, - null, - a.createElement( - v3, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Select a project"), - a.createElement( - Y, - { muted: !0 }, - "Your tests will sync with this project.", - ), - ), - l && a.createElement("p", null, l.message), - !r && - i && - a.createElement( - p1, - null, - a.createElement( - u1, - null, - a.createElement(nr, null, "Accounts"), - a.createElement( - ar, - null, - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - ), - ), - a.createElement( - m1, - null, - a.createElement(nr, null, "Projects"), - a.createElement( - ar, - { "data-testid": "right-list" }, - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - a.createElement(pt, { - appearance: "secondary", - isLoading: !0, - }), - ), - ), - ), - r?.viewer?.accounts && - a.createElement( - p1, - null, - a.createElement( - u1, - null, - a.createElement(nr, null, "Accounts"), - a.createElement( - ar, - { "data-testid": "left-list" }, - r.viewer.accounts?.map((h) => - a.createElement(pt, { - key: h.id, - title: h.name, - appearance: "secondary", - left: a.createElement(y3, { - src: h.avatarUrl ?? void 0, - size: "tiny", - }), - onClick: () => u(h), - active: s === h.id, - }), - ), - ), - ), - a.createElement( - m1, - null, - a.createElement(nr, null, "Projects"), - a.createElement( - ar, - { "data-testid": "right-list" }, - d && - a.createElement(pt, { - isLink: !1, - onClick: () => { - if (!d?.newProjectUrl) - throw new Error( - "Unexpected missing `newProjectUrl` on account", - ); - y(d.newProjectUrl); - }, - title: a.createElement( - Ge, - { isButton: !0, withArrow: !0 }, - "Create new project", - ), - }), - d?.projects?.map( - (h) => - h && - a.createElement(pt, { - appearance: "secondary", - key: h.id, - title: h.name, - right: a.createElement(H5, { - "aria-label": h.name, - }), - onClick: () => f(h), - disabled: m, - }), - ), - ), - ), - ), - ), - ), - ) - ); - } - var E3 = () => - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(gn, null), - a.createElement(ve, null, "Visual tests"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Visual tests only runs locally. To test this Storybook, clone it to your machine and run ", - a.createElement(ze, null, "npx storybook dev"), - ".", - ), - ), - ), - ), - ), - k3 = ({ offline: e = !1 }) => - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Can't connect to Chromatic"), - a.createElement( - Y, - { center: !0, muted: !0 }, - e - ? "You're offline. Double check your internet connection." - : "We're having trouble connecting to the Chromatic API.", - ), - ), - !e && - a.createElement( - Ge, - { - href: "https://status.chromatic.com", - target: "_blank", - rel: "noreferrer", - withArrow: !0, - }, - "Chromatic API status", - ), - ), - ), - ), - w3 = () => ( - nt("Uninstalled", "uninstalled"), - a.createElement( - _e, - { footer: !1 }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(gn, null), - a.createElement(ve, null, "Uninstall complete"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Visual tests will vanish the next time you restart your Storybook.", - ), - ), - ), - ), - ) - ), - C0 = { isRunning: !1, startBuild: () => {}, stopBuild: () => {} }, - S0 = Xe(C0), - Pa = () => Rt(S0, "RunBuild"), - C3 = ({ children: e, watchState: t = C0 }) => - a.createElement(S0.Provider, { value: t }, e), - x0 = { - PENDING: "warn", - FAILED: "error", - DENIED: "error", - BROKEN: "error", - }, - Ri = [null, "unknown", "pending", "success", "warn", "error"]; - function S3(e, t) { - return Ri[Math.max(Ri.indexOf(e), Ri.indexOf(t))]; - } - function x3(e, t) { - let n = {}; - t.forEach((i) => { - !i.story || - !i.status || - (n[i.story.storyId] = S3(x0[i.status] || null, n[i.story.storyId])); - }); - let r = () => { - e.setSelectedPanel(fn), e.togglePanel(!0); - }; - return Object.fromEntries( - Object.entries(n).map(([i, l]) => [ - i, - l && { - status: l, - title: "Visual tests", - description: "Chromatic Visual Tests", - onClick: r, - }, - ]), - ); - } - function N3( - e, - { - shouldSwitchToLastBuildOnBranch: t, - lastBuildOnBranchId: n, - storyId: r, - }, - ) { - if (!t) return e ? { ...e, storyId: r } : void 0; - if (!n) throw new Error("Impossible state"); - return { buildId: n, storyId: r }; - } - var h1 = { - EXCEEDED_THRESHOLD: { - heading: "Snapshot limit reached", - message: - "Your account has reached its monthly snapshot limit. Visual testing is disabled. Upgrade your plan to increase your quota.", - action: "Upgrade plan", - }, - PAYMENT_REQUIRED: { - heading: "Payment required", - message: - "Your subscription payment is past due. Review or replace your payment method to continue using Chromatic.", - action: "Review billing details", - }, - OTHER: { - heading: "Account suspended", - message: - "Your account has been suspended. Contact customer support for details.", - action: "Billing details", - }, - }, - N0 = ({ children: e, billingUrl: t, suspensionReason: n = "OTHER" }) => { - nt("Errors", "AccountSuspended"); - let { heading: r, message: i, action: l } = h1[n] || h1.OTHER; - return a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, r), - a.createElement(Y, { center: !0, muted: !0 }, i), - ), - t && - a.createElement( - pe, - { asChild: !0, size: "medium", variant: "solid" }, - a.createElement("a", { href: t, target: "_new" }, l), - ), - e, - ), - ), - ); - }, - M3 = ({ children: e, manageUrl: t }) => ( - nt("Errors", "VisualTestsDisabled"), - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement( - ve, - null, - "Visual tests disabled for your project", - ), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Update your project settings to enable visual testing.", - ), - ), - a.createElement( - pe, - { asChild: !0, size: "medium", variant: "solid" }, - a.createElement( - "a", - { href: t, target: "_new" }, - "Manage project settings", - ), - ), - e, - ), - ), - ) - ); - function M0(e) { - return (t) => typeof t === e; - } - var _3 = M0("function"), - O3 = (e) => e === null, - f1 = (e) => Object.prototype.toString.call(e).slice(8, -1) === "RegExp", - g1 = (e) => !A3(e) && !O3(e) && (_3(e) || typeof e == "object"), - A3 = M0("undefined"); - function T3(e, t) { - let { length: n } = e; - if (n !== t.length) return !1; - for (let r = n; r-- !== 0; ) if (!We(e[r], t[r])) return !1; - return !0; - } - function F3(e, t) { - if (e.byteLength !== t.byteLength) return !1; - let n = new DataView(e.buffer), - r = new DataView(t.buffer), - i = e.byteLength; - for (; i--; ) if (n.getUint8(i) !== r.getUint8(i)) return !1; - return !0; - } - function L3(e, t) { - if (e.size !== t.size) return !1; - for (let n of e.entries()) if (!t.has(n[0])) return !1; - for (let n of e.entries()) if (!We(n[1], t.get(n[0]))) return !1; - return !0; - } - function R3(e, t) { - if (e.size !== t.size) return !1; - for (let n of e.entries()) if (!t.has(n[0])) return !1; - return !0; - } - function We(e, t) { - if (e === t) return !0; - if (e && g1(e) && t && g1(t)) { - if (e.constructor !== t.constructor) return !1; - if (Array.isArray(e) && Array.isArray(t)) return T3(e, t); - if (e instanceof Map && t instanceof Map) return L3(e, t); - if (e instanceof Set && t instanceof Set) return R3(e, t); - if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) return F3(e, t); - if (f1(e) && f1(t)) return e.source === t.source && e.flags === t.flags; - if (e.valueOf !== Object.prototype.valueOf) - return e.valueOf() === t.valueOf(); - if (e.toString !== Object.prototype.toString) - return e.toString() === t.toString(); - let n = Object.keys(e), - r = Object.keys(t); - if (n.length !== r.length) return !1; - for (let i = n.length; i-- !== 0; ) - if (!Object.prototype.hasOwnProperty.call(t, n[i])) return !1; - for (let i = n.length; i-- !== 0; ) { - let l = n[i]; - if (!(l === "_owner" && e.$$typeof) && !We(e[l], t[l])) return !1; - } - return !0; - } - return Number.isNaN(e) && Number.isNaN(t) ? !0 : e === t; - } - var I3 = [ - "Array", - "ArrayBuffer", - "AsyncFunction", - "AsyncGenerator", - "AsyncGeneratorFunction", - "Date", - "Error", - "Function", - "Generator", - "GeneratorFunction", - "HTMLElement", - "Map", - "Object", - "Promise", - "RegExp", - "Set", - "WeakMap", - "WeakSet", - ], - Z3 = [ - "bigint", - "boolean", - "null", - "number", - "string", - "symbol", - "undefined", - ]; - function ni(e) { - let t = Object.prototype.toString.call(e).slice(8, -1); - if (/HTML\w+Element/.test(t)) return "HTMLElement"; - if (B3(t)) return t; - } - function bt(e) { - return (t) => ni(t) === e; - } - function B3(e) { - return I3.includes(e); - } - function jn(e) { - return (t) => typeof t === e; - } - function P3(e) { - return Z3.includes(e); - } - var V3 = ["innerHTML", "ownerDocument", "style", "attributes", "nodeValue"]; - function F(e) { - if (e === null) return "null"; - switch (typeof e) { - case "bigint": - return "bigint"; - case "boolean": - return "boolean"; - case "number": - return "number"; - case "string": - return "string"; - case "symbol": - return "symbol"; - case "undefined": - return "undefined"; - } - return F.array(e) - ? "Array" - : F.plainFunction(e) - ? "Function" - : ni(e) || "Object"; - } - F.array = Array.isArray; - F.arrayOf = (e, t) => - !F.array(e) && !F.function(t) ? !1 : e.every((n) => t(n)); - F.asyncGeneratorFunction = (e) => ni(e) === "AsyncGeneratorFunction"; - F.asyncFunction = bt("AsyncFunction"); - F.bigint = jn("bigint"); - F.boolean = (e) => e === !0 || e === !1; - F.date = bt("Date"); - F.defined = (e) => !F.undefined(e); - F.domElement = (e) => - F.object(e) && - !F.plainObject(e) && - e.nodeType === 1 && - F.string(e.nodeName) && - V3.every((t) => t in e); - F.empty = (e) => - (F.string(e) && e.length === 0) || - (F.array(e) && e.length === 0) || - (F.object(e) && !F.map(e) && !F.set(e) && Object.keys(e).length === 0) || - (F.set(e) && e.size === 0) || - (F.map(e) && e.size === 0); - F.error = bt("Error"); - F.function = jn("function"); - F.generator = (e) => - F.iterable(e) && F.function(e.next) && F.function(e.throw); - F.generatorFunction = bt("GeneratorFunction"); - F.instanceOf = (e, t) => - !e || !t ? !1 : Object.getPrototypeOf(e) === t.prototype; - F.iterable = (e) => !F.nullOrUndefined(e) && F.function(e[Symbol.iterator]); - F.map = bt("Map"); - F.nan = (e) => Number.isNaN(e); - F.null = (e) => e === null; - F.nullOrUndefined = (e) => F.null(e) || F.undefined(e); - F.number = (e) => jn("number")(e) && !F.nan(e); - F.numericString = (e) => - F.string(e) && e.length > 0 && !Number.isNaN(Number(e)); - F.object = (e) => - !F.nullOrUndefined(e) && (F.function(e) || typeof e == "object"); - F.oneOf = (e, t) => (F.array(e) ? e.indexOf(t) > -1 : !1); - F.plainFunction = bt("Function"); - F.plainObject = (e) => { - if (ni(e) !== "Object") return !1; - let t = Object.getPrototypeOf(e); - return t === null || t === Object.getPrototypeOf({}); - }; - F.primitive = (e) => F.null(e) || P3(typeof e); - F.promise = bt("Promise"); - F.propertyOf = (e, t, n) => { - if (!F.object(e) || !t) return !1; - let r = e[t]; - return F.function(n) ? n(r) : F.defined(r); - }; - F.regexp = bt("RegExp"); - F.set = bt("Set"); - F.string = jn("string"); - F.symbol = jn("symbol"); - F.undefined = jn("undefined"); - F.weakMap = bt("WeakMap"); - F.weakSet = bt("WeakSet"); - var I = F; - function D3(...e) { - return e.every((t) => I.string(t) || I.array(t) || I.plainObject(t)); - } - function H3(e, t, n) { - return _0(e, t) - ? [e, t].every(I.array) - ? !e.some(k1(n)) && t.some(k1(n)) - : [e, t].every(I.plainObject) - ? !Object.entries(e).some(E1(n)) && Object.entries(t).some(E1(n)) - : t === n - : !1; - } - function v1(e, t, n) { - let { actual: r, key: i, previous: l, type: o } = n, - s = Mt(e, i), - c = Mt(t, i), - d = [s, c].every(I.number) && (o === "increased" ? s < c : s > c); - return ( - I.undefined(r) || (d = d && c === r), - I.undefined(l) || (d = d && s === l), - d - ); - } - function y1(e, t, n) { - let { key: r, type: i, value: l } = n, - o = Mt(e, r), - s = Mt(t, r), - c = i === "added" ? o : s, - d = i === "added" ? s : o; - if (!I.nullOrUndefined(l)) { - if (I.defined(c)) { - if (I.array(c) || I.plainObject(c)) return H3(c, d, l); - } else return We(d, l); - return !1; - } - return [o, s].every(I.array) - ? !d.every(Kl(c)) - : [o, s].every(I.plainObject) - ? j3(Object.keys(c), Object.keys(d)) - : ![o, s].every((u) => I.primitive(u) && I.defined(u)) && - (i === "added" - ? !I.defined(o) && I.defined(s) - : I.defined(o) && !I.defined(s)); - } - function b1(e, t, { key: n } = {}) { - let r = Mt(e, n), - i = Mt(t, n); - if (!_0(r, i)) throw new TypeError("Inputs have different types"); - if (!D3(r, i)) throw new TypeError("Inputs don't have length"); - return ( - [r, i].every(I.plainObject) && - ((r = Object.keys(r)), (i = Object.keys(i))), - [r, i] - ); - } - function E1(e) { - return ([t, n]) => - I.array(e) - ? We(e, n) || e.some((r) => We(r, n) || (I.array(n) && Kl(n)(r))) - : I.plainObject(e) && e[t] - ? !!e[t] && We(e[t], n) - : We(e, n); - } - function j3(e, t) { - return t.some((n) => !e.includes(n)); - } - function k1(e) { - return (t) => - I.array(e) - ? e.some((n) => We(n, t) || (I.array(t) && Kl(t)(n))) - : We(e, t); - } - function aa(e, t) { - return I.array(e) ? e.some((n) => We(n, t)) : We(e, t); - } - function Kl(e) { - return (t) => e.some((n) => We(n, t)); - } - function _0(...e) { - return ( - e.every(I.array) || - e.every(I.number) || - e.every(I.plainObject) || - e.every(I.string) - ); - } - function Mt(e, t) { - return I.plainObject(e) || I.array(e) - ? I.string(t) - ? t.split(".").reduce((n, r) => n && n[r], e) - : I.number(t) - ? e[t] - : e - : e; - } - function Pr(e, t) { - if ([e, t].some(I.nullOrUndefined)) - throw new Error("Missing required parameters"); - if (![e, t].every((n) => I.plainObject(n) || I.array(n))) - throw new Error("Expected plain objects or array"); - return { - added: (n, r) => { - try { - return y1(e, t, { key: n, type: "added", value: r }); - } catch { - return !1; - } - }, - changed: (n, r, i) => { - try { - let l = Mt(e, n), - o = Mt(t, n), - s = I.defined(r), - c = I.defined(i); - if (s || c) { - let d = c ? aa(i, l) : !aa(r, l), - u = aa(r, o); - return d && u; - } - return [l, o].every(I.array) || [l, o].every(I.plainObject) - ? !We(l, o) - : l !== o; - } catch { - return !1; - } - }, - changedFrom: (n, r, i) => { - if (!I.defined(n)) return !1; - try { - let l = Mt(e, n), - o = Mt(t, n), - s = I.defined(i); - return aa(r, l) && (s ? aa(i, o) : !s); - } catch { - return !1; - } - }, - decreased: (n, r, i) => { - if (!I.defined(n)) return !1; - try { - return v1(e, t, { - key: n, - actual: r, - previous: i, - type: "decreased", - }); - } catch { - return !1; - } - }, - emptied: (n) => { - try { - let [r, i] = b1(e, t, { key: n }); - return !!r.length && !i.length; - } catch { - return !1; - } - }, - filled: (n) => { - try { - let [r, i] = b1(e, t, { key: n }); - return !r.length && !!i.length; - } catch { - return !1; - } - }, - increased: (n, r, i) => { - if (!I.defined(n)) return !1; - try { - return v1(e, t, { - key: n, - actual: r, - previous: i, - type: "increased", - }); - } catch { - return !1; - } - }, - removed: (n, r) => { - try { - return y1(e, t, { key: n, type: "removed", value: r }); - } catch { - return !1; - } - }, - }; - } - var z3 = ut(_5(), 1), - O0 = ut(O5(), 1); - function U3(e, ...t) { - if (!I.plainObject(e)) throw new TypeError("Expected an object"); - let n = {}; - for (let r in e) - ({}).hasOwnProperty.call(e, r) && (t.includes(r) || (n[r] = e[r])); - return n; - } - function $3(e, ...t) { - if (!I.plainObject(e)) throw new TypeError("Expected an object"); - if (!t.length) return e; - let n = {}; - for (let r in e) - ({}).hasOwnProperty.call(e, r) && t.includes(r) && (n[r] = e[r]); - return n; - } - var rr = ut(xl(), 1), - Ii = ut(xl(), 1), - A = ut(F5()), - Va = - typeof window < "u" && typeof document < "u" && typeof navigator < "u", - W3 = (function () { - for ( - var e = ["Edge", "Trident", "Firefox"], t = 0; - t < e.length; - t += 1 - ) - if (Va && navigator.userAgent.indexOf(e[t]) >= 0) return 1; - return 0; - })(); - function G3(e) { - var t = !1; - return function () { - t || - ((t = !0), - window.Promise.resolve().then(function () { - (t = !1), e(); - })); - }; - } - function q3(e) { - var t = !1; - return function () { - t || - ((t = !0), - setTimeout(function () { - (t = !1), e(); - }, W3)); - }; - } - var Y3 = Va && window.Promise, - Q3 = Y3 ? G3 : q3; - function A0(e) { - var t = {}; - return e && t.toString.call(e) === "[object Function]"; - } - function vn(e, t) { - if (e.nodeType !== 1) return []; - var n = e.ownerDocument.defaultView, - r = n.getComputedStyle(e, null); - return t ? r[t] : r; - } - function Jl(e) { - return e.nodeName === "HTML" ? e : e.parentNode || e.host; - } - function Da(e) { - if (!e) return document.body; - switch (e.nodeName) { - case "HTML": - case "BODY": - return e.ownerDocument.body; - case "#document": - return e.body; - } - var t = vn(e), - n = t.overflow, - r = t.overflowX, - i = t.overflowY; - return /(auto|scroll|overlay)/.test(n + i + r) ? e : Da(Jl(e)); - } - function T0(e) { - return e && e.referenceNode ? e.referenceNode : e; - } - var w1 = Va && !!(window.MSInputMethodContext && document.documentMode), - C1 = Va && /MSIE 10/.test(navigator.userAgent); - function zn(e) { - return e === 11 ? w1 : e === 10 ? C1 : w1 || C1; - } - function Pn(e) { - if (!e) return document.documentElement; - for ( - var t = zn(10) ? document.body : null, n = e.offsetParent || null; - n === t && e.nextElementSibling; - - ) - n = (e = e.nextElementSibling).offsetParent; - var r = n && n.nodeName; - return !r || r === "BODY" || r === "HTML" - ? e - ? e.ownerDocument.documentElement - : document.documentElement - : ["TH", "TD", "TABLE"].indexOf(n.nodeName) !== -1 && - vn(n, "position") === "static" - ? Pn(n) - : n; - } - function K3(e) { - var t = e.nodeName; - return t === "BODY" ? !1 : t === "HTML" || Pn(e.firstElementChild) === e; - } - function vl(e) { - return e.parentNode !== null ? vl(e.parentNode) : e; - } - function Vr(e, t) { - if (!e || !e.nodeType || !t || !t.nodeType) - return document.documentElement; - var n = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING, - r = n ? e : t, - i = n ? t : e, - l = document.createRange(); - l.setStart(r, 0), l.setEnd(i, 0); - var o = l.commonAncestorContainer; - if ((e !== o && t !== o) || r.contains(i)) return K3(o) ? o : Pn(o); - var s = vl(e); - return s.host ? Vr(s.host, t) : Vr(e, vl(t).host); - } - function Vn(e) { - var t = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : "top", - n = t === "top" ? "scrollTop" : "scrollLeft", - r = e.nodeName; - if (r === "BODY" || r === "HTML") { - var i = e.ownerDocument.documentElement, - l = e.ownerDocument.scrollingElement || i; - return l[n]; - } - return e[n]; - } - function J3(e, t) { - var n = - arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, - r = Vn(t, "top"), - i = Vn(t, "left"), - l = n ? -1 : 1; - return ( - (e.top += r * l), - (e.bottom += r * l), - (e.left += i * l), - (e.right += i * l), - e - ); - } - function S1(e, t) { - var n = t === "x" ? "Left" : "Top", - r = n === "Left" ? "Right" : "Bottom"; - return ( - parseFloat(e["border" + n + "Width"]) + - parseFloat(e["border" + r + "Width"]) - ); - } - function x1(e, t, n, r) { - return Math.max( - t["offset" + e], - t["scroll" + e], - n["client" + e], - n["offset" + e], - n["scroll" + e], - zn(10) - ? parseInt(n["offset" + e]) + - parseInt(r["margin" + (e === "Height" ? "Top" : "Left")]) + - parseInt(r["margin" + (e === "Height" ? "Bottom" : "Right")]) - : 0, - ); - } - function F0(e) { - var t = e.body, - n = e.documentElement, - r = zn(10) && getComputedStyle(n); - return { height: x1("Height", t, n, r), width: x1("Width", t, n, r) }; - } - var X3 = function (e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function"); - }, - eh = (function () { - function e(t, n) { - for (var r = 0; r < n.length; r++) { - var i = n[r]; - (i.enumerable = i.enumerable || !1), - (i.configurable = !0), - "value" in i && (i.writable = !0), - Object.defineProperty(t, i.key, i); - } - } - return function (t, n, r) { - return n && e(t.prototype, n), r && e(t, r), t; - }; - })(), - Dn = function (e, t, n) { - return ( - t in e - ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (e[t] = n), - e - ); - }, - st = - Object.assign || - function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var r in n) - Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); - } - return e; - }; - function Qt(e) { - return st({}, e, { right: e.left + e.width, bottom: e.top + e.height }); - } - function yl(e) { - var t = {}; - try { - if (zn(10)) { - t = e.getBoundingClientRect(); - var n = Vn(e, "top"), - r = Vn(e, "left"); - (t.top += n), (t.left += r), (t.bottom += n), (t.right += r); - } else t = e.getBoundingClientRect(); - } catch {} - var i = { - left: t.left, - top: t.top, - width: t.right - t.left, - height: t.bottom - t.top, - }, - l = e.nodeName === "HTML" ? F0(e.ownerDocument) : {}, - o = l.width || e.clientWidth || i.width, - s = l.height || e.clientHeight || i.height, - c = e.offsetWidth - o, - d = e.offsetHeight - s; - if (c || d) { - var u = vn(e); - (c -= S1(u, "x")), (d -= S1(u, "y")), (i.width -= c), (i.height -= d); - } - return Qt(i); - } - function Xl(e, t) { - var n = - arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, - r = zn(10), - i = t.nodeName === "HTML", - l = yl(e), - o = yl(t), - s = Da(e), - c = vn(t), - d = parseFloat(c.borderTopWidth), - u = parseFloat(c.borderLeftWidth); - n && i && ((o.top = Math.max(o.top, 0)), (o.left = Math.max(o.left, 0))); - var m = Qt({ - top: l.top - o.top - d, - left: l.left - o.left - u, - width: l.width, - height: l.height, - }); - if (((m.marginTop = 0), (m.marginLeft = 0), !r && i)) { - var p = parseFloat(c.marginTop), - f = parseFloat(c.marginLeft); - (m.top -= d - p), - (m.bottom -= d - p), - (m.left -= u - f), - (m.right -= u - f), - (m.marginTop = p), - (m.marginLeft = f); - } - return ( - (r && !n ? t.contains(s) : t === s && s.nodeName !== "BODY") && - (m = J3(m, t)), - m - ); - } - function th(e) { - var t = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, - n = e.ownerDocument.documentElement, - r = Xl(e, n), - i = Math.max(n.clientWidth, window.innerWidth || 0), - l = Math.max(n.clientHeight, window.innerHeight || 0), - o = t ? 0 : Vn(n), - s = t ? 0 : Vn(n, "left"), - c = { - top: o - r.top + r.marginTop, - left: s - r.left + r.marginLeft, - width: i, - height: l, - }; - return Qt(c); - } - function L0(e) { - var t = e.nodeName; - if (t === "BODY" || t === "HTML") return !1; - if (vn(e, "position") === "fixed") return !0; - var n = Jl(e); - return n ? L0(n) : !1; - } - function R0(e) { - if (!e || !e.parentElement || zn()) return document.documentElement; - for (var t = e.parentElement; t && vn(t, "transform") === "none"; ) - t = t.parentElement; - return t || document.documentElement; - } - function eo(e, t, n, r) { - var i = - arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1, - l = { top: 0, left: 0 }, - o = i ? R0(e) : Vr(e, T0(t)); - if (r === "viewport") l = th(o, i); - else { - var s = void 0; - r === "scrollParent" - ? ((s = Da(Jl(t))), - s.nodeName === "BODY" && (s = e.ownerDocument.documentElement)) - : r === "window" - ? (s = e.ownerDocument.documentElement) - : (s = r); - var c = Xl(s, o, i); - if (s.nodeName === "HTML" && !L0(o)) { - var d = F0(e.ownerDocument), - u = d.height, - m = d.width; - (l.top += c.top - c.marginTop), - (l.bottom = u + c.top), - (l.left += c.left - c.marginLeft), - (l.right = m + c.left); - } else l = c; - } - n = n || 0; - var p = typeof n == "number"; - return ( - (l.left += p ? n : n.left || 0), - (l.top += p ? n : n.top || 0), - (l.right -= p ? n : n.right || 0), - (l.bottom -= p ? n : n.bottom || 0), - l - ); - } - function nh(e) { - var t = e.width, - n = e.height; - return t * n; - } - function I0(e, t, n, r, i) { - var l = - arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : 0; - if (e.indexOf("auto") === -1) return e; - var o = eo(n, r, l, i), - s = { - top: { width: o.width, height: t.top - o.top }, - right: { width: o.right - t.right, height: o.height }, - bottom: { width: o.width, height: o.bottom - t.bottom }, - left: { width: t.left - o.left, height: o.height }, - }, - c = Object.keys(s) - .map(function (p) { - return st({ key: p }, s[p], { area: nh(s[p]) }); - }) - .sort(function (p, f) { - return f.area - p.area; - }), - d = c.filter(function (p) { - var f = p.width, - g = p.height; - return f >= n.clientWidth && g >= n.clientHeight; - }), - u = d.length > 0 ? d[0].key : c[0].key, - m = e.split("-")[1]; - return u + (m ? "-" + m : ""); - } - function Z0(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null, - i = r ? R0(t) : Vr(t, T0(n)); - return Xl(n, i, r); - } - function B0(e) { - var t = e.ownerDocument.defaultView, - n = t.getComputedStyle(e), - r = parseFloat(n.marginTop || 0) + parseFloat(n.marginBottom || 0), - i = parseFloat(n.marginLeft || 0) + parseFloat(n.marginRight || 0), - l = { width: e.offsetWidth + i, height: e.offsetHeight + r }; - return l; - } - function Dr(e) { - var t = { left: "right", right: "left", bottom: "top", top: "bottom" }; - return e.replace(/left|right|bottom|top/g, function (n) { - return t[n]; - }); - } - function P0(e, t, n) { - n = n.split("-")[0]; - var r = B0(e), - i = { width: r.width, height: r.height }, - l = ["right", "left"].indexOf(n) !== -1, - o = l ? "top" : "left", - s = l ? "left" : "top", - c = l ? "height" : "width", - d = l ? "width" : "height"; - return ( - (i[o] = t[o] + t[c] / 2 - r[c] / 2), - n === s ? (i[s] = t[s] - r[d]) : (i[s] = t[Dr(s)]), - i - ); - } - function Ha(e, t) { - return Array.prototype.find ? e.find(t) : e.filter(t)[0]; - } - function ah(e, t, n) { - if (Array.prototype.findIndex) - return e.findIndex(function (i) { - return i[t] === n; - }); - var r = Ha(e, function (i) { - return i[t] === n; - }); - return e.indexOf(r); - } - function V0(e, t, n) { - var r = n === void 0 ? e : e.slice(0, ah(e, "name", n)); - return ( - r.forEach(function (i) { - i.function && - console.warn( - "`modifier.function` is deprecated, use `modifier.fn`!", - ); - var l = i.function || i.fn; - i.enabled && - A0(l) && - ((t.offsets.popper = Qt(t.offsets.popper)), - (t.offsets.reference = Qt(t.offsets.reference)), - (t = l(t, i))); - }), - t - ); - } - function rh() { - if (!this.state.isDestroyed) { - var e = { - instance: this, - styles: {}, - arrowStyles: {}, - attributes: {}, - flipped: !1, - offsets: {}, - }; - (e.offsets.reference = Z0( - this.state, - this.popper, - this.reference, - this.options.positionFixed, - )), - (e.placement = I0( - this.options.placement, - e.offsets.reference, - this.popper, - this.reference, - this.options.modifiers.flip.boundariesElement, - this.options.modifiers.flip.padding, - )), - (e.originalPlacement = e.placement), - (e.positionFixed = this.options.positionFixed), - (e.offsets.popper = P0( - this.popper, - e.offsets.reference, - e.placement, - )), - (e.offsets.popper.position = this.options.positionFixed - ? "fixed" - : "absolute"), - (e = V0(this.modifiers, e)), - this.state.isCreated - ? this.options.onUpdate(e) - : ((this.state.isCreated = !0), this.options.onCreate(e)); - } - } - function D0(e, t) { - return e.some(function (n) { - var r = n.name, - i = n.enabled; - return i && r === t; - }); - } - function to(e) { - for ( - var t = [!1, "ms", "Webkit", "Moz", "O"], - n = e.charAt(0).toUpperCase() + e.slice(1), - r = 0; - r < t.length; - r++ - ) { - var i = t[r], - l = i ? "" + i + n : e; - if (typeof document.body.style[l] < "u") return l; - } - return null; - } - function ih() { - return ( - (this.state.isDestroyed = !0), - D0(this.modifiers, "applyStyle") && - (this.popper.removeAttribute("x-placement"), - (this.popper.style.position = ""), - (this.popper.style.top = ""), - (this.popper.style.left = ""), - (this.popper.style.right = ""), - (this.popper.style.bottom = ""), - (this.popper.style.willChange = ""), - (this.popper.style[to("transform")] = "")), - this.disableEventListeners(), - this.options.removeOnDestroy && - this.popper.parentNode.removeChild(this.popper), - this - ); - } - function H0(e) { - var t = e.ownerDocument; - return t ? t.defaultView : window; - } - function j0(e, t, n, r) { - var i = e.nodeName === "BODY", - l = i ? e.ownerDocument.defaultView : e; - l.addEventListener(t, n, { passive: !0 }), - i || j0(Da(l.parentNode), t, n, r), - r.push(l); - } - function lh(e, t, n, r) { - (n.updateBound = r), - H0(e).addEventListener("resize", n.updateBound, { passive: !0 }); - var i = Da(e); - return ( - j0(i, "scroll", n.updateBound, n.scrollParents), - (n.scrollElement = i), - (n.eventsEnabled = !0), - n - ); - } - function oh() { - this.state.eventsEnabled || - (this.state = lh( - this.reference, - this.options, - this.state, - this.scheduleUpdate, - )); - } - function sh(e, t) { - return ( - H0(e).removeEventListener("resize", t.updateBound), - t.scrollParents.forEach(function (n) { - n.removeEventListener("scroll", t.updateBound); - }), - (t.updateBound = null), - (t.scrollParents = []), - (t.scrollElement = null), - (t.eventsEnabled = !1), - t - ); - } - function ch() { - this.state.eventsEnabled && - (cancelAnimationFrame(this.scheduleUpdate), - (this.state = sh(this.reference, this.state))); - } - function no(e) { - return e !== "" && !isNaN(parseFloat(e)) && isFinite(e); - } - function bl(e, t) { - Object.keys(t).forEach(function (n) { - var r = ""; - ["width", "height", "top", "right", "bottom", "left"].indexOf(n) !== - -1 && - no(t[n]) && - (r = "px"), - (e.style[n] = t[n] + r); - }); - } - function dh(e, t) { - Object.keys(t).forEach(function (n) { - var r = t[n]; - r !== !1 ? e.setAttribute(n, t[n]) : e.removeAttribute(n); - }); - } - function uh(e) { - return ( - bl(e.instance.popper, e.styles), - dh(e.instance.popper, e.attributes), - e.arrowElement && - Object.keys(e.arrowStyles).length && - bl(e.arrowElement, e.arrowStyles), - e - ); - } - function mh(e, t, n, r, i) { - var l = Z0(i, t, e, n.positionFixed), - o = I0( - n.placement, - l, - t, - e, - n.modifiers.flip.boundariesElement, - n.modifiers.flip.padding, - ); - return ( - t.setAttribute("x-placement", o), - bl(t, { position: n.positionFixed ? "fixed" : "absolute" }), - n - ); - } - function ph(e, t) { - var n = e.offsets, - r = n.popper, - i = n.reference, - l = Math.round, - o = Math.floor, - s = function (k) { - return k; - }, - c = l(i.width), - d = l(r.width), - u = ["left", "right"].indexOf(e.placement) !== -1, - m = e.placement.indexOf("-") !== -1, - p = c % 2 === d % 2, - f = c % 2 === 1 && d % 2 === 1, - g = t ? (u || m || p ? l : o) : s, - y = t ? l : s; - return { - left: g(f && !m && t ? r.left - 1 : r.left), - top: y(r.top), - bottom: y(r.bottom), - right: g(r.right), - }; - } - var hh = Va && /Firefox/i.test(navigator.userAgent); - function fh(e, t) { - var n = t.x, - r = t.y, - i = e.offsets.popper, - l = Ha(e.instance.modifiers, function (v) { - return v.name === "applyStyle"; - }).gpuAcceleration; - l !== void 0 && - console.warn( - "WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!", - ); - var o = l !== void 0 ? l : t.gpuAcceleration, - s = Pn(e.instance.popper), - c = yl(s), - d = { position: i.position }, - u = ph(e, window.devicePixelRatio < 2 || !hh), - m = n === "bottom" ? "top" : "bottom", - p = r === "right" ? "left" : "right", - f = to("transform"), - g = void 0, - y = void 0; - if ( - (m === "bottom" - ? s.nodeName === "HTML" - ? (y = -s.clientHeight + u.bottom) - : (y = -c.height + u.bottom) - : (y = u.top), - p === "right" - ? s.nodeName === "HTML" - ? (g = -s.clientWidth + u.right) - : (g = -c.width + u.right) - : (g = u.left), - o && f) - ) - (d[f] = "translate3d(" + g + "px, " + y + "px, 0)"), - (d[m] = 0), - (d[p] = 0), - (d.willChange = "transform"); - else { - var k = m === "bottom" ? -1 : 1, - b = p === "right" ? -1 : 1; - (d[m] = y * k), (d[p] = g * b), (d.willChange = m + ", " + p); - } - var h = { "x-placement": e.placement }; - return ( - (e.attributes = st({}, h, e.attributes)), - (e.styles = st({}, d, e.styles)), - (e.arrowStyles = st({}, e.offsets.arrow, e.arrowStyles)), - e - ); - } - function z0(e, t, n) { - var r = Ha(e, function (s) { - var c = s.name; - return c === t; - }), - i = - !!r && - e.some(function (s) { - return s.name === n && s.enabled && s.order < r.order; - }); - if (!i) { - var l = "`" + t + "`", - o = "`" + n + "`"; - console.warn( - o + - " modifier is required by " + - l + - " modifier in order to work, be sure to include it before " + - l + - "!", - ); - } - return i; - } - function gh(e, t) { - var n; - if (!z0(e.instance.modifiers, "arrow", "keepTogether")) return e; - var r = t.element; - if (typeof r == "string") { - if (((r = e.instance.popper.querySelector(r)), !r)) return e; - } else if (!e.instance.popper.contains(r)) - return ( - console.warn( - "WARNING: `arrow.element` must be child of its popper element!", - ), - e - ); - var i = e.placement.split("-")[0], - l = e.offsets, - o = l.popper, - s = l.reference, - c = ["left", "right"].indexOf(i) !== -1, - d = c ? "height" : "width", - u = c ? "Top" : "Left", - m = u.toLowerCase(), - p = c ? "left" : "top", - f = c ? "bottom" : "right", - g = B0(r)[d]; - s[f] - g < o[m] && (e.offsets.popper[m] -= o[m] - (s[f] - g)), - s[m] + g > o[f] && (e.offsets.popper[m] += s[m] + g - o[f]), - (e.offsets.popper = Qt(e.offsets.popper)); - var y = s[m] + s[d] / 2 - g / 2, - k = vn(e.instance.popper), - b = parseFloat(k["margin" + u]), - h = parseFloat(k["border" + u + "Width"]), - v = y - e.offsets.popper[m] - b - h; - return ( - (v = Math.max(Math.min(o[d] - g, v), 0)), - (e.arrowElement = r), - (e.offsets.arrow = - ((n = {}), Dn(n, m, Math.round(v)), Dn(n, p, ""), n)), - e - ); - } - function vh(e) { - return e === "end" ? "start" : e === "start" ? "end" : e; - } - var U0 = [ - "auto-start", - "auto", - "auto-end", - "top-start", - "top", - "top-end", - "right-start", - "right", - "right-end", - "bottom-end", - "bottom", - "bottom-start", - "left-end", - "left", - "left-start", - ], - Zi = U0.slice(3); - function N1(e) { - var t = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, - n = Zi.indexOf(e), - r = Zi.slice(n + 1).concat(Zi.slice(0, n)); - return t ? r.reverse() : r; - } - var Bi = { - FLIP: "flip", - CLOCKWISE: "clockwise", - COUNTERCLOCKWISE: "counterclockwise", - }; - function yh(e, t) { - if ( - D0(e.instance.modifiers, "inner") || - (e.flipped && e.placement === e.originalPlacement) - ) - return e; - var n = eo( - e.instance.popper, - e.instance.reference, - t.padding, - t.boundariesElement, - e.positionFixed, - ), - r = e.placement.split("-")[0], - i = Dr(r), - l = e.placement.split("-")[1] || "", - o = []; - switch (t.behavior) { - case Bi.FLIP: - o = [r, i]; - break; - case Bi.CLOCKWISE: - o = N1(r); - break; - case Bi.COUNTERCLOCKWISE: - o = N1(r, !0); - break; - default: - o = t.behavior; - } - return ( - o.forEach(function (s, c) { - if (r !== s || o.length === c + 1) return e; - (r = e.placement.split("-")[0]), (i = Dr(r)); - var d = e.offsets.popper, - u = e.offsets.reference, - m = Math.floor, - p = - (r === "left" && m(d.right) > m(u.left)) || - (r === "right" && m(d.left) < m(u.right)) || - (r === "top" && m(d.bottom) > m(u.top)) || - (r === "bottom" && m(d.top) < m(u.bottom)), - f = m(d.left) < m(n.left), - g = m(d.right) > m(n.right), - y = m(d.top) < m(n.top), - k = m(d.bottom) > m(n.bottom), - b = - (r === "left" && f) || - (r === "right" && g) || - (r === "top" && y) || - (r === "bottom" && k), - h = ["top", "bottom"].indexOf(r) !== -1, - v = - !!t.flipVariations && - ((h && l === "start" && f) || - (h && l === "end" && g) || - (!h && l === "start" && y) || - (!h && l === "end" && k)), - E = - !!t.flipVariationsByContent && - ((h && l === "start" && g) || - (h && l === "end" && f) || - (!h && l === "start" && k) || - (!h && l === "end" && y)), - C = v || E; - (p || b || C) && - ((e.flipped = !0), - (p || b) && (r = o[c + 1]), - C && (l = vh(l)), - (e.placement = r + (l ? "-" + l : "")), - (e.offsets.popper = st( - {}, - e.offsets.popper, - P0(e.instance.popper, e.offsets.reference, e.placement), - )), - (e = V0(e.instance.modifiers, e, "flip"))); - }), - e - ); - } - function bh(e) { - var t = e.offsets, - n = t.popper, - r = t.reference, - i = e.placement.split("-")[0], - l = Math.floor, - o = ["top", "bottom"].indexOf(i) !== -1, - s = o ? "right" : "bottom", - c = o ? "left" : "top", - d = o ? "width" : "height"; - return ( - n[s] < l(r[c]) && (e.offsets.popper[c] = l(r[c]) - n[d]), - n[c] > l(r[s]) && (e.offsets.popper[c] = l(r[s])), - e - ); - } - function Eh(e, t, n, r) { - var i = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), - l = +i[1], - o = i[2]; - if (!l) return e; - if (o.indexOf("%") === 0) { - var s = void 0; - switch (o) { - case "%p": - s = n; - break; - case "%": - case "%r": - default: - s = r; - } - var c = Qt(s); - return (c[t] / 100) * l; - } else if (o === "vh" || o === "vw") { - var d = void 0; - return ( - o === "vh" - ? (d = Math.max( - document.documentElement.clientHeight, - window.innerHeight || 0, - )) - : (d = Math.max( - document.documentElement.clientWidth, - window.innerWidth || 0, - )), - (d / 100) * l - ); - } else return l; - } - function kh(e, t, n, r) { - var i = [0, 0], - l = ["right", "left"].indexOf(r) !== -1, - o = e.split(/(\+|\-)/).map(function (u) { - return u.trim(); - }), - s = o.indexOf( - Ha(o, function (u) { - return u.search(/,|\s/) !== -1; - }), - ); - o[s] && - o[s].indexOf(",") === -1 && - console.warn( - "Offsets separated by white space(s) are deprecated, use a comma (,) instead.", - ); - var c = /\s*,\s*|\s+/, - d = - s !== -1 - ? [ - o.slice(0, s).concat([o[s].split(c)[0]]), - [o[s].split(c)[1]].concat(o.slice(s + 1)), - ] - : [o]; - return ( - (d = d.map(function (u, m) { - var p = (m === 1 ? !l : l) ? "height" : "width", - f = !1; - return u - .reduce(function (g, y) { - return g[g.length - 1] === "" && ["+", "-"].indexOf(y) !== -1 - ? ((g[g.length - 1] = y), (f = !0), g) - : f - ? ((g[g.length - 1] += y), (f = !1), g) - : g.concat(y); - }, []) - .map(function (g) { - return Eh(g, p, t, n); - }); - })), - d.forEach(function (u, m) { - u.forEach(function (p, f) { - no(p) && (i[m] += p * (u[f - 1] === "-" ? -1 : 1)); - }); - }), - i - ); - } - function wh(e, t) { - var n = t.offset, - r = e.placement, - i = e.offsets, - l = i.popper, - o = i.reference, - s = r.split("-")[0], - c = void 0; - return ( - no(+n) ? (c = [+n, 0]) : (c = kh(n, l, o, s)), - s === "left" - ? ((l.top += c[0]), (l.left -= c[1])) - : s === "right" - ? ((l.top += c[0]), (l.left += c[1])) - : s === "top" - ? ((l.left += c[0]), (l.top -= c[1])) - : s === "bottom" && ((l.left += c[0]), (l.top += c[1])), - (e.popper = l), - e - ); - } - function Ch(e, t) { - var n = t.boundariesElement || Pn(e.instance.popper); - e.instance.reference === n && (n = Pn(n)); - var r = to("transform"), - i = e.instance.popper.style, - l = i.top, - o = i.left, - s = i[r]; - (i.top = ""), (i.left = ""), (i[r] = ""); - var c = eo( - e.instance.popper, - e.instance.reference, - t.padding, - n, - e.positionFixed, - ); - (i.top = l), (i.left = o), (i[r] = s), (t.boundaries = c); - var d = t.priority, - u = e.offsets.popper, - m = { - primary: function (p) { - var f = u[p]; - return ( - u[p] < c[p] && - !t.escapeWithReference && - (f = Math.max(u[p], c[p])), - Dn({}, p, f) - ); - }, - secondary: function (p) { - var f = p === "right" ? "left" : "top", - g = u[f]; - return ( - u[p] > c[p] && - !t.escapeWithReference && - (g = Math.min( - u[f], - c[p] - (p === "right" ? u.width : u.height), - )), - Dn({}, f, g) - ); - }, - }; - return ( - d.forEach(function (p) { - var f = ["left", "top"].indexOf(p) !== -1 ? "primary" : "secondary"; - u = st({}, u, m[f](p)); - }), - (e.offsets.popper = u), - e - ); - } - function Sh(e) { - var t = e.placement, - n = t.split("-")[0], - r = t.split("-")[1]; - if (r) { - var i = e.offsets, - l = i.reference, - o = i.popper, - s = ["bottom", "top"].indexOf(n) !== -1, - c = s ? "left" : "top", - d = s ? "width" : "height", - u = { start: Dn({}, c, l[c]), end: Dn({}, c, l[c] + l[d] - o[d]) }; - e.offsets.popper = st({}, o, u[r]); - } - return e; - } - function xh(e) { - if (!z0(e.instance.modifiers, "hide", "preventOverflow")) return e; - var t = e.offsets.reference, - n = Ha(e.instance.modifiers, function (r) { - return r.name === "preventOverflow"; - }).boundaries; - if ( - t.bottom < n.top || - t.left > n.right || - t.top > n.bottom || - t.right < n.left - ) { - if (e.hide === !0) return e; - (e.hide = !0), (e.attributes["x-out-of-boundaries"] = ""); - } else { - if (e.hide === !1) return e; - (e.hide = !1), (e.attributes["x-out-of-boundaries"] = !1); - } - return e; - } - function Nh(e) { - var t = e.placement, - n = t.split("-")[0], - r = e.offsets, - i = r.popper, - l = r.reference, - o = ["left", "right"].indexOf(n) !== -1, - s = ["top", "left"].indexOf(n) === -1; - return ( - (i[o ? "left" : "top"] = l[n] - (s ? i[o ? "width" : "height"] : 0)), - (e.placement = Dr(t)), - (e.offsets.popper = Qt(i)), - e - ); - } - var Mh = { - shift: { order: 100, enabled: !0, fn: Sh }, - offset: { order: 200, enabled: !0, fn: wh, offset: 0 }, - preventOverflow: { - order: 300, - enabled: !0, - fn: Ch, - priority: ["left", "right", "top", "bottom"], - padding: 5, - boundariesElement: "scrollParent", - }, - keepTogether: { order: 400, enabled: !0, fn: bh }, - arrow: { order: 500, enabled: !0, fn: gh, element: "[x-arrow]" }, - flip: { - order: 600, - enabled: !0, - fn: yh, - behavior: "flip", - padding: 5, - boundariesElement: "viewport", - flipVariations: !1, - flipVariationsByContent: !1, - }, - inner: { order: 700, enabled: !1, fn: Nh }, - hide: { order: 800, enabled: !0, fn: xh }, - computeStyle: { - order: 850, - enabled: !0, - fn: fh, - gpuAcceleration: !0, - x: "bottom", - y: "right", - }, - applyStyle: { - order: 900, - enabled: !0, - fn: uh, - onLoad: mh, - gpuAcceleration: void 0, - }, - }, - _h = { - placement: "bottom", - positionFixed: !1, - eventsEnabled: !0, - removeOnDestroy: !1, - onCreate: function () {}, - onUpdate: function () {}, - modifiers: Mh, - }, - ai = (function () { - function e(t, n) { - var r = this, - i = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : {}; - X3(this, e), - (this.scheduleUpdate = function () { - return requestAnimationFrame(r.update); - }), - (this.update = Q3(this.update.bind(this))), - (this.options = st({}, e.Defaults, i)), - (this.state = { - isDestroyed: !1, - isCreated: !1, - scrollParents: [], - }), - (this.reference = t && t.jquery ? t[0] : t), - (this.popper = n && n.jquery ? n[0] : n), - (this.options.modifiers = {}), - Object.keys(st({}, e.Defaults.modifiers, i.modifiers)).forEach( - function (o) { - r.options.modifiers[o] = st( - {}, - e.Defaults.modifiers[o] || {}, - i.modifiers ? i.modifiers[o] : {}, - ); - }, - ), - (this.modifiers = Object.keys(this.options.modifiers) - .map(function (o) { - return st({ name: o }, r.options.modifiers[o]); - }) - .sort(function (o, s) { - return o.order - s.order; - })), - this.modifiers.forEach(function (o) { - o.enabled && - A0(o.onLoad) && - o.onLoad(r.reference, r.popper, r.options, o, r.state); - }), - this.update(); - var l = this.options.eventsEnabled; - l && this.enableEventListeners(), (this.state.eventsEnabled = l); - } - return ( - eh(e, [ - { - key: "update", - value: function () { - return rh.call(this); - }, - }, - { - key: "destroy", - value: function () { - return ih.call(this); - }, - }, - { - key: "enableEventListeners", - value: function () { - return oh.call(this); - }, - }, - { - key: "disableEventListeners", - value: function () { - return ch.call(this); - }, - }, - ]), - e - ); - })(); - ai.Utils = window.PopperUtils; - ai.placements = U0; - ai.Defaults = _h; - var M1 = ai, - El = ut(xl()), - Oh = ["innerHTML", "ownerDocument", "style", "attributes", "nodeValue"], - Ah = [ - "Array", - "ArrayBuffer", - "AsyncFunction", - "AsyncGenerator", - "AsyncGeneratorFunction", - "Date", - "Error", - "Function", - "Generator", - "GeneratorFunction", - "HTMLElement", - "Map", - "Object", - "Promise", - "RegExp", - "Set", - "WeakMap", - "WeakSet", - ], - Th = [ - "bigint", - "boolean", - "null", - "number", - "string", - "symbol", - "undefined", - ]; - function ri(e) { - var t = Object.prototype.toString.call(e).slice(8, -1); - if (/HTML\w+Element/.test(t)) return "HTMLElement"; - if (Fh(t)) return t; - } - function Et(e) { - return function (t) { - return ri(t) === e; - }; - } - function Fh(e) { - return Ah.includes(e); - } - function Un(e) { - return function (t) { - return typeof t === e; - }; - } - function Lh(e) { - return Th.includes(e); - } - function L(e) { - if (e === null) return "null"; - switch (typeof e) { - case "bigint": - return "bigint"; - case "boolean": - return "boolean"; - case "number": - return "number"; - case "string": - return "string"; - case "symbol": - return "symbol"; - case "undefined": - return "undefined"; - } - if (L.array(e)) return "Array"; - if (L.plainFunction(e)) return "Function"; - var t = ri(e); - return t || "Object"; - } - L.array = Array.isArray; - L.arrayOf = function (e, t) { - return !L.array(e) && !L.function(t) - ? !1 - : e.every(function (n) { - return t(n); - }); - }; - L.asyncGeneratorFunction = function (e) { - return ri(e) === "AsyncGeneratorFunction"; - }; - L.asyncFunction = Et("AsyncFunction"); - L.bigint = Un("bigint"); - L.boolean = function (e) { - return e === !0 || e === !1; - }; - L.date = Et("Date"); - L.defined = function (e) { - return !L.undefined(e); - }; - L.domElement = function (e) { - return ( - L.object(e) && - !L.plainObject(e) && - e.nodeType === 1 && - L.string(e.nodeName) && - Oh.every(function (t) { - return t in e; - }) - ); - }; - L.empty = function (e) { - return ( - (L.string(e) && e.length === 0) || - (L.array(e) && e.length === 0) || - (L.object(e) && - !L.map(e) && - !L.set(e) && - Object.keys(e).length === 0) || - (L.set(e) && e.size === 0) || - (L.map(e) && e.size === 0) - ); - }; - L.error = Et("Error"); - L.function = Un("function"); - L.generator = function (e) { - return L.iterable(e) && L.function(e.next) && L.function(e.throw); - }; - L.generatorFunction = Et("GeneratorFunction"); - L.instanceOf = function (e, t) { - return !e || !t ? !1 : Object.getPrototypeOf(e) === t.prototype; - }; - L.iterable = function (e) { - return !L.nullOrUndefined(e) && L.function(e[Symbol.iterator]); - }; - L.map = Et("Map"); - L.nan = function (e) { - return Number.isNaN(e); - }; - L.null = function (e) { - return e === null; - }; - L.nullOrUndefined = function (e) { - return L.null(e) || L.undefined(e); - }; - L.number = function (e) { - return Un("number")(e) && !L.nan(e); - }; - L.numericString = function (e) { - return L.string(e) && e.length > 0 && !Number.isNaN(Number(e)); - }; - L.object = function (e) { - return !L.nullOrUndefined(e) && (L.function(e) || typeof e == "object"); - }; - L.oneOf = function (e, t) { - return L.array(e) ? e.indexOf(t) > -1 : !1; - }; - L.plainFunction = Et("Function"); - L.plainObject = function (e) { - if (ri(e) !== "Object") return !1; - var t = Object.getPrototypeOf(e); - return t === null || t === Object.getPrototypeOf({}); - }; - L.primitive = function (e) { - return L.null(e) || Lh(typeof e); - }; - L.promise = Et("Promise"); - L.propertyOf = function (e, t, n) { - if (!L.object(e) || !t) return !1; - var r = e[t]; - return L.function(n) ? n(r) : L.defined(r); - }; - L.regexp = Et("RegExp"); - L.set = Et("Set"); - L.string = Un("string"); - L.symbol = Un("symbol"); - L.undefined = Un("undefined"); - L.weakMap = Et("WeakMap"); - L.weakSet = Et("WeakSet"); - var D = L; - function $0(e) { - return function (t) { - return typeof t === e; - }; - } - var Rh = $0("function"), - Ih = function (e) { - return e === null; - }, - _1 = function (e) { - return Object.prototype.toString.call(e).slice(8, -1) === "RegExp"; - }, - O1 = function (e) { - return !Zh(e) && !Ih(e) && (Rh(e) || typeof e == "object"); - }, - Zh = $0("undefined"), - kl = function (e) { - var t = typeof Symbol == "function" && Symbol.iterator, - n = t && e[t], - r = 0; - if (n) return n.call(e); - if (e && typeof e.length == "number") - return { - next: function () { - return ( - e && r >= e.length && (e = void 0), - { value: e && e[r++], done: !e } - ); - }, - }; - throw new TypeError( - t ? "Object is not iterable." : "Symbol.iterator is not defined.", - ); - }; - function Bh(e, t) { - var n = e.length; - if (n !== t.length) return !1; - for (var r = n; r-- !== 0; ) if (!Je(e[r], t[r])) return !1; - return !0; - } - function Ph(e, t) { - if (e.byteLength !== t.byteLength) return !1; - for ( - var n = new DataView(e.buffer), - r = new DataView(t.buffer), - i = e.byteLength; - i--; - - ) - if (n.getUint8(i) !== r.getUint8(i)) return !1; - return !0; - } - function Vh(e, t) { - var n, r, i, l; - if (e.size !== t.size) return !1; - try { - for (var o = kl(e.entries()), s = o.next(); !s.done; s = o.next()) { - var c = s.value; - if (!t.has(c[0])) return !1; - } - } catch (m) { - n = { error: m }; - } finally { - try { - s && !s.done && (r = o.return) && r.call(o); - } finally { - if (n) throw n.error; - } - } - try { - for (var d = kl(e.entries()), u = d.next(); !u.done; u = d.next()) { - var c = u.value; - if (!Je(c[1], t.get(c[0]))) return !1; - } - } catch (m) { - i = { error: m }; - } finally { - try { - u && !u.done && (l = d.return) && l.call(d); - } finally { - if (i) throw i.error; - } - } - return !0; - } - function Dh(e, t) { - var n, r; - if (e.size !== t.size) return !1; - try { - for (var i = kl(e.entries()), l = i.next(); !l.done; l = i.next()) { - var o = l.value; - if (!t.has(o[0])) return !1; - } - } catch (s) { - n = { error: s }; - } finally { - try { - l && !l.done && (r = i.return) && r.call(i); - } finally { - if (n) throw n.error; - } - } - return !0; - } - function Je(e, t) { - if (e === t) return !0; - if (e && O1(e) && t && O1(t)) { - if (e.constructor !== t.constructor) return !1; - if (Array.isArray(e) && Array.isArray(t)) return Bh(e, t); - if (e instanceof Map && t instanceof Map) return Vh(e, t); - if (e instanceof Set && t instanceof Set) return Dh(e, t); - if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) return Ph(e, t); - if (_1(e) && _1(t)) return e.source === t.source && e.flags === t.flags; - if (e.valueOf !== Object.prototype.valueOf) - return e.valueOf() === t.valueOf(); - if (e.toString !== Object.prototype.toString) - return e.toString() === t.toString(); - var n = Object.keys(e), - r = Object.keys(t); - if (n.length !== r.length) return !1; - for (var i = n.length; i-- !== 0; ) - if (!Object.prototype.hasOwnProperty.call(t, n[i])) return !1; - for (var i = n.length; i-- !== 0; ) { - var l = n[i]; - if (!(l === "_owner" && e.$$typeof) && !Je(e[l], t[l])) return !1; - } - return !0; - } - return Number.isNaN(e) && Number.isNaN(t) ? !0 : e === t; - } - function Hh() { - for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; - return e.every(function (n) { - return D.string(n) || D.array(n) || D.plainObject(n); - }); - } - function jh(e, t, n) { - return W0(e, t) - ? [e, t].every(D.array) - ? !e.some(R1(n)) && t.some(R1(n)) - : [e, t].every(D.plainObject) - ? !Object.entries(e).some(L1(n)) && Object.entries(t).some(L1(n)) - : t === n - : !1; - } - function A1(e, t, n) { - var r = n.actual, - i = n.key, - l = n.previous, - o = n.type, - s = _t(e, i), - c = _t(t, i), - d = [s, c].every(D.number) && (o === "increased" ? s < c : s > c); - return ( - D.undefined(r) || (d = d && c === r), - D.undefined(l) || (d = d && s === l), - d - ); - } - function T1(e, t, n) { - var r = n.key, - i = n.type, - l = n.value, - o = _t(e, r), - s = _t(t, r), - c = i === "added" ? o : s, - d = i === "added" ? s : o; - if (!D.nullOrUndefined(l)) { - if (D.defined(c)) { - if (D.array(c) || D.plainObject(c)) return jh(c, d, l); - } else return Je(d, l); - return !1; - } - return [o, s].every(D.array) - ? !d.every(ao(c)) - : [o, s].every(D.plainObject) - ? zh(Object.keys(c), Object.keys(d)) - : ![o, s].every(function (u) { - return D.primitive(u) && D.defined(u); - }) && - (i === "added" - ? !D.defined(o) && D.defined(s) - : D.defined(o) && !D.defined(s)); - } - function F1(e, t, n) { - var r = n === void 0 ? {} : n, - i = r.key, - l = _t(e, i), - o = _t(t, i); - if (!W0(l, o)) throw new TypeError("Inputs have different types"); - if (!Hh(l, o)) throw new TypeError("Inputs don't have length"); - return ( - [l, o].every(D.plainObject) && - ((l = Object.keys(l)), (o = Object.keys(o))), - [l, o] - ); - } - function L1(e) { - return function (t) { - var n = t[0], - r = t[1]; - return D.array(e) - ? Je(e, r) || - e.some(function (i) { - return Je(i, r) || (D.array(r) && ao(r)(i)); - }) - : D.plainObject(e) && e[n] - ? !!e[n] && Je(e[n], r) - : Je(e, r); - }; - } - function zh(e, t) { - return t.some(function (n) { - return !e.includes(n); - }); - } - function R1(e) { - return function (t) { - return D.array(e) - ? e.some(function (n) { - return Je(n, t) || (D.array(t) && ao(t)(n)); - }) - : Je(e, t); - }; - } - function ra(e, t) { - return D.array(e) - ? e.some(function (n) { - return Je(n, t); - }) - : Je(e, t); - } - function ao(e) { - return function (t) { - return e.some(function (n) { - return Je(n, t); - }); - }; - } - function W0() { - for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; - return ( - e.every(D.array) || - e.every(D.number) || - e.every(D.plainObject) || - e.every(D.string) - ); - } - function _t(e, t) { - if (D.plainObject(e) || D.array(e)) { - if (D.string(t)) { - var n = t.split("."); - return n.reduce(function (r, i) { - return r && r[i]; - }, e); - } - return D.number(t) ? e[t] : e; - } - return e; - } - function Uh(e, t) { - if ([e, t].some(D.nullOrUndefined)) - throw new Error("Missing required parameters"); - if ( - ![e, t].every(function (m) { - return D.plainObject(m) || D.array(m); - }) - ) - throw new Error("Expected plain objects or array"); - var n = function (m, p) { - try { - return T1(e, t, { key: m, type: "added", value: p }); - } catch { - return !1; - } - }, - r = function (m, p, f) { - try { - var g = _t(e, m), - y = _t(t, m), - k = D.defined(p), - b = D.defined(f); - if (k || b) { - var h = b ? ra(f, g) : !ra(p, g), - v = ra(p, y); - return h && v; - } - return [g, y].every(D.array) || [g, y].every(D.plainObject) - ? !Je(g, y) - : g !== y; - } catch { - return !1; - } - }, - i = function (m, p, f) { - if (!D.defined(m)) return !1; - try { - var g = _t(e, m), - y = _t(t, m), - k = D.defined(f); - return ra(p, g) && (k ? ra(f, y) : !k); - } catch { - return !1; - } - }, - l = function (m, p) { - return D.defined(m) ? r(m, p) : !1; - }, - o = function (m, p, f) { - if (!D.defined(m)) return !1; - try { - return A1(e, t, { - key: m, - actual: p, - previous: f, - type: "decreased", - }); - } catch { - return !1; - } - }, - s = function (m) { - try { - var p = F1(e, t, { key: m }), - f = p[0], - g = p[1]; - return !!f.length && !g.length; - } catch { - return !1; - } - }, - c = function (m) { - try { - var p = F1(e, t, { key: m }), - f = p[0], - g = p[1]; - return !f.length && !!g.length; - } catch { - return !1; - } - }, - d = function (m, p, f) { - if (!D.defined(m)) return !1; - try { - return A1(e, t, { - key: m, - actual: p, - previous: f, - type: "increased", - }); - } catch { - return !1; - } - }, - u = function (m, p) { - try { - return T1(e, t, { key: m, type: "removed", value: p }); - } catch { - return !1; - } - }; - return { - added: n, - changed: r, - changedFrom: i, - changedTo: l, - decreased: o, - emptied: s, - filled: c, - increased: d, - removed: u, - }; - } - function I1(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var r = Object.getOwnPropertySymbols(e); - t && - (r = r.filter(function (i) { - return Object.getOwnPropertyDescriptor(e, i).enumerable; - })), - n.push.apply(n, r); - } - return n; - } - function Me(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 - ? I1(Object(n), !0).forEach(function (r) { - je(e, r, n[r]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : I1(Object(n)).forEach(function (r) { - Object.defineProperty( - e, - r, - Object.getOwnPropertyDescriptor(n, r), - ); - }); - } - return e; - } - function ja(e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function"); - } - function Z1(e, t) { - for (var n = 0; n < t.length; n++) { - var r = t[n]; - (r.enumerable = r.enumerable || !1), - (r.configurable = !0), - "value" in r && (r.writable = !0), - Object.defineProperty(e, q0(r.key), r); - } - } - function za(e, t, n) { - return ( - t && Z1(e.prototype, t), - n && Z1(e, n), - Object.defineProperty(e, "prototype", { writable: !1 }), - e - ); - } - function je(e, t, n) { - return ( - (t = q0(t)), - t in e - ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (e[t] = n), - e - ); - } - function Ua(e, t) { - if (typeof t != "function" && t !== null) - throw new TypeError( - "Super expression must either be null or a function", - ); - (e.prototype = Object.create(t && t.prototype, { - constructor: { value: e, writable: !0, configurable: !0 }, - })), - Object.defineProperty(e, "prototype", { writable: !1 }), - t && wl(e, t); - } - function Hr(e) { - return ( - (Hr = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (t) { - return t.__proto__ || Object.getPrototypeOf(t); - }), - Hr(e) - ); - } - function wl(e, t) { - return ( - (wl = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (n, r) { - return (n.__proto__ = r), n; - }), - wl(e, t) - ); - } - function $h() { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) - return !1; - if (typeof Proxy == "function") return !0; - try { - return ( - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ), - !0 - ); - } catch { - return !1; - } - } - function Wh(e, t) { - if (e == null) return {}; - var n = {}, - r = Object.keys(e), - i, - l; - for (l = 0; l < r.length; l++) - (i = r[l]), !(t.indexOf(i) >= 0) && (n[i] = e[i]); - return n; - } - function G0(e, t) { - if (e == null) return {}; - var n = Wh(e, t), - r, - i; - if (Object.getOwnPropertySymbols) { - var l = Object.getOwnPropertySymbols(e); - for (i = 0; i < l.length; i++) - (r = l[i]), - !(t.indexOf(r) >= 0) && - Object.prototype.propertyIsEnumerable.call(e, r) && - (n[r] = e[r]); - } - return n; - } - function Zt(e) { - if (e === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return e; - } - function Gh(e, t) { - if (t && (typeof t == "object" || typeof t == "function")) return t; - if (t !== void 0) - throw new TypeError( - "Derived constructors may only return object or undefined", - ); - return Zt(e); - } - function $a(e) { - var t = $h(); - return function () { - var n = Hr(e), - r; - if (t) { - var i = Hr(this).constructor; - r = Reflect.construct(n, arguments, i); - } else r = n.apply(this, arguments); - return Gh(this, r); - }; - } - function qh(e, t) { - if (typeof e != "object" || e === null) return e; - var n = e[Symbol.toPrimitive]; - if (n !== void 0) { - var r = n.call(e, t || "default"); - if (typeof r != "object") return r; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (t === "string" ? String : Number)(e); - } - function q0(e) { - var t = qh(e, "string"); - return typeof t == "symbol" ? t : String(t); - } - var Yh = { flip: { padding: 20 }, preventOverflow: { padding: 10 } }, - Qh = - "The typeValidator argument must be a function with the signature function(props, propName, componentName).", - Kh = "The error message is optional, but must be a string if provided."; - function Jh(e, t, n, r) { - return typeof e == "boolean" - ? e - : typeof e == "function" - ? e(t, n, r) - : e - ? !!e - : !1; - } - function Xh(e, t) { - return Object.hasOwnProperty.call(e, t); - } - function e7(e, t, n, r) { - return r - ? new Error(r) - : new Error( - "Required " - .concat(e[t], " `") - .concat(t, "` was not specified in `") - .concat(n, "`."), - ); - } - function t7(e, t) { - if (typeof e != "function") throw new TypeError(Qh); - if (t && typeof t != "string") throw new TypeError(Kh); - } - function B1(e, t, n) { - return ( - t7(e, n), - function (r, i, l) { - for ( - var o = arguments.length, s = new Array(o > 3 ? o - 3 : 0), c = 3; - c < o; - c++ - ) - s[c - 3] = arguments[c]; - return Jh(t, r, i, l) - ? Xh(r, i) - ? e.apply(void 0, [r, i, l].concat(s)) - : e7(r, i, l, n) - : e.apply(void 0, [r, i, l].concat(s)); - } - ); - } - var de = { - INIT: "init", - IDLE: "idle", - OPENING: "opening", - OPEN: "open", - CLOSING: "closing", - ERROR: "error", - }, - ia = Jn.createPortal !== void 0; - function Ct() { - return !!( - typeof window < "u" && - window.document && - window.document.createElement - ); - } - function Pi() { - return "ontouchstart" in window && /Mobi/.test(navigator.userAgent); - } - function ir(e) { - var t = e.title, - n = e.data, - r = e.warn, - i = r === void 0 ? !1 : r, - l = e.debug, - o = l === void 0 ? !1 : l, - s = i ? console.warn || console.error : console.log; - o && - t && - n && - (console.groupCollapsed( - "%creact-floater: ".concat(t), - "color: #9b00ff; font-weight: bold; font-size: 12px;", - ), - Array.isArray(n) - ? n.forEach(function (c) { - D.plainObject(c) && c.key - ? s.apply(console, [c.key, c.value]) - : s.apply(console, [c]); - }) - : s.apply(console, [n]), - console.groupEnd()); - } - function n7(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1; - e.addEventListener(t, n, r); - } - function a7(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1; - e.removeEventListener(t, n, r); - } - function r7(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1, - i; - (i = function (l) { - n(l), a7(e, t, i); - }), - n7(e, t, i, r); - } - function P1() {} - var Y0 = (function (e) { - Ua(n, e); - var t = $a(n); - function n() { - return ja(this, n), t.apply(this, arguments); - } - return ( - za(n, [ - { - key: "componentDidMount", - value: function () { - Ct() && - (this.node || this.appendNode(), ia || this.renderPortal()); - }, - }, - { - key: "componentDidUpdate", - value: function () { - Ct() && (ia || this.renderPortal()); - }, - }, - { - key: "componentWillUnmount", - value: function () { - !Ct() || - !this.node || - (ia || Jn.unmountComponentAtNode(this.node), - this.node && - this.node.parentNode === document.body && - (document.body.removeChild(this.node), (this.node = void 0))); - }, - }, - { - key: "appendNode", - value: function () { - var r = this.props, - i = r.id, - l = r.zIndex; - this.node || - ((this.node = document.createElement("div")), - i && (this.node.id = i), - l && (this.node.style.zIndex = l), - document.body.appendChild(this.node)); - }, - }, - { - key: "renderPortal", - value: function () { - if (!Ct()) return null; - var r = this.props, - i = r.children, - l = r.setRef; - if ((this.node || this.appendNode(), ia)) - return Jn.createPortal(i, this.node); - var o = Jn.unstable_renderSubtreeIntoContainer( - this, - i.length > 1 ? a.createElement("div", null, i) : i[0], - this.node, - ); - return l(o), null; - }, - }, - { - key: "renderReact16", - value: function () { - var r = this.props, - i = r.hasChildren, - l = r.placement, - o = r.target; - return i - ? this.renderPortal() - : o || l === "center" - ? this.renderPortal() - : null; - }, - }, - { - key: "render", - value: function () { - return ia ? this.renderReact16() : null; - }, - }, - ]), - n - ); - })(a.Component); - je(Y0, "propTypes", { - children: A.default.oneOfType([A.default.element, A.default.array]), - hasChildren: A.default.bool, - id: A.default.oneOfType([A.default.string, A.default.number]), - placement: A.default.string, - setRef: A.default.func.isRequired, - target: A.default.oneOfType([A.default.object, A.default.string]), - zIndex: A.default.number, - }); - var Q0 = (function (e) { - Ua(n, e); - var t = $a(n); - function n() { - return ja(this, n), t.apply(this, arguments); - } - return ( - za(n, [ - { - key: "parentStyle", - get: function () { - var r = this.props, - i = r.placement, - l = r.styles, - o = l.arrow.length, - s = { - pointerEvents: "none", - position: "absolute", - width: "100%", - }; - return ( - i.startsWith("top") - ? ((s.bottom = 0), - (s.left = 0), - (s.right = 0), - (s.height = o)) - : i.startsWith("bottom") - ? ((s.left = 0), (s.right = 0), (s.top = 0), (s.height = o)) - : i.startsWith("left") - ? ((s.right = 0), (s.top = 0), (s.bottom = 0)) - : i.startsWith("right") && ((s.left = 0), (s.top = 0)), - s - ); - }, - }, - { - key: "render", - value: function () { - var r = this.props, - i = r.placement, - l = r.setArrowRef, - o = r.styles, - s = o.arrow, - c = s.color, - d = s.display, - u = s.length, - m = s.margin, - p = s.position, - f = s.spread, - g = { display: d, position: p }, - y, - k = f, - b = u; - return ( - i.startsWith("top") - ? ((y = "0,0 " - .concat(k / 2, ",") - .concat(b, " ") - .concat(k, ",0")), - (g.bottom = 0), - (g.marginLeft = m), - (g.marginRight = m)) - : i.startsWith("bottom") - ? ((y = "" - .concat(k, ",") - .concat(b, " ") - .concat(k / 2, ",0 0,") - .concat(b)), - (g.top = 0), - (g.marginLeft = m), - (g.marginRight = m)) - : i.startsWith("left") - ? ((b = f), - (k = u), - (y = "0,0 " - .concat(k, ",") - .concat(b / 2, " 0,") - .concat(b)), - (g.right = 0), - (g.marginTop = m), - (g.marginBottom = m)) - : i.startsWith("right") && - ((b = f), - (k = u), - (y = "" - .concat(k, ",") - .concat(b, " ") - .concat(k, ",0 0,") - .concat(b / 2)), - (g.left = 0), - (g.marginTop = m), - (g.marginBottom = m)), - a.createElement( - "div", - { className: "__floater__arrow", style: this.parentStyle }, - a.createElement( - "span", - { ref: l, style: g }, - a.createElement( - "svg", - { - width: k, - height: b, - version: "1.1", - xmlns: "http://www.w3.org/2000/svg", - }, - a.createElement("polygon", { points: y, fill: c }), - ), - ), - ) - ); - }, - }, - ]), - n - ); - })(a.Component); - je(Q0, "propTypes", { - placement: A.default.string.isRequired, - setArrowRef: A.default.func.isRequired, - styles: A.default.object.isRequired, - }); - var i7 = ["color", "height", "width"]; - function K0(e) { - var t = e.handleClick, - n = e.styles, - r = n.color, - i = n.height, - l = n.width, - o = G0(n, i7); - return a.createElement( - "button", - { "aria-label": "close", onClick: t, style: o, type: "button" }, - a.createElement( - "svg", - { - width: "".concat(l, "px"), - height: "".concat(i, "px"), - viewBox: "0 0 18 18", - version: "1.1", - xmlns: "http://www.w3.org/2000/svg", - preserveAspectRatio: "xMidYMid", - }, - a.createElement( - "g", - null, - a.createElement("path", { - d: "M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z", - fill: r, - }), - ), - ), - ); - } - K0.propTypes = { - handleClick: A.default.func.isRequired, - styles: A.default.object.isRequired, - }; - function J0(e) { - var t = e.content, - n = e.footer, - r = e.handleClick, - i = e.open, - l = e.positionWrapper, - o = e.showCloseButton, - s = e.title, - c = e.styles, - d = { - content: a.isValidElement(t) - ? t - : a.createElement( - "div", - { className: "__floater__content", style: c.content }, - t, - ), - }; - return ( - s && - (d.title = a.isValidElement(s) - ? s - : a.createElement( - "div", - { className: "__floater__title", style: c.title }, - s, - )), - n && - (d.footer = a.isValidElement(n) - ? n - : a.createElement( - "div", - { className: "__floater__footer", style: c.footer }, - n, - )), - (o || l) && - !D.boolean(i) && - (d.close = a.createElement(K0, { styles: c.close, handleClick: r })), - a.createElement( - "div", - { className: "__floater__container", style: c.container }, - d.close, - d.title, - d.content, - d.footer, - ) - ); - } - J0.propTypes = { - content: A.default.node.isRequired, - footer: A.default.node, - handleClick: A.default.func.isRequired, - open: A.default.bool, - positionWrapper: A.default.bool.isRequired, - showCloseButton: A.default.bool.isRequired, - styles: A.default.object.isRequired, - title: A.default.node, - }; - var X0 = (function (e) { - Ua(n, e); - var t = $a(n); - function n() { - return ja(this, n), t.apply(this, arguments); - } - return ( - za(n, [ - { - key: "style", - get: function () { - var r = this.props, - i = r.disableAnimation, - l = r.component, - o = r.placement, - s = r.hideArrow, - c = r.status, - d = r.styles, - u = d.arrow.length, - m = d.floater, - p = d.floaterCentered, - f = d.floaterClosing, - g = d.floaterOpening, - y = d.floaterWithAnimation, - k = d.floaterWithComponent, - b = {}; - return ( - s || - (o.startsWith("top") - ? (b.padding = "0 0 ".concat(u, "px")) - : o.startsWith("bottom") - ? (b.padding = "".concat(u, "px 0 0")) - : o.startsWith("left") - ? (b.padding = "0 ".concat(u, "px 0 0")) - : o.startsWith("right") && - (b.padding = "0 0 0 ".concat(u, "px"))), - [de.OPENING, de.OPEN].indexOf(c) !== -1 && - (b = Me(Me({}, b), g)), - c === de.CLOSING && (b = Me(Me({}, b), f)), - c === de.OPEN && !i && (b = Me(Me({}, b), y)), - o === "center" && (b = Me(Me({}, b), p)), - l && (b = Me(Me({}, b), k)), - Me(Me({}, m), b) - ); - }, - }, - { - key: "render", - value: function () { - var r = this.props, - i = r.component, - l = r.handleClick, - o = r.hideArrow, - s = r.setFloaterRef, - c = r.status, - d = {}, - u = ["__floater"]; - return ( - i - ? a.isValidElement(i) - ? (d.content = a.cloneElement(i, { closeFn: l })) - : (d.content = i({ closeFn: l })) - : (d.content = a.createElement(J0, this.props)), - c === de.OPEN && u.push("__floater__open"), - o || (d.arrow = a.createElement(Q0, this.props)), - a.createElement( - "div", - { ref: s, className: u.join(" "), style: this.style }, - a.createElement( - "div", - { className: "__floater__body" }, - d.content, - d.arrow, - ), - ) - ); - }, - }, - ]), - n - ); - })(a.Component); - je(X0, "propTypes", { - component: A.default.oneOfType([A.default.func, A.default.element]), - content: A.default.node, - disableAnimation: A.default.bool.isRequired, - footer: A.default.node, - handleClick: A.default.func.isRequired, - hideArrow: A.default.bool.isRequired, - open: A.default.bool, - placement: A.default.string.isRequired, - positionWrapper: A.default.bool.isRequired, - setArrowRef: A.default.func.isRequired, - setFloaterRef: A.default.func.isRequired, - showCloseButton: A.default.bool, - status: A.default.string.isRequired, - styles: A.default.object.isRequired, - title: A.default.node, - }); - var ec = (function (e) { - Ua(n, e); - var t = $a(n); - function n() { - return ja(this, n), t.apply(this, arguments); - } - return ( - za(n, [ - { - key: "render", - value: function () { - var r = this.props, - i = r.children, - l = r.handleClick, - o = r.handleMouseEnter, - s = r.handleMouseLeave, - c = r.setChildRef, - d = r.setWrapperRef, - u = r.style, - m = r.styles, - p; - if (i) - if (a.Children.count(i) === 1) - if (!a.isValidElement(i)) - p = a.createElement("span", null, i); - else { - var f = D.function(i.type) ? "innerRef" : "ref"; - p = a.cloneElement(a.Children.only(i), je({}, f, c)); - } - else p = i; - return p - ? a.createElement( - "span", - { - ref: d, - style: Me(Me({}, m), u), - onClick: l, - onMouseEnter: o, - onMouseLeave: s, - }, - p, - ) - : null; - }, - }, - ]), - n - ); - })(a.Component); - je(ec, "propTypes", { - children: A.default.node, - handleClick: A.default.func.isRequired, - handleMouseEnter: A.default.func.isRequired, - handleMouseLeave: A.default.func.isRequired, - setChildRef: A.default.func.isRequired, - setWrapperRef: A.default.func.isRequired, - style: A.default.object, - styles: A.default.object.isRequired, - }); - var l7 = { zIndex: 100 }; - function o7(e) { - var t = (0, El.default)(l7, e.options || {}); - return { - wrapper: { - cursor: "help", - display: "inline-flex", - flexDirection: "column", - zIndex: t.zIndex, - }, - wrapperPosition: { - left: -1e3, - position: "absolute", - top: -1e3, - visibility: "hidden", - }, - floater: { - display: "inline-block", - filter: "drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))", - maxWidth: 300, - opacity: 0, - position: "relative", - transition: "opacity 0.3s", - visibility: "hidden", - zIndex: t.zIndex, - }, - floaterOpening: { opacity: 1, visibility: "visible" }, - floaterWithAnimation: { - opacity: 1, - transition: "opacity 0.3s, transform 0.2s", - visibility: "visible", - }, - floaterWithComponent: { maxWidth: "100%" }, - floaterClosing: { opacity: 0, visibility: "visible" }, - floaterCentered: { - left: "50%", - position: "fixed", - top: "50%", - transform: "translate(-50%, -50%)", - }, - container: { - backgroundColor: "#fff", - color: "#666", - minHeight: 60, - minWidth: 200, - padding: 20, - position: "relative", - zIndex: 10, - }, - title: { - borderBottom: "1px solid #555", - color: "#555", - fontSize: 18, - marginBottom: 5, - paddingBottom: 6, - paddingRight: 18, - }, - content: { fontSize: 15 }, - close: { - backgroundColor: "transparent", - border: 0, - borderRadius: 0, - color: "#555", - fontSize: 0, - height: 15, - outline: "none", - padding: 10, - position: "absolute", - right: 0, - top: 0, - width: 15, - WebkitAppearance: "none", - }, - footer: { - borderTop: "1px solid #ccc", - fontSize: 13, - marginTop: 10, - paddingTop: 5, - }, - arrow: { - color: "#fff", - display: "inline-flex", - length: 16, - margin: 8, - position: "absolute", - spread: 32, - }, - options: t, - }; - } - var s7 = ["arrow", "flip", "offset"], - c7 = ["position", "top", "right", "bottom", "left"], - ro = (function (e) { - Ua(n, e); - var t = $a(n); - function n(r) { - var i; - return ( - ja(this, n), - (i = t.call(this, r)), - je(Zt(i), "setArrowRef", function (l) { - i.arrowRef = l; - }), - je(Zt(i), "setChildRef", function (l) { - i.childRef = l; - }), - je(Zt(i), "setFloaterRef", function (l) { - i.floaterRef = l; - }), - je(Zt(i), "setWrapperRef", function (l) { - i.wrapperRef = l; - }), - je(Zt(i), "handleTransitionEnd", function () { - var l = i.state.status, - o = i.props.callback; - i.wrapperPopper && i.wrapperPopper.instance.update(), - i.setState( - { status: l === de.OPENING ? de.OPEN : de.IDLE }, - function () { - var s = i.state.status; - o(s === de.OPEN ? "open" : "close", i.props); - }, - ); - }), - je(Zt(i), "handleClick", function () { - var l = i.props, - o = l.event, - s = l.open; - if (!D.boolean(s)) { - var c = i.state, - d = c.positionWrapper, - u = c.status; - (i.event === "click" || (i.event === "hover" && d)) && - (ir({ - title: "click", - data: [ - { - event: o, - status: u === de.OPEN ? "closing" : "opening", - }, - ], - debug: i.debug, - }), - i.toggle()); - } - }), - je(Zt(i), "handleMouseEnter", function () { - var l = i.props, - o = l.event, - s = l.open; - if (!(D.boolean(s) || Pi())) { - var c = i.state.status; - i.event === "hover" && - c === de.IDLE && - (ir({ - title: "mouseEnter", - data: [{ key: "originalEvent", value: o }], - debug: i.debug, - }), - clearTimeout(i.eventDelayTimeout), - i.toggle()); - } - }), - je(Zt(i), "handleMouseLeave", function () { - var l = i.props, - o = l.event, - s = l.eventDelay, - c = l.open; - if (!(D.boolean(c) || Pi())) { - var d = i.state, - u = d.status, - m = d.positionWrapper; - i.event === "hover" && - (ir({ - title: "mouseLeave", - data: [{ key: "originalEvent", value: o }], - debug: i.debug, - }), - s - ? [de.OPENING, de.OPEN].indexOf(u) !== -1 && - !m && - !i.eventDelayTimeout && - (i.eventDelayTimeout = setTimeout(function () { - delete i.eventDelayTimeout, i.toggle(); - }, s * 1e3)) - : i.toggle(de.IDLE)); - } - }), - (i.state = { - currentPlacement: r.placement, - needsUpdate: !1, - positionWrapper: r.wrapperOptions.position && !!r.target, - status: de.INIT, - statusWrapper: de.INIT, - }), - (i._isMounted = !1), - (i.hasMounted = !1), - Ct() && - window.addEventListener("load", function () { - i.popper && i.popper.instance.update(), - i.wrapperPopper && i.wrapperPopper.instance.update(); - }), - i - ); - } - return ( - za(n, [ - { - key: "componentDidMount", - value: function () { - if (Ct()) { - var r = this.state.positionWrapper, - i = this.props, - l = i.children, - o = i.open, - s = i.target; - (this._isMounted = !0), - ir({ - title: "init", - data: { - hasChildren: !!l, - hasTarget: !!s, - isControlled: D.boolean(o), - positionWrapper: r, - target: this.target, - floater: this.floaterRef, - }, - debug: this.debug, - }), - this.hasMounted || - (this.initPopper(), (this.hasMounted = !0)), - !l && s && D.boolean(o); - } - }, - }, - { - key: "componentDidUpdate", - value: function (r, i) { - if (Ct()) { - var l = this.props, - o = l.autoOpen, - s = l.open, - c = l.target, - d = l.wrapperOptions, - u = Uh(i, this.state), - m = u.changedFrom, - p = u.changed; - if (r.open !== s) { - var f; - D.boolean(s) && (f = s ? de.OPENING : de.CLOSING), - this.toggle(f); - } - (r.wrapperOptions.position !== d.position || - r.target !== c) && - this.changeWrapperPosition(this.props), - p("status", de.IDLE) && s - ? this.toggle(de.OPEN) - : m("status", de.INIT, de.IDLE) && - o && - this.toggle(de.OPEN), - this.popper && - p("status", de.OPENING) && - this.popper.instance.update(), - this.floaterRef && - (p("status", de.OPENING) || p("status", de.CLOSING)) && - r7( - this.floaterRef, - "transitionend", - this.handleTransitionEnd, - ), - p("needsUpdate", !0) && this.rebuildPopper(); - } - }, - }, - { - key: "componentWillUnmount", - value: function () { - Ct() && - ((this._isMounted = !1), - this.popper && this.popper.instance.destroy(), - this.wrapperPopper && this.wrapperPopper.instance.destroy()); - }, - }, - { - key: "initPopper", - value: function () { - var r = this, - i = - arguments.length > 0 && arguments[0] !== void 0 - ? arguments[0] - : this.target, - l = this.state.positionWrapper, - o = this.props, - s = o.disableFlip, - c = o.getPopper, - d = o.hideArrow, - u = o.offset, - m = o.placement, - p = o.wrapperOptions, - f = - m === "top" || m === "bottom" - ? "flip" - : [ - "right", - "bottom-end", - "top-end", - "left", - "top-start", - "bottom-start", - ]; - if (m === "center") this.setState({ status: de.IDLE }); - else if (i && this.floaterRef) { - var g = this.options, - y = g.arrow, - k = g.flip, - b = g.offset, - h = G0(g, s7); - new M1(i, this.floaterRef, { - placement: m, - modifiers: Me( - { - arrow: Me({ enabled: !d, element: this.arrowRef }, y), - flip: Me({ enabled: !s, behavior: f }, k), - offset: Me({ offset: "0, ".concat(u, "px") }, b), - }, - h, - ), - onCreate: function (E) { - var C; - if ( - ((r.popper = E), - !( - (C = r.floaterRef) !== null && - C !== void 0 && - C.isConnected - )) - ) { - r.setState({ needsUpdate: !0 }); - return; - } - c(E, "floater"), - r._isMounted && - r.setState({ - currentPlacement: E.placement, - status: de.IDLE, - }), - m !== E.placement && - setTimeout(function () { - E.instance.update(); - }, 1); - }, - onUpdate: function (E) { - r.popper = E; - var C = r.state.currentPlacement; - r._isMounted && - E.placement !== C && - r.setState({ currentPlacement: E.placement }); - }, - }); - } - if (l) { - var v = D.undefined(p.offset) ? 0 : p.offset; - new M1(this.target, this.wrapperRef, { - placement: p.placement || m, - modifiers: { - arrow: { enabled: !1 }, - offset: { offset: "0, ".concat(v, "px") }, - flip: { enabled: !1 }, - }, - onCreate: function (E) { - (r.wrapperPopper = E), - r._isMounted && r.setState({ statusWrapper: de.IDLE }), - c(E, "wrapper"), - m !== E.placement && - setTimeout(function () { - E.instance.update(); - }, 1); - }, - }); - } - }, - }, - { - key: "rebuildPopper", - value: function () { - var r = this; - this.floaterRefInterval = setInterval(function () { - var i; - (i = r.floaterRef) !== null && - i !== void 0 && - i.isConnected && - (clearInterval(r.floaterRefInterval), - r.setState({ needsUpdate: !1 }), - r.initPopper()); - }, 50); - }, - }, - { - key: "changeWrapperPosition", - value: function (r) { - var i = r.target, - l = r.wrapperOptions; - this.setState({ positionWrapper: l.position && !!i }); - }, - }, - { - key: "toggle", - value: function (r) { - var i = this.state.status, - l = i === de.OPEN ? de.CLOSING : de.OPENING; - D.undefined(r) || (l = r), this.setState({ status: l }); - }, - }, - { - key: "debug", - get: function () { - var r = this.props.debug; - return ( - r || - (Ct() && - "ReactFloaterDebug" in window && - !!window.ReactFloaterDebug) - ); - }, - }, - { - key: "event", - get: function () { - var r = this.props, - i = r.disableHoverToClick, - l = r.event; - return l === "hover" && Pi() && !i ? "click" : l; - }, - }, - { - key: "options", - get: function () { - var r = this.props.options; - return (0, El.default)(Yh, r || {}); - }, - }, - { - key: "styles", - get: function () { - var r = this, - i = this.state, - l = i.status, - o = i.positionWrapper, - s = i.statusWrapper, - c = this.props.styles, - d = (0, El.default)(o7(c), c); - if (o) { - var u; - [de.IDLE].indexOf(l) === -1 || [de.IDLE].indexOf(s) === -1 - ? (u = d.wrapperPosition) - : (u = this.wrapperPopper.styles), - (d.wrapper = Me(Me({}, d.wrapper), u)); - } - if (this.target) { - var m = window.getComputedStyle(this.target); - this.wrapperStyles - ? (d.wrapper = Me(Me({}, d.wrapper), this.wrapperStyles)) - : ["relative", "static"].indexOf(m.position) === -1 && - ((this.wrapperStyles = {}), - o || - (c7.forEach(function (p) { - r.wrapperStyles[p] = m[p]; - }), - (d.wrapper = Me(Me({}, d.wrapper), this.wrapperStyles)), - (this.target.style.position = "relative"), - (this.target.style.top = "auto"), - (this.target.style.right = "auto"), - (this.target.style.bottom = "auto"), - (this.target.style.left = "auto"))); - } - return d; - }, - }, - { - key: "target", - get: function () { - if (!Ct()) return null; - var r = this.props.target; - return r - ? D.domElement(r) - ? r - : document.querySelector(r) - : this.childRef || this.wrapperRef; - }, - }, - { - key: "render", - value: function () { - var r = this.state, - i = r.currentPlacement, - l = r.positionWrapper, - o = r.status, - s = this.props, - c = s.children, - d = s.component, - u = s.content, - m = s.disableAnimation, - p = s.footer, - f = s.hideArrow, - g = s.id, - y = s.open, - k = s.showCloseButton, - b = s.style, - h = s.target, - v = s.title, - E = a.createElement( - ec, - { - handleClick: this.handleClick, - handleMouseEnter: this.handleMouseEnter, - handleMouseLeave: this.handleMouseLeave, - setChildRef: this.setChildRef, - setWrapperRef: this.setWrapperRef, - style: b, - styles: this.styles.wrapper, - }, - c, - ), - C = {}; - return ( - l ? (C.wrapperInPortal = E) : (C.wrapperAsChildren = E), - a.createElement( - "span", - null, - a.createElement( - Y0, - { - hasChildren: !!c, - id: g, - placement: i, - setRef: this.setFloaterRef, - target: h, - zIndex: this.styles.options.zIndex, - }, - a.createElement(X0, { - component: d, - content: u, - disableAnimation: m, - footer: p, - handleClick: this.handleClick, - hideArrow: f || i === "center", - open: y, - placement: i, - positionWrapper: l, - setArrowRef: this.setArrowRef, - setFloaterRef: this.setFloaterRef, - showCloseButton: k, - status: o, - styles: this.styles, - title: v, - }), - C.wrapperInPortal, - ), - C.wrapperAsChildren, - ) - ); - }, - }, - ]), - n - ); - })(a.Component); - je(ro, "propTypes", { - autoOpen: A.default.bool, - callback: A.default.func, - children: A.default.node, - component: B1( - A.default.oneOfType([A.default.func, A.default.element]), - function (e) { - return !e.content; - }, - ), - content: B1(A.default.node, function (e) { - return !e.component; - }), - debug: A.default.bool, - disableAnimation: A.default.bool, - disableFlip: A.default.bool, - disableHoverToClick: A.default.bool, - event: A.default.oneOf(["hover", "click"]), - eventDelay: A.default.number, - footer: A.default.node, - getPopper: A.default.func, - hideArrow: A.default.bool, - id: A.default.oneOfType([A.default.string, A.default.number]), - offset: A.default.number, - open: A.default.bool, - options: A.default.object, - placement: A.default.oneOf([ - "top", - "top-start", - "top-end", - "bottom", - "bottom-start", - "bottom-end", - "left", - "left-start", - "left-end", - "right", - "right-start", - "right-end", - "auto", - "center", - ]), - showCloseButton: A.default.bool, - style: A.default.object, - styles: A.default.object, - target: A.default.oneOfType([A.default.object, A.default.string]), - title: A.default.node, - wrapperOptions: A.default.shape({ - offset: A.default.number, - placement: A.default.oneOf([ - "top", - "top-start", - "top-end", - "bottom", - "bottom-start", - "bottom-end", - "left", - "left-start", - "left-end", - "right", - "right-start", - "right-end", - "auto", - ]), - position: A.default.bool, - }), - }); - je(ro, "defaultProps", { - autoOpen: !1, - callback: P1, - debug: !1, - disableAnimation: !1, - disableFlip: !1, - disableHoverToClick: !1, - event: "click", - eventDelay: 0.4, - getPopper: P1, - hideArrow: !1, - offset: 15, - placement: "bottom", - showCloseButton: !1, - styles: {}, - target: null, - wrapperOptions: { position: !1 }, - }); - var d7 = ut(L5(), 1), - u7 = Object.defineProperty, - m7 = (e, t, n) => - t in e - ? u7(e, t, { - enumerable: !0, - configurable: !0, - writable: !0, - value: n, - }) - : (e[t] = n), - B = (e, t, n) => (m7(e, typeof t != "symbol" ? t + "" : t, n), n), - fe = { - INIT: "init", - START: "start", - STOP: "stop", - RESET: "reset", - PREV: "prev", - NEXT: "next", - GO: "go", - CLOSE: "close", - SKIP: "skip", - UPDATE: "update", - }, - ht = { - TOUR_START: "tour:start", - STEP_BEFORE: "step:before", - BEACON: "beacon", - TOOLTIP: "tooltip", - STEP_AFTER: "step:after", - TOUR_END: "tour:end", - TOUR_STATUS: "tour:status", - TARGET_NOT_FOUND: "error:target_not_found", - ERROR: "error", - }, - X = { - INIT: "init", - READY: "ready", - BEACON: "beacon", - TOOLTIP: "tooltip", - COMPLETE: "complete", - ERROR: "error", - }, - ae = { - IDLE: "idle", - READY: "ready", - WAITING: "waiting", - RUNNING: "running", - PAUSED: "paused", - SKIPPED: "skipped", - FINISHED: "finished", - ERROR: "error", - }; - function Wt() { - return !!( - typeof window < "u" && - window.document && - window.document.createElement - ); - } - function tc(e) { - return e ? e.getBoundingClientRect() : null; - } - function p7() { - let { body: e, documentElement: t } = document; - return !e || !t - ? 0 - : Math.max( - e.scrollHeight, - e.offsetHeight, - t.clientHeight, - t.scrollHeight, - t.offsetHeight, - ); - } - function Yt(e) { - return typeof e == "string" ? document.querySelector(e) : e; - } - function h7(e) { - return !e || e.nodeType !== 1 ? null : getComputedStyle(e); - } - function ii(e, t, n) { - if (!e) return on(); - let r = (0, O0.default)(e); - if (r) { - if (r.isSameNode(on())) return n ? document : on(); - if (!(r.scrollHeight > r.offsetHeight) && !t) - return (r.style.overflow = "initial"), on(); - } - return r; - } - function li(e, t) { - if (!e) return !1; - let n = ii(e, t); - return n ? !n.isSameNode(on()) : !1; - } - function f7(e) { - return e.offsetParent !== document.body; - } - function Ra(e, t = "fixed") { - if (!e || !(e instanceof HTMLElement)) return !1; - let { nodeName: n } = e, - r = h7(e); - return n === "BODY" || n === "HTML" - ? !1 - : r && r.position === t - ? !0 - : e.parentNode - ? Ra(e.parentNode, t) - : !1; - } - function g7(e) { - var t; - if (!e) return !1; - let n = e; - for (; n && n !== document.body; ) { - if (n instanceof HTMLElement) { - let { display: r, visibility: i } = getComputedStyle(n); - if (r === "none" || i === "hidden") return !1; - } - n = (t = n.parentElement) != null ? t : null; - } - return !0; - } - function v7(e, t, n) { - var r; - let i = tc(e), - l = ii(e, n), - o = li(e, n), - s = 0, - c = (r = i?.top) != null ? r : 0; - return ( - l instanceof HTMLElement && - ((s = l.scrollTop), - !o && !Ra(e) && (c += s), - l.isSameNode(on()) || (c += on().scrollTop)), - Math.floor(c - t) - ); - } - function y7(e, t, n) { - var r; - if (!e) return 0; - let { offsetTop: i = 0, scrollTop: l = 0 } = - (r = (0, O0.default)(e)) != null ? r : {}, - o = e.getBoundingClientRect().top + l; - i && (li(e, n) || f7(e)) && (o -= i); - let s = Math.floor(o - t); - return s < 0 ? 0 : s; - } - function on() { - var e; - return (e = document.scrollingElement) != null - ? e - : document.documentElement; - } - function b7(e, t) { - let { duration: n, element: r } = t; - return new Promise((i, l) => { - let { scrollTop: o } = r, - s = e > o ? e - o : o - e; - z3.default.top(r, e, { duration: s < 100 ? 50 : n }, (c) => - c && c.message !== "Element already at target scroll position" - ? l(c) - : i(), - ); - }); - } - var la = Xn !== void 0; - function nc(e = navigator.userAgent) { - let t = e; - return ( - typeof window > "u" - ? (t = "node") - : document.documentMode - ? (t = "ie") - : /Edge/.test(e) - ? (t = "edge") - : window.opera || e.includes(" OPR/") - ? (t = "opera") - : typeof window.InstallTrigger < "u" - ? (t = "firefox") - : window.chrome - ? (t = "chrome") - : /(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test( - e, - ) && (t = "safari"), - t - ); - } - function Gt(e) { - let t = [], - n = (r) => { - if (typeof r == "string" || typeof r == "number") t.push(r); - else if (Array.isArray(r)) r.forEach((i) => n(i)); - else if (pi(r)) { - let { children: i } = r.props; - Array.isArray(i) ? i.forEach((l) => n(l)) : n(i); - } - }; - return n(e), t.join(" ").trim(); - } - function E7(e, t) { - return !I.plainObject(e) || !I.array(t) - ? !1 - : Object.keys(e).every((n) => t.includes(n)); - } - function k7(e) { - let t = /^#?([\da-f])([\da-f])([\da-f])$/i, - n = e.replace(t, (i, l, o, s) => l + l + o + o + s + s), - r = /^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(n); - return r - ? [parseInt(r[1], 16), parseInt(r[2], 16), parseInt(r[3], 16)] - : []; - } - function V1(e) { - return e.disableBeacon || e.placement === "center"; - } - function D1() { - return !["chrome", "safari", "firefox", "opera"].includes(nc()); - } - function hn({ data: e, debug: t = !1, title: n, warn: r = !1 }) { - let i = r ? console.warn || console.error : console.log; - t && - (n && e - ? (console.groupCollapsed( - `%creact-joyride: ${n}`, - "color: #ff0044; font-weight: bold; font-size: 12px;", - ), - Array.isArray(e) - ? e.forEach((l) => { - I.plainObject(l) && l.key - ? i.apply(console, [l.key, l.value]) - : i.apply(console, [l]); - }) - : i.apply(console, [e]), - console.groupEnd()) - : console.error("Missing title or data props")); - } - function w7(e) { - let { - isFirstStep: t, - lifecycle: n, - previousLifecycle: r, - scrollToFirstStep: i, - step: l, - target: o, - } = e; - return ( - !l.disableScrolling && - (!t || i || n === X.TOOLTIP) && - l.placement !== "center" && - (!l.isFixed || !Ra(o)) && - r !== n && - [X.BEACON, X.TOOLTIP].includes(n) - ); - } - var C7 = { - options: { preventOverflow: { boundariesElement: "scrollParent" } }, - wrapperOptions: { offset: -18, position: !0 }, - }, - ac = { - back: "Back", - close: "Close", - last: "Last", - next: "Next", - open: "Open the dialog", - skip: "Skip", - }, - S7 = { - event: "click", - placement: "bottom", - offset: 10, - disableBeacon: !1, - disableCloseOnEsc: !1, - disableOverlay: !1, - disableOverlayClose: !1, - disableScrollParentFix: !1, - disableScrolling: !1, - hideBackButton: !1, - hideCloseButton: !1, - hideFooter: !1, - isFixed: !1, - locale: ac, - showProgress: !1, - showSkipButton: !1, - spotlightClicks: !1, - spotlightPadding: 10, - }, - x7 = { - continuous: !1, - debug: !1, - disableCloseOnEsc: !1, - disableOverlay: !1, - disableOverlayClose: !1, - disableScrolling: !1, - disableScrollParentFix: !1, - getHelpers: void 0, - hideBackButton: !1, - run: !0, - scrollOffset: 20, - scrollDuration: 300, - scrollToFirstStep: !1, - showSkipButton: !1, - showProgress: !1, - spotlightClicks: !1, - spotlightPadding: 10, - steps: [], - }, - N7 = { - arrowColor: "#fff", - backgroundColor: "#fff", - beaconSize: 36, - overlayColor: "rgba(0, 0, 0, 0.5)", - primaryColor: "#f04", - spotlightShadow: "0 0 15px rgba(0, 0, 0, 0.5)", - textColor: "#333", - width: 380, - zIndex: 100, - }, - oa = { - backgroundColor: "transparent", - border: 0, - borderRadius: 0, - color: "#555", - cursor: "pointer", - fontSize: 16, - lineHeight: 1, - padding: 8, - WebkitAppearance: "none", - }, - H1 = { borderRadius: 4, position: "absolute" }; - function M7(e, t) { - let n = (0, Ii.default)(e ?? {}, t ?? {}), - r = (0, Ii.default)(N7, n.options || {}), - { width: i } = r; - window.innerWidth > 480 && (i = 380), - "width" in r && - (i = - typeof r.width == "number" && window.innerWidth < r.width - ? window.innerWidth - 30 - : r.width); - let l = { - bottom: 0, - left: 0, - overflow: "hidden", - position: "absolute", - right: 0, - top: 0, - zIndex: r.zIndex, - }, - o = { - beacon: { - ...oa, - display: "inline-block", - height: r.beaconSize, - position: "relative", - width: r.beaconSize, - zIndex: r.zIndex, - }, - beaconInner: { - animation: "joyride-beacon-inner 1.2s infinite ease-in-out", - backgroundColor: r.primaryColor, - borderRadius: "50%", - display: "block", - height: "50%", - left: "50%", - opacity: 0.7, - position: "absolute", - top: "50%", - transform: "translate(-50%, -50%)", - width: "50%", - }, - beaconOuter: { - animation: "joyride-beacon-outer 1.2s infinite ease-in-out", - backgroundColor: `rgba(${k7(r.primaryColor).join(",")}, 0.2)`, - border: `2px solid ${r.primaryColor}`, - borderRadius: "50%", - boxSizing: "border-box", - display: "block", - height: "100%", - left: 0, - opacity: 0.9, - position: "absolute", - top: 0, - transformOrigin: "center", - width: "100%", - }, - tooltip: { - backgroundColor: r.backgroundColor, - borderRadius: 5, - boxSizing: "border-box", - color: r.textColor, - fontSize: 16, - maxWidth: "100%", - padding: 15, - position: "relative", - width: i, - }, - tooltipContainer: { lineHeight: 1.4, textAlign: "center" }, - tooltipTitle: { fontSize: 18, margin: 0 }, - tooltipContent: { padding: "20px 10px" }, - tooltipFooter: { - alignItems: "center", - display: "flex", - justifyContent: "flex-end", - marginTop: 15, - }, - tooltipFooterSpacer: { flex: 1 }, - buttonNext: { - ...oa, - backgroundColor: r.primaryColor, - borderRadius: 4, - color: "#fff", - }, - buttonBack: { - ...oa, - color: r.primaryColor, - marginLeft: "auto", - marginRight: 5, - }, - buttonClose: { - ...oa, - color: r.textColor, - height: 14, - padding: 15, - position: "absolute", - right: 0, - top: 0, - width: 14, - }, - buttonSkip: { ...oa, color: r.textColor, fontSize: 14 }, - overlay: { - ...l, - backgroundColor: r.overlayColor, - mixBlendMode: "hard-light", - }, - overlayLegacy: { ...l }, - overlayLegacyCenter: { ...l, backgroundColor: r.overlayColor }, - spotlight: { ...H1, backgroundColor: "gray" }, - spotlightLegacy: { - ...H1, - boxShadow: `0 0 0 9999px ${r.overlayColor}, ${r.spotlightShadow}`, - }, - floaterStyles: { - arrow: { color: r.arrowColor }, - options: { zIndex: r.zIndex + 100 }, - }, - options: r, - }; - return (0, Ii.default)(o, n); - } - function _7(e) { - return $3( - e, - "beaconComponent", - "disableCloseOnEsc", - "disableOverlay", - "disableOverlayClose", - "disableScrolling", - "disableScrollParentFix", - "floaterProps", - "hideBackButton", - "hideCloseButton", - "locale", - "showProgress", - "showSkipButton", - "spotlightClicks", - "spotlightPadding", - "styles", - "tooltipComponent", - ); - } - function sa(e, t) { - var n, r, i, l, o, s; - let c = e ?? {}, - d = rr.default.all([S7, _7(t), c], { - isMergeableObject: I.plainObject, - }), - u = M7(t.styles, d.styles), - m = li(Yt(d.target), d.disableScrollParentFix), - p = rr.default.all([ - C7, - (n = t.floaterProps) != null ? n : {}, - (r = d.floaterProps) != null ? r : {}, - ]); - return ( - (p.offset = d.offset), - (p.styles = (0, rr.default)( - (i = p.styles) != null ? i : {}, - u.floaterStyles, - )), - (p.offset += - (o = (l = t.spotlightPadding) != null ? l : d.spotlightPadding) != - null - ? o - : 0), - d.placementBeacon && - p.wrapperOptions && - (p.wrapperOptions.placement = d.placementBeacon), - m && - p.options.preventOverflow && - (p.options.preventOverflow.boundariesElement = "window"), - { - ...d, - locale: rr.default.all([ - ac, - (s = t.locale) != null ? s : {}, - d.locale || {}, - ]), - floaterProps: p, - styles: U3(u, "floaterStyles"), - } - ); - } - function rc(e, t = !1) { - return I.plainObject(e) - ? e.target - ? !0 - : (hn({ - title: "validateStep", - data: "target is missing from the step", - warn: !0, - debug: t, - }), - !1) - : (hn({ - title: "validateStep", - data: "step must be an object", - warn: !0, - debug: t, - }), - !1); - } - function j1(e, t = !1) { - return I.array(e) - ? e.every((n) => rc(n, t)) - : (hn({ - title: "validateSteps", - data: "steps must be an array", - warn: !0, - debug: t, - }), - !1); - } - var O7 = { - action: "init", - controlled: !1, - index: 0, - lifecycle: X.INIT, - size: 0, - status: ae.IDLE, - }, - z1 = ["action", "index", "lifecycle", "status"], - A7 = class { - constructor(e) { - B(this, "beaconPopper"), - B(this, "tooltipPopper"), - B(this, "data", new Map()), - B(this, "listener"), - B(this, "store", new Map()), - B(this, "addListener", (i) => { - this.listener = i; - }), - B(this, "setSteps", (i) => { - let { size: l, status: o } = this.getState(), - s = { size: i.length, status: o }; - this.data.set("steps", i), - o === ae.WAITING && !l && i.length && (s.status = ae.RUNNING), - this.setState(s); - }), - B(this, "getPopper", (i) => - i === "beacon" ? this.beaconPopper : this.tooltipPopper, - ), - B(this, "setPopper", (i, l) => { - i === "beacon" - ? (this.beaconPopper = l) - : (this.tooltipPopper = l); - }), - B(this, "cleanupPoppers", () => { - (this.beaconPopper = null), (this.tooltipPopper = null); - }), - B(this, "close", () => { - let { index: i, status: l } = this.getState(); - l === ae.RUNNING && - this.setState({ - ...this.getNextState({ action: fe.CLOSE, index: i + 1 }), - }); - }), - B(this, "go", (i) => { - let { controlled: l, status: o } = this.getState(); - if (l || o !== ae.RUNNING) return; - let s = this.getSteps()[i]; - this.setState({ - ...this.getNextState({ action: fe.GO, index: i }), - status: s ? o : ae.FINISHED, - }); - }), - B(this, "info", () => this.getState()), - B(this, "next", () => { - let { index: i, status: l } = this.getState(); - l === ae.RUNNING && - this.setState( - this.getNextState({ action: fe.NEXT, index: i + 1 }), - ); - }), - B(this, "open", () => { - let { status: i } = this.getState(); - i === ae.RUNNING && - this.setState({ - ...this.getNextState({ - action: fe.UPDATE, - lifecycle: X.TOOLTIP, - }), - }); - }), - B(this, "prev", () => { - let { index: i, status: l } = this.getState(); - l === ae.RUNNING && - this.setState({ - ...this.getNextState({ action: fe.PREV, index: i - 1 }), - }); - }), - B(this, "reset", (i = !1) => { - let { controlled: l } = this.getState(); - l || - this.setState({ - ...this.getNextState({ action: fe.RESET, index: 0 }), - status: i ? ae.RUNNING : ae.READY, - }); - }), - B(this, "skip", () => { - let { status: i } = this.getState(); - i === ae.RUNNING && - this.setState({ - action: fe.SKIP, - lifecycle: X.INIT, - status: ae.SKIPPED, - }); - }), - B(this, "start", (i) => { - let { index: l, size: o } = this.getState(); - this.setState({ - ...this.getNextState( - { action: fe.START, index: I.number(i) ? i : l }, - !0, - ), - status: o ? ae.RUNNING : ae.WAITING, - }); - }), - B(this, "stop", (i = !1) => { - let { index: l, status: o } = this.getState(); - [ae.FINISHED, ae.SKIPPED].includes(o) || - this.setState({ - ...this.getNextState({ - action: fe.STOP, - index: l + (i ? 1 : 0), - }), - status: ae.PAUSED, - }); - }), - B(this, "update", (i) => { - var l; - if (!E7(i, z1)) - throw new Error( - `State is not valid. Valid keys: ${z1.join(", ")}`, - ); - this.setState({ - ...this.getNextState( - { - ...this.getState(), - ...i, - action: (l = i.action) != null ? l : fe.UPDATE, - }, - !0, - ), - }); - }); - let { continuous: t = !1, stepIndex: n, steps: r = [] } = e ?? {}; - this.setState( - { - action: fe.INIT, - controlled: I.number(n), - continuous: t, - index: I.number(n) ? n : 0, - lifecycle: X.INIT, - status: r.length ? ae.READY : ae.IDLE, - }, - !0, - ), - (this.beaconPopper = null), - (this.tooltipPopper = null), - (this.listener = null), - this.setSteps(r); - } - getState() { - return this.store.size - ? { - action: this.store.get("action") || "", - controlled: this.store.get("controlled") || !1, - index: parseInt(this.store.get("index"), 10), - lifecycle: this.store.get("lifecycle") || "", - size: this.store.get("size") || 0, - status: this.store.get("status") || "", - } - : { ...O7 }; - } - getNextState(e, t = !1) { - var n, r, i, l; - let { - action: o, - controlled: s, - index: c, - size: d, - status: u, - } = this.getState(), - m = I.number(e.index) ? e.index : c, - p = s && !t ? c : Math.min(Math.max(m, 0), d); - return { - action: (n = e.action) != null ? n : o, - controlled: s, - index: p, - lifecycle: (r = e.lifecycle) != null ? r : X.INIT, - size: (i = e.size) != null ? i : d, - status: p === d ? ae.FINISHED : (l = e.status) != null ? l : u, - }; - } - getSteps() { - let e = this.data.get("steps"); - return Array.isArray(e) ? e : []; - } - hasUpdatedState(e) { - let t = JSON.stringify(e), - n = JSON.stringify(this.getState()); - return t !== n; - } - setState(e, t = !1) { - let n = this.getState(), - { - action: r, - index: i, - lifecycle: l, - size: o, - status: s, - } = { ...n, ...e }; - this.store.set("action", r), - this.store.set("index", i), - this.store.set("lifecycle", l), - this.store.set("size", o), - this.store.set("status", s), - t && - (this.store.set("controlled", e.controlled), - this.store.set("continuous", e.continuous)), - this.listener && - this.hasUpdatedState(n) && - this.listener(this.getState()); - } - getHelpers() { - return { - close: this.close, - go: this.go, - info: this.info, - next: this.next, - open: this.open, - prev: this.prev, - reset: this.reset, - skip: this.skip, - }; - } - }; - function T7(e) { - return new A7(e); - } - var F7 = class { - constructor(e, t) { - if ( - (B(this, "element"), - B(this, "options"), - B(this, "canBeTabbed", (n) => { - let { tabIndex: r } = n; - return r === null || r < 0 ? !1 : this.canHaveFocus(n); - }), - B(this, "canHaveFocus", (n) => { - let r = /input|select|textarea|button|object/, - i = n.nodeName.toLowerCase(); - return ( - ((r.test(i) && !n.getAttribute("disabled")) || - (i === "a" && !!n.getAttribute("href"))) && - this.isVisible(n) - ); - }), - B(this, "findValidTabElements", () => - [].slice - .call(this.element.querySelectorAll("*"), 0) - .filter(this.canBeTabbed), - ), - B(this, "handleKeyDown", (n) => { - let { code: r = "Tab" } = this.options; - n.code === r && this.interceptTab(n); - }), - B(this, "interceptTab", (n) => { - n.preventDefault(); - let r = this.findValidTabElements(), - { shiftKey: i } = n; - if (!r.length) return; - let l = document.activeElement - ? r.indexOf(document.activeElement) - : 0; - l === -1 || (!i && l + 1 === r.length) - ? (l = 0) - : i && l === 0 - ? (l = r.length - 1) - : (l += i ? -1 : 1), - r[l].focus(); - }), - B(this, "isHidden", (n) => { - let r = n.offsetWidth <= 0 && n.offsetHeight <= 0, - i = window.getComputedStyle(n); - return r && !n.innerHTML - ? !0 - : (r && i.getPropertyValue("overflow") !== "visible") || - i.getPropertyValue("display") === "none"; - }), - B(this, "isVisible", (n) => { - let r = n; - for (; r; ) - if (r instanceof HTMLElement) { - if (r === document.body) break; - if (this.isHidden(r)) return !1; - r = r.parentNode; - } - return !0; - }), - B(this, "removeScope", () => { - window.removeEventListener("keydown", this.handleKeyDown); - }), - B(this, "checkFocus", (n) => { - document.activeElement !== n && - (n.focus(), - window.requestAnimationFrame(() => this.checkFocus(n))); - }), - B(this, "setFocus", () => { - let { selector: n } = this.options; - if (!n) return; - let r = this.element.querySelector(n); - r && window.requestAnimationFrame(() => this.checkFocus(r)); - }), - !(e instanceof HTMLElement)) - ) - throw new TypeError( - "Invalid parameter: element must be an HTMLElement", - ); - (this.element = e), - (this.options = t), - window.addEventListener("keydown", this.handleKeyDown, !1), - this.setFocus(); - } - }, - L7 = class extends jt { - constructor(e) { - if ( - (super(e), - B(this, "beacon", null), - B(this, "setBeaconRef", (i) => { - this.beacon = i; - }), - e.beaconComponent) - ) - return; - let t = document.head || document.getElementsByTagName("head")[0], - n = document.createElement("style"); - (n.id = "joyride-beacon-animation"), - e.nonce && n.setAttribute("nonce", e.nonce), - n.appendChild( - document.createTextNode(` - @keyframes joyride-beacon-inner { - 20% { - opacity: 0.9; - } - - 90% { - opacity: 0.7; - } - } - - @keyframes joyride-beacon-outer { - 0% { - transform: scale(1); - } - - 45% { - opacity: 0.7; - transform: scale(0.75); - } - - 100% { - opacity: 0.9; - transform: scale(1); - } - } - `), - ), - t.appendChild(n); - } - componentDidMount() { - let { shouldFocus: e } = this.props; - setTimeout(() => { - I.domElement(this.beacon) && e && this.beacon.focus(); - }, 0); - } - componentWillUnmount() { - let e = document.getElementById("joyride-beacon-animation"); - e?.parentNode && e.parentNode.removeChild(e); - } - render() { - let { - beaconComponent: e, - continuous: t, - index: n, - isLastStep: r, - locale: i, - onClickOrHover: l, - size: o, - step: s, - styles: c, - } = this.props, - d = I.string(i.open) ? i.open : (0, d7.default)(i.open), - u = { - "aria-label": d, - onClick: l, - onMouseEnter: l, - ref: this.setBeaconRef, - title: d, - }, - m; - return ( - e - ? (m = x(e, { - continuous: t, - index: n, - isLastStep: r, - size: o, - step: s, - ...u, - })) - : (m = x( - "button", - { - key: "JoyrideBeacon", - className: "react-joyride__beacon", - "data-test-id": "button-beacon", - style: c.beacon, - type: "button", - ...u, - }, - x("span", { style: c.beaconInner }), - x("span", { style: c.beaconOuter }), - )), - m - ); - } - }; - function R7({ styles: e }) { - return x("div", { - key: "JoyrideSpotlight", - className: "react-joyride__spotlight", - "data-test-id": "spotlight", - style: e, - }); - } - var I7 = R7, - Z7 = class extends jt { - constructor() { - super(...arguments), - B(this, "isActive", !1), - B(this, "resizeTimeout"), - B(this, "scrollTimeout"), - B(this, "scrollParent"), - B(this, "state", { - isScrolling: !1, - mouseOverSpotlight: !1, - showSpotlight: !0, - }), - B(this, "handleMouseMove", (e) => { - let { mouseOverSpotlight: t } = this.state, - { - height: n, - left: r, - position: i, - top: l, - width: o, - } = this.spotlightStyles, - s = i === "fixed" ? e.clientY : e.pageY, - c = i === "fixed" ? e.clientX : e.pageX, - d = s >= l && s <= l + n, - u = c >= r && c <= r + o && d; - u !== t && this.updateState({ mouseOverSpotlight: u }); - }), - B(this, "handleScroll", () => { - let { target: e } = this.props, - t = Yt(e); - if (this.scrollParent !== document) { - let { isScrolling: n } = this.state; - n || this.updateState({ isScrolling: !0, showSpotlight: !1 }), - clearTimeout(this.scrollTimeout), - (this.scrollTimeout = window.setTimeout(() => { - this.updateState({ isScrolling: !1, showSpotlight: !0 }); - }, 50)); - } else Ra(t, "sticky") && this.updateState({}); - }), - B(this, "handleResize", () => { - clearTimeout(this.resizeTimeout), - (this.resizeTimeout = window.setTimeout(() => { - this.isActive && this.forceUpdate(); - }, 100)); - }); - } - componentDidMount() { - let { - debug: e, - disableScrolling: t, - disableScrollParentFix: n = !1, - target: r, - } = this.props, - i = Yt(r); - (this.scrollParent = ii(i ?? document.body, n, !0)), - (this.isActive = !0), - window.addEventListener("resize", this.handleResize); - } - componentDidUpdate(e) { - var t; - let { lifecycle: n, spotlightClicks: r } = this.props, - { changed: i } = Pr(e, this.props); - i("lifecycle", X.TOOLTIP) && - ((t = this.scrollParent) == null || - t.addEventListener("scroll", this.handleScroll, { passive: !0 }), - setTimeout(() => { - let { isScrolling: l } = this.state; - l || this.updateState({ showSpotlight: !0 }); - }, 100)), - (i("spotlightClicks") || i("disableOverlay") || i("lifecycle")) && - (r && n === X.TOOLTIP - ? window.addEventListener("mousemove", this.handleMouseMove, !1) - : n !== X.TOOLTIP && - window.removeEventListener( - "mousemove", - this.handleMouseMove, - )); - } - componentWillUnmount() { - var e; - (this.isActive = !1), - window.removeEventListener("mousemove", this.handleMouseMove), - window.removeEventListener("resize", this.handleResize), - clearTimeout(this.resizeTimeout), - clearTimeout(this.scrollTimeout), - (e = this.scrollParent) == null || - e.removeEventListener("scroll", this.handleScroll); - } - get spotlightStyles() { - var e, t, n; - let { showSpotlight: r } = this.state, - { - disableScrollParentFix: i = !1, - spotlightClicks: l, - spotlightPadding: o = 0, - styles: s, - target: c, - } = this.props, - d = Yt(c), - u = tc(d), - m = Ra(d), - p = v7(d, o, i); - return { - ...(D1() ? s.spotlightLegacy : s.spotlight), - height: Math.round(((e = u?.height) != null ? e : 0) + o * 2), - left: Math.round(((t = u?.left) != null ? t : 0) - o), - opacity: r ? 1 : 0, - pointerEvents: l ? "none" : "auto", - position: m ? "fixed" : "absolute", - top: p, - transition: "opacity 0.2s", - width: Math.round(((n = u?.width) != null ? n : 0) + o * 2), - }; - } - updateState(e) { - this.isActive && this.setState((t) => ({ ...t, ...e })); - } - render() { - let { mouseOverSpotlight: e, showSpotlight: t } = this.state, - { - disableOverlay: n, - disableOverlayClose: r, - lifecycle: i, - onClickOverlay: l, - placement: o, - styles: s, - } = this.props; - if (n || i !== X.TOOLTIP) return null; - let c = s.overlay; - D1() && - (c = o === "center" ? s.overlayLegacyCenter : s.overlayLegacy); - let d = { - cursor: r ? "default" : "pointer", - height: p7(), - pointerEvents: e ? "none" : "auto", - ...c, - }, - u = o !== "center" && t && x(I7, { styles: this.spotlightStyles }); - if (nc() === "safari") { - let { mixBlendMode: m, zIndex: p, ...f } = d; - (u = x("div", { style: { ...f } }, u)), delete d.backgroundColor; - } - return x( - "div", - { - className: "react-joyride__overlay", - "data-test-id": "overlay", - onClick: l, - role: "presentation", - style: d, - }, - u, - ); - } - }, - B7 = class extends jt { - constructor() { - super(...arguments), B(this, "node", null); - } - componentDidMount() { - let { id: e } = this.props; - Wt() && - ((this.node = document.createElement("div")), - (this.node.id = e), - document.body.appendChild(this.node), - la || this.renderReact15()); - } - componentDidUpdate() { - Wt() && (la || this.renderReact15()); - } - componentWillUnmount() { - !Wt() || - !this.node || - (la || _o(this.node), - this.node.parentNode === document.body && - (document.body.removeChild(this.node), (this.node = null))); - } - renderReact15() { - if (!Wt()) return; - let { children: e } = this.props; - this.node && Oo(this, e, this.node); - } - renderReact16() { - if (!Wt() || !la) return null; - let { children: e } = this.props; - return this.node ? Xn(e, this.node) : null; - } - render() { - return la ? this.renderReact16() : null; - } - }; - function P7({ styles: e, ...t }) { - let { color: n, height: r, width: i, ...l } = e; - return a.createElement( - "button", - { style: l, type: "button", ...t }, - a.createElement( - "svg", - { - height: typeof r == "number" ? `${r}px` : r, - preserveAspectRatio: "xMidYMid", - version: "1.1", - viewBox: "0 0 18 18", - width: typeof i == "number" ? `${i}px` : i, - xmlns: "http://www.w3.org/2000/svg", - }, - a.createElement( - "g", - null, - a.createElement("path", { - d: "M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z", - fill: n, - }), - ), - ), - ); - } - var V7 = P7; - function D7(e) { - let { - backProps: t, - closeProps: n, - continuous: r, - index: i, - isLastStep: l, - primaryProps: o, - size: s, - skipProps: c, - step: d, - tooltipProps: u, - } = e, - { - content: m, - hideBackButton: p, - hideCloseButton: f, - hideFooter: g, - locale: y, - showProgress: k, - showSkipButton: b, - styles: h, - title: v, - } = d, - { back: E, close: C, last: Z, next: P, skip: W } = y, - q = { primary: C }; - return ( - r && - ((q.primary = l ? Z : P), - k && - (q.primary = x("span", null, q.primary, " (", i + 1, "/", s, ")"))), - b && - !l && - (q.skip = x( - "button", - { - "aria-live": "off", - "data-test-id": "button-skip", - style: h.buttonSkip, - type: "button", - ...c, - }, - W, - )), - !p && - i > 0 && - (q.back = x( - "button", - { - "data-test-id": "button-back", - style: h.buttonBack, - type: "button", - ...t, - }, - E, - )), - (q.close = - !f && - x(V7, { - "data-test-id": "button-close", - styles: h.buttonClose, - ...n, - })), - x( - "div", - { - key: "JoyrideTooltip", - "aria-label": Gt(v) || Gt(m), - className: "react-joyride__tooltip", - style: h.tooltip, - ...u, - }, - x( - "div", - { style: h.tooltipContainer }, - v && x("h1", { "aria-label": Gt(v), style: h.tooltipTitle }, v), - x("div", { style: h.tooltipContent }, m), - ), - !g && - x( - "div", - { style: h.tooltipFooter }, - x("div", { style: h.tooltipFooterSpacer }, q.skip), - q.back, - x( - "button", - { - "data-test-id": "button-primary", - style: h.buttonNext, - type: "button", - ...o, - }, - q.primary, - ), - ), - q.close, - ) - ); - } - var H7 = D7, - j7 = class extends jt { - constructor() { - super(...arguments), - B(this, "handleClickBack", (e) => { - e.preventDefault(); - let { helpers: t } = this.props; - t.prev(); - }), - B(this, "handleClickClose", (e) => { - e.preventDefault(); - let { helpers: t } = this.props; - t.close(); - }), - B(this, "handleClickPrimary", (e) => { - e.preventDefault(); - let { continuous: t, helpers: n } = this.props; - if (!t) { - n.close(); - return; - } - n.next(); - }), - B(this, "handleClickSkip", (e) => { - e.preventDefault(); - let { helpers: t } = this.props; - t.skip(); - }), - B(this, "getElementsProps", () => { - let { - continuous: e, - isLastStep: t, - setTooltipRef: n, - step: r, - } = this.props, - i = Gt(r.locale.back), - l = Gt(r.locale.close), - o = Gt(r.locale.last), - s = Gt(r.locale.next), - c = Gt(r.locale.skip), - d = e ? s : l; - return ( - t && (d = o), - { - backProps: { - "aria-label": i, - "data-action": "back", - onClick: this.handleClickBack, - role: "button", - title: i, - }, - closeProps: { - "aria-label": l, - "data-action": "close", - onClick: this.handleClickClose, - role: "button", - title: l, - }, - primaryProps: { - "aria-label": d, - "data-action": "primary", - onClick: this.handleClickPrimary, - role: "button", - title: d, - }, - skipProps: { - "aria-label": c, - "data-action": "skip", - onClick: this.handleClickSkip, - role: "button", - title: c, - }, - tooltipProps: { - "aria-modal": !0, - ref: n, - role: "alertdialog", - }, - } - ); - }); - } - render() { - let { - continuous: e, - index: t, - isLastStep: n, - setTooltipRef: r, - size: i, - step: l, - } = this.props, - { beaconComponent: o, tooltipComponent: s, ...c } = l, - d; - if (s) { - let u = { - ...this.getElementsProps(), - continuous: e, - index: t, - isLastStep: n, - size: i, - step: c, - setTooltipRef: r, - }; - d = x(s, { ...u }); - } else - d = x(H7, { - ...this.getElementsProps(), - continuous: e, - index: t, - isLastStep: n, - size: i, - step: l, - }); - return d; - } - }, - z7 = class extends jt { - constructor() { - super(...arguments), - B(this, "scope", null), - B(this, "tooltip", null), - B(this, "handleClickHoverBeacon", (e) => { - let { step: t, store: n } = this.props; - (e.type === "mouseenter" && t.event !== "hover") || - n.update({ lifecycle: X.TOOLTIP }); - }), - B(this, "handleClickOverlay", () => { - let { helpers: e, step: t } = this.props; - t.disableOverlayClose || e.close(); - }), - B(this, "setTooltipRef", (e) => { - this.tooltip = e; - }), - B(this, "setPopper", (e, t) => { - var n; - let { action: r, step: i, store: l } = this.props; - t === "wrapper" - ? l.setPopper("beacon", e) - : l.setPopper("tooltip", e), - l.getPopper("beacon") && - l.getPopper("tooltip") && - l.update({ action: r, lifecycle: X.READY }), - (n = i.floaterProps) != null && - n.getPopper && - i.floaterProps.getPopper(e, t); - }), - B(this, "renderTooltip", (e) => { - let { - continuous: t, - helpers: n, - index: r, - size: i, - step: l, - } = this.props; - return x(j7, { - continuous: t, - helpers: n, - index: r, - isLastStep: r + 1 === i, - setTooltipRef: this.setTooltipRef, - size: i, - step: l, - ...e, - }); - }); - } - componentDidMount() { - let { debug: e, index: t } = this.props; - hn({ - title: `step:${t}`, - data: [{ key: "props", value: this.props }], - debug: e, - }); - } - componentDidUpdate(e) { - var t; - let { - action: n, - callback: r, - continuous: i, - controlled: l, - debug: o, - index: s, - lifecycle: c, - size: d, - status: u, - step: m, - store: p, - } = this.props, - { changed: f, changedFrom: g } = Pr(e, this.props), - y = { - action: n, - controlled: l, - index: s, - lifecycle: c, - size: d, - status: u, - }, - k = i && n !== fe.CLOSE && (s > 0 || n === fe.PREV), - b = f("action") || f("index") || f("lifecycle") || f("status"), - h = g("lifecycle", [X.TOOLTIP, X.INIT], X.INIT), - v = f("action", [fe.NEXT, fe.PREV, fe.SKIP, fe.CLOSE]), - E = l && s === e.index; - if ( - (v && - (h || E) && - r({ - ...y, - index: e.index, - lifecycle: X.COMPLETE, - step: e.step, - type: ht.STEP_AFTER, - }), - m.placement === "center" && - u === ae.RUNNING && - f("index") && - n !== fe.START && - c === X.INIT && - p.update({ lifecycle: X.READY }), - b) - ) { - let C = Yt(m.target), - Z = !!C; - Z && g7(C) - ? (g("status", ae.READY, ae.RUNNING) || - g("lifecycle", X.INIT, X.READY)) && - r({ ...y, step: m, type: ht.STEP_BEFORE }) - : (console.warn( - Z ? "Target not visible" : "Target not mounted", - m, - ), - r({ ...y, type: ht.TARGET_NOT_FOUND, step: m }), - l || p.update({ index: s + (n === fe.PREV ? -1 : 1) })); - } - g("lifecycle", X.INIT, X.READY) && - p.update({ lifecycle: V1(m) || k ? X.TOOLTIP : X.BEACON }), - f("index") && - hn({ - title: `step:${c}`, - data: [{ key: "props", value: this.props }], - debug: o, - }), - f("lifecycle", X.BEACON) && r({ ...y, step: m, type: ht.BEACON }), - f("lifecycle", X.TOOLTIP) && - (r({ ...y, step: m, type: ht.TOOLTIP }), - this.tooltip && - ((this.scope = new F7(this.tooltip, { - selector: "[data-action=primary]", - })), - this.scope.setFocus())), - g("lifecycle", [X.TOOLTIP, X.INIT], X.INIT) && - ((t = this.scope) == null || t.removeScope(), p.cleanupPoppers()); - } - componentWillUnmount() { - var e; - (e = this.scope) == null || e.removeScope(); - } - get open() { - let { lifecycle: e, step: t } = this.props; - return V1(t) || e === X.TOOLTIP; - } - render() { - let { - continuous: e, - debug: t, - index: n, - lifecycle: r, - nonce: i, - shouldScroll: l, - size: o, - step: s, - } = this.props, - c = Yt(s.target); - return !rc(s) || !I.domElement(c) - ? null - : x( - "div", - { key: `JoyrideStep-${n}`, className: "react-joyride__step" }, - x( - B7, - { id: "react-joyride-portal" }, - x(Z7, { - ...s, - debug: t, - lifecycle: r, - onClickOverlay: this.handleClickOverlay, - }), - ), - x( - ro, - { - ...s.floaterProps, - component: this.renderTooltip, - debug: t, - getPopper: this.setPopper, - id: `react-joyride-step-${n}`, - open: this.open, - placement: s.placement, - target: s.target, - }, - x(L7, { - beaconComponent: s.beaconComponent, - continuous: e, - index: n, - isLastStep: n + 1 === o, - locale: s.locale, - nonce: i, - onClickOrHover: this.handleClickHoverBeacon, - shouldFocus: l, - size: o, - step: s, - styles: s.styles, - }), - ), - ); - } - }, - ic = class extends jt { - constructor(e) { - super(e), - B(this, "helpers"), - B(this, "store"), - B(this, "callback", (o) => { - let { callback: s } = this.props; - I.function(s) && s(o); - }), - B(this, "handleKeyboard", (o) => { - let { index: s, lifecycle: c } = this.state, - { steps: d } = this.props, - u = d[s]; - c === X.TOOLTIP && - o.code === "Escape" && - u && - !u.disableCloseOnEsc && - this.store.close(); - }), - B(this, "syncState", (o) => { - this.setState(o); - }); - let { debug: t, getHelpers: n, run: r, stepIndex: i } = e; - (this.store = T7({ ...e, controlled: r && I.number(i) })), - (this.helpers = this.store.getHelpers()); - let { addListener: l } = this.store; - hn({ - title: "init", - data: [ - { key: "props", value: this.props }, - { key: "state", value: this.state }, - ], - debug: t, - }), - l(this.syncState), - n && n(this.helpers), - (this.state = this.store.getState()); - } - componentDidMount() { - if (!Wt()) return; - let { debug: e, disableCloseOnEsc: t, run: n, steps: r } = this.props, - { start: i } = this.store; - j1(r, e) && n && i(), - t || - document.body.addEventListener("keydown", this.handleKeyboard, { - passive: !0, - }); - } - componentDidUpdate(e, t) { - if (!Wt()) return; - let { - action: n, - controlled: r, - index: i, - lifecycle: l, - status: o, - } = this.state, - { debug: s, run: c, stepIndex: d, steps: u } = this.props, - { stepIndex: m, steps: p } = e, - { - reset: f, - setSteps: g, - start: y, - stop: k, - update: b, - } = this.store, - { changed: h } = Pr(e, this.props), - { changed: v, changedFrom: E } = Pr(t, this.state), - C = sa(u[i], this.props), - Z = !We(p, u), - P = I.number(d) && h("stepIndex"), - W = Yt(C.target); - if ( - (Z && (j1(u, s) ? g(u) : console.warn("Steps are not valid", u)), - h("run") && (c ? y(d) : k()), - P) - ) { - let se = I.number(m) && m < d ? fe.NEXT : fe.PREV; - n === fe.STOP && (se = fe.START), - [ae.FINISHED, ae.SKIPPED].includes(o) || - b({ - action: n === fe.CLOSE ? fe.CLOSE : se, - index: d, - lifecycle: X.INIT, - }); - } - !r && - o === ae.RUNNING && - i === 0 && - !W && - (this.store.update({ index: i + 1 }), - this.callback({ - ...this.state, - type: ht.TARGET_NOT_FOUND, - step: C, - })); - let q = { ...this.state, index: i, step: C }; - if ( - v("action", [fe.NEXT, fe.PREV, fe.SKIP, fe.CLOSE]) && - v("status", ae.PAUSED) - ) { - let se = sa(u[t.index], this.props); - this.callback({ - ...q, - index: t.index, - lifecycle: X.COMPLETE, - step: se, - type: ht.STEP_AFTER, - }); - } - if (v("status", [ae.FINISHED, ae.SKIPPED])) { - let se = sa(u[t.index], this.props); - r || - this.callback({ - ...q, - index: t.index, - lifecycle: X.COMPLETE, - step: se, - type: ht.STEP_AFTER, - }), - this.callback({ - ...q, - type: ht.TOUR_END, - step: se, - index: t.index, - }), - f(); - } else - E("status", [ae.IDLE, ae.READY], ae.RUNNING) - ? this.callback({ ...q, type: ht.TOUR_START }) - : (v("status") || v("action", fe.RESET)) && - this.callback({ ...q, type: ht.TOUR_STATUS }); - this.scrollToStep(t), - C.placement === "center" && - o === ae.RUNNING && - l === X.INIT && - this.store.update({ lifecycle: X.READY }); - } - componentWillUnmount() { - let { disableCloseOnEsc: e } = this.props; - e || - document.body.removeEventListener("keydown", this.handleKeyboard); - } - scrollToStep(e) { - let { index: t, lifecycle: n, status: r } = this.state, - { - debug: i, - disableScrollParentFix: l = !1, - scrollDuration: o, - scrollOffset: s = 20, - scrollToFirstStep: c = !1, - steps: d, - } = this.props, - u = sa(d[t], this.props), - m = Yt(u.target), - p = w7({ - isFirstStep: t === 0, - lifecycle: n, - previousLifecycle: e.lifecycle, - scrollToFirstStep: c, - step: u, - target: m, - }); - if (r === ae.RUNNING && p) { - let f = li(m, l), - g = ii(m, l), - y = Math.floor(y7(m, s, l)) || 0; - hn({ - title: "scrollToStep", - data: [ - { key: "index", value: t }, - { key: "lifecycle", value: n }, - { key: "status", value: r }, - ], - debug: i, - }); - let k = this.store.getPopper("beacon"), - b = this.store.getPopper("tooltip"); - if (n === X.BEACON && k) { - let { offsets: h, placement: v } = k; - !["bottom"].includes(v) && - !f && - (y = Math.floor(h.popper.top - s)); - } else if (n === X.TOOLTIP && b) { - let { flipped: h, offsets: v, placement: E } = b; - ["top", "right", "left"].includes(E) && !h && !f - ? (y = Math.floor(v.popper.top - s)) - : (y -= u.spotlightPadding); - } - (y = y >= 0 ? y : 0), - r === ae.RUNNING && - b7(y, { element: g, duration: o }).then(() => { - setTimeout(() => { - var h; - (h = this.store.getPopper("tooltip")) == null || - h.instance.update(); - }, 10); - }); - } - } - render() { - if (!Wt()) return null; - let { index: e, status: t } = this.state, - { - continuous: n = !1, - debug: r = !1, - nonce: i, - scrollToFirstStep: l = !1, - steps: o, - } = this.props, - s; - if (t === ae.RUNNING && o[e]) { - let c = sa(o[e], this.props); - s = x(z7, { - ...this.state, - callback: this.callback, - continuous: n, - debug: r, - helpers: this.helpers, - nonce: i, - shouldScroll: !c.disableScrolling && (e !== 0 || l), - step: c, - store: this.store, - }); - } - return x("div", { className: "react-joyride" }, s); - } - }; - B(ic, "defaultProps", x7); - var U7 = ic, - U1 = [ - void 0, - "EQUAL", - "FIXED", - "ADDED", - "CHANGED", - "REMOVED", - "CAPTURE_ERROR", - "SYSTEM_ERROR", - ], - jr = ([e, ...t]) => - t.reduce((n, r) => (U1.indexOf(r) > U1.indexOf(n) ? r : n), e); - function $7(e) { - return (e.FAILED ?? 0) > 0 - ? "FAILED" - : (e.IN_PROGRESS ?? 0) > 0 - ? "IN_PROGRESS" - : (e.BROKEN ?? 0) > 0 - ? "BROKEN" - : (e.DENIED ?? 0) > 0 - ? "DENIED" - : (e.PENDING ?? 0) > 0 - ? "PENDING" - : (e.ACCEPTED ?? 0) > 0 - ? "ACCEPTED" - : "PASSED"; - } - function io(e) { - let { - statusCounts: t, - isInProgress: n, - changeCount: r, - brokenCount: i, - resultsByBrowser: l, - resultsByMode: o, - modesByName: s, - } = e.reduce( - (m, p) => ( - (m.statusCounts[p.status] = (m.statusCounts[p.status] || 0) + 1), - p.status === "IN_PROGRESS" && (m.isInProgress = !0), - p.result && - ["CHANGED", "ADDED"].includes(p.result) && - (m.changeCount += 1), - p.result && - ["CAPTURE_ERROR", "SYSTEM_ERROR"].includes(p.result) && - (m.brokenCount += 1), - p.comparisons?.forEach(({ browser: f, result: g }) => { - m.resultsByBrowser[f.id] = jr([ - g ?? void 0, - m.resultsByBrowser[f.id], - ]); - }), - p.comparisons?.forEach(({ result: f }) => { - m.resultsByMode[p.mode.name] = jr([ - f ?? void 0, - m.resultsByMode[p.mode.name], - ]); - }), - (m.modesByName[p.mode.name] = p.mode), - m - ), - { - statusCounts: {}, - isInProgress: !1, - changeCount: 0, - brokenCount: 0, - resultsByBrowser: {}, - resultsByMode: {}, - modesByName: {}, - }, - ), - c = e.length - ? Object.fromEntries( - e[0].comparisons.map((m) => [m.browser.id, m.browser]), - ) - : {}, - d = Object.entries(l).map(([m, p]) => ({ browser: c[m], result: p })), - u = Object.entries(o).map(([m, p]) => ({ mode: s[m], result: p })); - return { - status: $7(t), - isInProgress: n, - changeCount: r, - brokenCount: i, - browserResults: d, - modeResults: u, - }; - } - var W7 = (e) => { - try { - return [vo()[0][e], go()[e]]; - } catch { - return [null, null]; - } - }, - lc = ({ result: e }) => e !== "EQUAL" && e !== "FIXED", - G7 = (e, t) => { - let n = e.filter((i) => i.comparisons.some(lc)), - r = n.length ? n : e; - return r.find((i) => i.mode.name === t) || r[0]; - }, - q7 = (e, t) => { - let n = e.filter(lc), - r = n.length ? n : e; - return r.find((i) => i.browser.id === t) || r[0]; - }; - function Y7(e) { - let [t, n] = Pe(!0), - r = W7("theme")[1], - [i, l] = Ae(cu), - [o, s] = Ae(du), - c, - d; - return ( - e.length && - ((c = t ? G7(e, i) : e.find(({ mode: u }) => u.name === i) || e[0]), - (d = t - ? q7(c.comparisons, o) - : c?.comparisons.find(({ browser: u }) => u.id === o) || - c?.comparisons[0]), - t && - (i !== c?.mode.name && l(c?.mode.name), - o !== d?.browser.id && s(d?.browser.id), - n(!1))), - { - modeOrder: r?.toolbar?.items?.map((u) => u.title), - selectedTest: c, - selectedComparison: d, - onSelectBrowser: G((u) => s(u.id), [s]), - onSelectMode: G((u) => l(u.name), [l]), - } - ); - } - var Q7 = yt(` - query AddonVisualTestsBuild( - $projectId: ID! - $branch: String! - $gitUserEmailHash: String! - $repositoryOwnerName: String - $storyId: String! - $testStatuses: [TestStatus!]! - $selectedBuildId: ID! - $hasSelectedBuildId: Boolean! - ) { - project(id: $projectId) { - name - manageUrl - account { - billingUrl - suspensionReason - } - features { - uiTests - } - lastBuildOnBranch: lastBuild( - branches: [$branch] - repositoryOwnerName: $repositoryOwnerName - localBuilds: { localBuildEmailHash: $gitUserEmailHash } - ) { - ...LastBuildOnBranchBuildFields - ...SelectedBuildFields @skip(if: $hasSelectedBuildId) - } - lastBuild { - id - slug - branch - } - } - selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) { - ...SelectedBuildFields - } - viewer { - preferences { - vtaOnboarding - } - projectMembership(projectId: $projectId) { - userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER) - } - } - } -`), - K7 = yt(` - fragment LastBuildOnBranchBuildFields on Build { - __typename - id - status - committedAt - ... on StartedBuild { - testsForStatus: tests(first: 1000, statuses: $testStatuses) { - nodes { - ...StatusTestFields - } - } - testsForStory: tests(storyId: $storyId) { - nodes { - ...LastBuildOnBranchTestFields - } - } - } - ... on CompletedBuild { - result - testsForStatus: tests(first: 1000, statuses: $testStatuses) { - nodes { - ...StatusTestFields - } - } - testsForStory: tests(storyId: $storyId) { - nodes { - ...LastBuildOnBranchTestFields - } - } - } - } -`), - J7 = yt(` - fragment SelectedBuildFields on Build { - __typename - id - number - branch - commit - committedAt - uncommittedHash - status - ... on StartedBuild { - startedAt - testsForStory: tests(storyId: $storyId) { - nodes { - ...StoryTestFields - } - } - } - ... on CompletedBuild { - startedAt - testsForStory: tests(storyId: $storyId) { - nodes { - ...StoryTestFields - } - } - } - } -`), - oc = yt(` - fragment StatusTestFields on Test { - id - status - result - story { - storyId - } - } -`), - X7 = yt(` - fragment LastBuildOnBranchTestFields on Test { - status - result - } -`), - e6 = yt(` - fragment StoryTestFields on Test { - id - status - result - webUrl - comparisons { - id - result - browser { - id - key - name - version - } - captureDiff { - diffImage(signed: true) { - imageUrl - imageWidth - } - focusImage(signed: true) { - imageUrl - imageWidth - } - } - headCapture { - captureImage(signed: true) { - backgroundColor - imageUrl - imageWidth - imageHeight - thumbnailUrl - } - captureError { - kind - ... on CaptureErrorInteractionFailure { - error - } - ... on CaptureErrorJSError { - error - } - ... on CaptureErrorFailedJS { - error - } - } - } - baseCapture { - captureImage(signed: true) { - imageUrl - imageWidth - imageHeight - } - } - } - mode { - name - globals - } - story { - storyId - name - component { - name - } - } - } -`), - t6 = yt(` - mutation ReviewTest($input: ReviewTestInput!) { - reviewTest(input: $input) { - updatedTests { - id - status - } - userErrors { - ... on UserError { - __typename - message - } - ... on BuildSupersededError { - build { - id - } - } - ... on TestUnreviewableError { - test { - id - } - } - } - } - } -`), - n6 = ({ projectId: e, storyId: t, gitInfo: n, selectedBuildInfo: r }) => { - let [{ data: i, error: l, operation: o }, s] = Bl({ - query: Q7, - variables: { - projectId: e, - storyId: t, - testStatuses: Object.keys(x0), - branch: n.branch || "", - ...(n.slug ? { repositoryOwnerName: n.slug.split("/", 1)[0] } : {}), - gitUserEmailHash: n.userEmailHash, - selectedBuildId: r?.buildId || "", - hasSelectedBuildId: !!r, - }, - }); - ne(() => { - let y = setInterval(s, 5e3); - return () => clearInterval(y); - }, [s]); - let c = o && t && o.variables.storyId !== t, - d = An(K7, i?.project?.lastBuildOnBranch), - u = [ - ...An( - X7, - d && "testsForStory" in d && d.testsForStory - ? d.testsForStory.nodes - : [], - ), - ], - m = d?.committedAt > n.committedAt, - p = !!d && !m, - f = !!d && u.every((y) => y.status !== "IN_PROGRESS"), - g = An( - J7, - i?.selectedBuild ?? (f ? i?.project?.lastBuildOnBranch : void 0), - ); - return { - account: i?.project?.account, - features: i?.project?.features, - manageUrl: i?.project?.manageUrl, - hasData: !!i && !c, - hasProject: !!i?.project, - hasSelectedBuild: g?.branch.split(":").at(-1) === n.branch, - lastBuildOnBranch: d, - lastBuildOnBranchIsNewer: m, - lastBuildOnBranchIsReady: f, - lastBuildOnBranchIsSelectable: p, - selectedBuild: g, - selectedBuildMatchesGit: - g?.branch.split(":").at(-1) === n.branch && - g?.commit === n.commit && - g?.uncommittedHash === n.uncommittedHash, - rerunQuery: s, - queryError: l, - userCanReview: !!i?.viewer?.projectMembership?.userCanReview, - vtaOnboarding: i?.viewer?.preferences?.vtaOnboarding, - }; - }, - lo = Xe(null), - sc = Xe(null), - a6 = () => Rt(lo, "Build"), - cc = () => { - let { selectedBuild: e } = Rt(lo, "Build"); - if (!e) throw new Error("No selectedBuild on Build context"); - return e; - }, - yn = () => Rt(sc, "Story"), - Vi = ({ children: e, watchState: t }) => { - let n = !!t?.selectedBuild && "testsForStory" in t.selectedBuild, - r = - t?.selectedBuild && - "testsForStory" in t.selectedBuild && - t.selectedBuild.testsForStory?.nodes, - i = [...An(e6, r || [])], - l = io(i), - { toggleDiff: o } = Hn(); - return ( - ne(() => o(l.changeCount > 0), [o, l.changeCount]), - a.createElement( - lo.Provider, - { value: wt(() => t, [JSON.stringify(t?.selectedBuild)]) }, - a.createElement( - sc.Provider, - { value: { hasTests: n, tests: i, summary: l, ...Y7(i) } }, - e, - ), - ) - ); - }, - r6 = w.div(({ width: e, height: t, left: n, top: r }) => ({ - width: `${e}px`, - height: `${t}px`, - left: `${n}px`, - top: `${r}px`, - position: "relative", - overflow: "hidden", - })); - function i6({ - top: e = 0, - left: t = 0, - width: n = window.innerWidth, - height: r = window.innerHeight, - colors: i = [ - "#CA90FF", - "#FC521F", - "#66BF3C", - "#FF4785", - "#FFAE00", - "#1EA7FD", - ], - ...l - }) { - let [o] = Pe(() => { - let s = document.createElement("div"); - return ( - s.setAttribute("id", "confetti-container"), - s.setAttribute( - "style", - "position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999;", - ), - s - ); - }); - return ( - ne( - () => ( - document.body.appendChild(o), - () => { - document.body.removeChild(o); - } - ), - [o], - ), - Xn( - a.createElement( - r6, - { top: e, left: t, width: n, height: r }, - a.createElement(ps.default, { colors: i, drawShape: o6, ...l }), - ), - o, - ) - ); - } - function l6(e, t) { - return Math.floor(Math.random() * (t - e)) + e; - } - function o6(e) { - let t = this; - switch (((t.shape = t.shape || l6(1, 6)), t.shape)) { - case 2: { - let n = t.w / 2, - r = t.h / 2; - e.moveTo(-n + 2, -r), - e.lineTo(n - 2, -r), - e.arcTo(n, -r, n, -r + 2, 2), - e.lineTo(n, r - 2), - e.arcTo(n, r, n - 2, r, 2), - e.lineTo(-n + 2, r), - e.arcTo(-n, r, -n, r - 2, 2), - e.lineTo(-n, -r + 2), - e.arcTo(-n, -r, -n + 2, -r, 2); - break; - } - case 3: { - e.rect(-4, -4, 8, 16), e.rect(-12, -4, 24, 8); - break; - } - case 4: { - e.rect(-4, -4, 8, 16), e.rect(-4, -4, 24, 8); - break; - } - case 1: { - e.arc(0, 0, t.radius, 0, 2 * Math.PI); - break; - } - case 5: { - e.moveTo(16, 4), e.lineTo(4, 24), e.lineTo(24, 24); - break; - } - case 6: { - e.arc(4, -4, 4, -Math.PI / 2, 0), e.lineTo(4, 0); - break; - } - } - e.closePath(), e.fill(); - } - var s6 = w.div(({ theme: e }) => ({ - background: e.base === "light" ? e.color.lightest : "#292A2C", - width: 260, - padding: 15, - borderRadius: 5, - boxShadow: "0px 0px 32px 0px #00000029", - })), - c6 = w.div({ - display: "flex", - flexDirection: "column", - alignItems: "flex-start", - }), - d6 = w.div(({ theme: e }) => ({ - fontSize: 13, - lineHeight: "18px", - fontWeight: 700, - color: e.color.defaultText, - })), - u6 = w.div(({ theme: e }) => ({ - fontSize: 13, - lineHeight: "18px", - textAlign: "start", - color: e.color.defaultText, - margin: 0, - marginTop: 5, - })), - m6 = w.div({ - display: "flex", - justifyContent: "flex-end", - marginTop: 15, - }), - p6 = ({ isLastStep: e, step: t, primaryProps: n, tooltipProps: r }) => - a.createElement( - s6, - { ...r }, - a.createElement( - c6, - null, - t.title && a.createElement(d6, null, t.title), - a.createElement(u6, null, t.content), - ), - (t.hideNextButton || t.hideBackButton) && - a.createElement( - m6, - { id: "buttonSkip" }, - !t.hideSkipButton && - !e && - a.createElement( - pe, - { - size: "medium", - onClick: t.onSkipWalkthroughButtonClick, - link: !0, - style: { - paddingRight: 12, - paddingLeft: 12, - marginRight: 8, - }, - }, - "Skip", - ), - !t.hideNextButton && - a.createElement( - pe, - { - ...n, - onClick: n.onClick, - variant: "solid", - ...(t.onNextButtonClick - ? { onClick: t.onNextButtonClick } - : {}), - }, - t.nextButtonText || "Next", - ), - ), - ), - $1 = "setFilter", - h6 = ({ - managerApi: e, - skipWalkthrough: t, - startWalkthrough: n, - completeWalkthrough: r, - }) => { - let i = tn(), - l = yn(), - o = l?.selectedTest?.result === "CHANGED", - s = l?.selectedTest?.status !== "ACCEPTED", - c = JSON.stringify(en().layout), - d = Be(c); - d.current !== c && - (window.dispatchEvent(new Event("resize")), (d.current = c)), - ne(() => { - n(); - }), - ne(() => { - e.getCurrentStoryData()?.type !== "story" && e.jumpToStory(1), - e.togglePanel(!0), - e.togglePanelPosition("right"), - e.setSelectedPanel(fn); - }, [e]); - let [u, m] = ot("showConfetti", !1), - [p, f] = ot("stepIndex", 0), - g = () => f((y = 0) => y + 1); - return ( - ne(() => { - let y = document.getElementById("storybook-explorer-tree"), - k = Array.from(y instanceof HTMLElement ? y.children : []) - .filter((b) => b instanceof HTMLElement) - .slice(1); - return ( - k.forEach((b) => (b.style.display = "none")), - () => k.forEach((b) => (b.style.display = "")) - ); - }, []), - ne(() => { - let y = () => { - f(1), - setTimeout(() => { - window.dispatchEvent(new Event("resize")); - }, 100); - }; - return ( - e.on(qi, y), - e.on($1, y), - () => { - e.off(qi, y), e.off($1, y); - } - ); - }, [e, f]), - ne(() => { - l?.selectedTest?.status === "ACCEPTED" && p === 5 && (m(!0), f(6)); - }, [l?.selectedTest?.status, u, m, p, f]), - a.createElement( - a.Fragment, - null, - u && - a.createElement(i6, { - numberOfPieces: 800, - recycle: !1, - tweenDuration: 2e4, - onConfettiComplete: (y) => { - y?.reset(), m(!1); - }, - }), - a.createElement(U7, { - steps: [ - { - target: "#sidebar-bottom-wrapper", - title: "Changes found", - content: a.createElement( - a.Fragment, - null, - "The visual tests addon will detect changes in all of your stories and allow you to review them before opening a pull request.", - a.createElement("br", null), - a.createElement("br", null), - "Click the number at the bottom-right to only show stories with visual changes.", - ), - floaterProps: { - target: "#warnings-found-filter", - options: { - preventOverflow: { boundariesElement: "window" }, - }, - }, - placement: "top", - disableBeacon: !0, - hideNextButton: !0, - spotlightClicks: !0, - onSkipWalkthroughButtonClick: t, - }, - o && s - ? { - target: "#storybook-explorer-tree > div", - title: "Stories with changes", - content: a.createElement( - a.Fragment, - null, - "Here you have a filtered list of only stories with changes.", - ), - placement: "right", - disableBeacon: !0, - spotlightClicks: !0, - onNextButtonClick: g, - onSkipWalkthroughButtonClick: t, - } - : { - target: "#storybook-explorer-tree > div", - title: "Stories with changes", - content: a.createElement( - a.Fragment, - null, - "Here you have a list of all stories in your Storybook.", - a.createElement("br", null), - a.createElement("br", null), - "Select a story with changes to see the exact pixels that changed.", - ), - placement: "right", - disableBeacon: !0, - spotlightClicks: !0, - hideNextButton: !0, - onSkipWalkthroughButtonClick: t, - }, - { - target: "#panel-tab-content", - title: "Inspect changes", - content: a.createElement( - a.Fragment, - null, - "The results of the changes are shown here. The pixels that changed are highlighted in green.", - ), - disableBeacon: !0, - placement: "left", - onNextButtonClick: g, - onSkipWalkthroughButtonClick: t, - }, - { - target: "#button-diff-visible", - title: "Toggle the diff", - content: a.createElement( - a.Fragment, - null, - "This button shows or hides the visual diff. Use it to make the visual changes in your stories obvious. Try it out.", - ), - onNextButtonClick: g, - onSkipWalkthroughButtonClick: t, - spotlightClicks: !0, - disableBeacon: !0, - placement: "bottom", - disableOverlay: !0, - }, - { - target: "#button-toggle-snapshot", - title: "This is the Switch button", - content: a.createElement( - a.Fragment, - null, - "Switch between the baseline snapshot (old) and the latest snapshot. The info bar will let you know which version you're looking at.", - ), - onNextButtonClick: g, - onSkipWalkthroughButtonClick: t, - spotlightClicks: !0, - disableBeacon: !0, - placement: "bottom", - disableOverlay: !0, - }, - { - target: "#button-toggle-accept-story", - title: "Accept changes", - content: a.createElement( - a.Fragment, - null, - "If the visual changes are intentional, accept them to update the test baselines. The next time you run visual tests, future changes will be compared to these new baselines. This can be undone.", - ), - disableBeacon: !0, - spotlightClicks: !0, - onNextButtonClick: g, - hideNextButton: !0, - placement: "bottom", - disableOverlay: !0, - onSkipWalkthroughButtonClick: t, - }, - { - target: "#button-toggle-accept-story", - title: "Perfection!", - placement: "bottom", - disableOverlay: !0, - content: a.createElement( - a.Fragment, - null, - "You've got the basics down! You can always unaccept if you're not happy with the changes.", - ), - onNextButtonClick: g, - onSkipWalkthroughButtonClick: t, - }, - { - target: "#button-run-tests", - title: "You are ready to test", - placement: "bottom", - disableOverlay: !0, - content: a.createElement( - a.Fragment, - null, - "Any time you want to run tests, tap this button in the sidebar to see exactly what changed across your Storybook.", - ), - disableBeacon: !0, - nextButtonText: "Done", - onNextButtonClick: r, - }, - ], - continuous: !0, - stepIndex: p, - spotlightPadding: 0, - hideBackButton: !0, - disableCloseOnEsc: !0, - disableOverlayClose: !0, - disableScrolling: !0, - hideCloseButton: !0, - showSkipButton: !0, - floaterProps: { - options: { offset: { offset: "0, 6" } }, - styles: { - floater: { - padding: 0, - paddingLeft: 8, - paddingTop: 8, - filter: - i.base === "light" - ? "drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1))" - : "drop-shadow(#fff5 0px 0px 0.5px) drop-shadow(#fff5 0px 0px 0.5px)", - }, - }, - }, - tooltipComponent: p6, - styles: { - overlay: { mixBlendMode: "unset", backgroundColor: "none" }, - spotlight: { - backgroundColor: "none", - border: `solid 2px ${i.color.secondary}`, - boxShadow: "0px 0px 0px 9999px rgba(0,0,0,0.4)", - }, - options: { - zIndex: 1e4, - primaryColor: i.color.secondary, - arrowColor: i.base === "light" ? i.color.lightest : "#292A2C", - }, - }, - }), - ) - ); - }, - f6 = ({ content: e }) => { - let t = e.split(/\r?\n/); - return a.createElement( - a.Fragment, - null, - t.reduce( - (n, r, i) => - n.concat([i && a.createElement("br", null), r].filter(Boolean)), - [], - ), - ); - }, - dc = ({ localBuildProgress: e, title: t }) => - a.createElement( - w0, - { warning: !0 }, - a.createElement( - Y, - null, - a.createElement( - "span", - null, - t && a.createElement("b", null, t, ": "), - a.createElement(f6, { - content: Si( - Array.isArray(e.originalError) - ? e.originalError[0]?.message - : e.originalError?.message || "Unknown error", - ), - }), - ), - " ", - a.createElement( - Ge, - { - target: "_blank", - href: e.errorDetailsUrl || `${Ss}#troubleshooting`, - withArrow: !0, - }, - e.errorDetailsUrl ? "Details" : "Troubleshoot", - ), - ), - ), - g6 = ({ children: e, localBuildProgress: t }) => ( - nt("Errors", "BuildError"), - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Build failed"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Check the Storybook process on the command line for more details.", - ), - ), - a.createElement(dc, { localBuildProgress: t }), - e, - ), - ), - ) - ), - v6 = w(Y)({ - display: "flex", - flexDirection: "column", - gap: 10, - width: 200, - marginTop: 15, - }); - function oi({ localBuildProgress: e }) { - return a.createElement( - v6, - { center: !0, small: !0 }, - a.createElement( - Ul, - null, - typeof e.buildProgressPercentage == "number" && - a.createElement(Js, { - style: { width: `${e.buildProgressPercentage}%` }, - }), - ), - a.createElement(jl, { - center: !0, - muted: !0, - small: !0, - localBuildProgress: e, - }), - ); - } - var y6 = - "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHUSURBVHgB7ZfPTupAFMa/mbb0XkAk6r2516jRnXHlxr0+ib4J+iTqm7Bx5YaVcWPQECUoGiJCpX/mOKcxRo2DILa44Jc0Taad+b45mZkzR+CZaq2+CcsqAWIdoCKSowyFw5WFvwcvLRf1m1Kt0SSv51OkFCVJx+sRa1W1JmuLav16x5Zyf/7PDKQQSAM9RVzd3CH0aUsKEtsz0/nUxBnWmisWAItKkkCbWddF2mQcm1/rEmPiOeJF2/TD+f0pKo0jBKqHUcg5U1ib28ByYfXD78YInDSPRxZnOkE7nogJ2a/jd9FvImNbAz/GgHERZp08pjJ8OA3uMVIh2kELXvAwcB/j6HmnOJQ4Y0kbBW16GGS/wb7CsKYni9AYZ9f6haydhzCEVFGEbtiFH3kYBWMEfts5o3jcUVjIaYOjIvsJfIb4hhQ+WYQTAz/XgDXALuCz4D2ckN7Dt6KhDfzLLcGxMsaORApe2MFbQyrOhq9xpIu12Q3jOMaTcNqdjZ+k0REQLS4UxoXUZ1nFD0KkTffR51dZUhTuNVttpBkF1rq717cmFR3GDdXLxm6tcUudxx4lCRe+XACz1pnWZO2XbMJFKteJXKohMYTeIlRBFO2tLP4vc8sThEpu8pkDBW8AAAAASUVORK5CYII=", - b6 = - "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN0SURBVHgBvVdLTxNRFP7uUDpSC7Q8rFSLqWJEExOfC1/xHWPiQuPShS50Y/wP6F9wq1HZuTAxMXFlNGzUhWIQDWICLYhSC4XWlj5m2pn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D29iVjGFoBKAes6UXb7HAy1OT6xrmysmuFoMt8cGVLYB61uH6vsBfLV7g1IG4cTQ/VH/e1Z/be8GI1llNDBlw7A5Oub8km+/QMhHVLpnEhHNUQGU5OKPIEQBzuPy0dk+QPy8+sGXJtnqwAAAABJRU5ErkJggg==", - w6 = w.div(({ theme: e }) => ({ - border: `1px solid ${e.appBorderColor}`, - borderRadius: e.appBorderRadius, - padding: "6px 10px", - fontSize: 13, - lineHeight: "18px", - })), - C6 = w.div(({ theme: e }) => ({ - lineHeight: "18px", - position: "relative", - borderRadius: 5, - display: "block", - minWidth: "80%", - color: e.color.warningText, - background: e.background.warning, - border: `1px solid ${mr(0.5, e.color.warningText)}`, - padding: 15, - margin: 0, - })), - S6 = w(Y)(({ theme: e }) => ({ color: e.color.darkest })), - x6 = ({ onSkip: e, runningSecondBuild: t }) => - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Make a change to this story"), - a.createElement( - Y, - { center: !0, muted: !0, block: !0 }, - "In your code, adjust the markup, styling, or assets to see how visual testing works. Don't worry, you can undo it later. Here are a few ideas to get you started.", - ), - ), - a.createElement( - me, - { - style: { - display: "flex", - alignItems: "flex-start", - gap: "8px", - margin: "10px 0", - }, - }, - a.createElement( - pa, - { style: { margin: 0, alignItems: "center", gap: "10px" } }, - a.createElement("img", { - src: b6, - alt: "Color Palette", - style: { width: 32, height: 32 }, - }), - "Shift the color palette", - ), - a.createElement( - pa, - { style: { margin: 0, alignItems: "center", gap: "10px" } }, - a.createElement("img", { - src: E6, - alt: "Embiggen", - style: { width: 32, height: 32 }, - }), - " ", - "Embiggen the type", - ), - a.createElement( - pa, - { style: { margin: 0, alignItems: "center", gap: "10px" } }, - a.createElement("img", { - src: k6, - alt: "Layout", - style: { width: 32, height: 32 }, - }), - "Change the layout", - ), - a.createElement( - pa, - { style: { margin: 0, alignItems: "center", gap: "10px" } }, - a.createElement("img", { - src: y6, - alt: "Adjust", - style: { width: 32, height: 32 }, - }), - "Adjust the size or scale", - ), - ), - a.createElement( - Ft, - null, - t - ? a.createElement( - C6, - null, - a.createElement( - S6, - null, - "No changes found in the Storybook you published. Make a UI tweak and try again to continue.", - ), - ) - : a.createElement(w6, null, "Awaiting changes..."), - a.createElement( - pe, - { link: !0, onClick: e }, - "Skip walkthrough", - ), - ), - ), - ), - ), - N6 = ({ - isRunning: e, - setRunningSecondBuild: t, - startBuild: n, - setInitialGitHash: r, - uncommittedHash: i, - }) => - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Changes detected"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Time to run your first visual tests to pinpoint the exact changes made to this story.", - ), - ), - a.createElement( - pe, - { - variant: "solid", - size: "medium", - disabled: e, - onClick: () => { - t(!0), - n(), - setTimeout(() => { - r(i); - }, 1e4); - }, - }, - a.createElement(qt, null), - "Run visual tests", - ), - ), - ), - ), - M6 = ({ localBuildProgress: e }) => - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Running your first test"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "A new snapshot is being created in a standardized cloud browser. Once complete, you'll be able to pinpoint exactly what changed.", - ), - ), - a.createElement(oi, { localBuildProgress: e }), - ), - ), - ), - _6 = ({ isUnchanged: e, localBuildProgress: t, ...n }) => ( - nt("Onboarding", "CatchAChange"), - n.isRunning && t - ? a.createElement(M6, { localBuildProgress: t }) - : e - ? a.createElement(x6, { ...n }) - : a.createElement(N6, { ...n }) - ), - O6 = w.div(({ status: e, theme: t }) => ({ - position: "relative", - display: "inline-flex", - border: `1px solid ${e === "positive" ? t.color.green : t.appBorderColor}`, - borderRadius: 5, - margin: "15px 15px 0", - minHeight: 200, - minWidth: 200, - maxWidth: 500, - img: { display: "block", maxWidth: "100%" }, - svg: { - position: "absolute", - top: -12, - left: -12, - width: 24, - height: 24, - padding: 5, - color: t.color.lightest, - borderRadius: "50%", - backgroundColor: t.color.green, - }, - })), - A6 = w.div({ - width: "100%", - margin: 2, - background: "white", - borderRadius: 3, - overflow: "hidden", - div: { - display: "flex", - alignItems: "center", - justifyContent: "center", - width: "100%", - height: "100%", - }, - }), - Cl = ({ backgroundColor: e, status: t, thumbnailUrl: n }) => - a.createElement( - O6, - { status: t }, - a.createElement( - A6, - null, - a.createElement( - "div", - { style: e ? { backgroundColor: e } : {} }, - a.createElement("img", { alt: "Snapshot thumbnail", src: n }), - ), - ), - t === "positive" && a.createElement(Nl, null), - ), - W1 = w(Y)({ marginBottom: 5 }), - G1 = ({ onComplete: e, onSkip: t, ranSecondBuild: n = !1 }) => { - nt("Onboarding", "CatchAChangeComplete"); - let r = yn(); - return a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - { style: { overflowY: "auto" } }, - n - ? a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement( - ve, - null, - "Nice. Your stories were saved as test baselines.", - ), - a.createElement( - Y, - { center: !0, muted: !0, block: !0 }, - "This story was indexed and snapshotted in a standardized cloud browser.", - ), - r.selectedComparison?.headCapture?.captureImage && - a.createElement(Cl, { - ...r.selectedComparison?.headCapture?.captureImage, - status: "positive", - }), - ), - a.createElement( - Ft, - null, - a.createElement(W1, null, "You're ready to start testing!"), - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: e }, - "Done", - ), - a.createElement( - pe, - { link: !0, onClick: t }, - "Skip walkthrough", - ), - ), - ) - : a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement( - ve, - null, - "Nice. You ran your first tests!", - ), - a.createElement( - Y, - { center: !0, muted: !0, block: !0 }, - "This story was indexed and snapshotted in a standardized cloud browser and changes were found.", - ), - r.selectedComparison?.headCapture?.captureImage && - a.createElement(Cl, { - ...r.selectedComparison?.headCapture?.captureImage, - status: "positive", - }), - ), - a.createElement( - Ft, - null, - a.createElement(W1, null, "It's time to review changes!"), - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: e }, - "Take a tour", - ), - a.createElement( - pe, - { link: !0, onClick: t }, - "Skip walkthrough", - ), - ), - ), - ), - ); - }, - q1 = () => - a.createElement( - "div", - null, - a.createElement(gn, null), - a.createElement(ve, null, "Get started with visual testing"), - a.createElement( - Y, - { center: !0, muted: !0 }, - 'Take an image snapshot of your stories to save their "last known good state" as test baselines.', - ), - ), - T6 = ({ - isRunning: e, - localBuildProgress: t, - startBuild: n, - onSkip: r, - }) => ( - nt("Onboarding", "InitialBuild"), - a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - t - ? a.createElement( - me, - null, - a.createElement(q1, null), - a.createElement(oi, { localBuildProgress: t }), - ) - : a.createElement( - me, - null, - a.createElement(q1, null), - a.createElement( - Ft, - null, - a.createElement( - pe, - { - disabled: e, - size: "medium", - variant: "solid", - onClick: n, - }, - "Take snapshots", - ), - a.createElement( - pe, - { onClick: r, link: !0 }, - "Skip walkthrough", - ), - ), - ), - ), - ) - ), - F6 = w(Y)({ marginBottom: 5 }), - L6 = ({ onCatchAChange: e, onSkip: t }) => { - nt("Onboarding", "InitialBuildComplete"); - let n = yn(); - return a.createElement( - _e, - { footer: null }, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement( - ve, - null, - "Nice. Your stories were saved as test baselines.", - ), - a.createElement( - Y, - { center: !0, muted: !0, block: !0 }, - "This story was indexed and snapshotted in a standardized cloud browser.", - ), - n?.selectedComparison?.headCapture?.captureImage && - a.createElement(Cl, { - ...n?.selectedComparison?.headCapture.captureImage, - status: "positive", - }), - ), - a.createElement( - Ft, - null, - a.createElement( - F6, - { muted: !0 }, - "Let's see the superpower of catching visual changes.", - ), - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: e }, - "Catch a UI change", - ), - a.createElement( - pe, - { link: !0, onClick: t }, - "Skip walkthrough", - ), - ), - ), - ), - ); - }, - R6 = ({ - dismissBuildError: e, - localBuildProgress: t, - showInitialBuildScreen: n, - gitInfo: r, - lastBuildHasChangesForStory: i, - onComplete: l, - onSkip: o, - }) => { - let { isRunning: s, startBuild: c } = Pa(), - [d, u] = ot("showInitialBuild", n); - ne(() => { - n && u(!0); - }, [n, u]); - let [m, p] = ot("showCatchAChange", !d), - [f, g] = ot("initialGitHash", r.uncommittedHash), - y = () => { - g(r.uncommittedHash), p(!0); - }, - [k, b] = ot("runningSecondBuild", !1); - return t?.currentStep === "error" - ? a.createElement( - g6, - { localBuildProgress: t }, - a.createElement( - Ft, - null, - a.createElement( - pe, - { variant: "solid", size: "medium", onClick: c }, - "Try again", - ), - a.createElement( - pe, - { link: !0, onClick: o }, - "Skip walkthrough", - ), - ), - ) - : t?.currentStep === "limited" - ? a.createElement( - N0, - { - billingUrl: t.errorDetailsUrl, - suspensionReason: "EXCEEDED_THRESHOLD", - }, - a.createElement(pe, { link: !0, onClick: e }, "Continue"), - ) - : d && (!t || (t && s)) - ? a.createElement(T6, { - isRunning: s, - localBuildProgress: t, - startBuild: c, - onSkip: o, - }) - : t?.currentStep === "complete" && !m && !k - ? i - ? a.createElement(G1, { onComplete: l, onSkip: o }) - : a.createElement(L6, { onCatchAChange: y, onSkip: o }) - : m && !i - ? a.createElement(_6, { - isRunning: s, - isUnchanged: f === r.uncommittedHash, - localBuildProgress: t, - onSkip: o, - runningSecondBuild: k, - setInitialGitHash: g, - setRunningSecondBuild: b, - startBuild: c, - uncommittedHash: r.uncommittedHash, - }) - : i - ? a.createElement(G1, { - onComplete: l, - onSkip: o, - ranSecondBuild: m && k, - }) - : null; - }, - I6 = w.div(({ theme: e }) => ({ - background: e.background.app, - padding: "10px 15px", - lineHeight: "20px", - color: e.color.defaultText, - borderBottom: `1px solid ${e.appBorderColor}`, - })), - Z6 = Ut({ - from: { transform: "rotate(0deg)" }, - to: { transform: "rotate(359deg)" }, - }), - B6 = w(ks)({ animation: `${Z6} 1s linear infinite` }), - lr = { width: 10, marginRight: 8 }, - Y1 = w.button(({ isWarning: e, onClick: t, theme: n }) => { - let r = n.base === "light" ? n.background.warning : "#2e271a"; - return { - position: "relative", - display: "flex", - width: "100%", - lineHeight: "20px", - padding: "5px 7px 5px 15px", - justifyContent: "space-between", - alignItems: "center", - background: e ? r : n.background.app, - border: "none", - borderBottom: `1px solid ${n.appBorderColor}`, - color: n.color.defaultText, - cursor: t ? "pointer" : "default", - textAlign: "left", - "& > *": { zIndex: 1 }, - code: { fontFamily: n.typography.fonts.mono, fontSize: "12px" }, - }; - }), - Q1 = w.div(({ isWarning: e, percentage: t, theme: n }) => { - let r = n.base === "light" ? "#FFE6B1" : "#43361f"; - return { - display: "block", - position: "absolute", - top: "0", - height: "100%", - left: "0", - width: `${t}%`, - transition: "width 3s ease-out", - backgroundColor: e ? r : n.background.hoverable, - pointerEvents: "none", - zIndex: 0, - }; - }), - or = w.div({ padding: "5px 0" }), - P6 = w.div(({ expanded: e, theme: t }) => ({ - display: "grid", - gridTemplateRows: e ? "1fr" : "0fr", - background: t.background.app, - borderBottom: e ? `1px solid ${t.appBorderColor}` : "none", - transition: "grid-template-rows 150ms ease-out", - })), - V6 = w.div(({ theme: e }) => ({ - whiteSpace: "nowrap", - overflow: "hidden", - color: e.base === "light" ? e.color.dark : e.color.lightest, - })), - D6 = w.div(({ isCurrent: e, isFailed: t, isPending: n, theme: r }) => ({ - display: "flex", - flexDirection: "row", - gap: 8, - opacity: n ? 0.7 : 1, - color: t ? r.color.negativeText : "inherit", - fontWeight: e || t ? "bold" : "normal", - fontFamily: "Menlo, monospace", - fontSize: 12, - lineHeight: "24px", - margin: "0 15px", - "&:first-of-type": { marginTop: 10 }, - "&:last-of-type": { marginBottom: 10 }, - "& > div": { display: "flex", alignItems: "center" }, - })), - H6 = ({ localBuildProgress: e, expanded: t = !1 }) => { - let n = Be({}); - ne(() => { - n.current[e.currentStep] = { ...e }; - }, [e]); - let r = ["aborted", "error"].includes(e.currentStep), - i = il.map((l) => { - let { startedAt: o, completedAt: s } = e.stepProgress[l], - c = !!o && !s, - d = c && r, - u = !o, - m = { ...Hl[l], isCurrent: c, isFailed: d, isPending: u }; - return d - ? { - ...m, - icon: a.createElement(Ot, { style: lr }), - renderLabel: m.renderProgress, - } - : c - ? { - ...m, - icon: a.createElement(B6, { style: lr }), - renderLabel: m.renderProgress, - } - : u - ? { - ...m, - icon: a.createElement(q5, { style: lr }), - renderLabel: m.renderName, - } - : { - ...m, - icon: a.createElement(Nl, { style: lr }), - renderLabel: m.renderComplete, - }; - }); - return a.createElement( - P6, - { expanded: t }, - a.createElement( - V6, - null, - i.map( - ({ - icon: l, - isCurrent: o, - isFailed: s, - isPending: c, - key: d, - renderLabel: u, - }) => - a.createElement( - D6, - { isCurrent: o, isFailed: s, isPending: c, key: d }, - a.createElement("div", null, l, u(n.current[d] || e)), - ), - ), - ), - ); - }, - j6 = ({ - branch: e, - dismissBuildError: t, - localBuildProgress: n, - lastBuildOnBranchInProgress: r, - switchToLastBuildOnBranch: i, - }) => { - let [l, o] = a.useState(!1), - s = () => { - o(!l); - }; - if (n) { - let d = n.currentStep === "aborted", - u = n.currentStep === "error", - m = d || u; - return a.createElement( - a.Fragment, - null, - a.createElement( - Y1, - { - as: u ? "div" : "button", - onClick: u ? void 0 : s, - isWarning: m, - }, - a.createElement(Q1, { - percentage: n.buildProgressPercentage, - isWarning: m, - }), - a.createElement( - or, - null, - a.createElement(jl, { localBuildProgress: n, withEmoji: !0 }), - ), - u - ? a.createElement( - ct, - { onClick: t }, - a.createElement(Ml, { "aria-label": "Dismiss" }), - ) - : a.createElement( - ct, - { as: "div" }, - l ? a.createElement(Q5, null) : a.createElement(Y5, null), - ), - ), - a.createElement(H6, { localBuildProgress: n, expanded: l || u }), - ); - } - function c() { - return i - ? r - ? a.createElement( - or, - null, - "Reviewing is disabled because there's a newer build in progress on", - " ", - a.createElement(ze, null, e), - ". This can happen when a build runs in CI.", - ) - : a.createElement( - or, - null, - "There's a newer snapshot with changes.", - " ", - a.createElement( - nn, - { withArrow: !0, onClick: i }, - "Switch to newer snapshot", - ), - ) - : a.createElement( - or, - null, - "Reviewing is disabled because there's a newer build on ", - a.createElement(ze, null, e), - ".", - ); - } - return a.createElement( - Y1, - { onClick: i }, - a.createElement(Q1, { percentage: 100 }), - c(), - ); - }, - z6 = ({ onClose: e }) => - a.createElement( - s0, - null, - a.createElement( - ml, - null, - a.createElement( - Mr, - null, - "Render settings", - a.createElement(Jo, null), - a.createElement( - Yl, - { onClick: e }, - a.createElement(ql, { "aria-label": "Close" }), - ), - ), - a.createElement( - "p", - null, - a.createElement(E4, null), - "Delay: 300ms", - ), - a.createElement( - "p", - null, - a.createElement(k4, null), - "Animation pause: Ends", - ), - a.createElement( - "p", - null, - a.createElement(w4, null), - "Threshold: 0.2", - ), - a.createElement( - "p", - null, - a.createElement(C4, null), - "Anti-alias: Included", - ), - ), - a.createElement( - ml, - null, - a.createElement( - Mr, - null, - "Bounding box", - a.createElement(Jo, null), - ), - a.createElement( - "dl", - null, - a.createElement("dt", null, "Width:"), - a.createElement("dd", null, "Fill viewport"), - a.createElement("dt", null, "Height:"), - a.createElement("dd", null, "Hug contents"), - ), - ), - ), - uc = { - isReviewing: !1, - userCanReview: !1, - buildIsReviewable: !1, - acceptTest: (e, t = "SPEC") => Promise.resolve(), - unacceptTest: (e, t = "SPEC") => Promise.resolve(), - }, - mc = Xe(uc), - pc = () => Rt(mc, "ReviewTest"), - U6 = ({ children: e, watchState: t = uc }) => - a.createElement(mc.Provider, { value: t }, e), - $6 = w.div( - ({ theme: e }) => ({ - position: "relative", - display: "flex", - background: "transparent", - overflow: "hidden", - margin: 2, - maxWidth: "calc(100% - 4px)", - "& > div": { - display: "flex", - flexDirection: "column", - alignItems: "center", - width: "100%", - p: { maxWidth: 380, textAlign: "center" }, - svg: { width: 24, height: 24 }, - }, - "& > svg": { - position: "absolute", - left: "calc(50% - 14px)", - top: "calc(50% - 14px)", - width: 20, - height: 20, - color: e.color.lightest, - opacity: 0, - transition: "opacity 0.1s ease-in-out", - pointerEvents: "none", - }, - }), - ({ href: e }) => - e && { - display: "inline-flex", - cursor: "pointer", - "&:hover": { - "& > svg": { opacity: 1 }, - img: { filter: "brightness(85%)" }, - }, - }, - ), - K1 = w.div(({ isVisible: e }) => ({ - position: e ? "static" : "absolute", - visibility: e ? "visible" : "hidden", - maxWidth: "100%", - minHeight: 100, - })), - sr = w.img({ - display: "block", - width: "100%", - height: "auto", - transition: "filter 0.1s ease-in-out, opacity 0.1s ease-in-out", - "&[data-overlay]": { - position: "absolute", - opacity: 0.7, - pointerEvents: "none", - transition: "opacity 0.1s ease-in-out", - }, - }), - W6 = w(me)({ margin: "30px 15px" }), - G6 = ({ - comparisonImageLoaded: e, - focusImageLoaded: t, - showDiff: n, - showFocus: r, - }) => (n && r ? e && t : n ? e : r ? t : !0), - q6 = ({ - componentName: e, - storyName: t, - testUrl: n, - comparisonResult: r, - latestImage: i, - baselineImage: l, - baselineImageVisible: o, - diffImage: s, - focusImage: c, - diffVisible: d, - focusVisible: u, - ...m - }) => { - let p = tn(), - f = !!i && !!s && r === "CHANGED", - g = r === "CAPTURE_ERROR", - y = f && !!c, - k = f - ? { - as: "a", - href: n, - target: "_blank", - title: "View on Chromatic.com", - } - : {}, - b = f && d, - h = y && u, - [v, E] = a.useState(!1), - [C, Z] = a.useState(!1), - [P, W] = a.useState(!1), - [q, se] = a.useState(!1), - ie = o ? C : v, - Oe = G6({ - comparisonImageLoaded: P, - focusImageLoaded: q, - showDiff: b, - showFocus: h, - }); - return a.createElement( - $6, - { ...m, ...k }, - i && - a.createElement( - K1, - { - isVisible: !l || !o, - style: { - aspectRatio: `${i.imageWidth} / ${i.imageHeight}`, - width: i.imageWidth, - }, - }, - (!v || !Oe) && a.createElement(ul, null), - a.createElement(sr, { - alt: `Latest snapshot for the '${t}' story of the '${e}' component`, - src: i.imageUrl, - style: { opacity: v ? 1 : 0 }, - onLoad: () => E(!0), - }), - ), - l && - a.createElement( - K1, - { - isVisible: o, - style: { - aspectRatio: `${l.imageWidth} / ${l.imageHeight}`, - width: l.imageWidth, - }, - }, - (!C || !Oe) && a.createElement(ul, null), - a.createElement(sr, { - alt: `Baseline snapshot for the '${t}' story of the '${e}' component`, - src: l.imageUrl, - style: { opacity: C ? 1 : 0 }, - onLoad: () => Z(!0), - }), - ), - f && - ie && - a.createElement(sr, { - alt: "", - "data-overlay": "diff", - src: s.imageUrl, - style: { - width: s.imageWidth, - maxWidth: `${(s.imageWidth / i.imageWidth) * 100}%`, - opacity: b && P ? 0.7 : 0, - }, - onLoad: () => W(!0), - }), - y && - ie && - a.createElement(sr, { - alt: "", - "data-overlay": "focus", - src: c.imageUrl, - style: { - width: c.imageWidth, - maxWidth: `${(c.imageWidth / i.imageWidth) * 100}%`, - opacity: h && q ? 0.7 : 0, - filter: h ? "blur(2px)" : "none", - }, - onLoad: () => se(!0), - }), - f && a.createElement(bs, null), - g && - !i && - a.createElement( - W6, - null, - a.createElement(R5, { - color: p.base === "light" ? "currentColor" : p.color.medium, - }), - a.createElement( - Y, - { center: !0, muted: !0 }, - "A snapshot couldn't be captured. This often occurs when a story has a code error. Confirm that this story successfully renders in your local Storybook and run the build again.", - ), - ), - ); - }, - Y6 = (e) => - a.createElement( - "svg", - { - width: "16", - height: "16", - viewBox: "0 0 16 16", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ...e, - }, - a.createElement("path", { - d: "M5.06982 9.68493L7.99484 4.63927L14.5786 4.62406C14.5252 4.52043 14.4696 4.41742 14.4109 4.31532C12.372 0.768556 7.84405 -0.453864 4.29726 1.58495C3.24614 2.1892 2.39921 3.01211 1.78076 3.96327L5.06982 9.68493Z", - fill: "#DB4437", - }), - a.createElement("path", { - d: "M10.9276 9.68457L5.09539 9.6743L1.79036 3.98022C1.72727 4.07822 1.66591 4.17795 1.60682 4.27985C-0.445348 7.81892 0.759985 12.3515 4.29905 14.4037C5.34791 15.0118 6.48403 15.3338 7.617 15.3939L10.9276 9.68457Z", - fill: "#0F9D58", - }), - a.createElement("path", { - d: "M7.98649 4.61194L10.9032 9.66241L7.63525 15.3778C7.75167 15.3833 7.86871 15.3863 7.98649 15.3863C12.0775 15.3863 15.3939 12.0699 15.3939 7.97893C15.3939 6.76648 15.1025 5.62211 14.5861 4.61194L7.98649 4.61194Z", - fill: "#FFCD40", - }), - a.createElement("path", { - d: "M8.01367 4.6366V6.40005L14.613 4.6366H8.01367Z", - fill: "url(#paint0_radial_466_21161)", - }), - a.createElement("path", { - d: "M1.78198 4.00098L6.60102 8.8192L5.09764 9.687L1.78198 4.00098Z", - fill: "url(#paint1_radial_466_21161)", - }), - a.createElement("path", { - d: "M7.6626 15.4017L9.42689 8.81921L10.9303 9.68702L7.6626 15.4017Z", - fill: "url(#paint2_radial_466_21161)", - }), - a.createElement("ellipse", { - cx: "8.01347", - cy: "8.00358", - rx: "3.36699", - ry: "3.36699", - fill: "#F1F1F1", - }), - a.createElement("ellipse", { - cx: "8.01367", - cy: "8.00354", - rx: "2.69361", - ry: "2.6936", - fill: "#4285F4", - }), - a.createElement( - "defs", - null, - a.createElement( - "radialGradient", - { - id: "paint0_radial_466_21161", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(7.69229 4.63226) scale(7.07721 1.89116)", - }, - a.createElement("stop", { - stopColor: "#3E2723", - stopOpacity: "0.2", - }), - a.createElement("stop", { - offset: "1", - stopColor: "#3E2723", - stopOpacity: "0.01", - }), - ), - a.createElement( - "radialGradient", - { - id: "paint1_radial_466_21161", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(1.77445 4.00677) scale(6.56938 7.75127)", - }, - a.createElement("stop", { - stopColor: "#3E2723", - stopOpacity: "0.2", - }), - a.createElement("stop", { - offset: "1", - stopColor: "#3E2723", - stopOpacity: "0.01", - }), - ), - a.createElement( - "radialGradient", - { - id: "paint2_radial_466_21161", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(8.00025 8.01489) scale(7.39644 14.8995)", - }, - a.createElement("stop", { - stopColor: "#263238", - stopOpacity: "0.2", - }), - a.createElement("stop", { - offset: "1", - stopColor: "#263238", - stopOpacity: "0.01", - }), - ), - ), - ), - Q6 = (e) => - a.createElement( - "svg", - { - width: "16", - height: "16", - viewBox: "0 0 16 16", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ...e, - }, - a.createElement("circle", { - cx: "8.00009", - cy: "7.99997", - r: "7.7037", - fill: "url(#paint0_linear_466_21186)", - }), - a.createElement("ellipse", { - cx: "8.00094", - cy: "8.00094", - rx: "7.06173", - ry: "7.06173", - fill: "url(#paint1_radial_466_21186)", - }), - a.createElement("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z", - fill: "#DDDDDD", - }), - a.createElement("path", { - d: "M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z", - fill: "#DDDDDD", - }), - a.createElement("path", { - d: "M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z", - fill: "#EE4444", - }), - a.createElement("path", { - d: "M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z", - fill: "#CC0000", - }), - a.createElement("path", { - d: "M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z", - fill: "#AAAAAA", - }), - a.createElement( - "defs", - null, - a.createElement( - "linearGradient", - { - id: "paint0_linear_466_21186", - x1: "0.300303", - y1: "0.300951", - x2: "0.300303", - y2: "15.7084", - gradientUnits: "userSpaceOnUse", - }, - a.createElement("stop", { stopColor: "#F8F8F8" }), - a.createElement("stop", { offset: "1", stopColor: "#CCCCCC" }), - ), - a.createElement( - "radialGradient", - { - id: "paint1_radial_466_21186", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: "translate(8.00216 8.0046) scale(7.06173)", - }, - a.createElement("stop", { stopColor: "#00F0FF" }), - a.createElement("stop", { offset: "1", stopColor: "#0070E0" }), - ), - ), - ), - K6 = (e) => - a.createElement( - "svg", - { - width: "16", - height: "16", - viewBox: "0 0 16 16", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ...e, - }, - a.createElement("path", { - d: "M14.9596 5.19849C14.6332 4.41337 13.9721 3.56574 13.453 3.29783C13.8755 4.12612 14.12 4.95699 14.2134 5.57708C14.2134 5.5783 14.2139 5.58133 14.2149 5.58958C13.3657 3.47293 11.9257 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572865 10.573 0.473553C10.5434 0.422834 10.5159 0.371004 10.4903 0.318178C10.4414 0.223861 10.4038 0.124166 10.378 0.0211155C10.3782 0.0162369 10.3765 0.0114673 10.3734 0.00774353C10.3702 0.0040198 10.3658 0.00161108 10.3609 0.000990505C10.3563 -0.000330168 10.3515 -0.000330168 10.3468 0.000990505C10.3458 0.0013655 10.3442 0.00258425 10.3431 0.00302175C10.3414 0.003678 10.3393 0.005178 10.3376 0.00614675C10.3384 0.00502175 10.3402 0.0024905 10.3407 0.00189675C8.45416 1.10677 7.81416 3.15068 7.75535 4.17327C7.00199 4.22506 6.28171 4.50262 5.68841 4.96977C5.62629 4.9173 5.56135 4.86827 5.49388 4.8229C5.3227 4.22402 5.31543 3.59017 5.47282 2.98752C4.70132 3.3388 4.10126 3.89408 3.66501 4.3844H3.66154C3.36382 4.0073 3.38482 2.76337 3.40179 2.50365C3.39822 2.48755 3.17969 2.61708 3.15107 2.63662C2.88835 2.82414 2.64275 3.03454 2.41713 3.26537C2.16039 3.52573 1.92581 3.80705 1.71582 4.1064C1.71582 4.10677 1.7156 4.10721 1.71547 4.10758C1.71547 4.10718 1.71569 4.10677 1.71582 4.1064C1.23289 4.79075 0.890387 5.56404 0.7081 6.38155C0.704506 6.39783 0.701475 6.41471 0.697975 6.43112C0.68385 6.49724 0.632975 6.82799 0.624068 6.89987C0.623381 6.9054 0.623068 6.91071 0.622412 6.91624C0.556638 7.2582 0.515905 7.60451 0.500537 7.9524C0.500537 7.96521 0.499756 7.9779 0.499756 7.99074C0.499881 12.138 3.86238 15.5 8.01001 15.5C11.7245 15.5 14.8088 12.8035 15.4126 9.26152C15.4253 9.1654 15.4355 9.06877 15.4467 8.9718C15.596 7.68399 15.4301 6.3304 14.9596 5.19849ZM6.30351 11.0764C6.33863 11.0932 6.37163 11.1116 6.40769 11.1276C6.40919 11.1287 6.41126 11.1298 6.41279 11.1308C6.37608 11.1132 6.33965 11.0951 6.30351 11.0764ZM14.2155 5.59143L14.2145 5.58415C14.2149 5.5868 14.2153 5.58958 14.2158 5.59224L14.2155 5.59143Z", - fill: "url(#paint0_linear_466_21172)", - }), - a.createElement("path", { - d: "M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z", - fill: "url(#paint1_radial_466_21172)", - }), - a.createElement("path", { - d: "M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z", - fill: "url(#paint2_radial_466_21172)", - }), - a.createElement("path", { - d: "M11.3101 6.08127C11.3265 6.09277 11.3413 6.10421 11.3567 6.11564C11.1683 5.78113 10.9336 5.47487 10.6596 5.20589C8.32502 2.87164 10.0474 0.144581 10.3379 0.00608106C10.3387 0.00495606 10.3405 0.0024248 10.341 0.00183105C8.45443 1.10671 7.81443 3.15061 7.75562 4.17321C7.84312 4.16714 7.93037 4.1598 8.01943 4.1598C9.42727 4.1598 10.6535 4.93386 11.3101 6.08127Z", - fill: "url(#paint3_radial_466_21172)", - }), - a.createElement("path", { - d: "M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z", - fill: "url(#paint4_radial_466_21172)", - }), - a.createElement("path", { - d: "M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z", - fill: "url(#paint5_radial_466_21172)", - }), - a.createElement("path", { - d: "M5.3385 4.71992C5.39081 4.75366 5.4427 4.78804 5.49416 4.82305C5.32298 4.22417 5.31571 3.59032 5.4731 2.98767C4.7016 3.33895 4.10153 3.89423 3.66528 4.38455C3.70138 4.38351 4.79072 4.36392 5.3385 4.71992Z", - fill: "url(#paint6_radial_466_21172)", - }), - a.createElement("path", { - d: "M0.569399 8.16902C1.14887 11.5933 4.25305 14.2078 7.77665 14.3076C11.0379 14.3999 13.1216 12.507 13.9821 10.6602C14.5384 9.46646 14.9245 7.51333 14.2159 5.59224L14.2156 5.59142L14.2146 5.58414C14.2138 5.57858 14.2134 5.57527 14.2135 5.57708C14.2135 5.5783 14.214 5.58133 14.215 5.58958C14.4813 7.32899 13.5965 9.01408 12.2134 10.1535L12.2092 10.1632C9.51406 12.3577 6.93502 11.4872 6.41284 11.1309C6.37613 11.1133 6.33967 11.0951 6.30346 11.0765C4.73215 10.3255 4.08302 8.89402 4.22221 7.66633C2.89543 7.66633 2.44302 6.5473 2.44302 6.5473C2.44302 6.5473 3.63424 5.69796 5.20421 6.43664C6.65827 7.1208 8.02384 6.54736 8.02399 6.5473C8.02121 6.4863 6.71409 5.96636 6.20452 5.4643C5.93224 5.19605 5.80296 5.06671 5.68846 4.96967C5.62634 4.91721 5.5614 4.86817 5.49393 4.8228C5.44241 4.78788 5.39052 4.7535 5.33827 4.71967C4.79052 4.36367 3.70115 4.38327 3.66505 4.38421H3.66159C3.36387 4.00711 3.38487 2.76317 3.40184 2.50346C3.39827 2.48736 3.17974 2.61689 3.15112 2.63642C2.8884 2.82395 2.6428 3.03435 2.41718 3.26517C2.16043 3.5256 1.92585 3.80698 1.71587 4.10639C1.71587 4.10677 1.71565 4.10721 1.71552 4.10758C1.71552 4.10717 1.71574 4.10677 1.71587 4.10639C1.23294 4.79075 0.890436 5.56403 0.708149 6.38155C0.704555 6.39783 0.437836 7.56411 0.569399 8.16902Z", - fill: "url(#paint7_radial_466_21172)", - }), - a.createElement("path", { - d: "M10.6595 5.2058C10.9335 5.47478 11.1682 5.78104 11.3566 6.11555C11.398 6.14662 11.4366 6.17759 11.4694 6.2078C13.172 7.77655 12.2799 9.9953 12.2134 10.1534C13.5965 9.01405 14.4813 7.32896 14.215 5.58955C13.3657 3.47293 11.9258 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572866 10.573 0.473553C10.5435 0.422834 10.5159 0.371004 10.4903 0.318178C10.4415 0.223861 10.4038 0.124166 10.3781 0.0211155C10.3782 0.0162369 10.3766 0.0114673 10.3734 0.00774353C10.3703 0.0040198 10.3658 0.00161108 10.361 0.000990505C10.3564 -0.000330168 10.3515 -0.000330168 10.3469 0.000990505C10.3458 0.0013655 10.3443 0.00258425 10.3431 0.00302176C10.3415 0.003678 10.3394 0.00517801 10.3376 0.00614676C10.0473 0.144522 8.32493 2.87158 10.6595 5.2058Z", - fill: "url(#paint8_radial_466_21172)", - }), - a.createElement("path", { - d: "M11.4694 6.20779C11.4366 6.17757 11.398 6.1466 11.3566 6.11554C11.3413 6.10404 11.3263 6.0926 11.31 6.08117C10.909 5.79948 10.1909 5.52126 9.49912 5.64157C12.2004 6.99201 11.4752 11.6424 7.73209 11.4668C7.39876 11.4532 7.06935 11.3897 6.75487 11.2784C6.6805 11.2504 6.60694 11.2203 6.53428 11.1882C6.4919 11.1689 6.44956 11.1493 6.40771 11.1277C6.40921 11.1287 6.41128 11.1299 6.41281 11.1308C6.935 11.4871 9.51403 12.3576 12.2092 10.1631L12.2133 10.1534C12.2799 9.99542 13.1719 7.77657 11.4694 6.20779Z", - fill: "url(#paint9_radial_466_21172)", - }), - a.createElement("path", { - d: "M4.63871 8.67006C4.63871 8.67006 4.98537 7.37834 7.12096 7.37834C7.35183 7.37834 8.01187 6.73412 8.02408 6.54731C8.0363 6.36049 6.65846 7.12081 5.2043 6.43665C3.63433 5.69796 2.44312 6.54731 2.44312 6.54731C2.44312 6.54731 2.89552 7.66634 4.2223 7.66634C4.08315 8.89402 4.73227 10.3257 6.30355 11.0765C6.33868 11.0932 6.37168 11.1116 6.40774 11.1277C5.49062 10.6537 4.7333 9.75787 4.63871 8.67006Z", - fill: "url(#paint10_radial_466_21172)", - }), - a.createElement("path", { - d: "M14.9597 5.19849C14.6333 4.41337 13.9722 3.56574 13.4531 3.29783C13.8756 4.12612 14.1201 4.95699 14.2136 5.57708C14.2136 5.5783 14.214 5.58133 14.215 5.58958C13.3658 3.47293 11.9258 2.61943 10.75 0.761053C10.6906 0.667084 10.6311 0.572865 10.5731 0.473553C10.5436 0.422834 10.516 0.371004 10.4904 0.318178C10.4416 0.223861 10.4039 0.124166 10.3781 0.0211155C10.3783 0.0162369 10.3767 0.0114673 10.3735 0.00774353C10.3703 0.0040198 10.3659 0.00161108 10.3611 0.000990505C10.3565 -0.000330168 10.3516 -0.000330168 10.347 0.000990505C10.3459 0.0013655 10.3443 0.00258425 10.3432 0.00302175C10.3416 0.003678 10.3395 0.005178 10.3377 0.00614675C10.3386 0.00502175 10.3403 0.0024905 10.3408 0.00189675C8.45428 1.10677 7.81428 3.15068 7.75547 4.17327C7.84297 4.16721 7.93022 4.15987 8.01928 4.15987C9.42719 4.15987 10.6534 4.93393 11.3099 6.08124C10.9089 5.79955 10.1908 5.52133 9.49906 5.64165C12.2003 6.99208 11.4752 11.6425 7.73203 11.4669C7.3987 11.4533 7.06929 11.3898 6.75481 11.2784C6.68044 11.2505 6.60688 11.2204 6.53422 11.1882C6.49184 11.1689 6.4495 11.1494 6.40766 11.1278C6.40916 11.1288 6.41122 11.13 6.41275 11.1309C6.37605 11.1132 6.33958 11.0951 6.30337 11.0764C6.3385 11.0932 6.3715 11.1116 6.40756 11.1276C5.49038 10.6536 4.73306 9.75786 4.63847 8.67005C4.63847 8.67005 4.98513 7.37833 7.12072 7.37833C7.35159 7.37833 8.01162 6.73412 8.02384 6.5473C8.02106 6.4863 6.71394 5.96637 6.20437 5.4643C5.93209 5.19605 5.80281 5.06671 5.68831 4.96968C5.62619 4.91721 5.56125 4.86818 5.49378 4.8228C5.3226 4.22393 5.31533 3.59008 5.47272 2.98743C4.70122 3.33871 4.10116 3.89399 3.66491 4.3843H3.66144C3.36372 4.00721 3.38472 2.76327 3.40169 2.50355C3.39812 2.48746 3.17959 2.61699 3.15097 2.63652C2.88825 2.82404 2.64265 3.03445 2.41703 3.26527C2.16036 3.52567 1.92585 3.80702 1.71594 4.1064C1.71594 4.10677 1.71572 4.10721 1.71559 4.10758C1.71559 4.10718 1.71581 4.10677 1.71594 4.1064C1.23301 4.79075 0.890506 5.56404 0.708219 6.38155C0.704625 6.39783 0.701594 6.41471 0.698094 6.43112C0.683969 6.49724 0.620406 6.83277 0.611531 6.90474C0.610844 6.91027 0.612187 6.89924 0.611531 6.90474C0.553567 7.25147 0.516583 7.60137 0.500781 7.95255C0.500781 7.96537 0.5 7.97805 0.5 7.9909C0.5 12.138 3.8625 15.5 8.01012 15.5C11.7247 15.5 14.8089 12.8035 15.4127 9.26152C15.4254 9.1654 15.4356 9.06877 15.4468 8.9718C15.5961 7.68399 15.4302 6.3304 14.9597 5.19849ZM14.2147 5.58415C14.2151 5.5868 14.2155 5.58958 14.2159 5.59224L14.2157 5.59143L14.2147 5.58415Z", - fill: "url(#paint11_linear_466_21172)", - }), - a.createElement( - "defs", - null, - a.createElement( - "linearGradient", - { - id: "paint0_linear_466_21172", - x1: "13.5874", - y1: "2.40249", - x2: "1.52839", - y2: "14.0351", - gradientUnits: "userSpaceOnUse", - }, - a.createElement("stop", { offset: "0.05", stopColor: "#FFF44F" }), - a.createElement("stop", { offset: "0.37", stopColor: "#FF980E" }), - a.createElement("stop", { offset: "0.53", stopColor: "#FF3647" }), - a.createElement("stop", { offset: "0.7", stopColor: "#E31587" }), - ), - a.createElement( - "radialGradient", - { - id: "paint1_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(10.8936 1.72781) scale(15.3601 15.6187)", - }, - a.createElement("stop", { offset: "0.13", stopColor: "#FFBD4F" }), - a.createElement("stop", { offset: "0.28", stopColor: "#FF980E" }), - a.createElement("stop", { offset: "0.47", stopColor: "#FF3750" }), - a.createElement("stop", { offset: "0.78", stopColor: "#EB0878" }), - a.createElement("stop", { offset: "0.86", stopColor: "#E50080" }), - ), - a.createElement( - "radialGradient", - { - id: "paint2_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(6.43979 8.1787) scale(15.7441 15.6187)", - }, - a.createElement("stop", { offset: "0.3", stopColor: "#960E18" }), - a.createElement("stop", { - offset: "0.35", - stopColor: "#B11927", - stopOpacity: "0.74", - }), - a.createElement("stop", { - offset: "0.43", - stopColor: "#DB293D", - stopOpacity: "0.34", - }), - a.createElement("stop", { - offset: "0.5", - stopColor: "#F5334B", - stopOpacity: "0.09", - }), - a.createElement("stop", { - offset: "0.53", - stopColor: "#FF3750", - stopOpacity: "0", - }), - ), - a.createElement( - "radialGradient", - { - id: "paint3_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(9.48415 -0.731827) scale(5.04157 8.55934)", - }, - a.createElement("stop", { offset: "0.13", stopColor: "#FFF44F" }), - a.createElement("stop", { offset: "0.53", stopColor: "#FF980E" }), - ), - a.createElement( - "radialGradient", - { - id: "paint4_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(6.15707 12.2109) scale(6.67134 7.31187)", - }, - a.createElement("stop", { offset: "0.35", stopColor: "#3A8EE6" }), - a.createElement("stop", { offset: "0.67", stopColor: "#9059FF" }), - a.createElement("stop", { offset: "1", stopColor: "#C139E6" }), - ), - a.createElement( - "radialGradient", - { - id: "paint5_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(7.29699 6.57271) scale(3.54248 4.314)", - }, - a.createElement("stop", { - offset: "0.21", - stopColor: "#9059FF", - stopOpacity: "0", - }), - a.createElement("stop", { - offset: "0.97", - stopColor: "#6E008B", - stopOpacity: "0.6", - }), - ), - a.createElement( - "radialGradient", - { - id: "paint6_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(7.50592 1.1523) scale(5.30374 5.32259)", - }, - a.createElement("stop", { offset: "0.1", stopColor: "#FFE226" }), - a.createElement("stop", { offset: "0.79", stopColor: "#FF7139" }), - ), - a.createElement( - "radialGradient", - { - id: "paint7_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(12.3495 -2.33951) scale(25.3212 21.2557)", - }, - a.createElement("stop", { offset: "0.11", stopColor: "#FFF44F" }), - a.createElement("stop", { offset: "0.46", stopColor: "#FF980E" }), - a.createElement("stop", { offset: "0.72", stopColor: "#FF3647" }), - a.createElement("stop", { offset: "0.9", stopColor: "#E31587" }), - ), - a.createElement( - "radialGradient", - { - id: "paint8_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(2.94576 4.67997) rotate(77.3946) scale(8.03354 34.7519)", - }, - a.createElement("stop", { stopColor: "#FFF44F" }), - a.createElement("stop", { offset: "0.3", stopColor: "#FF980E" }), - a.createElement("stop", { offset: "0.57", stopColor: "#FF3647" }), - a.createElement("stop", { offset: "0.74", stopColor: "#E31587" }), - ), - a.createElement( - "radialGradient", - { - id: "paint9_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(7.56027 3.06659) scale(14.5381 14.2827)", - }, - a.createElement("stop", { offset: "0.14", stopColor: "#FFF44F" }), - a.createElement("stop", { offset: "0.48", stopColor: "#FF980E" }), - a.createElement("stop", { offset: "0.66", stopColor: "#FF3647" }), - a.createElement("stop", { offset: "0.9", stopColor: "#E31587" }), - ), - a.createElement( - "radialGradient", - { - id: "paint10_radial_466_21172", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: - "translate(11.3337 3.90193) scale(17.4743 15.6328)", - }, - a.createElement("stop", { offset: "0.09", stopColor: "#FFF44F" }), - a.createElement("stop", { offset: "0.63", stopColor: "#FF980E" }), - ), - a.createElement( - "linearGradient", - { - id: "paint11_linear_466_21172", - x1: "12.5", - y1: "2.16999", - x2: "2.85701", - y2: "12.7061", - gradientUnits: "userSpaceOnUse", - }, - a.createElement("stop", { - offset: "0.17", - stopColor: "#FFF44F", - stopOpacity: "0.8", - }), - a.createElement("stop", { - offset: "0.6", - stopColor: "#FFF44F", - stopOpacity: "0", - }), - ), - ), - ), - J6 = (e) => - a.createElement( - "svg", - { - width: "16", - height: "16", - viewBox: "0 0 16 16", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - ...e, - }, - a.createElement("circle", { - cx: "8.00009", - cy: "7.99997", - r: "7.7037", - fill: "url(#paint0_linear_466_21186)", - }), - a.createElement("ellipse", { - cx: "8.00094", - cy: "8.00094", - rx: "7.06173", - ry: "7.06173", - fill: "url(#paint1_radial_466_21186)", - }), - a.createElement("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z", - fill: "#DDDDDD", - }), - a.createElement("path", { - d: "M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z", - fill: "#DDDDDD", - }), - a.createElement("path", { - d: "M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z", - fill: "#EE4444", - }), - a.createElement("path", { - d: "M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z", - fill: "#CC0000", - }), - a.createElement("path", { - d: "M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z", - fill: "#AAAAAA", - }), - a.createElement( - "defs", - null, - a.createElement( - "linearGradient", - { - id: "paint0_linear_466_21186", - x1: "0.300303", - y1: "0.300951", - x2: "0.300303", - y2: "15.7084", - gradientUnits: "userSpaceOnUse", - }, - a.createElement("stop", { stopColor: "#F8F8F8" }), - a.createElement("stop", { offset: "1", stopColor: "#CCCCCC" }), - ), - a.createElement( - "radialGradient", - { - id: "paint1_radial_466_21186", - cx: "0", - cy: "0", - r: "1", - gradientUnits: "userSpaceOnUse", - gradientTransform: "translate(8.00216 8.0046) scale(7.06173)", - }, - a.createElement("stop", { stopColor: "#00F0FF" }), - a.createElement("stop", { offset: "1", stopColor: "#0070E0" }), - ), - ), - ), - J1 = { - CHROME: a.createElement(Y6, { alt: "Chrome" }), - FIREFOX: a.createElement(K6, { alt: "Firefox" }), - SAFARI: a.createElement(J6, { alt: "Safari" }), - EDGE: a.createElement(Q6, { alt: "Edge" }), - }, - X6 = w.div(({ theme: e }) => ({ - alignItems: "center", - color: e.base === "light" ? e.color.dark : e.color.light, - display: "inline-flex", - gap: 6, - height: 16, - margin: "6px 7px", - svg: { verticalAlign: "top" }, - })), - X1 = w.span(({ theme: e }) => ({ - color: e.base === "light" ? e.color.dark : e.color.light, - display: "none", - fontSize: e.typography.size.s1, - fontWeight: e.typography.weight.bold, - "@container (min-width: 300px)": { display: "inline-block" }, - "+ svg": { color: e.base === "light" ? e.color.dark : e.color.light }, - "button:hover > &, button:hover > & + svg": { - color: e.color.secondary, - }, - })), - ef = ({ - isAccepted: e, - selectedBrowser: t, - browserResults: n, - onSelectBrowser: r, - }) => { - tn(); - let i = jr(n.map(({ result: s }) => s)); - if (!i) return null; - let l = J1[t.key]; - !e && - i !== "EQUAL" && - n.length >= 2 && - (l = a.createElement(Nr, { status: i }, l)); - let o = - n.length > 1 && - n.map(({ browser: s, result: c }) => ({ - active: t === s, - id: s.id, - onClick: () => r(s), - right: !e && c !== "EQUAL" && a.createElement(Ks, { status: c }), - icon: J1[s.key], - title: s.name, - })); - return a.createElement( - Le, - { - key: t.key, - hasChrome: !1, - placement: "top", - trigger: "hover", - tooltip: a.createElement(He, { - note: o ? "Switch browser" : `Tested in ${n[0].browser.name}`, - }), - }, - o - ? a.createElement( - wa, - { placement: "bottom", links: o }, - l, - a.createElement(X1, null, t.name), - a.createElement(Es, { size: 10 }), - ) - : a.createElement(X6, null, l, a.createElement(X1, null, t.name)), - ); - }, - tf = w.div(({ theme: e }) => ({ - alignItems: "center", - color: e.base === "light" ? e.color.darkest : e.color.light, - display: "inline-flex", - gap: 6, - height: 14, - margin: "7px 7px", - svg: { - verticalAlign: "top", - path: { fill: e.base === "light" ? e.color.dark : e.color.light }, - }, - })), - nf = w(wa)(({ theme: e }) => ({ - button: { - svg: { - verticalAlign: "top", - path: { fill: e.base === "light" ? e.color.dark : e.color.light }, - }, - "&:hover": { svg: { path: { fill: e.color.secondary } } }, - }, - })), - es = w.span(({ theme: e }) => ({ - color: e.base === "light" ? e.color.dark : e.color.light, - display: "none", - fontSize: e.typography.size.s1, - fontWeight: e.typography.weight.bold, - "@container (min-width: 300px)": { display: "inline-block" }, - "button:hover > &": { color: e.color.secondary }, - })), - af = ({ - isAccepted: e, - modeOrder: t, - modeResults: n, - onSelectMode: r, - selectedMode: i, - }) => { - tn(); - let l = jr(n.map(({ result: c }) => c)); - if (!l) return null; - let o = a.createElement(W5, null); - !e && - l !== "EQUAL" && - n.length >= 2 && - (o = a.createElement(Nr, { status: l }, o)); - let s = - n.length > 1 && - n - .map(({ mode: c, result: d }) => ({ - id: c.name, - title: c.name, - right: !e && d !== "EQUAL" && a.createElement(Ks, { status: d }), - onClick: () => r(c), - active: i.name === c.name, - })) - .sort((c, d) => { - if (!t) return 0; - let u = t.indexOf(c.title), - m = t.indexOf(d.title); - return u !== -1 && m !== -1 ? u - m : 0; - }); - return a.createElement( - Le, - { - key: i.name, - hasChrome: !1, - placement: "top", - trigger: "hover", - tooltip: a.createElement(He, { - note: s ? "Switch mode" : `View mode: ${n[0].mode.name}`, - }), - }, - s - ? a.createElement( - nf, - { placement: "bottom", links: s }, - o, - a.createElement(es, null, i.name), - a.createElement(Es, { size: 10 }), - ) - : a.createElement(tf, null, o, a.createElement(es, null, i.name)), - ); - }, - ts = () => { - let e = yn(), - { browserResults: t, modeResults: n } = e.summary; - return a.createElement( - Xr, - null, - n.length > 0 && - e.selectedTest && - a.createElement(af, { - isAccepted: e.summary.status === "ACCEPTED", - modeOrder: e.modeOrder, - selectedMode: e.selectedTest.mode, - modeResults: n, - onSelectMode: e.onSelectMode, - }), - t.length > 0 && - e.selectedComparison && - a.createElement(ef, { - isAccepted: e.summary.status === "ACCEPTED", - selectedBrowser: e.selectedComparison.browser, - browserResults: t, - onSelectBrowser: e.onSelectBrowser, - }), - a.createElement(dt, { push: !0 }, a.createElement(Jr, null)), - ); - }, - rf = ({ theme: e, status: t, variant: n }) => - n === "outline" - ? { - color: e.base === "light" ? e.color.dark : e.color.medium, - backgroundColor: e.background.app, - borderColor: e.base === "light" ? e.color.medium : e.color.darker, - "&:hover": { - color: e.base === "light" ? e.color.darkest : e.color.lighter, - backgroundColor: rn(0.03, e.background.app), - }, - } - : t === "positive" - ? { - color: e.color.positiveText, - backgroundColor: e.background.positive, - borderColor: mr(0.5, e.color.positiveText), - "&:hover": { - color: e.color.positiveText, - backgroundColor: rn(0.05, e.background.positive), - }, - } - : t === "warning" - ? { - color: e.color.warningText, - backgroundColor: e.background.warning, - borderColor: mr(0.5, e.color.warningText), - "&:hover": { - color: e.color.warningText, - backgroundColor: rn(0.05, e.background.warning), - }, - } - : { - color: e.color.lightest, - backgroundColor: e.color.secondary, - borderWidth: 0, - borderColor: - e.base === "light" - ? mr(0.2, e.color.secondary) - : rn(0.1, e.color.secondary), - "&:hover": { - color: e.color.lightest, - backgroundColor: rn(0.05, e.color.secondary), - }, - }, - Mn = w(ct)( - ({ square: e }) => ({ - border: "1px solid transparent", - boxShadow: "none", - fontSize: 12, - fontWeight: 700, - height: 28, - padding: e ? "8px 6px" : 8, - transition: "background-color 150ms ease-out", - "@container (min-width: 300px)": { - height: 32, - width: e ? 32 : "auto", - padding: e ? "9px 8px" : 9, - }, - "@container (min-width: 800px)": { - height: 28, - fontSize: 12, - width: e ? 28 : "auto", - padding: e ? "8px 6px" : 8, - }, - }), - rf, - ({ side: e }) => ({ - ...(e === "left" && { - borderRightWidth: 1, - borderTopRightRadius: 0, - borderBottomRightRadius: 0, - }), - ...(e === "right" && { - borderLeftWidth: 0, - borderTopLeftRadius: 0, - borderBottomLeftRadius: 0, - }), - }), - ), - ns = w.div({ display: "flex", flexDirection: "row" }), - zr = w.div( - ({ theme: e }) => ({ - width: 12, - height: 12, - margin: "3px 6px", - verticalAlign: "top", - display: "inline-block", - animation: `${Gs} 0.7s linear infinite`, - border: "2px solid transparent", - borderLeftColor: e.base === "light" ? "#00aaff" : "#58faf9", - borderBottomColor: "#25ccfd", - borderRightColor: e.base === "light" ? "#58faf9" : "#00aaff", - borderRadius: "100%", - transform: "translate3d(0, 0, 0)", - }), - ({ parentComponent: e }) => - e && - ge({ - margin: e === "IconButton" ? 1 : 0, - borderWidth: 1, - borderLeftColor: "currentcolor", - borderBottomColor: "currentcolor", - borderRightColor: "currentcolor", - }), - ), - Di = w.div( - ({ - theme: e, - width: t = 14, - height: n = 14, - marginLeft: r = 7, - marginRight: i = 8, - }) => ({ - display: "inline-block", - backgroundColor: e.appBorderColor, - borderRadius: 3, - animation: `${e.animation.glow} 1.5s ease-in-out infinite`, - height: n, - width: t, - margin: 7, - marginLeft: r, - marginRight: i, - }), - ), - lf = w.div(({ theme: e }) => ({ - gridArea: "label", - margin: "8px 15px", - display: "flex", - alignItems: "center", - justifyContent: "flex-start", - gap: 6, - span: { - display: "none", - "@container (min-width: 300px)": { display: "initial" }, - }, - "@container (min-width: 800px)": { - borderLeft: `1px solid ${e.appBorderColor}`, - paddingLeft: 10, - marginLeft: 0, - }, - })), - as = w.div({ - gridArea: "controls", - margin: "6px 15px", - display: "flex", - alignItems: "center", - justifyContent: "flex-end", - gap: 6, - "@container (min-width: 800px)": { margin: 8 }, - }), - of = w.div(({ theme: e }) => ({ - padding: 9, - "> svg": { display: "block" }, - path: { fill: e.color.mediumdark }, - })), - sf = w.div(({ theme: e, showDivider: t }) => ({ - gridArea: "actions", - display: "flex", - alignItems: "center", - justifyContent: "flex-end", - margin: "0px 15px", - gap: 6, - "@container (min-width: 300px)": { - alignItems: "flex-start", - margin: "15px 15px 15px 0px", - }, - "@container (min-width: 800px)": { - alignItems: "center", - borderLeft: t ? `1px solid ${e.appBorderColor}` : "none", - margin: "8px 15px 8px 0px", - paddingLeft: 8, - }, - })), - cf = ({ isOutdated: e }) => { - let { baselineImageVisible: t, diffVisible: n, focusVisible: r } = Kr(), - { toggleBaselineImage: i, toggleDiff: l, toggleFocus: o } = Hn(), - { isRunning: s, startBuild: c } = Pa(), - { selectedTest: d, selectedComparison: u, summary: m } = yn(), - { changeCount: p, isInProgress: f } = m, - { - isReviewing: g, - buildIsReviewable: y, - userCanReview: k, - acceptTest: b, - unacceptTest: h, - } = pc(); - if (f) - return a.createElement( - as, - null, - a.createElement(Di, null), - a.createElement(Di, null), - a.createElement(Di, null), - ); - let v = p > 0 && d?.status !== "ACCEPTED", - E = p > 0 && d?.status === "ACCEPTED", - C = u?.result === "CHANGED"; - return a.createElement( - a.Fragment, - null, - C && - a.createElement( - lf, - null, - a.createElement( - Y, - null, - a.createElement( - "b", - null, - t ? "Baseline" : "Latest", - a.createElement("span", null, " snapshot"), - ), - ), - ), - C && - a.createElement( - as, - null, - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: t ? "Show latest snapshot" : "Show baseline snapshot", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - ct, - { - id: "button-toggle-snapshot", - "aria-label": t - ? "Show latest snapshot" - : "Show baseline snapshot", - onClick: () => i(), - }, - a.createElement(K5, null), - ), - ), - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: r ? "Hide spotlight" : "Show spotlight", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - ct, - { - id: "button-toggle-spotlight", - active: r, - "aria-label": r ? "Hide spotlight" : "Show spotlight", - onClick: () => o(!r), - }, - a.createElement(X5, null), - ), - ), - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: n ? "Hide diff" : "Show diff", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - ct, - { - id: "button-diff-visible", - active: n, - "aria-label": n ? "Hide diff" : "Show diff", - onClick: () => l(!n), - }, - a.createElement(fs, null), - ), - ), - ), - (v || E) && - a.createElement( - sf, - { showDivider: C }, - k && - y && - v && - d && - a.createElement( - ns, - null, - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: "Accept this story", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - Mn, - { - id: "button-toggle-accept-story", - disabled: g, - "aria-label": "Accept this story", - onClick: () => b(d.id, "SPEC"), - side: "left", - }, - "Accept", - ), - ), - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: "Batch accept options", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - wa, - { - placement: "bottom", - links: [ - { - id: "acceptComponent", - title: "Accept component", - center: - "Accept all unreviewed changes for this component", - onClick: () => b(d.id, "COMPONENT"), - disabled: g, - loading: g, - }, - { - id: "acceptBuild", - title: "Accept entire build", - center: - "Accept all unreviewed changes for every story in the Storybook", - onClick: () => b(d.id, "BUILD"), - disabled: g, - loading: g, - }, - ], - }, - (Z) => - a.createElement( - Mn, - { - square: !0, - active: Z, - disabled: g, - "aria-label": "Batch accept options", - side: "right", - }, - g - ? a.createElement(zr, { - parentComponent: "IconButton", - }) - : a.createElement(To, null), - ), - ), - ), - ), - k && - y && - E && - a.createElement( - ns, - null, - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: "Unaccept this story", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - Mn, - { - id: "button-toggle-accept-story", - disabled: g, - "aria-label": "Unaccept this story", - onClick: () => h(d.id, "SPEC"), - side: "left", - status: "positive", - }, - a.createElement(J5, null), - "Unaccept", - ), - ), - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: "Batch unaccept options", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - wa, - { - placement: "bottom", - links: [ - { - id: "unacceptComponent", - title: "Unaccept component", - center: - "Unaccept all unreviewed changes for this component", - onClick: () => h(d.id, "COMPONENT"), - disabled: g, - loading: g, - }, - { - id: "unacceptBuild", - title: "Unaccept entire build", - center: - "Unaccept all unreviewed changes for every story in the Storybook", - onClick: () => h(d.id, "BUILD"), - disabled: g, - loading: g, - }, - ], - }, - (Z) => - a.createElement( - Mn, - { - square: !0, - active: Z, - disabled: g, - "aria-label": "Batch unaccept options", - side: "right", - status: "positive", - }, - g - ? a.createElement(zr, { - parentComponent: "IconButton", - }) - : a.createElement(To, null), - ), - ), - ), - ), - !(k && y) && - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: "Reviewing disabled", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement(of, null, a.createElement(vs, null)), - ), - a.createElement( - Le, - { - tooltip: a.createElement(He, { - note: e ? "Run new tests" : "Rerun tests", - }), - trigger: "hover", - hasChrome: !1, - }, - a.createElement( - Mn, - { - square: !0, - "aria-label": e ? "Run new tests" : "Rerun tests", - onClick: c, - disabled: s, - variant: "outline", - }, - e ? a.createElement(qt, null) : a.createElement(ks, null), - ), - ), - ), - ); - }, - cr = ut(Ia()), - df = (e) => - a.createElement( - "svg", - { - width: "12", - height: "12", - viewBox: "0 0 12 12", - fill: "none", - xmlns: "http://www.w3.org/2000/svg", - style: { margin: "3px 6px", verticalAlign: "top" }, - ...e, - }, - a.createElement("path", { - fillRule: "evenodd", - clipRule: "evenodd", - d: "M12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM5.57143 6.85714C5.57143 7.09384 5.76331 7.28571 6 7.28571C6.23669 7.28571 6.42857 7.09384 6.42857 6.85714L6.42857 3.42857C6.42857 3.19188 6.23669 3 6 3C5.76331 3 5.57143 3.19188 5.57143 3.42857V6.85714ZM5.35714 8.78572C5.35714 8.43067 5.64496 8.14286 6 8.14286C6.35504 8.14286 6.64286 8.43067 6.64286 8.78571C6.64286 9.14075 6.35504 9.42857 6 9.42857C5.64496 9.42857 5.35714 9.14075 5.35714 8.78572Z", - fill: "#73828C", - }), - ), - Hi = { - width: 12, - height: 12, - margin: "3px 3px 3px 6px", - verticalAlign: "top", - }, - uf = ({ icon: e }) => { - let { color: t } = tn(); - return { - passed: a.createElement(Wi, { style: { ...Hi, color: t.positive } }), - changed: a.createElement(j5, { style: { ...Hi, color: t.warning } }), - failed: a.createElement(Ot, { style: { ...Hi, color: t.negative } }), - }[e]; - }; - function Sl(e) { - "@babel/helpers - typeof"; - return ( - (Sl = - 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; - }), - Sl(e) - ); - } - function si(e, t) { - if (t.length < e) - throw new TypeError( - e + - " argument" + - (e > 1 ? "s" : "") + - " required, but only " + - t.length + - " present", - ); - } - function _n(e) { - si(1, arguments); - var t = Object.prototype.toString.call(e); - return e instanceof Date || (Sl(e) === "object" && t === "[object Date]") - ? new Date(e.getTime()) - : typeof e == "number" || t === "[object Number]" - ? new Date(e) - : ((typeof e == "string" || t === "[object String]") && - typeof console < "u" && - (console.warn( - "Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments", - ), - console.warn(new Error().stack)), - new Date(NaN)); - } - var mf = {}; - function pf() { - return mf; - } - function rs(e) { - var t = new Date( - Date.UTC( - e.getFullYear(), - e.getMonth(), - e.getDate(), - e.getHours(), - e.getMinutes(), - e.getSeconds(), - e.getMilliseconds(), - ), - ); - return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime(); - } - function hf(e, t) { - si(2, arguments); - var n = _n(e), - r = _n(t), - i = n.getTime() - r.getTime(); - return i < 0 ? -1 : i > 0 ? 1 : i; - } - var ff = { - lessThanXSeconds: { - one: "less than a second", - other: "less than {{count}} seconds", - }, - xSeconds: { one: "1 second", other: "{{count}} seconds" }, - halfAMinute: "half a minute", - lessThanXMinutes: { - one: "less than a minute", - other: "less than {{count}} minutes", - }, - xMinutes: { one: "1 minute", other: "{{count}} minutes" }, - aboutXHours: { one: "about 1 hour", other: "about {{count}} hours" }, - xHours: { one: "1 hour", other: "{{count}} hours" }, - xDays: { one: "1 day", other: "{{count}} days" }, - aboutXWeeks: { one: "about 1 week", other: "about {{count}} weeks" }, - xWeeks: { one: "1 week", other: "{{count}} weeks" }, - aboutXMonths: { one: "about 1 month", other: "about {{count}} months" }, - xMonths: { one: "1 month", other: "{{count}} months" }, - aboutXYears: { one: "about 1 year", other: "about {{count}} years" }, - xYears: { one: "1 year", other: "{{count}} years" }, - overXYears: { one: "over 1 year", other: "over {{count}} years" }, - almostXYears: { one: "almost 1 year", other: "almost {{count}} years" }, - }, - gf = function (e, t, n) { - var r, - i = ff[e]; - return ( - typeof i == "string" - ? (r = i) - : t === 1 - ? (r = i.one) - : (r = i.other.replace("{{count}}", t.toString())), - n != null && n.addSuffix - ? n.comparison && n.comparison > 0 - ? "in " + r - : r + " ago" - : r - ); - }, - vf = gf; - function ji(e) { - return function () { - var t = - arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, - n = t.width ? String(t.width) : e.defaultWidth, - r = e.formats[n] || e.formats[e.defaultWidth]; - return r; - }; - } - var yf = { - full: "EEEE, MMMM do, y", - long: "MMMM do, y", - medium: "MMM d, y", - short: "MM/dd/yyyy", - }, - bf = { - full: "h:mm:ss a zzzz", - long: "h:mm:ss a z", - medium: "h:mm:ss a", - short: "h:mm a", - }, - Ef = { - full: "{{date}} 'at' {{time}}", - long: "{{date}} 'at' {{time}}", - medium: "{{date}}, {{time}}", - short: "{{date}}, {{time}}", - }, - kf = { - date: ji({ formats: yf, defaultWidth: "full" }), - time: ji({ formats: bf, defaultWidth: "full" }), - dateTime: ji({ formats: Ef, defaultWidth: "full" }), - }, - wf = kf, - Cf = { - lastWeek: "'last' eeee 'at' p", - yesterday: "'yesterday at' p", - today: "'today at' p", - tomorrow: "'tomorrow at' p", - nextWeek: "eeee 'at' p", - other: "P", - }, - Sf = function (e, t, n, r) { - return Cf[e]; - }, - xf = Sf; - function ca(e) { - return function (t, n) { - var r = n != null && n.context ? String(n.context) : "standalone", - i; - if (r === "formatting" && e.formattingValues) { - var l = e.defaultFormattingWidth || e.defaultWidth, - o = n != null && n.width ? String(n.width) : l; - i = e.formattingValues[o] || e.formattingValues[l]; - } else { - var s = e.defaultWidth, - c = n != null && n.width ? String(n.width) : e.defaultWidth; - i = e.values[c] || e.values[s]; - } - var d = e.argumentCallback ? e.argumentCallback(t) : t; - return i[d]; - }; - } - var Nf = { - narrow: ["B", "A"], - abbreviated: ["BC", "AD"], - wide: ["Before Christ", "Anno Domini"], - }, - Mf = { - narrow: ["1", "2", "3", "4"], - abbreviated: ["Q1", "Q2", "Q3", "Q4"], - wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"], - }, - _f = { - narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], - abbreviated: [ - "Jan", - "Feb", - "Mar", - "Apr", - "May", - "Jun", - "Jul", - "Aug", - "Sep", - "Oct", - "Nov", - "Dec", - ], - wide: [ - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December", - ], - }, - Of = { - narrow: ["S", "M", "T", "W", "T", "F", "S"], - short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], - abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], - wide: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - ], - }, - Af = { - narrow: { - am: "a", - pm: "p", - midnight: "mi", - noon: "n", - morning: "morning", - afternoon: "afternoon", - evening: "evening", - night: "night", - }, - abbreviated: { - am: "AM", - pm: "PM", - midnight: "midnight", - noon: "noon", - morning: "morning", - afternoon: "afternoon", - evening: "evening", - night: "night", - }, - wide: { - am: "a.m.", - pm: "p.m.", - midnight: "midnight", - noon: "noon", - morning: "morning", - afternoon: "afternoon", - evening: "evening", - night: "night", - }, - }, - Tf = { - narrow: { - am: "a", - pm: "p", - midnight: "mi", - noon: "n", - morning: "in the morning", - afternoon: "in the afternoon", - evening: "in the evening", - night: "at night", - }, - abbreviated: { - am: "AM", - pm: "PM", - midnight: "midnight", - noon: "noon", - morning: "in the morning", - afternoon: "in the afternoon", - evening: "in the evening", - night: "at night", - }, - wide: { - am: "a.m.", - pm: "p.m.", - midnight: "midnight", - noon: "noon", - morning: "in the morning", - afternoon: "in the afternoon", - evening: "in the evening", - night: "at night", - }, - }, - Ff = function (e, t) { - var n = Number(e), - r = n % 100; - if (r > 20 || r < 10) - switch (r % 10) { - case 1: - return n + "st"; - case 2: - return n + "nd"; - case 3: - return n + "rd"; - } - return n + "th"; - }, - Lf = { - ordinalNumber: Ff, - era: ca({ values: Nf, defaultWidth: "wide" }), - quarter: ca({ - values: Mf, - defaultWidth: "wide", - argumentCallback: function (e) { - return e - 1; - }, - }), - month: ca({ values: _f, defaultWidth: "wide" }), - day: ca({ values: Of, defaultWidth: "wide" }), - dayPeriod: ca({ - values: Af, - defaultWidth: "wide", - formattingValues: Tf, - defaultFormattingWidth: "wide", - }), - }, - Rf = Lf; - function da(e) { - return function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, - r = n.width, - i = (r && e.matchPatterns[r]) || e.matchPatterns[e.defaultMatchWidth], - l = t.match(i); - if (!l) return null; - var o = l[0], - s = (r && e.parsePatterns[r]) || e.parsePatterns[e.defaultParseWidth], - c = Array.isArray(s) - ? Zf(s, function (m) { - return m.test(o); - }) - : If(s, function (m) { - return m.test(o); - }), - d; - (d = e.valueCallback ? e.valueCallback(c) : c), - (d = n.valueCallback ? n.valueCallback(d) : d); - var u = t.slice(o.length); - return { value: d, rest: u }; - }; - } - function If(e, t) { - for (var n in e) if (e.hasOwnProperty(n) && t(e[n])) return n; - } - function Zf(e, t) { - for (var n = 0; n < e.length; n++) if (t(e[n])) return n; - } - function Bf(e) { - return function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, - r = t.match(e.matchPattern); - if (!r) return null; - var i = r[0], - l = t.match(e.parsePattern); - if (!l) return null; - var o = e.valueCallback ? e.valueCallback(l[0]) : l[0]; - o = n.valueCallback ? n.valueCallback(o) : o; - var s = t.slice(i.length); - return { value: o, rest: s }; - }; - } - var Pf = /^(\d+)(th|st|nd|rd)?/i, - Vf = /\d+/i, - Df = { - narrow: /^(b|a)/i, - abbreviated: - /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, - wide: /^(before christ|before common era|anno domini|common era)/i, - }, - Hf = { any: [/^b/i, /^(a|c)/i] }, - jf = { - narrow: /^[1234]/i, - abbreviated: /^q[1234]/i, - wide: /^[1234](th|st|nd|rd)? quarter/i, - }, - zf = { any: [/1/i, /2/i, /3/i, /4/i] }, - Uf = { - narrow: /^[jfmasond]/i, - abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, - wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i, - }, - $f = { - narrow: [ - /^j/i, - /^f/i, - /^m/i, - /^a/i, - /^m/i, - /^j/i, - /^j/i, - /^a/i, - /^s/i, - /^o/i, - /^n/i, - /^d/i, - ], - any: [ - /^ja/i, - /^f/i, - /^mar/i, - /^ap/i, - /^may/i, - /^jun/i, - /^jul/i, - /^au/i, - /^s/i, - /^o/i, - /^n/i, - /^d/i, - ], - }, - Wf = { - narrow: /^[smtwf]/i, - short: /^(su|mo|tu|we|th|fr|sa)/i, - abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, - wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i, - }, - Gf = { - narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], - any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i], - }, - qf = { - narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, - any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i, - }, - Yf = { - any: { - am: /^a/i, - pm: /^p/i, - midnight: /^mi/i, - noon: /^no/i, - morning: /morning/i, - afternoon: /afternoon/i, - evening: /evening/i, - night: /night/i, - }, - }, - Qf = { - ordinalNumber: Bf({ - matchPattern: Pf, - parsePattern: Vf, - valueCallback: function (e) { - return parseInt(e, 10); - }, - }), - era: da({ - matchPatterns: Df, - defaultMatchWidth: "wide", - parsePatterns: Hf, - defaultParseWidth: "any", - }), - quarter: da({ - matchPatterns: jf, - defaultMatchWidth: "wide", - parsePatterns: zf, - defaultParseWidth: "any", - valueCallback: function (e) { - return e + 1; - }, - }), - month: da({ - matchPatterns: Uf, - defaultMatchWidth: "wide", - parsePatterns: $f, - defaultParseWidth: "any", - }), - day: da({ - matchPatterns: Wf, - defaultMatchWidth: "wide", - parsePatterns: Gf, - defaultParseWidth: "any", - }), - dayPeriod: da({ - matchPatterns: qf, - defaultMatchWidth: "any", - parsePatterns: Yf, - defaultParseWidth: "any", - }), - }, - Kf = Qf, - Jf = { - code: "en-US", - formatDistance: vf, - formatLong: wf, - formatRelative: xf, - localize: Rf, - match: Kf, - options: { weekStartsOn: 0, firstWeekContainsDate: 1 }, - }, - hc = Jf, - Xf = hc; - function fc(e, t) { - if (e == null) - throw new TypeError( - "assign requires that input parameter not be null or undefined", - ); - for (var n in t) - Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]); - return e; - } - function e8(e) { - return fc({}, e); - } - var is = 1e3 * 60, - Ur = 60 * 24, - ls = Ur * 30, - os = Ur * 365; - function t8(e, t, n) { - var r, i, l; - si(2, arguments); - var o = pf(), - s = - (r = (i = n?.locale) !== null && i !== void 0 ? i : o.locale) !== - null && r !== void 0 - ? r - : Xf; - if (!s.formatDistance) - throw new RangeError( - "locale must contain localize.formatDistance property", - ); - var c = hf(e, t); - if (isNaN(c)) throw new RangeError("Invalid time value"); - var d = fc(e8(n), { addSuffix: !!n?.addSuffix, comparison: c }), - u, - m; - c > 0 ? ((u = _n(t)), (m = _n(e))) : ((u = _n(e)), (m = _n(t))); - var p = String( - (l = n?.roundingMethod) !== null && l !== void 0 ? l : "round", - ), - f; - if (p === "floor") f = Math.floor; - else if (p === "ceil") f = Math.ceil; - else if (p === "round") f = Math.round; - else - throw new RangeError( - "roundingMethod must be 'floor', 'ceil' or 'round'", - ); - var g = m.getTime() - u.getTime(), - y = g / is, - k = rs(m) - rs(u), - b = (g - k) / is, - h = n?.unit, - v; - if ( - (h - ? (v = String(h)) - : y < 1 - ? (v = "second") - : y < 60 - ? (v = "minute") - : y < Ur - ? (v = "hour") - : b < ls - ? (v = "day") - : b < os - ? (v = "month") - : (v = "year"), - v === "second") - ) { - var E = f(g / 1e3); - return s.formatDistance("xSeconds", E, d); - } else if (v === "minute") { - var C = f(y); - return s.formatDistance("xMinutes", C, d); - } else if (v === "hour") { - var Z = f(y / 60); - return s.formatDistance("xHours", Z, d); - } else if (v === "day") { - var P = f(b / Ur); - return s.formatDistance("xDays", P, d); - } else if (v === "month") { - var W = f(b / ls); - return W === 12 && h !== "month" - ? s.formatDistance("xYears", 1, d) - : s.formatDistance("xMonths", W, d); - } else if (v === "year") { - var q = f(b / os); - return s.formatDistance("xYears", q, d); - } - throw new RangeError( - "unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'", - ); - } - function n8(e, t) { - return si(1, arguments), t8(e, Date.now(), t); - } - var a8 = { - lessThanXSeconds: "just now", - xSeconds: "just now", - halfAMinute: "just now", - lessThanXMinutes: "{{count}}m", - xMinutes: "{{count}}m", - aboutXHours: "{{count}}h", - xHours: "{{count}}h", - xDays: "{{count}}d", - aboutXWeeks: "{{count}}w", - xWeeks: "{{count}}w", - aboutXMonths: "{{count}}mo", - xMonths: "{{count}}mo", - aboutXYears: "{{count}}y", - xYears: "{{count}}y", - overXYears: "{{count}}y", - almostXYears: "{{count}}y", - }; - function r8(e, t, n = { addSuffix: !1, comparison: 0 }) { - let r = a8[e].replace("{{count}}", t); - return ["lessThanXSeconds", "xSeconds", "halfAMinute"].includes(e) - ? `${r}` - : n.addSuffix - ? n.comparison > 0 - ? `in ${r}` - : `${r} ago` - : r; - } - var i8 = (e) => - n8(e, { addSuffix: !0, locale: { ...hc, formatDistance: r8 } }), - ua = w.div(({ theme: e }) => ({ - gridArea: "info", - display: "flex", - justifySelf: "start", - justifyContent: "center", - flexDirection: "column", - margin: 15, - lineHeight: "18px", - color: - e.base === "light" - ? `${e.color.defaultText}99` - : `${e.color.light}99`, - b: { - color: - e.base === "light" ? `${e.color.defaultText}` : `${e.color.light}`, - }, - small: { fontSize: e.typography.size.s1 }, - "@container (min-width: 800px)": { - margin: "6px 10px 6px 15px", - alignItems: "center", - flexDirection: "row", - small: { fontSize: "inherit" }, - "[data-hidden-large]": { display: "none" }, - "& > span:first-of-type": { - display: "inline-flex", - alignItems: "center", - height: 24, - marginRight: 6, - }, - }, - })), - l8 = w.div({ - gridArea: "actions", - display: "flex", - justifySelf: "end", - justifyContent: "center", - alignItems: "start", - margin: 15, - "@container (min-width: 800px)": { margin: "6px 15px 0 0" }, - }), - o8 = ({ - isStarting: e, - tests: t, - startedAt: n, - isBuildFailed: r, - isOutdated: i, - shouldSwitchToLastBuildOnBranch: l, - switchToLastBuildOnBranch: o, - }) => { - let { isRunning: s, startBuild: c } = Pa(), - { - status: d, - isInProgress: u, - changeCount: m, - brokenCount: p, - modeResults: f, - browserResults: g, - } = io(t ?? []), - y = !e && n && i8(new Date(n).getTime()), - k = e || u, - b = r || d === "FAILED", - h = b || d === "BROKEN", - v = (h || i) && !k && !m, - E; - return ( - i - ? (E = a.createElement( - ua, - null, - a.createElement( - "span", - null, - a.createElement("b", null, "Code edits detected"), - ), - a.createElement( - "small", - null, - a.createElement( - "span", - null, - "Run tests to see what changed", - ), - ), - )) - : b - ? (E = a.createElement( - ua, - null, - a.createElement( - "span", - null, - a.createElement("b", null, "Build failed"), - a.createElement(df, null), - ), - a.createElement( - "small", - null, - a.createElement( - "span", - null, - "An infrastructure error occured", - ), - ), - )) - : k - ? (E = a.createElement( - ua, - null, - a.createElement( - "span", - null, - a.createElement("b", null, "Running tests..."), - a.createElement(zr, null), - ), - a.createElement( - "small", - null, - a.createElement("span", null, "Test in progress..."), - ), - )) - : l - ? (E = a.createElement( - ua, - null, - a.createElement( - "span", - null, - a.createElement( - "b", - null, - a.createElement( - nn, - { isButton: !0, onClick: o }, - "View latest snapshot", - ), - ), - ), - a.createElement( - "span", - null, - "Newer test results are available for this story", - ), - )) - : (E = a.createElement( - ua, - null, - a.createElement( - "span", - null, - a.createElement( - "b", - null, - p - ? null - : m - ? `${(0, cr.default)("change", m, !0)}${d === "ACCEPTED" ? " accepted" : ""}` - : "No changes", - p ? (0, cr.default)("error", p, !0) : null, - ), - a.createElement(uf, { - icon: p - ? "failed" - : d === "PENDING" - ? "changed" - : "passed", - }), - ), - a.createElement( - "small", - null, - f.length > 0 && - a.createElement( - "span", - { "data-hidden-large": !0 }, - (0, cr.default)("mode", f.length, !0), - ", ", - (0, cr.default)("browser", g.length, !0), - ), - f.length > 0 && - a.createElement( - "span", - { "data-hidden-large": !0 }, - " \u2022 ", - ), - u && - a.createElement("span", null, "Test in progress..."), - !u && - n && - a.createElement( - "span", - { title: new Date(n).toUTCString() }, - "Ran ", - y, - ), - ), - )), - a.createElement( - a.Fragment, - null, - E, - v && - a.createElement( - l8, - null, - a.createElement( - Mn, - { onClick: c, disabled: s }, - s - ? a.createElement(zr, { parentComponent: "Button" }) - : a.createElement(qt, null), - h ? "Rerun tests" : "Run tests", - ), - ), - ) - ); - }, - ss = w.div(({ theme: e }) => ({ - display: "grid", - gridTemplateAreas: ` - "info info" - "actions actions" - "label controls" - `, - gridTemplateColumns: "1fr fit-content(50%)", - gridTemplateRows: "auto auto auto", - borderBottom: `1px solid ${e.appBorderColor}`, - "@container (min-width: 300px)": { - gridTemplateAreas: ` - "info actions" - "label controls" - `, - gridTemplateColumns: "1fr auto", - gridTemplateRows: "auto auto", - }, - "@container (min-width: 800px)": { - gridTemplateAreas: '"info label controls actions"', - gridTemplateColumns: "auto 1fr auto auto", - gridTemplateRows: 40, - }, - })), - cs = w.div(({ theme: e }) => ({ - display: "grid", - gridTemplateAreas: ` - "header" - "main" - "footer" - `, - gridTemplateColumns: "1fr", - gridTemplateRows: "auto 1fr auto", - height: "100%", - "&[hidden]": { display: "none" }, - })), - ds = w.div(({ theme: e }) => ({ - gridArea: "header", - position: "sticky", - zIndex: 1, - top: 0, - background: e.background.content, - "@container (min-width: 800px)": { background: e.background.app }, - })), - s8 = w.div(({ theme: e }) => ({ - gridArea: "main", - overflowY: "auto", - maxHeight: "100%", - background: e.background.content, - })), - us = w.div(({ theme: e }) => ({ - gridArea: "footer", - position: "sticky", - zIndex: 1, - bottom: 0, - })), - c8 = w.div(({ children: e, theme: t }) => ({ - display: "flex", - alignItems: "center", - border: `0px solid ${t.appBorderColor}`, - borderTopWidth: 1, - borderBottomWidth: e ? 1 : 0, - height: e ? 40 : 0, - padding: e ? "0 15px" : 0, - })), - d8 = w.div(({ theme: e }) => ({ - fontFamily: e.typography.fonts.mono, - fontSize: e.typography.size.s1, - color: e.color.defaultText, - lineHeight: "18px", - padding: 15, - whiteSpace: "pre-wrap", - wordBreak: "break-word", - })), - zi = w.div(({ theme: e }) => ({ - background: e.background.hoverable, - padding: "10px 15px", - lineHeight: "18px", - position: "relative", - borderBottom: `1px solid ${e.appBorderColor}`, - })), - u8 = ({ - isOutdated: e, - isStarting: t, - isBuildFailed: n, - shouldSwitchToLastBuildOnBranch: r, - switchToLastBuildOnBranch: i, - hidden: l, - storyId: o, - }) => { - let { baselineImageVisible: s, diffVisible: c, focusVisible: d } = Kr(), - { - toggleBaselineImage: u, - toggleSettings: m, - toggleWarnings: p, - } = Hn(), - f = cc(), - g = "startedAt" in f && f.startedAt, - y = yn(), - { tests: k } = y, - b = a.useRef(o), - h = a.useRef(y.selectedComparison?.id), - v = a.useRef(f.id), - { selectedTest: E, selectedComparison: C } = y, - Z = k.every( - ({ result: be, status: he }) => be === "ADDED" && he !== "ACCEPTED", - ), - P = !Z && E?.result === "ADDED" && E?.status !== "ACCEPTED", - W = - !Z && - C?.result === "ADDED" && - E?.result !== "ADDED" && - E?.status !== "ACCEPTED"; - ne(() => { - (b.current !== o || - h.current !== y.selectedComparison?.id || - v.current !== f.id || - Z || - P || - W) && - (u(!1), m(!1), p(!1)), - (h.current = y.selectedComparison?.id), - (b.current = o), - (v.current = f.id); - }, [f.id, o, y, u, m, p, Z, P, W]); - let q = a.createElement(o8, { - tests: k, - startedAt: g, - isStarting: t, - isBuildFailed: n, - isOutdated: e, - shouldSwitchToLastBuildOnBranch: r, - switchToLastBuildOnBranch: i, - }); - if (t || !k.length) - return a.createElement( - cs, - { hidden: l }, - a.createElement(ds, null, a.createElement(ss, null, q)), - a.createElement(us, null, a.createElement(ts, null)), - ); - let se = io(k), - { isInProgress: ie } = se, - Oe = - C?.headCapture?.captureError && - "error" in C?.headCapture?.captureError && - C?.headCapture?.captureError?.error; - return a.createElement( - cs, - { hidden: l }, - a.createElement( - ds, - null, - a.createElement( - ss, - null, - q, - a.createElement(cf, { isOutdated: e }), - ), - ), - a.createElement( - s8, - null, - ie && a.createElement(yi, null), - !ie && - Z && - a.createElement( - zi, - null, - a.createElement( - Y, - null, - "New story found. Accept this snapshot as a test baseline.", - " ", - a.createElement( - Ge, - { - withArrow: !0, - href: "https://www.chromatic.com/docs/branching-and-baselines", - target: "_blank", - }, - "Learn more", - ), - ), - ), - !ie && - P && - a.createElement( - zi, - null, - a.createElement( - Y, - null, - "New mode found. Accept this snapshot as a test baseline.", - " ", - a.createElement( - Ge, - { - withArrow: !0, - href: "https://www.chromatic.com/docs/branching-and-baselines", - target: "_blank", - }, - "Learn more", - ), - ), - ), - !ie && - W && - a.createElement( - zi, - null, - a.createElement( - Y, - null, - "New browser found. Accept this snapshot as a test baseline.", - " ", - a.createElement( - Ge, - { - withArrow: !0, - href: "https://www.chromatic.com/docs/branching-and-baselines", - target: "_blank", - }, - "Learn more", - ), - ), - ), - !ie && - C && - a.createElement(q6, { - key: C.id, - componentName: E?.story?.component?.name, - storyName: E?.story?.name, - testUrl: E?.webUrl, - comparisonResult: C.result ?? void 0, - latestImage: C.headCapture?.captureImage ?? void 0, - baselineImage: C.baseCapture?.captureImage ?? void 0, - baselineImageVisible: s, - diffImage: C.captureDiff?.diffImage ?? void 0, - focusImage: C.captureDiff?.focusImage ?? void 0, - diffVisible: c, - focusVisible: d, - }), - !ie && - Oe && - a.createElement( - a.Fragment, - null, - a.createElement( - c8, - null, - a.createElement("b", null, "Error stack trace"), - ), - a.createElement(d8, null, Oe.stack || Oe.message), - ), - ), - a.createElement(us, null, a.createElement(ts, null)), - ); - }, - m8 = w(gi)({ padding: "4px 8px", margin: "0 6px" }), - p8 = ({ onClose: e }) => - a.createElement( - s0, - null, - a.createElement( - ml, - null, - a.createElement( - Mr, - null, - "Warnings", - a.createElement(m8, { status: "warning" }, "2"), - a.createElement( - Yl, - { onClick: e }, - a.createElement(ql, { "aria-label": "Close" }), - ), - ), - a.createElement( - "p", - null, - "It's essential that your components and stories render in a consistent fashion to prevent false positives. Two issues detected in this story may cause false positives.", - ), - a.createElement( - "p", - null, - a.createElement( - pe, - { variant: "outline" }, - a.createElement(gs, null), - "Docs", - ), - a.createElement( - pe, - { variant: "outline" }, - a.createElement(U5, null), - "Get support", - ), - ), - ), - ); - w.div(({ theme: e }) => ({ - color: e.color.warning, - background: e.background.warning, - padding: 10, - lineHeight: "18px", - position: "relative", - })); - var h8 = ({ - branch: e, - dismissBuildError: t, - isOutdated: n, - localBuildProgress: r, - switchToLastBuildOnBranch: i, - storyId: l, - }) => { - let { settingsVisible: o, warningsVisible: s } = Kr(), - { toggleSettings: c, toggleWarnings: d } = Hn(), - { isRunning: u, startBuild: m, stopBuild: p } = Pa(), - { - lastBuildOnBranch: f, - lastBuildOnBranchIsReady: g, - lastBuildOnBranchIsSelectable: y, - } = a6(), - k = cc(), - b = yn(), - { buildIsReviewable: h, userCanReview: v } = pc(), - E = !!(!h && g && y && i), - C = f?.status === "IN_PROGRESS", - Z = u || (!h && !E), - P = r && r?.buildId === f?.id, - W = - Z && - a.createElement(j6, { - branch: e, - dismissBuildError: t, - localBuildProgress: P || u ? r : void 0, - lastBuildOnBranchInProgress: C, - switchToLastBuildOnBranch: i, - }), - q = b?.hasTests && b?.tests.length === 0, - se = k.id !== `Build:${r?.buildId}`; - if (q) - return a.createElement( - _e, - null, - a.createElement( - Se, - null, - r && se - ? a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Snapshotting new story"), - a.createElement( - Y, - { center: !0, muted: !0 }, - 'A new snapshot is being created in a standardized cloud browser to save its "last known good state" as a test baseline.', - ), - ), - a.createElement(oi, { localBuildProgress: r }), - ) - : a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "New story found"), - a.createElement( - Y, - { center: !0, muted: !0 }, - 'Take an image snapshot of this story to save its "last known good state" as a test baseline. This unlocks visual regression testing so you can see exactly what has changed down to the pixel.', - ), - ), - a.createElement( - pe, - { - belowText: !0, - size: "medium", - variant: "solid", - onClick: u ? p : m, - }, - u ? "Cancel build" : "Create visual test", - ), - ), - ), - ); - if (b?.tests?.find((le) => le.result === "SKIPPED")) - return a.createElement( - _e, - null, - W, - a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "This story was skipped"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "If you would like to resume testing it, comment out or remove", - a.createElement(ze, null, "disableSnapshot = true"), - " from the CSF file.", - ), - ), - a.createElement( - pe, - { asChild: !0, size: "medium", variant: "outline" }, - a.createElement( - "a", - { - href: "https://www.chromatic.com/docs/ignoring-elements#with-storybook", - target: "_new", - }, - a.createElement(gs, null), - "View docs", - ), - ), - ), - ), - ); - let { status: ie } = k, - Oe = ["ANNOUNCED", "PUBLISHED", "PREPARED"].includes(ie), - be = ie === "FAILED", - he = ie === "PENDING" && (!v || !h); - return a.createElement( - _e, - { footer: null }, - a.createElement( - D4, - null, - W, - !W && - he && - a.createElement( - I6, - null, - v - ? a.createElement( - a.Fragment, - null, - "Reviewing is disabled because there's a newer build on ", - a.createElement(ze, null, e), - ".", - ) - : a.createElement( - a.Fragment, - null, - "You don't have permission to accept changes.", - " ", - a.createElement( - nn, - { - href: "https://www.chromatic.com/docs/collaborators#roles", - target: "_blank", - withArrow: !0, - }, - "Learn about roles", - ), - ), - ), - a.createElement( - ga, - { grow: !0, hidden: o || s }, - a.createElement(u8, { - hidden: o || s, - isOutdated: n, - isStarting: Oe, - isBuildFailed: be, - shouldSwitchToLastBuildOnBranch: E, - switchToLastBuildOnBranch: i, - selectedBuild: k, - storyId: l, - }), - ), - a.createElement( - ga, - { grow: !0, hidden: !o }, - a.createElement(z6, { onClose: () => c(!1) }), - ), - a.createElement( - ga, - { grow: !0, hidden: !s }, - a.createElement(p8, { onClose: () => d(!1) }), - ), - ), - ); - }, - Ui = w(Ge)(() => ({ marginTop: 5 })), - f8 = ({ - queryError: e, - hasData: t, - hasProject: n, - hasSelectedBuild: r, - localBuildProgress: i, - branch: l, - }) => { - let { setAccessToken: o } = e0(), - { isRunning: s, startBuild: c } = Pa(), - { disable: d, disableSnapshot: u, docsOnly: m } = yo("chromatic", {}), - p = () => { - let f = a.createElement( - pe, - { disabled: s, size: "medium", variant: "solid", onClick: c }, - a.createElement(qt, null), - "Take snapshots", - ); - return i - ? i.currentStep === "error" - ? a.createElement( - a.Fragment, - null, - a.createElement(dc, { - localBuildProgress: i, - title: "Build failed", - }), - f, - ) - : a.createElement(oi, { localBuildProgress: i }) - : f; - }; - return a.createElement( - _e, - { - footer: a.createElement( - Xr, - null, - a.createElement( - dt, - null, - t && - !e && - n && - a.createElement( - Y, - { muted: !0, style: { marginLeft: 5 } }, - "Waiting for build on ", - l, - ), - ), - a.createElement(dt, { push: !0 }, a.createElement(Jr, null)), - ), - }, - e?.networkError - ? a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Network error"), - a.createElement(Y, null, e.networkError.message), - ), - a.createElement( - pe, - { - size: "medium", - variant: "solid", - onClick: () => o(null), - }, - "Log out", - ), - ), - ) - : e?.graphQLErrors?.length - ? a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, e.graphQLErrors[0].message), - a.createElement( - Y, - { center: !0, muted: !0 }, - e.graphQLErrors[0].extensions.code === "FORBIDDEN" - ? "You may have insufficient permissions. Try logging out and back in again." - : "Try logging out or clear your browser's local storage.", - ), - ), - a.createElement( - Ft, - null, - a.createElement( - pe, - { - size: "medium", - variant: "solid", - onClick: () => o(null), - }, - "Log out", - ), - a.createElement( - Ui, - { - withArrow: !0, - href: `${Ss}#troubleshooting`, - target: "_blank", - }, - "Troubleshoot", - ), - ), - ), - ) - : t - ? n - ? d || u || m - ? a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement( - ve, - null, - "Visual tests disabled for this story", - ), - a.createElement( - Y, - { center: !0, muted: !0 }, - "Update ", - a.createElement( - "code", - null, - "parameters.chromatic.", - d - ? "disable" - : u - ? "disableSnapshot" - : "docsOnly", - ), - " to enable snapshots for this story.", - ), - ), - a.createElement( - Ui, - { - withArrow: !0, - href: "https://www.chromatic.com/docs/ignoring-elements#with-storybook", - target: "_blank", - }, - "Read more", - ), - ), - ) - : r - ? null - : a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement( - ve, - null, - "Create a test baseline", - ), - a.createElement( - Y, - { center: !0, muted: !0 }, - 'Take an image snapshot of your stories to save their "last known good state" as test baselines.', - ), - ), - p(), - ), - ) - : a.createElement( - Se, - null, - a.createElement( - me, - null, - a.createElement( - "div", - null, - a.createElement(ve, null, "Project not found"), - a.createElement( - Y, - { center: !0, muted: !0 }, - "You may not have access to this project or it may not exist.", - ), - ), - a.createElement( - Ui, - { - isButton: !0, - onClick: () => o(null), - withArrow: !0, - }, - "Switch account", - ), - ), - ) - : a.createElement(yi, null), - ); - }, - g8 = (e) => Object.fromEntries(Object.entries(e).map(([t]) => [t, null])), - v8 = ({ - buildIsReviewable: e, - userCanReview: t, - onReviewSuccess: n, - onReviewError: r, - }) => { - let [{ fetching: i }, l] = Zs(t6), - o = G( - async (d) => { - try { - if (!e) throw new Error("Build is not reviewable"); - if (!t) throw new Error("No permission to review tests"); - let { error: u } = await l({ input: d }); - if (u) throw u; - n?.(d); - } catch (u) { - r?.(u, d); - } - }, - [n, r, l, e, t], - ), - s = G( - (d, u = "SPEC") => o({ status: "ACCEPTED", testId: d, batch: u }), - [o], - ), - c = G( - (d, u = "SPEC") => o({ status: "PENDING", testId: d, batch: u }), - [o], - ); - return { - isReviewing: i, - acceptTest: s, - unacceptTest: c, - buildIsReviewable: e, - userCanReview: t, - }; - }, - y8 = yt(` - mutation UpdateUserPreferences($input: UserPreferencesInput!) { - updateUserPreferences(input: $input) { - updatedPreferences { - vtaOnboarding - } - } - } -`), - b8 = ({ lastBuildOnBranch: e, vtaOnboarding: t }) => { - let n = kn(), - { notifications: r, storyId: i } = en(), - [l, o] = a.useState(!1), - s = a.useCallback(() => { - o(!0), r.forEach(({ id: h }) => n.clearNotification(h)); - }, [n, r]), - [c, d] = a.useState(!1), - u = a.useCallback(() => d(!0), []), - [m, p] = a.useState(!0); - a.useEffect(() => { - if (n?.getUrlState?.().queryParams.vtaOnboarding === "true") { - p(!1); - return; - } - t && p(t === "COMPLETED" || t === "DISMISSED"); - }, [n, t]); - let [{ fetching: f }, g] = Zs(y8), - y = a.useCallback( - async (h) => { - await g({ - input: { vtaOnboarding: h ? "COMPLETED" : "DISMISSED" }, - }), - p(!0), - d(!1); - let E = new URL(window.location.href); - E.searchParams.has("vtaOnboarding") && - (E.searchParams.delete("vtaOnboarding"), - window.history.replaceState({}, "", E.href)); - }, - [g], - ), - k = a.useMemo( - () => - ( - (e && - "testsForStatus" in e && - e.testsForStatus?.nodes && - An(oc, e.testsForStatus.nodes)) || - [] - ).some( - (h) => - h?.status === "PENDING" && - h?.result === "CHANGED" && - h?.story?.storyId === i, - ), - [e, i], - ), - b = !l && !m && !c; - return { - showOnboarding: b, - showGuidedTour: !b && !m, - completeOnboarding: s, - skipOnboarding: a.useCallback(() => y(!1), [y]), - completeWalkthrough: a.useCallback(() => y(!0), [y]), - skipWalkthrough: a.useCallback(() => y(!1), [y]), - startWalkthrough: u, - lastBuildHasChangesForStory: k, - isUpdating: f, - }; - }, - E8 = ({ - isOutdated: e, - selectedBuildInfo: t, - setSelectedBuildInfo: n, - dismissBuildError: r, - localBuildProgress: i, - setOutdated: l, - updateBuildStatus: o, - projectId: s, - gitInfo: c, - storyId: d, - }) => { - let u = kn(), - { addNotification: m, setOptions: p, togglePanel: f } = u, - g = n6({ - projectId: s, - storyId: d, - gitInfo: c, - selectedBuildInfo: t, - }), - { - account: y, - features: k, - manageUrl: b, - hasData: h, - hasProject: v, - hasSelectedBuild: E, - lastBuildOnBranch: C, - lastBuildOnBranchIsReady: Z, - lastBuildOnBranchIsSelectable: P, - selectedBuild: W, - selectedBuildMatchesGit: q, - queryError: se, - rerunQuery: ie, - userCanReview: Oe, - } = g, - be = G( - ({ onDismiss: S }) => { - S(), p({ selectedPanel: fn }), f(!0); - }, - [p, f], - ), - he = v8({ - buildIsReviewable: !!W && W.id === C?.id, - userCanReview: Oe, - onReviewSuccess: ie, - onReviewError: (S, N) => { - S instanceof Error && - m({ - id: `${H}/errorAccepting/${Date.now()}`, - content: { - headline: `Failed to ${N.status === "ACCEPTED" ? "accept" : "unaccept"} changes`, - subHeadline: S.message, - }, - icon: a.createElement(Ot, { color: mt.negative }), - duration: 8e3, - onClick: be, - }); - }, - }); - ne(() => l(!q), [q, l]); - let le = - C && - "testsForStatus" in C && - C.testsForStatus?.nodes && - An(oc, C.testsForStatus.nodes), - Ue = P && x3(u, le || []); - ne(() => { - o((S) => ({ ...g8(S), ...Ue })); - }, [JSON.stringify(Ue), o]), - ne(() => { - n((S) => - N3(S, { - shouldSwitchToLastBuildOnBranch: P && Z, - lastBuildOnBranchId: C?.id, - storyId: d, - }), - ); - }, [P, Z, C?.id, n, d]); - let Fe = G( - () => C?.id && P && n({ buildId: C.id, storyId: d }), - [n, P, C?.id, d], - ), - { - showOnboarding: kt, - showGuidedTour: Ie, - completeOnboarding: Dt, - completeWalkthrough: Jt, - skipOnboarding: ci, - skipWalkthrough: $n, - startWalkthrough: Wn, - lastBuildHasChangesForStory: Wa, - } = b8(g); - return k && !k.uiTests - ? a.createElement(M3, { manageUrl: b }) - : y?.suspensionReason - ? a.createElement(N0, { - billingUrl: y.billingUrl, - suspensionReason: y.suspensionReason, - }) - : kt && v - ? a.createElement( - a.Fragment, - null, - !h || se - ? a.createElement(a.Fragment, null) - : a.createElement( - Vi, - { watchState: g }, - a.createElement(R6, { - gitInfo: c, - projectId: s, - updateBuildStatus: o, - dismissBuildError: r, - localBuildProgress: i, - showInitialBuildScreen: !W, - onComplete: Dt, - onSkip: ci, - lastBuildHasChangesForStory: Wa, - }), - ), - ) - : a.createElement( - a.Fragment, - null, - !W || !E || !h || se - ? a.createElement(f8, { - queryError: se, - hasData: h, - hasProject: v, - hasSelectedBuild: E, - branch: c.branch, - dismissBuildError: r, - isOutdated: e, - localBuildProgress: i, - ...(P && { switchToLastBuildOnBranch: Fe }), - }) - : a.createElement( - U6, - { watchState: he }, - a.createElement( - Vi, - { watchState: g }, - a.createElement(h8, { - branch: c.branch, - dismissBuildError: r, - isOutdated: e, - localBuildProgress: i, - ...(C && { lastBuildOnBranch: C }), - ...(P && { switchToLastBuildOnBranch: Fe }), - userCanReview: Oe, - storyId: d, - }), - ), - ), - Ie && - a.createElement( - Vi, - { watchState: { selectedBuild: W } }, - a.createElement(h6, { - managerApi: u, - skipWalkthrough: $n, - startWalkthrough: Wn, - completeWalkthrough: Jt, - }), - ), - ); - }, - k8 = (e) => { - let [t, n] = ot("selectedBuildInfo"); - return a.createElement(E8, { - selectedBuildInfo: t, - setSelectedBuildInfo: n, - ...e, - }); - }, - Sn = new Map(), - w8 = () => { - let e = Kn({ - [fu]: (t) => { - let n = Sn.get(t.requestId); - if (n) - if ((Sn.delete(t.requestId), "error" in t)) - n.reject(new Error(t.error)); - else { - let { - body: r, - headers: i, - status: l, - statusText: o, - } = t.response, - s = new Response(r, { headers: i, status: l, statusText: o }); - n.resolve(s); - } - }, - }); - return async (t, { signal: n, ...r } = {}) => { - if (n?.aborted) return Promise.reject(n.reason); - let i = Math.random().toString(36).slice(2); - return ( - n?.addEventListener("abort", () => { - e(pu, { requestId: i }), - Sn.get(i)?.reject(n.reason), - Sn.delete(i); - }), - e(hu, { requestId: i, input: t, init: r }), - new Promise((l, o) => { - Sn.set(i, { resolve: l, reject: o }), - setTimeout(() => { - o(new Error("Request timed out")), Sn.delete(i); - }, 3e4); - }) - ); - }; - }, - C8 = ({ active: e, api: t }) => { - let [n, r] = Pl(), - i = G( - (Ie) => { - r(Ie), Ie || v4("authenticationScreen", "exchangeParameters"); - }, - [r], - ), - { storyId: l } = en(), - [o, s] = Pe(window.navigator.onLine); - ne(() => { - let Ie = () => s(!0), - Dt = () => s(!1); - return ( - window.addEventListener("online", Ie), - window.addEventListener("offline", Dt), - () => { - window.removeEventListener("online", Ie), - window.removeEventListener("offline", Dt); - } - ); - }, []); - let [c] = Ae(lu), - [d] = Ae(_l), - [u] = Ae(Ol), - [m] = Ae(hr), - [p, f] = Ae(Al), - [, g] = Ae(hr), - y = Kn({}), - k = G((Ie) => t.experimental_updateStatus(H, Ie), [t]), - { - loading: b, - projectId: h, - configFile: v, - updateProject: E, - projectUpdatingFailed: C, - projectIdUpdated: Z, - clearProjectIdUpdated: P, - } = Dl(), - [W, q] = ot("createdProjectId"), - [se, ie] = Ae(Cs), - Oe = G((Ie) => y(uu, Ie), [y]), - { - isRunning: be, - startBuild: he, - stopBuild: le, - } = Vl({ localBuildProgress: p, accessToken: n }), - Ue = w8(), - Fe = (Ie) => - a.createElement( - D2, - { value: Ps({ fetch: Ue }) }, - a.createElement( - H2, - { value: Oe }, - a.createElement( - Lm, - { value: { accessToken: n, setAccessToken: i } }, - a.createElement( - y4, - { addonUninstalled: se, setAddonUninstalled: ie }, - a.createElement( - P4, - null, - a.createElement( - C3, - { - watchState: { - isRunning: be, - startBuild: he, - stopBuild: le, - }, - }, - a.createElement( - "div", - { - hidden: !e, - style: { containerType: "size", height: "100%" }, - }, - Ie, - ), - ), - ), - ), - ), - ), - ); - if (!e) return Fe(null); - if (globalThis.CONFIG_TYPE !== "DEVELOPMENT") - return Fe(a.createElement(E3, null)); - if (se) return Fe(a.createElement(w3, null)); - if (u) return Fe(a.createElement(k3, { offline: u })); - if (!n) - return Fe( - a.createElement(r3, { - setAccessToken: i, - setCreatedProjectId: q, - hasProjectId: !!h, - }), - ); - if (b) return e ? a.createElement(ul, null) : null; - if (!h) - return Fe( - a.createElement(g3, { - createdProjectId: W, - setCreatedProjectId: q, - onUpdateProject: E, - }), - ); - if (d || !c) return console.error(d), Fe(a.createElement(l3, null)); - if (C) { - if (!v) - throw new Error("Missing config file after configuration failure"); - return Fe(a.createElement(h3, { projectId: h, configFile: v })); - } - if (Z) { - if (!v) - throw new Error("Missing config file after configuration success"); - return Fe( - a.createElement(d3, { projectId: h, configFile: v, goToNext: P }), - ); - } - let kt = c.branch === p?.branch; - return Fe( - a.createElement(k8, { - dismissBuildError: () => f(void 0), - isOutdated: !!m, - localBuildProgress: kt ? p : void 0, - setOutdated: g, - updateBuildStatus: k, - projectId: h, - gitInfo: c, - storyId: l, - }), - ); - }, - $i = ut(Ia()), - S8 = ({ api: e, running: t }) => { - let { - addNotification: n, - selectStory: r, - setOptions: i, - togglePanel: l, - } = e, - o = zt(Ba), - { projectId: s } = Dl(), - [c] = Pl(), - d = !!c, - [u, m] = Ae(Ol), - [p] = Ae(hr), - [f] = Ae(Al), - [g] = Ae(Wr), - y = Object.keys(g?.problems || {}).length > 0, - [k] = Ae(_l), - b = Be(f?.currentStep), - { index: h, status: v, storyId: E, viewMode: C } = en(), - Z = Object.values(v).filter((he) => he[H]?.status === "warn"), - P = G( - (he) => { - if ((i({ selectedPanel: fn }), l(!0), h && C !== "story")) { - let le = Object.keys(h).indexOf(E), - Ue = Object.entries(h).slice(le > 0 ? le : 0), - [Fe] = Ue.find(([, { type: kt }]) => kt === "story") || []; - Fe && r(Fe); - } - he && o?.({ action: "openWarning", warning: he }); - }, - [i, l, o, h, r, E, C], - ), - W = G( - ({ onDismiss: he }) => { - he(), P(); - }, - [P], - ); - ne(() => { - let he = () => m(!0), - le = () => m(!1); - return ( - window.addEventListener("offline", he), - window.addEventListener("online", le), - () => { - window.removeEventListener("offline", he), - window.removeEventListener("online", le); - } - ); - }, [m]), - ne(() => { - f?.currentStep !== b.current && - ((b.current = f?.currentStep), - f?.currentStep === "error" && - n({ - id: `${H}/build-error/${Date.now()}`, - content: { - headline: "Build error", - subHeadline: - "Check the Storybook process on the command line for more details.", - }, - icon: a.createElement(Ot, { color: mt.negative }), - onClick: W, - }), - f?.currentStep === "limited" && - n({ - id: `${H}/build-limited/${Date.now()}`, - content: { - headline: "Build limited", - subHeadline: - "Your account has insufficient snapshots remaining to run this build. Visit your billing page to find out more.", - }, - icon: a.createElement(Ot, { color: mt.negative }), - onClick: W, - })); - }, [n, W, f?.currentStep]); - let { startBuild: q, stopBuild: se } = Vl({ - localBuildProgress: f, - accessToken: c, - }), - ie; - s || (ie = "Select a project"), - d || (ie = "Login required"), - k && (ie = "Git synchronization problem"), - y && (ie = "Configuration problem"), - u && (ie = "Not available while offline"); - let Oe = G(() => P(ie), [P, ie]), - be = Kn( - { - [vu]: ({ providerId: he }) => { - he === dr && q(); - }, - [yu]: ({ providerId: he }) => { - he === dr && se(); - }, - }, - [q, se], - ); - if ( - (ne(() => { - be(gu, { providerId: dr, runnable: !ie }); - }, [be, ie]), - ie) - ) - return a.createElement(nn, { onClick: Oe }, ie); - if (t) { - if (f) { - let { renderProgress: he } = Hl[f.currentStep]; - return a.createElement(a.Fragment, null, he(f)); - } - return a.createElement(a.Fragment, null, "Starting..."); - } - return p - ? a.createElement(a.Fragment, null, "Test results outdated") - : f?.currentStep === "aborted" - ? a.createElement(a.Fragment, null, "Aborted by user") - : f?.currentStep === "complete" - ? f.errorCount - ? a.createElement( - a.Fragment, - null, - "Encountered ", - (0, $i.default)("component error", f.errorCount, !0), - ) - : Z.length - ? a.createElement( - a.Fragment, - null, - "Found ", - (0, $i.default)("story", Z.length, !0), - " with", - (0, $i.default)("change", Z.length), - ) - : a.createElement( - a.Fragment, - null, - "No visual changes detected", - ) - : a.createElement(a.Fragment, null, "Not run"); - }, - ms; - En.register(H, (e) => { - if ( - (En.add(fn, { - type: Qa.PANEL, - title: "Visual tests", - paramKey: mu, - match: ({ viewMode: r }) => r === "story", - render: ({ active: r }) => - a.createElement(C8, { active: !!r, api: e }), - }), - globalThis.CONFIG_TYPE !== "DEVELOPMENT") - ) - return; - Qa.experimental_TEST_PROVIDER - ? En.add(dr, { - type: Qa.experimental_TEST_PROVIDER, - runnable: !0, - name: "Visual tests", - title: ({ failed: r }) => - r ? "Visual tests didn't complete" : "Visual tests", - description: (r) => a.createElement(S8, { ...r, api: e }), - }) - : (En.add(ru, { - type: "sidebar-top", - render: () => a.createElement(Fm, { api: e }), - }), - En.add(iu, { - type: "sidebar-bottom", - render: () => a.createElement(Fu, { api: e }), - })); - let t = e.getChannel(); - if (!t) return; - let n; - t.on(`${H}/heartbeat`, () => { - clearTimeout(ms), - n && (e.clearNotification(n), (n = void 0)), - (ms = setTimeout(() => { - (n = `${H}/connection-lost/${Date.now()}`), - e.addNotification({ - id: n, - content: { - headline: "Connection lost", - subHeadline: - "Lost connection to the Storybook server. Try refreshing the page.", - }, - icon: a.createElement(Ot, { color: mt.negative }), - link: void 0, - }); - }, 3e3)); - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt deleted file mode 100644 index bcd288f5..00000000 --- a/docs/public/stories/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt +++ /dev/null @@ -1,40 +0,0 @@ -Bundled license information: - -filesize/dist/filesize.esm.js: - /** - * filesize - * - * @copyright 2024 Jason Mulligan - * @license BSD-3-Clause - * @version 10.1.6 - */ - -@chromatic-com/storybook/dist/manager.mjs: - /*! Bundled license information: - - popper.js/dist/esm/popper.js: - (**! - * @fileOverview Kickass library to create and place poppers near their reference elements. - * @version 1.16.1 - * @license - * Copyright (c) 2016 Federico Zivolo and contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - *) - */ diff --git a/docs/public/stories/sb-addons/essentials-actions-3/manager-bundle.js b/docs/public/stories/sb-addons/essentials-actions-3/manager-bundle.js deleted file mode 100644 index 2eeed9fd..00000000 --- a/docs/public/stories/sb-addons/essentials-actions-3/manager-bundle.js +++ /dev/null @@ -1,2379 +0,0 @@ -try { - (() => { - var o = __REACT__, - { - Children: Re, - Component: Ae, - Fragment: Ce, - Profiler: Jr, - PureComponent: qr, - StrictMode: Xr, - Suspense: Zr, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Kr, - cloneElement: Qr, - createContext: K, - createElement: en, - createFactory: tn, - createRef: rn, - forwardRef: Ne, - isValidElement: nn, - lazy: an, - memo: G, - startTransition: on, - unstable_act: sn, - useCallback: x, - useContext: Q, - useDebugValue: ln, - useDeferredValue: un, - useEffect: we, - useId: cn, - useImperativeHandle: pn, - useInsertionEffect: fn, - useLayoutEffect: xe, - useMemo: Le, - useReducer: dn, - useRef: Ie, - useState: W, - useSyncExternalStore: mn, - useTransition: gn, - version: bn, - } = __REACT__; - var Tn = __STORYBOOK_COMPONENTS__, - { - A: _n, - ActionBar: De, - AddonPanel: vn, - Badge: Me, - Bar: Sn, - Blockquote: Rn, - Button: An, - ClipboardCode: Cn, - Code: Nn, - DL: wn, - Div: xn, - DocumentWrapper: Ln, - EmptyTabContent: In, - ErrorFormatter: Dn, - FlexBar: Mn, - Form: Pn, - H1: Bn, - H2: Fn, - H3: Hn, - H4: zn, - H5: Un, - H6: jn, - HR: kn, - IconButton: Gn, - IconButtonSkeleton: Wn, - Icons: Vn, - Img: $n, - LI: Yn, - Link: Jn, - ListItem: qn, - Loader: Xn, - Modal: Zn, - OL: Kn, - P: Qn, - Placeholder: ea, - Pre: ta, - ResetWrapper: ra, - ScrollArea: Pe, - Separator: na, - Spaced: Be, - Span: aa, - StorybookIcon: oa, - StorybookLogo: ia, - Symbols: sa, - SyntaxHighlighter: la, - TT: ua, - TabBar: ca, - TabButton: pa, - TabWrapper: fa, - Table: da, - Tabs: ma, - TabsState: ga, - TooltipLinkList: ba, - TooltipMessage: ha, - TooltipNote: Ea, - UL: ya, - WithTooltip: Oa, - WithTooltipPure: Ta, - Zoom: _a, - codeCommon: va, - components: Sa, - createCopyToClipboardFunction: Ra, - getStoryHref: Aa, - icons: Ca, - interleaveSeparators: Na, - nameSpaceClassNames: wa, - resetComponents: xa, - withReset: La, - } = __STORYBOOK_COMPONENTS__; - var Ba = __STORYBOOK_CORE_EVENTS__, - { - ARGTYPES_INFO_REQUEST: Fa, - ARGTYPES_INFO_RESPONSE: Ha, - CHANNEL_CREATED: za, - CHANNEL_WS_DISCONNECT: Ua, - CONFIG_ERROR: ja, - CREATE_NEW_STORYFILE_REQUEST: ka, - CREATE_NEW_STORYFILE_RESPONSE: Ga, - CURRENT_STORY_WAS_SET: Wa, - DOCS_PREPARED: Va, - DOCS_RENDERED: $a, - FILE_COMPONENT_SEARCH_REQUEST: Ya, - FILE_COMPONENT_SEARCH_RESPONSE: Ja, - FORCE_REMOUNT: qa, - FORCE_RE_RENDER: Xa, - GLOBALS_UPDATED: Za, - NAVIGATE_URL: Ka, - PLAY_FUNCTION_THREW_EXCEPTION: Qa, - PRELOAD_ENTRIES: eo, - PREVIEW_BUILDER_PROGRESS: to, - PREVIEW_KEYDOWN: ro, - REGISTER_SUBSCRIPTION: no, - REQUEST_WHATS_NEW_DATA: ao, - RESET_STORY_ARGS: oo, - RESULT_WHATS_NEW_DATA: io, - SAVE_STORY_REQUEST: so, - SAVE_STORY_RESPONSE: lo, - SELECT_STORY: uo, - SET_CONFIG: co, - SET_CURRENT_STORY: po, - SET_FILTER: fo, - SET_GLOBALS: mo, - SET_INDEX: go, - SET_STORIES: bo, - SET_WHATS_NEW_CACHE: ho, - SHARED_STATE_CHANGED: Eo, - SHARED_STATE_SET: yo, - STORIES_COLLAPSE_ALL: Oo, - STORIES_EXPAND_ALL: To, - STORY_ARGS_UPDATED: _o, - STORY_CHANGED: V, - STORY_ERRORED: vo, - STORY_INDEX_INVALIDATED: So, - STORY_MISSING: Ro, - STORY_PREPARED: Ao, - STORY_RENDERED: Co, - STORY_RENDER_PHASE_CHANGED: No, - STORY_SPECIFIED: wo, - STORY_THREW_EXCEPTION: xo, - STORY_UNCHANGED: Lo, - TELEMETRY_ERROR: Io, - TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: Do, - TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: Mo, - TESTING_MODULE_CRASH_REPORT: Po, - TESTING_MODULE_PROGRESS_REPORT: Bo, - TESTING_MODULE_RUN_ALL_REQUEST: Fo, - TESTING_MODULE_RUN_REQUEST: Ho, - TESTING_MODULE_WATCH_MODE_REQUEST: zo, - TOGGLE_WHATS_NEW_NOTIFICATIONS: Uo, - UNHANDLED_ERRORS_WHILE_PLAYING: jo, - UPDATE_GLOBALS: ko, - UPDATE_QUERY_PARAMS: Go, - UPDATE_STORY_ARGS: Wo, - } = __STORYBOOK_CORE_EVENTS__; - var ei = __STORYBOOK_API__, - { - ActiveTabs: ti, - Consumer: ri, - ManagerContext: ni, - Provider: ai, - RequestResponseError: oi, - addons: ee, - combineParameters: ii, - controlOrMetaKey: si, - controlOrMetaSymbol: li, - eventMatchesShortcut: ui, - eventToShortcut: ci, - experimental_requestResponse: pi, - isMacLike: fi, - isShortcutTaken: di, - keyToSymbol: mi, - merge: gi, - mockChannel: bi, - optionOrAltSymbol: hi, - shortcutMatchesShortcut: Ei, - shortcutToHumanString: yi, - types: Fe, - useAddonState: He, - useArgTypes: Oi, - useArgs: Ti, - useChannel: ze, - useGlobalTypes: _i, - useGlobals: vi, - useParameter: Si, - useSharedState: Ri, - useStoryPrepared: Ai, - useStorybookApi: Ci, - useStorybookState: Ni, - } = __STORYBOOK_API__; - var Ue = Object.prototype.hasOwnProperty; - function je(e, t, r) { - for (r of e.keys()) if (L(r, t)) return r; - } - function L(e, t) { - var r, n, a; - if (e === t) return !0; - if (e && t && (r = e.constructor) === t.constructor) { - if (r === Date) return e.getTime() === t.getTime(); - if (r === RegExp) return e.toString() === t.toString(); - if (r === Array) { - if ((n = e.length) === t.length) for (; n-- && L(e[n], t[n]); ); - return n === -1; - } - if (r === Set) { - if (e.size !== t.size) return !1; - for (n of e) - if ( - ((a = n), - (a && typeof a == "object" && ((a = je(t, a)), !a)) || !t.has(a)) - ) - return !1; - return !0; - } - if (r === Map) { - if (e.size !== t.size) return !1; - for (n of e) - if ( - ((a = n[0]), - (a && typeof a == "object" && ((a = je(t, a)), !a)) || - !L(n[1], t.get(a))) - ) - return !1; - return !0; - } - if (r === ArrayBuffer) (e = new Uint8Array(e)), (t = new Uint8Array(t)); - else if (r === DataView) { - if ((n = e.byteLength) === t.byteLength) - for (; n-- && e.getInt8(n) === t.getInt8(n); ); - return n === -1; - } - if (ArrayBuffer.isView(e)) { - if ((n = e.byteLength) === t.byteLength) - for (; n-- && e[n] === t[n]; ); - return n === -1; - } - if (!r || typeof e == "object") { - n = 0; - for (r in e) - if ( - (Ue.call(e, r) && ++n && !Ue.call(t, r)) || - !(r in t) || - !L(e[r], t[r]) - ) - return !1; - return Object.keys(t).length === n; - } - } - return e !== e && t !== t; - } - var Fi = __STORYBOOK_THEMING__, - { - CacheProvider: Hi, - ClassNames: zi, - Global: Ui, - ThemeProvider: ji, - background: ki, - color: Gi, - convert: Wi, - create: Vi, - createCache: $i, - createGlobal: Yi, - createReset: Ji, - css: qi, - darken: Xi, - ensure: Zi, - ignoreSsrWarning: Ki, - isPropValid: Qi, - jsx: es, - keyframes: ts, - lighten: rs, - styled: F, - themes: ns, - typography: as, - useTheme: os, - withTheme: ke, - } = __STORYBOOK_THEMING__; - function O() { - return ( - (O = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var r = arguments[t]; - for (var n in r) - Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]); - } - return e; - }), - O.apply(this, arguments) - ); - } - function te(e) { - if (e === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return e; - } - function R(e, t) { - return ( - (R = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (n, a) { - return (n.__proto__ = a), n; - }), - R(e, t) - ); - } - function re(e, t) { - (e.prototype = Object.create(t.prototype)), - (e.prototype.constructor = e), - R(e, t); - } - function H(e) { - return ( - (H = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (r) { - return r.__proto__ || Object.getPrototypeOf(r); - }), - H(e) - ); - } - function ne(e) { - try { - return Function.toString.call(e).indexOf("[native code]") !== -1; - } catch { - return typeof e == "function"; - } - } - function ae() { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) - return !1; - if (typeof Proxy == "function") return !0; - try { - return ( - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ), - !0 - ); - } catch { - return !1; - } - } - function I(e, t, r) { - return ( - ae() - ? (I = Reflect.construct.bind()) - : (I = function (a, i, s) { - var l = [null]; - l.push.apply(l, i); - var u = Function.bind.apply(a, l), - c = new u(); - return s && R(c, s.prototype), c; - }), - I.apply(null, arguments) - ); - } - function z(e) { - var t = typeof Map == "function" ? new Map() : void 0; - return ( - (z = function (n) { - if (n === null || !ne(n)) return n; - if (typeof n != "function") - throw new TypeError( - "Super expression must either be null or a function", - ); - if (typeof t < "u") { - if (t.has(n)) return t.get(n); - t.set(n, a); - } - function a() { - return I(n, arguments, H(this).constructor); - } - return ( - (a.prototype = Object.create(n.prototype, { - constructor: { - value: a, - enumerable: !1, - writable: !0, - configurable: !0, - }, - })), - R(a, n) - ); - }), - z(e) - ); - } - var _ = (function (e) { - re(t, e); - function t(r) { - var n; - if (1) - n = - e.call( - this, - "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + - r + - " for more information.", - ) || this; - else for (var a, i, s; s < a; s++); - return te(n); - } - return t; - })(z(Error)); - function Ge(e, t) { - return e.substr(-t.length) === t; - } - var pt = /^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/; - function We(e) { - if (typeof e != "string") return e; - var t = e.match(pt); - return t ? parseFloat(e) : e; - } - var ft = function (t) { - return function (r, n) { - n === void 0 && (n = "16px"); - var a = r, - i = n; - if (typeof r == "string") { - if (!Ge(r, "px")) throw new _(69, t, r); - a = We(r); - } - if (typeof n == "string") { - if (!Ge(n, "px")) throw new _(70, t, n); - i = We(n); - } - if (typeof a == "string") throw new _(71, r, t); - if (typeof i == "string") throw new _(72, n, t); - return "" + a / i + t; - }; - }, - $e = ft, - ul = $e("em"); - var cl = $e("rem"); - function oe(e) { - return Math.round(e * 255); - } - function dt(e, t, r) { - return oe(e) + "," + oe(t) + "," + oe(r); - } - function U(e, t, r, n) { - if ((n === void 0 && (n = dt), t === 0)) return n(r, r, r); - var a = (((e % 360) + 360) % 360) / 60, - i = (1 - Math.abs(2 * r - 1)) * t, - s = i * (1 - Math.abs((a % 2) - 1)), - l = 0, - u = 0, - c = 0; - a >= 0 && a < 1 - ? ((l = i), (u = s)) - : a >= 1 && a < 2 - ? ((l = s), (u = i)) - : a >= 2 && a < 3 - ? ((u = i), (c = s)) - : a >= 3 && a < 4 - ? ((u = s), (c = i)) - : a >= 4 && a < 5 - ? ((l = s), (c = i)) - : a >= 5 && a < 6 && ((l = i), (c = s)); - var p = r - i / 2, - d = l + p, - f = u + p, - E = c + p; - return n(d, f, E); - } - var Ve = { - aliceblue: "f0f8ff", - antiquewhite: "faebd7", - aqua: "00ffff", - aquamarine: "7fffd4", - azure: "f0ffff", - beige: "f5f5dc", - bisque: "ffe4c4", - black: "000", - blanchedalmond: "ffebcd", - blue: "0000ff", - blueviolet: "8a2be2", - brown: "a52a2a", - burlywood: "deb887", - cadetblue: "5f9ea0", - chartreuse: "7fff00", - chocolate: "d2691e", - coral: "ff7f50", - cornflowerblue: "6495ed", - cornsilk: "fff8dc", - crimson: "dc143c", - cyan: "00ffff", - darkblue: "00008b", - darkcyan: "008b8b", - darkgoldenrod: "b8860b", - darkgray: "a9a9a9", - darkgreen: "006400", - darkgrey: "a9a9a9", - darkkhaki: "bdb76b", - darkmagenta: "8b008b", - darkolivegreen: "556b2f", - darkorange: "ff8c00", - darkorchid: "9932cc", - darkred: "8b0000", - darksalmon: "e9967a", - darkseagreen: "8fbc8f", - darkslateblue: "483d8b", - darkslategray: "2f4f4f", - darkslategrey: "2f4f4f", - darkturquoise: "00ced1", - darkviolet: "9400d3", - deeppink: "ff1493", - deepskyblue: "00bfff", - dimgray: "696969", - dimgrey: "696969", - dodgerblue: "1e90ff", - firebrick: "b22222", - floralwhite: "fffaf0", - forestgreen: "228b22", - fuchsia: "ff00ff", - gainsboro: "dcdcdc", - ghostwhite: "f8f8ff", - gold: "ffd700", - goldenrod: "daa520", - gray: "808080", - green: "008000", - greenyellow: "adff2f", - grey: "808080", - honeydew: "f0fff0", - hotpink: "ff69b4", - indianred: "cd5c5c", - indigo: "4b0082", - ivory: "fffff0", - khaki: "f0e68c", - lavender: "e6e6fa", - lavenderblush: "fff0f5", - lawngreen: "7cfc00", - lemonchiffon: "fffacd", - lightblue: "add8e6", - lightcoral: "f08080", - lightcyan: "e0ffff", - lightgoldenrodyellow: "fafad2", - lightgray: "d3d3d3", - lightgreen: "90ee90", - lightgrey: "d3d3d3", - lightpink: "ffb6c1", - lightsalmon: "ffa07a", - lightseagreen: "20b2aa", - lightskyblue: "87cefa", - lightslategray: "789", - lightslategrey: "789", - lightsteelblue: "b0c4de", - lightyellow: "ffffe0", - lime: "0f0", - limegreen: "32cd32", - linen: "faf0e6", - magenta: "f0f", - maroon: "800000", - mediumaquamarine: "66cdaa", - mediumblue: "0000cd", - mediumorchid: "ba55d3", - mediumpurple: "9370db", - mediumseagreen: "3cb371", - mediumslateblue: "7b68ee", - mediumspringgreen: "00fa9a", - mediumturquoise: "48d1cc", - mediumvioletred: "c71585", - midnightblue: "191970", - mintcream: "f5fffa", - mistyrose: "ffe4e1", - moccasin: "ffe4b5", - navajowhite: "ffdead", - navy: "000080", - oldlace: "fdf5e6", - olive: "808000", - olivedrab: "6b8e23", - orange: "ffa500", - orangered: "ff4500", - orchid: "da70d6", - palegoldenrod: "eee8aa", - palegreen: "98fb98", - paleturquoise: "afeeee", - palevioletred: "db7093", - papayawhip: "ffefd5", - peachpuff: "ffdab9", - peru: "cd853f", - pink: "ffc0cb", - plum: "dda0dd", - powderblue: "b0e0e6", - purple: "800080", - rebeccapurple: "639", - red: "f00", - rosybrown: "bc8f8f", - royalblue: "4169e1", - saddlebrown: "8b4513", - salmon: "fa8072", - sandybrown: "f4a460", - seagreen: "2e8b57", - seashell: "fff5ee", - sienna: "a0522d", - silver: "c0c0c0", - skyblue: "87ceeb", - slateblue: "6a5acd", - slategray: "708090", - slategrey: "708090", - snow: "fffafa", - springgreen: "00ff7f", - steelblue: "4682b4", - tan: "d2b48c", - teal: "008080", - thistle: "d8bfd8", - tomato: "ff6347", - turquoise: "40e0d0", - violet: "ee82ee", - wheat: "f5deb3", - white: "fff", - whitesmoke: "f5f5f5", - yellow: "ff0", - yellowgreen: "9acd32", - }; - function mt(e) { - if (typeof e != "string") return e; - var t = e.toLowerCase(); - return Ve[t] ? "#" + Ve[t] : e; - } - var gt = /^#[a-fA-F0-9]{6}$/, - bt = /^#[a-fA-F0-9]{8}$/, - ht = /^#[a-fA-F0-9]{3}$/, - Et = /^#[a-fA-F0-9]{4}$/, - ie = - /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, - yt = - /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, - Ot = - /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, - Tt = - /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i; - function D(e) { - if (typeof e != "string") throw new _(3); - var t = mt(e); - if (t.match(gt)) - return { - red: parseInt("" + t[1] + t[2], 16), - green: parseInt("" + t[3] + t[4], 16), - blue: parseInt("" + t[5] + t[6], 16), - }; - if (t.match(bt)) { - var r = parseFloat((parseInt("" + t[7] + t[8], 16) / 255).toFixed(2)); - return { - red: parseInt("" + t[1] + t[2], 16), - green: parseInt("" + t[3] + t[4], 16), - blue: parseInt("" + t[5] + t[6], 16), - alpha: r, - }; - } - if (t.match(ht)) - return { - red: parseInt("" + t[1] + t[1], 16), - green: parseInt("" + t[2] + t[2], 16), - blue: parseInt("" + t[3] + t[3], 16), - }; - if (t.match(Et)) { - var n = parseFloat((parseInt("" + t[4] + t[4], 16) / 255).toFixed(2)); - return { - red: parseInt("" + t[1] + t[1], 16), - green: parseInt("" + t[2] + t[2], 16), - blue: parseInt("" + t[3] + t[3], 16), - alpha: n, - }; - } - var a = ie.exec(t); - if (a) - return { - red: parseInt("" + a[1], 10), - green: parseInt("" + a[2], 10), - blue: parseInt("" + a[3], 10), - }; - var i = yt.exec(t.substring(0, 50)); - if (i) - return { - red: parseInt("" + i[1], 10), - green: parseInt("" + i[2], 10), - blue: parseInt("" + i[3], 10), - alpha: - parseFloat("" + i[4]) > 1 - ? parseFloat("" + i[4]) / 100 - : parseFloat("" + i[4]), - }; - var s = Ot.exec(t); - if (s) { - var l = parseInt("" + s[1], 10), - u = parseInt("" + s[2], 10) / 100, - c = parseInt("" + s[3], 10) / 100, - p = "rgb(" + U(l, u, c) + ")", - d = ie.exec(p); - if (!d) throw new _(4, t, p); - return { - red: parseInt("" + d[1], 10), - green: parseInt("" + d[2], 10), - blue: parseInt("" + d[3], 10), - }; - } - var f = Tt.exec(t.substring(0, 50)); - if (f) { - var E = parseInt("" + f[1], 10), - m = parseInt("" + f[2], 10) / 100, - y = parseInt("" + f[3], 10) / 100, - T = "rgb(" + U(E, m, y) + ")", - w = ie.exec(T); - if (!w) throw new _(4, t, T); - return { - red: parseInt("" + w[1], 10), - green: parseInt("" + w[2], 10), - blue: parseInt("" + w[3], 10), - alpha: - parseFloat("" + f[4]) > 1 - ? parseFloat("" + f[4]) / 100 - : parseFloat("" + f[4]), - }; - } - throw new _(5); - } - function _t(e) { - var t = e.red / 255, - r = e.green / 255, - n = e.blue / 255, - a = Math.max(t, r, n), - i = Math.min(t, r, n), - s = (a + i) / 2; - if (a === i) - return e.alpha !== void 0 - ? { hue: 0, saturation: 0, lightness: s, alpha: e.alpha } - : { hue: 0, saturation: 0, lightness: s }; - var l, - u = a - i, - c = s > 0.5 ? u / (2 - a - i) : u / (a + i); - switch (a) { - case t: - l = (r - n) / u + (r < n ? 6 : 0); - break; - case r: - l = (n - t) / u + 2; - break; - default: - l = (t - r) / u + 4; - break; - } - return ( - (l *= 60), - e.alpha !== void 0 - ? { hue: l, saturation: c, lightness: s, alpha: e.alpha } - : { hue: l, saturation: c, lightness: s } - ); - } - function A(e) { - return _t(D(e)); - } - var vt = 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; - }, - le = vt; - function N(e) { - var t = e.toString(16); - return t.length === 1 ? "0" + t : t; - } - function se(e) { - return N(Math.round(e * 255)); - } - function St(e, t, r) { - return le("#" + se(e) + se(t) + se(r)); - } - function $(e, t, r) { - return U(e, t, r, St); - } - function Rt(e, t, r) { - if (typeof e == "number" && typeof t == "number" && typeof r == "number") - return $(e, t, r); - if (typeof e == "object" && t === void 0 && r === void 0) - return $(e.hue, e.saturation, e.lightness); - throw new _(1); - } - function At(e, t, r, n) { - if ( - typeof e == "number" && - typeof t == "number" && - typeof r == "number" && - typeof n == "number" - ) - return n >= 1 ? $(e, t, r) : "rgba(" + U(e, t, r) + "," + n + ")"; - if (typeof e == "object" && t === void 0 && r === void 0 && n === void 0) - return e.alpha >= 1 - ? $(e.hue, e.saturation, e.lightness) - : "rgba(" + U(e.hue, e.saturation, e.lightness) + "," + e.alpha + ")"; - throw new _(2); - } - function ue(e, t, r) { - if (typeof e == "number" && typeof t == "number" && typeof r == "number") - return le("#" + N(e) + N(t) + N(r)); - if (typeof e == "object" && t === void 0 && r === void 0) - return le("#" + N(e.red) + N(e.green) + N(e.blue)); - throw new _(6); - } - function Y(e, t, r, n) { - if (typeof e == "string" && typeof t == "number") { - var a = D(e); - return "rgba(" + a.red + "," + a.green + "," + a.blue + "," + t + ")"; - } else { - if ( - typeof e == "number" && - typeof t == "number" && - typeof r == "number" && - typeof n == "number" - ) - return n >= 1 - ? ue(e, t, r) - : "rgba(" + e + "," + t + "," + r + "," + n + ")"; - if ( - typeof e == "object" && - t === void 0 && - r === void 0 && - n === void 0 - ) - return e.alpha >= 1 - ? ue(e.red, e.green, e.blue) - : "rgba(" + - e.red + - "," + - e.green + - "," + - e.blue + - "," + - e.alpha + - ")"; - } - throw new _(7); - } - var Ct = function (t) { - return ( - typeof t.red == "number" && - typeof t.green == "number" && - typeof t.blue == "number" && - (typeof t.alpha != "number" || typeof t.alpha > "u") - ); - }, - Nt = function (t) { - return ( - typeof t.red == "number" && - typeof t.green == "number" && - typeof t.blue == "number" && - typeof t.alpha == "number" - ); - }, - wt = function (t) { - return ( - typeof t.hue == "number" && - typeof t.saturation == "number" && - typeof t.lightness == "number" && - (typeof t.alpha != "number" || typeof t.alpha > "u") - ); - }, - xt = function (t) { - return ( - typeof t.hue == "number" && - typeof t.saturation == "number" && - typeof t.lightness == "number" && - typeof t.alpha == "number" - ); - }; - function C(e) { - if (typeof e != "object") throw new _(8); - if (Nt(e)) return Y(e); - if (Ct(e)) return ue(e); - if (xt(e)) return At(e); - if (wt(e)) return Rt(e); - throw new _(8); - } - function Ye(e, t, r) { - return function () { - var a = r.concat(Array.prototype.slice.call(arguments)); - return a.length >= t ? e.apply(this, a) : Ye(e, t, a); - }; - } - function v(e) { - return Ye(e, e.length, []); - } - function Lt(e, t) { - if (t === "transparent") return t; - var r = A(t); - return C(O({}, r, { hue: r.hue + parseFloat(e) })); - } - var pl = v(Lt); - function M(e, t, r) { - return Math.max(e, Math.min(t, r)); - } - function It(e, t) { - if (t === "transparent") return t; - var r = A(t); - return C(O({}, r, { lightness: M(0, 1, r.lightness - parseFloat(e)) })); - } - var fl = v(It); - function Dt(e, t) { - if (t === "transparent") return t; - var r = A(t); - return C(O({}, r, { saturation: M(0, 1, r.saturation - parseFloat(e)) })); - } - var dl = v(Dt); - function Mt(e, t) { - if (t === "transparent") return t; - var r = A(t); - return C(O({}, r, { lightness: M(0, 1, r.lightness + parseFloat(e)) })); - } - var ml = v(Mt); - function Pt(e, t, r) { - if (t === "transparent") return r; - if (r === "transparent") return t; - if (e === 0) return r; - var n = D(t), - a = O({}, n, { alpha: typeof n.alpha == "number" ? n.alpha : 1 }), - i = D(r), - s = O({}, i, { alpha: typeof i.alpha == "number" ? i.alpha : 1 }), - l = a.alpha - s.alpha, - u = parseFloat(e) * 2 - 1, - c = u * l === -1 ? u : u + l, - p = 1 + u * l, - d = (c / p + 1) / 2, - f = 1 - d, - E = { - red: Math.floor(a.red * d + s.red * f), - green: Math.floor(a.green * d + s.green * f), - blue: Math.floor(a.blue * d + s.blue * f), - alpha: a.alpha * parseFloat(e) + s.alpha * (1 - parseFloat(e)), - }; - return Y(E); - } - var Bt = v(Pt), - Je = Bt; - function Ft(e, t) { - if (t === "transparent") return t; - var r = D(t), - n = typeof r.alpha == "number" ? r.alpha : 1, - a = O({}, r, { alpha: M(0, 1, (n * 100 + parseFloat(e) * 100) / 100) }); - return Y(a); - } - var Ht = v(Ft), - qe = Ht; - function zt(e, t) { - if (t === "transparent") return t; - var r = A(t); - return C(O({}, r, { saturation: M(0, 1, r.saturation + parseFloat(e)) })); - } - var gl = v(zt); - function Ut(e, t) { - return t === "transparent" ? t : C(O({}, A(t), { hue: parseFloat(e) })); - } - var bl = v(Ut); - function jt(e, t) { - return t === "transparent" - ? t - : C(O({}, A(t), { lightness: parseFloat(e) })); - } - var hl = v(jt); - function kt(e, t) { - return t === "transparent" - ? t - : C(O({}, A(t), { saturation: parseFloat(e) })); - } - var El = v(kt); - function Gt(e, t) { - return t === "transparent" ? t : Je(parseFloat(e), "rgb(0, 0, 0)", t); - } - var yl = v(Gt); - function Wt(e, t) { - return t === "transparent" - ? t - : Je(parseFloat(e), "rgb(255, 255, 255)", t); - } - var Ol = v(Wt); - function Vt(e, t) { - if (t === "transparent") return t; - var r = D(t), - n = typeof r.alpha == "number" ? r.alpha : 1, - a = O({}, r, { - alpha: M(0, 1, +(n * 100 - parseFloat(e) * 100).toFixed(2) / 100), - }); - return Y(a); - } - var Tl = v(Vt); - var $t = "actions", - k = "storybook/actions", - Yt = `${k}/panel`, - pe = `${k}/action-event`, - et = `${k}/action-clear`, - Jt = Object.create, - ge = Object.defineProperty, - qt = Object.getOwnPropertyDescriptor, - tt = Object.getOwnPropertyNames, - Xt = Object.getPrototypeOf, - Zt = Object.prototype.hasOwnProperty, - be = (e, t) => - function () { - return ( - t || (0, e[tt(e)[0]])((t = { exports: {} }).exports, t), t.exports - ); - }, - Kt = (e, t) => { - for (var r in t) ge(e, r, { get: t[r], enumerable: !0 }); - }, - Qt = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let a of tt(t)) - !Zt.call(e, a) && - a !== r && - ge(e, a, { - get: () => t[a], - enumerable: !(n = qt(t, a)) || n.enumerable, - }); - return e; - }, - er = (e, t, r) => ( - (r = e != null ? Jt(Xt(e)) : {}), - Qt( - t || !e || !e.__esModule - ? ge(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) - ), - tr = be({ - "node_modules/is-object/index.js"(e, t) { - t.exports = function (r) { - return typeof r == "object" && r !== null; - }; - }, - }), - rr = be({ - "node_modules/is-window/index.js"(e, t) { - t.exports = function (r) { - if (r == null) return !1; - var n = Object(r); - return n === n.window; - }; - }, - }), - nr = be({ - "node_modules/is-dom/index.js"(e, t) { - var r = tr(), - n = rr(); - function a(i) { - return !r(i) || !n(window) || typeof window.Node != "function" - ? !1 - : typeof i.nodeType == "number" && typeof i.nodeName == "string"; - } - t.exports = a; - }, - }), - X = {}; - Kt(X, { chromeDark: () => ar, chromeLight: () => or }); - var ar = { - BASE_FONT_FAMILY: "Menlo, monospace", - BASE_FONT_SIZE: "11px", - BASE_LINE_HEIGHT: 1.2, - BASE_BACKGROUND_COLOR: "rgb(36, 36, 36)", - BASE_COLOR: "rgb(213, 213, 213)", - OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: 10, - OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: 5, - OBJECT_NAME_COLOR: "rgb(227, 110, 236)", - OBJECT_VALUE_NULL_COLOR: "rgb(127, 127, 127)", - OBJECT_VALUE_UNDEFINED_COLOR: "rgb(127, 127, 127)", - OBJECT_VALUE_REGEXP_COLOR: "rgb(233, 63, 59)", - OBJECT_VALUE_STRING_COLOR: "rgb(233, 63, 59)", - OBJECT_VALUE_SYMBOL_COLOR: "rgb(233, 63, 59)", - OBJECT_VALUE_NUMBER_COLOR: "hsl(252, 100%, 75%)", - OBJECT_VALUE_BOOLEAN_COLOR: "hsl(252, 100%, 75%)", - OBJECT_VALUE_FUNCTION_PREFIX_COLOR: "rgb(85, 106, 242)", - HTML_TAG_COLOR: "rgb(93, 176, 215)", - HTML_TAGNAME_COLOR: "rgb(93, 176, 215)", - HTML_TAGNAME_TEXT_TRANSFORM: "lowercase", - HTML_ATTRIBUTE_NAME_COLOR: "rgb(155, 187, 220)", - HTML_ATTRIBUTE_VALUE_COLOR: "rgb(242, 151, 102)", - HTML_COMMENT_COLOR: "rgb(137, 137, 137)", - HTML_DOCTYPE_COLOR: "rgb(192, 192, 192)", - ARROW_COLOR: "rgb(145, 145, 145)", - ARROW_MARGIN_RIGHT: 3, - ARROW_FONT_SIZE: 12, - ARROW_ANIMATION_DURATION: "0", - TREENODE_FONT_FAMILY: "Menlo, monospace", - TREENODE_FONT_SIZE: "11px", - TREENODE_LINE_HEIGHT: 1.2, - TREENODE_PADDING_LEFT: 12, - TABLE_BORDER_COLOR: "rgb(85, 85, 85)", - TABLE_TH_BACKGROUND_COLOR: "rgb(44, 44, 44)", - TABLE_TH_HOVER_COLOR: "rgb(48, 48, 48)", - TABLE_SORT_ICON_COLOR: "black", - TABLE_DATA_BACKGROUND_IMAGE: - "linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))", - TABLE_DATA_BACKGROUND_SIZE: "128px 32px", - }, - or = { - BASE_FONT_FAMILY: "Menlo, monospace", - BASE_FONT_SIZE: "11px", - BASE_LINE_HEIGHT: 1.2, - BASE_BACKGROUND_COLOR: "white", - BASE_COLOR: "black", - OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: 10, - OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: 5, - OBJECT_NAME_COLOR: "rgb(136, 19, 145)", - OBJECT_VALUE_NULL_COLOR: "rgb(128, 128, 128)", - OBJECT_VALUE_UNDEFINED_COLOR: "rgb(128, 128, 128)", - OBJECT_VALUE_REGEXP_COLOR: "rgb(196, 26, 22)", - OBJECT_VALUE_STRING_COLOR: "rgb(196, 26, 22)", - OBJECT_VALUE_SYMBOL_COLOR: "rgb(196, 26, 22)", - OBJECT_VALUE_NUMBER_COLOR: "rgb(28, 0, 207)", - OBJECT_VALUE_BOOLEAN_COLOR: "rgb(28, 0, 207)", - OBJECT_VALUE_FUNCTION_PREFIX_COLOR: "rgb(13, 34, 170)", - HTML_TAG_COLOR: "rgb(168, 148, 166)", - HTML_TAGNAME_COLOR: "rgb(136, 18, 128)", - HTML_TAGNAME_TEXT_TRANSFORM: "lowercase", - HTML_ATTRIBUTE_NAME_COLOR: "rgb(153, 69, 0)", - HTML_ATTRIBUTE_VALUE_COLOR: "rgb(26, 26, 166)", - HTML_COMMENT_COLOR: "rgb(35, 110, 37)", - HTML_DOCTYPE_COLOR: "rgb(192, 192, 192)", - ARROW_COLOR: "#6e6e6e", - ARROW_MARGIN_RIGHT: 3, - ARROW_FONT_SIZE: 12, - ARROW_ANIMATION_DURATION: "0", - TREENODE_FONT_FAMILY: "Menlo, monospace", - TREENODE_FONT_SIZE: "11px", - TREENODE_LINE_HEIGHT: 1.2, - TREENODE_PADDING_LEFT: 12, - TABLE_BORDER_COLOR: "#aaa", - TABLE_TH_BACKGROUND_COLOR: "#eee", - TABLE_TH_HOVER_COLOR: "hsla(0, 0%, 90%, 1)", - TABLE_SORT_ICON_COLOR: "#6e6e6e", - TABLE_DATA_BACKGROUND_IMAGE: - "linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))", - TABLE_DATA_BACKGROUND_SIZE: "128px 32px", - }, - rt = K([{}, () => {}]), - ce = { - WebkitTouchCallout: "none", - WebkitUserSelect: "none", - KhtmlUserSelect: "none", - MozUserSelect: "none", - msUserSelect: "none", - OUserSelect: "none", - userSelect: "none", - }, - J = (e) => ({ - DOMNodePreview: { - htmlOpenTag: { - base: { color: e.HTML_TAG_COLOR }, - tagName: { - color: e.HTML_TAGNAME_COLOR, - textTransform: e.HTML_TAGNAME_TEXT_TRANSFORM, - }, - htmlAttributeName: { color: e.HTML_ATTRIBUTE_NAME_COLOR }, - htmlAttributeValue: { color: e.HTML_ATTRIBUTE_VALUE_COLOR }, - }, - htmlCloseTag: { - base: { color: e.HTML_TAG_COLOR }, - offsetLeft: { marginLeft: -e.TREENODE_PADDING_LEFT }, - tagName: { - color: e.HTML_TAGNAME_COLOR, - textTransform: e.HTML_TAGNAME_TEXT_TRANSFORM, - }, - }, - htmlComment: { color: e.HTML_COMMENT_COLOR }, - htmlDoctype: { color: e.HTML_DOCTYPE_COLOR }, - }, - ObjectPreview: { - objectDescription: { fontStyle: "italic" }, - preview: { fontStyle: "italic" }, - arrayMaxProperties: e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES, - objectMaxProperties: e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES, - }, - ObjectName: { - base: { color: e.OBJECT_NAME_COLOR }, - dimmed: { opacity: 0.6 }, - }, - ObjectValue: { - objectValueNull: { color: e.OBJECT_VALUE_NULL_COLOR }, - objectValueUndefined: { color: e.OBJECT_VALUE_UNDEFINED_COLOR }, - objectValueRegExp: { color: e.OBJECT_VALUE_REGEXP_COLOR }, - objectValueString: { color: e.OBJECT_VALUE_STRING_COLOR }, - objectValueSymbol: { color: e.OBJECT_VALUE_SYMBOL_COLOR }, - objectValueNumber: { color: e.OBJECT_VALUE_NUMBER_COLOR }, - objectValueBoolean: { color: e.OBJECT_VALUE_BOOLEAN_COLOR }, - objectValueFunctionPrefix: { - color: e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR, - fontStyle: "italic", - }, - objectValueFunctionName: { fontStyle: "italic" }, - }, - TreeView: { - treeViewOutline: { padding: 0, margin: 0, listStyleType: "none" }, - }, - TreeNode: { - treeNodeBase: { - color: e.BASE_COLOR, - backgroundColor: e.BASE_BACKGROUND_COLOR, - lineHeight: e.TREENODE_LINE_HEIGHT, - cursor: "default", - boxSizing: "border-box", - listStyle: "none", - fontFamily: e.TREENODE_FONT_FAMILY, - fontSize: e.TREENODE_FONT_SIZE, - }, - treeNodePreviewContainer: {}, - treeNodePlaceholder: { - whiteSpace: "pre", - fontSize: e.ARROW_FONT_SIZE, - marginRight: e.ARROW_MARGIN_RIGHT, - ...ce, - }, - treeNodeArrow: { - base: { - color: e.ARROW_COLOR, - display: "inline-block", - fontSize: e.ARROW_FONT_SIZE, - marginRight: e.ARROW_MARGIN_RIGHT, - ...(parseFloat(e.ARROW_ANIMATION_DURATION) > 0 - ? { - transition: `transform ${e.ARROW_ANIMATION_DURATION} ease 0s`, - } - : {}), - ...ce, - }, - expanded: { - WebkitTransform: "rotateZ(90deg)", - MozTransform: "rotateZ(90deg)", - transform: "rotateZ(90deg)", - }, - collapsed: { - WebkitTransform: "rotateZ(0deg)", - MozTransform: "rotateZ(0deg)", - transform: "rotateZ(0deg)", - }, - }, - treeNodeChildNodesContainer: { - margin: 0, - paddingLeft: e.TREENODE_PADDING_LEFT, - }, - }, - TableInspector: { - base: { - color: e.BASE_COLOR, - position: "relative", - border: `1px solid ${e.TABLE_BORDER_COLOR}`, - fontFamily: e.BASE_FONT_FAMILY, - fontSize: e.BASE_FONT_SIZE, - lineHeight: "120%", - boxSizing: "border-box", - cursor: "default", - }, - }, - TableInspectorHeaderContainer: { - base: { - top: 0, - height: "17px", - left: 0, - right: 0, - overflowX: "hidden", - }, - table: { - tableLayout: "fixed", - borderSpacing: 0, - borderCollapse: "separate", - height: "100%", - width: "100%", - margin: 0, - }, - }, - TableInspectorDataContainer: { - tr: { display: "table-row" }, - td: { - boxSizing: "border-box", - border: "none", - height: "16px", - verticalAlign: "top", - padding: "1px 4px", - WebkitUserSelect: "text", - whiteSpace: "nowrap", - textOverflow: "ellipsis", - overflow: "hidden", - lineHeight: "14px", - }, - div: { - position: "static", - top: "17px", - bottom: 0, - overflowY: "overlay", - transform: "translateZ(0)", - left: 0, - right: 0, - overflowX: "hidden", - }, - table: { - positon: "static", - left: 0, - top: 0, - right: 0, - bottom: 0, - borderTop: "0 none transparent", - margin: 0, - backgroundImage: e.TABLE_DATA_BACKGROUND_IMAGE, - backgroundSize: e.TABLE_DATA_BACKGROUND_SIZE, - tableLayout: "fixed", - borderSpacing: 0, - borderCollapse: "separate", - width: "100%", - fontSize: e.BASE_FONT_SIZE, - lineHeight: "120%", - }, - }, - TableInspectorTH: { - base: { - position: "relative", - height: "auto", - textAlign: "left", - backgroundColor: e.TABLE_TH_BACKGROUND_COLOR, - borderBottom: `1px solid ${e.TABLE_BORDER_COLOR}`, - fontWeight: "normal", - verticalAlign: "middle", - padding: "0 4px", - whiteSpace: "nowrap", - textOverflow: "ellipsis", - overflow: "hidden", - lineHeight: "14px", - ":hover": { backgroundColor: e.TABLE_TH_HOVER_COLOR }, - }, - div: { - whiteSpace: "nowrap", - textOverflow: "ellipsis", - overflow: "hidden", - fontSize: e.BASE_FONT_SIZE, - lineHeight: "120%", - }, - }, - TableInspectorLeftBorder: { - none: { borderLeft: "none" }, - solid: { borderLeft: `1px solid ${e.TABLE_BORDER_COLOR}` }, - }, - TableInspectorSortIcon: { - display: "block", - marginRight: 3, - width: 8, - height: 7, - marginTop: -7, - color: e.TABLE_SORT_ICON_COLOR, - fontSize: 12, - ...ce, - }, - }), - fe = "chromeLight", - nt = K(J(X[fe])), - S = (e) => Q(nt)[e], - he = - (e) => - ({ theme: t = fe, ...r }) => { - let n = Le(() => { - switch (Object.prototype.toString.call(t)) { - case "[object String]": - return J(X[t]); - case "[object Object]": - return J(t); - default: - return J(X[fe]); - } - }, [t]); - return o.createElement( - nt.Provider, - { value: n }, - o.createElement(e, { ...r }), - ); - }, - ir = ({ expanded: e, styles: t }) => - o.createElement( - "span", - { style: { ...t.base, ...(e ? t.expanded : t.collapsed) } }, - "\u25B6", - ), - sr = G((e) => { - e = { - expanded: !0, - nodeRenderer: ({ name: p }) => o.createElement("span", null, p), - onClick: () => {}, - shouldShowArrow: !1, - shouldShowPlaceholder: !0, - ...e, - }; - let { - expanded: t, - onClick: r, - children: n, - nodeRenderer: a, - title: i, - shouldShowArrow: s, - shouldShowPlaceholder: l, - } = e, - u = S("TreeNode"), - c = a; - return o.createElement( - "li", - { - "aria-expanded": t, - role: "treeitem", - style: u.treeNodeBase, - title: i, - }, - o.createElement( - "div", - { style: u.treeNodePreviewContainer, onClick: r }, - s || Re.count(n) > 0 - ? o.createElement(ir, { expanded: t, styles: u.treeNodeArrow }) - : l && - o.createElement( - "span", - { style: u.treeNodePlaceholder }, - "\xA0", - ), - o.createElement(c, { ...e }), - ), - o.createElement( - "ol", - { role: "group", style: u.treeNodeChildNodesContainer }, - t ? n : void 0, - ), - ); - }), - Z = "$", - Xe = "*"; - function q(e, t) { - return !t(e).next().done; - } - var lr = (e) => - Array.from({ length: e }, (t, r) => - [Z].concat(Array.from({ length: r }, () => "*")).join("."), - ), - ur = (e, t, r, n, a) => { - let i = [] - .concat(lr(n)) - .concat(r) - .filter((l) => typeof l == "string"), - s = []; - return ( - i.forEach((l) => { - let u = l.split("."), - c = (p, d, f) => { - if (f === u.length) { - s.push(d); - return; - } - let E = u[f]; - if (f === 0) q(p, t) && (E === Z || E === Xe) && c(p, Z, f + 1); - else if (E === Xe) - for (let { name: m, data: y } of t(p)) - q(y, t) && c(y, `${d}.${m}`, f + 1); - else { - let m = p[E]; - q(m, t) && c(m, `${d}.${E}`, f + 1); - } - }; - c(e, "", 0); - }), - s.reduce((l, u) => ((l[u] = !0), l), { ...a }) - ); - }, - at = G((e) => { - let { - data: t, - dataIterator: r, - path: n, - depth: a, - nodeRenderer: i, - } = e, - [s, l] = Q(rt), - u = q(t, r), - c = !!s[n], - p = x(() => u && l((d) => ({ ...d, [n]: !c })), [u, l, n, c]); - return o.createElement( - sr, - { - expanded: c, - onClick: p, - shouldShowArrow: u, - shouldShowPlaceholder: a > 0, - nodeRenderer: i, - ...e, - }, - c - ? [...r(t)].map(({ name: d, data: f, ...E }) => - o.createElement(at, { - name: d, - data: f, - depth: a + 1, - path: `${n}.${d}`, - key: d, - dataIterator: r, - nodeRenderer: i, - ...E, - }), - ) - : null, - ); - }), - ot = G( - ({ - name: e, - data: t, - dataIterator: r, - nodeRenderer: n, - expandPaths: a, - expandLevel: i, - }) => { - let s = S("TreeView"), - l = W({}), - [, u] = l; - return ( - xe(() => u((c) => ur(t, r, a, i, c)), [t, r, a, i]), - o.createElement( - rt.Provider, - { value: l }, - o.createElement( - "ol", - { role: "tree", style: s.treeViewOutline }, - o.createElement(at, { - name: e, - data: t, - dataIterator: r, - depth: 0, - path: Z, - nodeRenderer: n, - }), - ), - ) - ); - }, - ), - Ee = ({ name: e, dimmed: t = !1, styles: r = {} }) => { - let n = S("ObjectName"), - a = { ...n.base, ...(t ? n.dimmed : {}), ...r }; - return o.createElement("span", { style: a }, e); - }, - j = ({ object: e, styles: t }) => { - let r = S("ObjectValue"), - n = (a) => ({ ...r[a], ...t }); - switch (typeof e) { - case "bigint": - return o.createElement( - "span", - { style: n("objectValueNumber") }, - String(e), - "n", - ); - case "number": - return o.createElement( - "span", - { style: n("objectValueNumber") }, - String(e), - ); - case "string": - return o.createElement( - "span", - { style: n("objectValueString") }, - '"', - e, - '"', - ); - case "boolean": - return o.createElement( - "span", - { style: n("objectValueBoolean") }, - String(e), - ); - case "undefined": - return o.createElement( - "span", - { style: n("objectValueUndefined") }, - "undefined", - ); - case "object": - return e === null - ? o.createElement("span", { style: n("objectValueNull") }, "null") - : e instanceof Date - ? o.createElement("span", null, e.toString()) - : e instanceof RegExp - ? o.createElement( - "span", - { style: n("objectValueRegExp") }, - e.toString(), - ) - : Array.isArray(e) - ? o.createElement("span", null, `Array(${e.length})`) - : e.constructor - ? typeof e.constructor.isBuffer == "function" && - e.constructor.isBuffer(e) - ? o.createElement("span", null, `Buffer[${e.length}]`) - : o.createElement("span", null, e.constructor.name) - : o.createElement("span", null, "Object"); - case "function": - return o.createElement( - "span", - null, - o.createElement( - "span", - { style: n("objectValueFunctionPrefix") }, - "\u0192\xA0", - ), - o.createElement( - "span", - { style: n("objectValueFunctionName") }, - e.name, - "()", - ), - ); - case "symbol": - return o.createElement( - "span", - { style: n("objectValueSymbol") }, - e.toString(), - ); - default: - return o.createElement("span", null); - } - }, - it = Object.prototype.hasOwnProperty, - cr = Object.prototype.propertyIsEnumerable; - function de(e, t) { - let r = Object.getOwnPropertyDescriptor(e, t); - if (r.get) - try { - return r.get(); - } catch { - return r.get; - } - return e[t]; - } - function Ze(e, t) { - return e.length === 0 - ? [] - : e.slice(1).reduce((r, n) => r.concat([t, n]), [e[0]]); - } - var me = ({ data: e }) => { - let t = S("ObjectPreview"), - r = e; - if ( - typeof r != "object" || - r === null || - r instanceof Date || - r instanceof RegExp - ) - return o.createElement(j, { object: r }); - if (Array.isArray(r)) { - let n = t.arrayMaxProperties, - a = r - .slice(0, n) - .map((s, l) => o.createElement(j, { key: l, object: s })); - r.length > n && - a.push(o.createElement("span", { key: "ellipsis" }, "\u2026")); - let i = r.length; - return o.createElement( - o.Fragment, - null, - o.createElement( - "span", - { style: t.objectDescription }, - i === 0 ? "" : `(${i})\xA0`, - ), - o.createElement( - "span", - { style: t.preview }, - "[", - Ze(a, ", "), - "]", - ), - ); - } else { - let n = t.objectMaxProperties, - a = []; - for (let s in r) - if (it.call(r, s)) { - let l; - a.length === n - 1 && - Object.keys(r).length > n && - (l = o.createElement("span", { key: "ellipsis" }, "\u2026")); - let u = de(r, s); - if ( - (a.push( - o.createElement( - "span", - { key: s }, - o.createElement(Ee, { name: s || '""' }), - ":\xA0", - o.createElement(j, { object: u }), - l, - ), - ), - l) - ) - break; - } - let i = r.constructor ? r.constructor.name : "Object"; - return o.createElement( - o.Fragment, - null, - o.createElement( - "span", - { style: t.objectDescription }, - i === "Object" ? "" : `${i} `, - ), - o.createElement( - "span", - { style: t.preview }, - "{", - Ze(a, ", "), - "}", - ), - ); - } - }, - pr = ({ name: e, data: t }) => - typeof e == "string" - ? o.createElement( - "span", - null, - o.createElement(Ee, { name: e }), - o.createElement("span", null, ": "), - o.createElement(me, { data: t }), - ) - : o.createElement(me, { data: t }), - fr = ({ name: e, data: t, isNonenumerable: r = !1 }) => { - let n = t; - return o.createElement( - "span", - null, - typeof e == "string" - ? o.createElement(Ee, { name: e, dimmed: r }) - : o.createElement(me, { data: e }), - o.createElement("span", null, ": "), - o.createElement(j, { object: n }), - ); - }, - dr = (e, t) => - function* (r) { - if (!((typeof r == "object" && r !== null) || typeof r == "function")) - return; - let n = Array.isArray(r); - if (!n && r[Symbol.iterator]) { - let a = 0; - for (let i of r) { - if (Array.isArray(i) && i.length === 2) { - let [s, l] = i; - yield { name: s, data: l }; - } else yield { name: a.toString(), data: i }; - a++; - } - } else { - let a = Object.getOwnPropertyNames(r); - t === !0 && !n ? a.sort() : typeof t == "function" && a.sort(t); - for (let i of a) - if (cr.call(r, i)) { - let s = de(r, i); - yield { name: i || '""', data: s }; - } else if (e) { - let s; - try { - s = de(r, i); - } catch {} - s !== void 0 && - (yield { name: i, data: s, isNonenumerable: !0 }); - } - e && - r !== Object.prototype && - (yield { - name: "__proto__", - data: Object.getPrototypeOf(r), - isNonenumerable: !0, - }); - } - }, - mr = ({ depth: e, name: t, data: r, isNonenumerable: n }) => - e === 0 - ? o.createElement(pr, { name: t, data: r }) - : o.createElement(fr, { name: t, data: r, isNonenumerable: n }), - gr = ({ - showNonenumerable: e = !1, - sortObjectKeys: t, - nodeRenderer: r, - ...n - }) => { - let a = dr(e, t), - i = r || mr; - return o.createElement(ot, { nodeRenderer: i, dataIterator: a, ...n }); - }, - br = he(gr); - function hr(e) { - if (typeof e == "object") { - let t = []; - if (Array.isArray(e)) { - let n = e.length; - t = [...Array(n).keys()]; - } else e !== null && (t = Object.keys(e)); - let r = t.reduce((n, a) => { - let i = e[a]; - return ( - typeof i == "object" && - i !== null && - Object.keys(i).reduce( - (s, l) => (s.includes(l) || s.push(l), s), - n, - ), - n - ); - }, []); - return { rowHeaders: t, colHeaders: r }; - } - } - var Er = ({ rows: e, columns: t, rowsData: r }) => { - let n = S("TableInspectorDataContainer"), - a = S("TableInspectorLeftBorder"); - return o.createElement( - "div", - { style: n.div }, - o.createElement( - "table", - { style: n.table }, - o.createElement("colgroup", null), - o.createElement( - "tbody", - null, - e.map((i, s) => - o.createElement( - "tr", - { key: i, style: n.tr }, - o.createElement("td", { style: { ...n.td, ...a.none } }, i), - t.map((l) => { - let u = r[s]; - return typeof u == "object" && u !== null && it.call(u, l) - ? o.createElement( - "td", - { key: l, style: { ...n.td, ...a.solid } }, - o.createElement(j, { object: u[l] }), - ) - : o.createElement("td", { - key: l, - style: { ...n.td, ...a.solid }, - }); - }), - ), - ), - ), - ), - ); - }, - yr = (e) => - o.createElement( - "div", - { - style: { - position: "absolute", - top: 1, - right: 0, - bottom: 1, - display: "flex", - alignItems: "center", - }, - }, - e.children, - ), - Or = ({ sortAscending: e }) => { - let t = S("TableInspectorSortIcon"), - r = e ? "\u25B2" : "\u25BC"; - return o.createElement("div", { style: t }, r); - }, - Ke = ({ - sortAscending: e = !1, - sorted: t = !1, - onClick: r = void 0, - borderStyle: n = {}, - children: a, - ...i - }) => { - let s = S("TableInspectorTH"), - [l, u] = W(!1), - c = x(() => u(!0), []), - p = x(() => u(!1), []); - return o.createElement( - "th", - { - ...i, - style: { ...s.base, ...n, ...(l ? s.base[":hover"] : {}) }, - onMouseEnter: c, - onMouseLeave: p, - onClick: r, - }, - o.createElement("div", { style: s.div }, a), - t && - o.createElement( - yr, - null, - o.createElement(Or, { sortAscending: e }), - ), - ); - }, - Tr = ({ - indexColumnText: e = "(index)", - columns: t = [], - sorted: r, - sortIndexColumn: n, - sortColumn: a, - sortAscending: i, - onTHClick: s, - onIndexTHClick: l, - }) => { - let u = S("TableInspectorHeaderContainer"), - c = S("TableInspectorLeftBorder"); - return o.createElement( - "div", - { style: u.base }, - o.createElement( - "table", - { style: u.table }, - o.createElement( - "tbody", - null, - o.createElement( - "tr", - null, - o.createElement( - Ke, - { - borderStyle: c.none, - sorted: r && n, - sortAscending: i, - onClick: l, - }, - e, - ), - t.map((p) => - o.createElement( - Ke, - { - borderStyle: c.solid, - key: p, - sorted: r && a === p, - sortAscending: i, - onClick: s.bind(null, p), - }, - p, - ), - ), - ), - ), - ), - ); - }, - _r = ({ data: e, columns: t }) => { - let r = S("TableInspector"), - [ - { sorted: n, sortIndexColumn: a, sortColumn: i, sortAscending: s }, - l, - ] = W({ - sorted: !1, - sortIndexColumn: !1, - sortColumn: void 0, - sortAscending: !1, - }), - u = x(() => { - l(({ sortIndexColumn: m, sortAscending: y }) => ({ - sorted: !0, - sortIndexColumn: !0, - sortColumn: void 0, - sortAscending: m ? !y : !0, - })); - }, []), - c = x((m) => { - l(({ sortColumn: y, sortAscending: T }) => ({ - sorted: !0, - sortIndexColumn: !1, - sortColumn: m, - sortAscending: m === y ? !T : !0, - })); - }, []); - if (typeof e != "object" || e === null) - return o.createElement("div", null); - let { rowHeaders: p, colHeaders: d } = hr(e); - t !== void 0 && (d = t); - let f = p.map((m) => e[m]), - E; - if ( - (i !== void 0 - ? (E = f.map((m, y) => - typeof m == "object" && m !== null ? [m[i], y] : [void 0, y], - )) - : a && (E = p.map((m, y) => [p[y], y])), - E !== void 0) - ) { - let m = (T, w) => (ut, ct) => { - let ye = T(ut), - Oe = T(ct), - Te = typeof ye, - _e = typeof Oe, - ve = (B, Se) => (B < Se ? -1 : B > Se ? 1 : 0), - P; - if (Te === _e) P = ve(ye, Oe); - else { - let B = { - string: 0, - number: 1, - object: 2, - symbol: 3, - boolean: 4, - undefined: 5, - function: 6, - }; - P = ve(B[Te], B[_e]); - } - return w || (P = -P), P; - }, - y = E.sort(m((T) => T[0], s)).map((T) => T[1]); - (p = y.map((T) => p[T])), (f = y.map((T) => f[T])); - } - return o.createElement( - "div", - { style: r.base }, - o.createElement(Tr, { - columns: d, - sorted: n, - sortIndexColumn: a, - sortColumn: i, - sortAscending: s, - onTHClick: c, - onIndexTHClick: u, - }), - o.createElement(Er, { rows: p, columns: d, rowsData: f }), - ); - }, - vr = he(_r), - Sr = 80, - st = (e) => - e.childNodes.length === 0 || - (e.childNodes.length === 1 && - e.childNodes[0].nodeType === Node.TEXT_NODE && - e.textContent.length < Sr), - Rr = ({ tagName: e, attributes: t, styles: r }) => - o.createElement( - "span", - { style: r.base }, - "<", - o.createElement("span", { style: r.tagName }, e), - (() => { - if (t) { - let n = []; - for (let a = 0; a < t.length; a++) { - let i = t[a]; - n.push( - o.createElement( - "span", - { key: a }, - " ", - o.createElement( - "span", - { style: r.htmlAttributeName }, - i.name, - ), - '="', - o.createElement( - "span", - { style: r.htmlAttributeValue }, - i.value, - ), - '"', - ), - ); - } - return n; - } - })(), - ">", - ), - Qe = ({ tagName: e, isChildNode: t = !1, styles: r }) => - o.createElement( - "span", - { style: Object.assign({}, r.base, t && r.offsetLeft) }, - "", - ), - Ar = { - 1: "ELEMENT_NODE", - 3: "TEXT_NODE", - 7: "PROCESSING_INSTRUCTION_NODE", - 8: "COMMENT_NODE", - 9: "DOCUMENT_NODE", - 10: "DOCUMENT_TYPE_NODE", - 11: "DOCUMENT_FRAGMENT_NODE", - }, - Cr = ({ isCloseTag: e, data: t, expanded: r }) => { - let n = S("DOMNodePreview"); - if (e) - return o.createElement(Qe, { - styles: n.htmlCloseTag, - isChildNode: !0, - tagName: t.tagName, - }); - switch (t.nodeType) { - case Node.ELEMENT_NODE: - return o.createElement( - "span", - null, - o.createElement(Rr, { - tagName: t.tagName, - attributes: t.attributes, - styles: n.htmlOpenTag, - }), - st(t) ? t.textContent : !r && "\u2026", - !r && - o.createElement(Qe, { - tagName: t.tagName, - styles: n.htmlCloseTag, - }), - ); - case Node.TEXT_NODE: - return o.createElement("span", null, t.textContent); - case Node.CDATA_SECTION_NODE: - return o.createElement( - "span", - null, - "", - ); - case Node.COMMENT_NODE: - return o.createElement( - "span", - { style: n.htmlComment }, - "", - ); - case Node.PROCESSING_INSTRUCTION_NODE: - return o.createElement("span", null, t.nodeName); - case Node.DOCUMENT_TYPE_NODE: - return o.createElement( - "span", - { style: n.htmlDoctype }, - "", - ); - case Node.DOCUMENT_NODE: - return o.createElement("span", null, t.nodeName); - case Node.DOCUMENT_FRAGMENT_NODE: - return o.createElement("span", null, t.nodeName); - default: - return o.createElement("span", null, Ar[t.nodeType]); - } - }, - Nr = function* (e) { - if (e && e.childNodes) { - if (st(e)) return; - for (let t = 0; t < e.childNodes.length; t++) { - let r = e.childNodes[t]; - (r.nodeType === Node.TEXT_NODE && - r.textContent.trim().length === 0) || - (yield { name: `${r.tagName}[${t}]`, data: r }); - } - e.tagName && - (yield { - name: "CLOSE_TAG", - data: { tagName: e.tagName }, - isCloseTag: !0, - }); - } - }, - wr = (e) => - o.createElement(ot, { nodeRenderer: Cr, dataIterator: Nr, ...e }), - xr = he(wr), - Lr = er(nr()), - Ir = ({ table: e = !1, data: t, ...r }) => - e - ? o.createElement(vr, { data: t, ...r }) - : (0, Lr.default)(t) - ? o.createElement(xr, { data: t, ...r }) - : o.createElement(br, { data: t, ...r }), - Dr = F.div({ - display: "flex", - padding: 0, - borderLeft: "5px solid transparent", - borderBottom: "1px solid transparent", - transition: "all 0.1s", - alignItems: "flex-start", - whiteSpace: "pre", - }), - Mr = F.div(({ theme: e }) => ({ - backgroundColor: qe(0.5, e.appBorderColor), - color: e.color.inverseText, - fontSize: e.typography.size.s1, - fontWeight: e.typography.weight.bold, - lineHeight: 1, - padding: "1px 5px", - borderRadius: 20, - margin: "2px 0px", - })), - Pr = F.div({ flex: 1, padding: "0 0 0 5px" }), - lt = Ne(({ children: e, className: t }, r) => - o.createElement( - Pe, - { ref: r, horizontal: !0, vertical: !0, className: t }, - e, - ), - ); - lt.displayName = "UnstyledWrapped"; - var Br = F(lt)({ margin: 0, padding: "10px 5px 20px" }), - Fr = ke(({ theme: e, ...t }) => - o.createElement(Ir, { - theme: e.addonActionsTheme || "chromeLight", - table: !1, - ...t, - }), - ), - Hr = ({ actions: e, onClear: t }) => { - let r = Ie(null), - n = r.current, - a = n && n.scrollHeight - n.scrollTop === n.clientHeight; - return ( - we(() => { - a && (r.current.scrollTop = r.current.scrollHeight); - }, [a, e.length]), - o.createElement( - Ce, - null, - o.createElement( - Br, - { ref: r }, - e.map((i) => - o.createElement( - Dr, - { key: i.id }, - i.count > 1 && o.createElement(Mr, null, i.count), - o.createElement( - Pr, - null, - o.createElement(Fr, { - sortObjectKeys: !0, - showNonenumerable: !1, - name: i.data.name, - data: i.data.args ?? i.data, - }), - ), - ), - ), - ), - o.createElement(De, { - actionItems: [{ title: "Clear", onClick: t }], - }), - ) - ); - }, - zr = (e, t) => { - try { - return L(e, t); - } catch { - return !1; - } - }, - Ur = class extends Ae { - constructor(e) { - super(e), - (this.handleStoryChange = () => { - let { actions: t } = this.state; - t.length > 0 && - t[0].options.clearOnStoryChange && - this.clearActions(); - }), - (this.addAction = (t) => { - this.setState((r) => { - let n = [...r.actions], - a = n.length && n[n.length - 1]; - return ( - a && zr(a.data, t.data) - ? a.count++ - : ((t.count = 1), n.push(t)), - { actions: n.slice(0, t.options.limit) } - ); - }); - }), - (this.clearActions = () => { - let { api: t } = this.props; - t.emit(et), this.setState({ actions: [] }); - }), - (this.mounted = !1), - (this.state = { actions: [] }); - } - componentDidMount() { - this.mounted = !0; - let { api: e } = this.props; - e.on(pe, this.addAction), e.on(V, this.handleStoryChange); - } - componentWillUnmount() { - this.mounted = !1; - let { api: e } = this.props; - e.off(V, this.handleStoryChange), e.off(pe, this.addAction); - } - render() { - let { actions: e = [] } = this.state, - { active: t } = this.props, - r = { actions: e, onClear: this.clearActions }; - return t ? o.createElement(Hr, { ...r }) : null; - } - }; - function jr() { - let [{ count: e }, t] = He(k, { count: 0 }); - return ( - ze({ - [pe]: () => { - t((r) => ({ ...r, count: r.count + 1 })); - }, - [V]: () => { - t((r) => ({ ...r, count: 0 })); - }, - [et]: () => { - t((r) => ({ ...r, count: 0 })); - }, - }), - o.createElement( - "div", - null, - o.createElement( - Be, - { col: 1 }, - o.createElement( - "span", - { style: { display: "inline-block", verticalAlign: "middle" } }, - "Actions", - ), - e === 0 ? "" : o.createElement(Me, { status: "neutral" }, e), - ), - ) - ); - } - ee.register(k, (e) => { - ee.add(Yt, { - title: jr, - type: Fe.PANEL, - render: ({ active: t }) => o.createElement(Ur, { api: e, active: !!t }), - paramKey: $t, - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/essentials-backgrounds-4/manager-bundle.js b/docs/public/stories/sb-addons/essentials-backgrounds-4/manager-bundle.js deleted file mode 100644 index d5a90f15..00000000 --- a/docs/public/stories/sb-addons/essentials-backgrounds-4/manager-bundle.js +++ /dev/null @@ -1,1032 +0,0 @@ -try { - (() => { - var re = Object.create; - var Y = Object.defineProperty; - var ce = Object.getOwnPropertyDescriptor; - var ie = Object.getOwnPropertyNames; - var ae = Object.getPrototypeOf, - le = Object.prototype.hasOwnProperty; - var E = ((e) => - typeof require < "u" - ? require - : typeof Proxy < "u" - ? new Proxy(e, { - get: (o, a) => (typeof require < "u" ? require : o)[a], - }) - : e)(function (e) { - if (typeof require < "u") return require.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - }); - var M = (e, o) => () => (e && (o = e((e = 0))), o); - var se = (e, o) => () => ( - o || e((o = { exports: {} }).exports, o), o.exports - ); - var ue = (e, o, a, r) => { - if ((o && typeof o == "object") || typeof o == "function") - for (let c of ie(o)) - !le.call(e, c) && - c !== a && - Y(e, c, { - get: () => o[c], - enumerable: !(r = ce(o, c)) || r.enumerable, - }); - return e; - }; - var Ie = (e, o, a) => ( - (a = e != null ? re(ae(e)) : {}), - ue( - o || !e || !e.__esModule - ? Y(a, "default", { value: e, enumerable: !0 }) - : a, - e, - ) - ); - var p = M(() => {}); - var h = M(() => {}); - var f = M(() => {}); - var X = se((Q, V) => { - p(); - h(); - f(); - (function (e) { - if (typeof Q == "object" && typeof V < "u") V.exports = e(); - else if (typeof define == "function" && define.amd) define([], e); - else { - var o; - typeof window < "u" || typeof window < "u" - ? (o = window) - : typeof self < "u" - ? (o = self) - : (o = this), - (o.memoizerific = e()); - } - })(function () { - var e, o, a; - return (function r(c, d, l) { - function t(i, I) { - if (!d[i]) { - if (!c[i]) { - var s = typeof E == "function" && E; - if (!I && s) return s(i, !0); - if (n) return n(i, !0); - var C = new Error("Cannot find module '" + i + "'"); - throw ((C.code = "MODULE_NOT_FOUND"), C); - } - var m = (d[i] = { exports: {} }); - c[i][0].call( - m.exports, - function (b) { - var y = c[i][1][b]; - return t(y || b); - }, - m, - m.exports, - r, - c, - d, - l, - ); - } - return d[i].exports; - } - for (var n = typeof E == "function" && E, u = 0; u < l.length; u++) - t(l[u]); - return t; - })( - { - 1: [ - function (r, c, d) { - c.exports = function (l) { - if (typeof Map != "function" || l) { - var t = r("./similar"); - return new t(); - } else return new Map(); - }; - }, - { "./similar": 2 }, - ], - 2: [ - function (r, c, d) { - function l() { - return ( - (this.list = []), - (this.lastItem = void 0), - (this.size = 0), - this - ); - } - (l.prototype.get = function (t) { - var n; - if (this.lastItem && this.isEqual(this.lastItem.key, t)) - return this.lastItem.val; - if (((n = this.indexOf(t)), n >= 0)) - return (this.lastItem = this.list[n]), this.list[n].val; - }), - (l.prototype.set = function (t, n) { - var u; - return this.lastItem && this.isEqual(this.lastItem.key, t) - ? ((this.lastItem.val = n), this) - : ((u = this.indexOf(t)), - u >= 0 - ? ((this.lastItem = this.list[u]), - (this.list[u].val = n), - this) - : ((this.lastItem = { key: t, val: n }), - this.list.push(this.lastItem), - this.size++, - this)); - }), - (l.prototype.delete = function (t) { - var n; - if ( - (this.lastItem && - this.isEqual(this.lastItem.key, t) && - (this.lastItem = void 0), - (n = this.indexOf(t)), - n >= 0) - ) - return this.size--, this.list.splice(n, 1)[0]; - }), - (l.prototype.has = function (t) { - var n; - return this.lastItem && this.isEqual(this.lastItem.key, t) - ? !0 - : ((n = this.indexOf(t)), - n >= 0 ? ((this.lastItem = this.list[n]), !0) : !1); - }), - (l.prototype.forEach = function (t, n) { - var u; - for (u = 0; u < this.size; u++) - t.call( - n || this, - this.list[u].val, - this.list[u].key, - this, - ); - }), - (l.prototype.indexOf = function (t) { - var n; - for (n = 0; n < this.size; n++) - if (this.isEqual(this.list[n].key, t)) return n; - return -1; - }), - (l.prototype.isEqual = function (t, n) { - return t === n || (t !== t && n !== n); - }), - (c.exports = l); - }, - {}, - ], - 3: [ - function (r, c, d) { - var l = r("map-or-similar"); - c.exports = function (i) { - var I = new l(!1), - s = []; - return function (C) { - var m = function () { - var b = I, - y, - R, - _ = arguments.length - 1, - x = Array(_ + 1), - O = !0, - A; - if ((m.numArgs || m.numArgs === 0) && m.numArgs !== _ + 1) - throw new Error( - "Memoizerific functions should always be called with the same number of arguments", - ); - for (A = 0; A < _; A++) { - if ( - ((x[A] = { cacheItem: b, arg: arguments[A] }), - b.has(arguments[A])) - ) { - b = b.get(arguments[A]); - continue; - } - (O = !1), - (y = new l(!1)), - b.set(arguments[A], y), - (b = y); - } - return ( - O && - (b.has(arguments[_]) - ? (R = b.get(arguments[_])) - : (O = !1)), - O || - ((R = C.apply(null, arguments)), - b.set(arguments[_], R)), - i > 0 && - ((x[_] = { cacheItem: b, arg: arguments[_] }), - O ? t(s, x) : s.push(x), - s.length > i && n(s.shift())), - (m.wasMemoized = O), - (m.numArgs = _ + 1), - R - ); - }; - return ( - (m.limit = i), - (m.wasMemoized = !1), - (m.cache = I), - (m.lru = s), - m - ); - }; - }; - function t(i, I) { - var s = i.length, - C = I.length, - m, - b, - y; - for (b = 0; b < s; b++) { - for (m = !0, y = 0; y < C; y++) - if (!u(i[b][y].arg, I[y].arg)) { - m = !1; - break; - } - if (m) break; - } - i.push(i.splice(b, 1)[0]); - } - function n(i) { - var I = i.length, - s = i[I - 1], - C, - m; - for ( - s.cacheItem.delete(s.arg), m = I - 2; - m >= 0 && - ((s = i[m]), (C = s.cacheItem.get(s.arg)), !C || !C.size); - m-- - ) - s.cacheItem.delete(s.arg); - } - function u(i, I) { - return i === I || (i !== i && I !== I); - } - }, - { "map-or-similar": 1 }, - ], - }, - {}, - [3], - )(3); - }); - }); - p(); - h(); - f(); - p(); - h(); - f(); - p(); - h(); - f(); - p(); - h(); - f(); - var g = __REACT__, - { - Children: Ee, - Component: we, - Fragment: D, - Profiler: Be, - PureComponent: Re, - StrictMode: xe, - Suspense: Le, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Pe, - cloneElement: Me, - createContext: De, - createElement: Ge, - createFactory: Fe, - createRef: Ne, - forwardRef: Ue, - isValidElement: He, - lazy: qe, - memo: w, - startTransition: ze, - unstable_act: Ke, - useCallback: G, - useContext: Ve, - useDebugValue: We, - useDeferredValue: Ye, - useEffect: je, - useId: $e, - useImperativeHandle: Ze, - useInsertionEffect: Je, - useLayoutEffect: Qe, - useMemo: j, - useReducer: Xe, - useRef: eo, - useState: F, - useSyncExternalStore: oo, - useTransition: no, - version: to, - } = __REACT__; - p(); - h(); - f(); - var lo = __STORYBOOK_API__, - { - ActiveTabs: so, - Consumer: uo, - ManagerContext: Io, - Provider: mo, - RequestResponseError: po, - addons: N, - combineParameters: ho, - controlOrMetaKey: fo, - controlOrMetaSymbol: go, - eventMatchesShortcut: bo, - eventToShortcut: Co, - experimental_requestResponse: yo, - isMacLike: So, - isShortcutTaken: ko, - keyToSymbol: vo, - merge: To, - mockChannel: _o, - optionOrAltSymbol: Ao, - shortcutMatchesShortcut: Oo, - shortcutToHumanString: Eo, - types: $, - useAddonState: wo, - useArgTypes: Bo, - useArgs: Ro, - useChannel: xo, - useGlobalTypes: Lo, - useGlobals: L, - useParameter: P, - useSharedState: Po, - useStoryPrepared: Mo, - useStorybookApi: Do, - useStorybookState: Go, - } = __STORYBOOK_API__; - p(); - h(); - f(); - var qo = __STORYBOOK_COMPONENTS__, - { - A: zo, - ActionBar: Ko, - AddonPanel: Vo, - Badge: Wo, - Bar: Yo, - Blockquote: jo, - Button: $o, - ClipboardCode: Zo, - Code: Jo, - DL: Qo, - Div: Xo, - DocumentWrapper: en, - EmptyTabContent: on, - ErrorFormatter: nn, - FlexBar: tn, - Form: rn, - H1: cn, - H2: an, - H3: ln, - H4: sn, - H5: un, - H6: In, - HR: dn, - IconButton: B, - IconButtonSkeleton: mn, - Icons: pn, - Img: hn, - LI: fn, - Link: gn, - ListItem: bn, - Loader: Cn, - Modal: yn, - OL: Sn, - P: kn, - Placeholder: vn, - Pre: Tn, - ResetWrapper: _n, - ScrollArea: An, - Separator: On, - Spaced: En, - Span: wn, - StorybookIcon: Bn, - StorybookLogo: Rn, - Symbols: xn, - SyntaxHighlighter: Ln, - TT: Pn, - TabBar: Mn, - TabButton: Dn, - TabWrapper: Gn, - Table: Fn, - Tabs: Nn, - TabsState: Un, - TooltipLinkList: U, - TooltipMessage: Hn, - TooltipNote: qn, - UL: zn, - WithTooltip: H, - WithTooltipPure: Kn, - Zoom: Vn, - codeCommon: Wn, - components: Yn, - createCopyToClipboardFunction: jn, - getStoryHref: $n, - icons: Zn, - interleaveSeparators: Jn, - nameSpaceClassNames: Qn, - resetComponents: Xn, - withReset: et, - } = __STORYBOOK_COMPONENTS__; - p(); - h(); - f(); - var ct = __STORYBOOK_ICONS__, - { - AccessibilityAltIcon: it, - AccessibilityIcon: at, - AddIcon: lt, - AdminIcon: st, - AlertAltIcon: ut, - AlertIcon: It, - AlignLeftIcon: dt, - AlignRightIcon: mt, - AppleIcon: pt, - ArrowBottomLeftIcon: ht, - ArrowBottomRightIcon: ft, - ArrowDownIcon: gt, - ArrowLeftIcon: bt, - ArrowRightIcon: Ct, - ArrowSolidDownIcon: yt, - ArrowSolidLeftIcon: St, - ArrowSolidRightIcon: kt, - ArrowSolidUpIcon: vt, - ArrowTopLeftIcon: Tt, - ArrowTopRightIcon: _t, - ArrowUpIcon: At, - AzureDevOpsIcon: Ot, - BackIcon: Et, - BasketIcon: wt, - BatchAcceptIcon: Bt, - BatchDenyIcon: Rt, - BeakerIcon: xt, - BellIcon: Lt, - BitbucketIcon: Pt, - BoldIcon: Mt, - BookIcon: Dt, - BookmarkHollowIcon: Gt, - BookmarkIcon: Ft, - BottomBarIcon: Nt, - BottomBarToggleIcon: Ut, - BoxIcon: Ht, - BranchIcon: qt, - BrowserIcon: zt, - ButtonIcon: Kt, - CPUIcon: Vt, - CalendarIcon: Wt, - CameraIcon: Yt, - CategoryIcon: jt, - CertificateIcon: $t, - ChangedIcon: Zt, - ChatIcon: Jt, - CheckIcon: Qt, - ChevronDownIcon: Xt, - ChevronLeftIcon: er, - ChevronRightIcon: or, - ChevronSmallDownIcon: nr, - ChevronSmallLeftIcon: tr, - ChevronSmallRightIcon: rr, - ChevronSmallUpIcon: cr, - ChevronUpIcon: ir, - ChromaticIcon: ar, - ChromeIcon: lr, - CircleHollowIcon: sr, - CircleIcon: Z, - ClearIcon: ur, - CloseAltIcon: Ir, - CloseIcon: dr, - CloudHollowIcon: mr, - CloudIcon: pr, - CogIcon: hr, - CollapseIcon: fr, - CommandIcon: gr, - CommentAddIcon: br, - CommentIcon: Cr, - CommentsIcon: yr, - CommitIcon: Sr, - CompassIcon: kr, - ComponentDrivenIcon: vr, - ComponentIcon: Tr, - ContrastIcon: _r, - ControlsIcon: Ar, - CopyIcon: Or, - CreditIcon: Er, - CrossIcon: wr, - DashboardIcon: Br, - DatabaseIcon: Rr, - DeleteIcon: xr, - DiamondIcon: Lr, - DirectionIcon: Pr, - DiscordIcon: Mr, - DocChartIcon: Dr, - DocListIcon: Gr, - DocumentIcon: Fr, - DownloadIcon: Nr, - DragIcon: Ur, - EditIcon: Hr, - EllipsisIcon: qr, - EmailIcon: zr, - ExpandAltIcon: Kr, - ExpandIcon: Vr, - EyeCloseIcon: Wr, - EyeIcon: Yr, - FaceHappyIcon: jr, - FaceNeutralIcon: $r, - FaceSadIcon: Zr, - FacebookIcon: Jr, - FailedIcon: Qr, - FastForwardIcon: Xr, - FigmaIcon: ec, - FilterIcon: oc, - FlagIcon: nc, - FolderIcon: tc, - FormIcon: rc, - GDriveIcon: cc, - GithubIcon: ic, - GitlabIcon: ac, - GlobeIcon: lc, - GoogleIcon: sc, - GraphBarIcon: uc, - GraphLineIcon: Ic, - GraphqlIcon: dc, - GridAltIcon: mc, - GridIcon: q, - GrowIcon: pc, - HeartHollowIcon: hc, - HeartIcon: fc, - HomeIcon: gc, - HourglassIcon: bc, - InfoIcon: Cc, - ItalicIcon: yc, - JumpToIcon: Sc, - KeyIcon: kc, - LightningIcon: vc, - LightningOffIcon: Tc, - LinkBrokenIcon: _c, - LinkIcon: Ac, - LinkedinIcon: Oc, - LinuxIcon: Ec, - ListOrderedIcon: wc, - ListUnorderedIcon: Bc, - LocationIcon: Rc, - LockIcon: xc, - MarkdownIcon: Lc, - MarkupIcon: Pc, - MediumIcon: Mc, - MemoryIcon: Dc, - MenuIcon: Gc, - MergeIcon: Fc, - MirrorIcon: Nc, - MobileIcon: Uc, - MoonIcon: Hc, - NutIcon: qc, - OutboxIcon: zc, - OutlineIcon: Kc, - PaintBrushIcon: Vc, - PaperClipIcon: Wc, - ParagraphIcon: Yc, - PassedIcon: jc, - PhoneIcon: $c, - PhotoDragIcon: Zc, - PhotoIcon: z, - PinAltIcon: Jc, - PinIcon: Qc, - PlayAllHollowIcon: Xc, - PlayBackIcon: ei, - PlayHollowIcon: oi, - PlayIcon: ni, - PlayNextIcon: ti, - PlusIcon: ri, - PointerDefaultIcon: ci, - PointerHandIcon: ii, - PowerIcon: ai, - PrintIcon: li, - ProceedIcon: si, - ProfileIcon: ui, - PullRequestIcon: Ii, - QuestionIcon: di, - RSSIcon: mi, - RedirectIcon: pi, - ReduxIcon: hi, - RefreshIcon: J, - ReplyIcon: fi, - RepoIcon: gi, - RequestChangeIcon: bi, - RewindIcon: Ci, - RulerIcon: yi, - SaveIcon: Si, - SearchIcon: ki, - ShareAltIcon: vi, - ShareIcon: Ti, - ShieldIcon: _i, - SideBySideIcon: Ai, - SidebarAltIcon: Oi, - SidebarAltToggleIcon: Ei, - SidebarIcon: wi, - SidebarToggleIcon: Bi, - SpeakerIcon: Ri, - StackedIcon: xi, - StarHollowIcon: Li, - StarIcon: Pi, - StatusFailIcon: Mi, - StatusPassIcon: Di, - StatusWarnIcon: Gi, - StickerIcon: Fi, - StopAltHollowIcon: Ni, - StopAltIcon: Ui, - StopIcon: Hi, - StorybookIcon: qi, - StructureIcon: zi, - SubtractIcon: Ki, - SunIcon: Vi, - SupportIcon: Wi, - SwitchAltIcon: Yi, - SyncIcon: ji, - TabletIcon: $i, - ThumbsUpIcon: Zi, - TimeIcon: Ji, - TimerIcon: Qi, - TransferIcon: Xi, - TrashIcon: ea, - TwitterIcon: oa, - TypeIcon: na, - UbuntuIcon: ta, - UndoIcon: ra, - UnfoldIcon: ca, - UnlockIcon: ia, - UnpinIcon: aa, - UploadIcon: la, - UserAddIcon: sa, - UserAltIcon: ua, - UserIcon: Ia, - UsersIcon: da, - VSCodeIcon: ma, - VerifiedIcon: pa, - VideoIcon: ha, - WandIcon: fa, - WatchIcon: ga, - WindowsIcon: ba, - WrenchIcon: Ca, - XIcon: ya, - YoutubeIcon: Sa, - ZoomIcon: ka, - ZoomOutIcon: va, - ZoomResetIcon: Ta, - iconList: _a, - } = __STORYBOOK_ICONS__; - p(); - h(); - f(); - var Ba = __STORYBOOK_CLIENT_LOGGER__, - { - deprecate: Ra, - logger: K, - once: xa, - pretty: La, - } = __STORYBOOK_CLIENT_LOGGER__; - var W = Ie(X()); - p(); - h(); - f(); - var qa = __STORYBOOK_THEMING__, - { - CacheProvider: za, - ClassNames: Ka, - Global: Va, - ThemeProvider: Wa, - background: Ya, - color: ja, - convert: $a, - create: Za, - createCache: Ja, - createGlobal: Qa, - createReset: Xa, - css: el, - darken: ol, - ensure: nl, - ignoreSsrWarning: tl, - isPropValid: rl, - jsx: cl, - keyframes: il, - lighten: al, - styled: ee, - themes: ll, - typography: sl, - useTheme: ul, - withTheme: Il, - } = __STORYBOOK_THEMING__; - p(); - h(); - f(); - function oe(e) { - for (var o = [], a = 1; a < arguments.length; a++) - o[a - 1] = arguments[a]; - var r = Array.from(typeof e == "string" ? [e] : e); - r[r.length - 1] = r[r.length - 1].replace(/\r?\n([\t ]*)$/, ""); - var c = r.reduce(function (t, n) { - var u = n.match(/\n([\t ]+|(?!\s).)/g); - return u - ? t.concat( - u.map(function (i) { - var I, s; - return (s = - (I = i.match(/[\t ]/g)) === null || I === void 0 - ? void 0 - : I.length) !== null && s !== void 0 - ? s - : 0; - }), - ) - : t; - }, []); - if (c.length) { - var d = new RegExp( - ` -[ ]{` + - Math.min.apply(Math, c) + - "}", - "g", - ); - r = r.map(function (t) { - return t.replace( - d, - ` -`, - ); - }); - } - r[0] = r[0].replace(/^\r?\n/, ""); - var l = r[0]; - return ( - o.forEach(function (t, n) { - var u = l.match(/(?:^|\n)( *)$/), - i = u ? u[1] : "", - I = t; - typeof t == "string" && - t.includes(` -`) && - (I = String(t) - .split( - ` -`, - ) - .map(function (s, C) { - return C === 0 ? s : "" + i + s; - }).join(` -`)), - (l += I + r[n + 1]); - }), - l - ); - } - var ne = "storybook/background", - S = "backgrounds", - de = { - light: { name: "light", value: "#F8F8F8" }, - dark: { name: "dark", value: "#333" }, - }, - me = w(function () { - let e = P(S), - [o, a, r] = L(), - [c, d] = F(!1), - { options: l = de, disable: t = !0 } = e || {}; - if (t) return null; - let n = o[S] || {}, - u = n.value, - i = n.grid || !1, - I = l[u], - s = !!r?.[S], - C = Object.keys(l).length; - return g.createElement(pe, { - length: C, - backgroundMap: l, - item: I, - updateGlobals: a, - backgroundName: u, - setIsTooltipVisible: d, - isLocked: s, - isGridActive: i, - isTooltipVisible: c, - }); - }), - pe = w(function (e) { - let { - item: o, - length: a, - updateGlobals: r, - setIsTooltipVisible: c, - backgroundMap: d, - backgroundName: l, - isLocked: t, - isGridActive: n, - isTooltipVisible: u, - } = e, - i = G( - (I) => { - r({ [S]: I }); - }, - [r], - ); - return g.createElement( - D, - null, - g.createElement( - B, - { - key: "grid", - active: n, - disabled: t, - title: "Apply a grid to the preview", - onClick: () => i({ value: l, grid: !n }), - }, - g.createElement(q, null), - ), - a > 0 - ? g.createElement( - H, - { - key: "background", - placement: "top", - closeOnOutsideClick: !0, - tooltip: ({ onHide: I }) => - g.createElement(U, { - links: [ - ...(o - ? [ - { - id: "reset", - title: "Reset background", - icon: g.createElement(J, null), - onClick: () => { - i({ value: void 0, grid: n }), I(); - }, - }, - ] - : []), - ...Object.entries(d).map(([s, C]) => ({ - id: s, - title: C.name, - icon: g.createElement(Z, { - color: C?.value || "grey", - }), - active: s === l, - onClick: () => { - i({ value: s, grid: n }), I(); - }, - })), - ], - }), - onVisibleChange: c, - }, - g.createElement( - B, - { - disabled: t, - key: "background", - title: "Change the background of the preview", - active: !!o || u, - }, - g.createElement(z, null), - ), - ) - : null, - ); - }), - he = ee.span( - ({ background: e }) => ({ - borderRadius: "1rem", - display: "block", - height: "1rem", - width: "1rem", - background: e, - }), - ({ theme: e }) => ({ - boxShadow: `${e.appBorderColor} 0 0 0 1px inset`, - }), - ), - fe = (e, o = [], a) => { - if (e === "transparent") return "transparent"; - if (o.find((c) => c.value === e) || e) return e; - let r = o.find((c) => c.name === a); - if (r) return r.value; - if (a) { - let c = o.map((d) => d.name).join(", "); - K.warn(oe` - Backgrounds Addon: could not find the default color "${a}". - These are the available colors for your story based on your configuration: - ${c}. - `); - } - return "transparent"; - }, - te = (0, W.default)(1e3)((e, o, a, r, c, d) => ({ - id: e || o, - title: o, - onClick: () => { - c({ selected: a, name: o }); - }, - value: a, - right: r ? g.createElement(he, { background: a }) : void 0, - active: d, - })), - ge = (0, W.default)(10)((e, o, a) => { - let r = e.map(({ name: c, value: d }) => - te(null, c, d, !0, a, d === o), - ); - return o !== "transparent" - ? [te("reset", "Clear background", "transparent", null, a, !1), ...r] - : r; - }), - be = { default: null, disable: !0, values: [] }, - Ce = w(function () { - let e = P(S, be), - [o, a] = F(!1), - [r, c] = L(), - d = r[S]?.value, - l = j(() => fe(d, e.values, e.default), [e, d]); - Array.isArray(e) && - K.warn( - "Addon Backgrounds api has changed in Storybook 6.0. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md", - ); - let t = G( - (n) => { - c({ [S]: { ...r[S], value: n } }); - }, - [e, r, c], - ); - return e.disable - ? null - : g.createElement( - H, - { - placement: "top", - closeOnOutsideClick: !0, - tooltip: ({ onHide: n }) => - g.createElement(U, { - links: ge(e.values, l, ({ selected: u }) => { - l !== u && t(u), n(); - }), - }), - onVisibleChange: a, - }, - g.createElement( - B, - { - key: "background", - title: "Change the background of the preview", - active: l !== "transparent" || o, - }, - g.createElement(z, null), - ), - ); - }), - ye = w(function () { - let [e, o] = L(), - { grid: a } = P(S, { grid: { disable: !1 } }); - if (a?.disable) return null; - let r = e[S]?.grid || !1; - return g.createElement( - B, - { - key: "background", - active: r, - title: "Apply a grid to the preview", - onClick: () => o({ [S]: { ...e[S], grid: !r } }), - }, - g.createElement(q, null), - ); - }); - N.register(ne, () => { - N.add(ne, { - title: "Backgrounds", - type: $.TOOL, - match: ({ viewMode: e, tabId: o }) => - !!(e && e.match(/^(story|docs)$/)) && !o, - render: () => - FEATURES?.backgroundsStoryGlobals - ? g.createElement(me, null) - : g.createElement( - D, - null, - g.createElement(Ce, null), - g.createElement(ye, null), - ), - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/essentials-controls-2/manager-bundle.js b/docs/public/stories/sb-addons/essentials-controls-2/manager-bundle.js deleted file mode 100644 index 8785f56d..00000000 --- a/docs/public/stories/sb-addons/essentials-controls-2/manager-bundle.js +++ /dev/null @@ -1,23108 +0,0 @@ -try { - (() => { - var fp = Object.create; - var kn = Object.defineProperty; - var hp = Object.getOwnPropertyDescriptor; - var mp = Object.getOwnPropertyNames; - var yp = Object.getPrototypeOf, - gp = Object.prototype.hasOwnProperty; - var Pe = ((e) => - typeof require < "u" - ? require - : typeof Proxy < "u" - ? new Proxy(e, { - get: (t, r) => (typeof require < "u" ? require : t)[r], - }) - : e)(function (e) { - if (typeof require < "u") return require.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - }); - var Qe = (e, t) => () => (e && (t = e((e = 0))), t); - var bp = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ), - qa = (e, t) => { - for (var r in t) kn(e, r, { get: t[r], enumerable: !0 }); - }, - Ep = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let o of mp(t)) - !gp.call(e, o) && - o !== r && - kn(e, o, { - get: () => t[o], - enumerable: !(n = hp(t, o)) || n.enumerable, - }); - return e; - }; - var vp = (e, t, r) => ( - (r = e != null ? fp(yp(e)) : {}), - Ep( - t || !e || !e.__esModule - ? kn(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) - ); - var V = Qe(() => {}); - var J = Qe(() => {}); - var z = Qe(() => {}); - function Cp(e, t, { signal: r, edges: n } = {}) { - let o, - a = null, - i = n != null && n.includes("leading"), - l = n == null || n.includes("trailing"), - s = () => { - a !== null && (e.apply(o, a), (o = void 0), (a = null)); - }, - c = () => { - l && s(), f(); - }, - d = null, - p = () => { - d != null && clearTimeout(d), - (d = setTimeout(() => { - (d = null), c(); - }, t)); - }, - h = () => { - d !== null && (clearTimeout(d), (d = null)); - }, - f = () => { - h(), (o = void 0), (a = null); - }, - b = () => { - h(), s(); - }, - g = function (...x) { - if (r?.aborted) return; - (o = this), (a = x); - let S = d == null; - p(), i && S && s(); - }; - return ( - (g.schedule = p), - (g.cancel = f), - (g.flush = b), - r?.addEventListener("abort", f, { once: !0 }), - g - ); - } - function Ha(e, t = 0, r = {}) { - typeof r != "object" && (r = {}); - let { signal: n, leading: o = !1, trailing: a = !0, maxWait: i } = r, - l = Array(2); - o && (l[0] = "leading"), a && (l[1] = "trailing"); - let s, - c = null, - d = Cp( - function (...f) { - (s = e.apply(this, f)), (c = null); - }, - t, - { signal: n, edges: l }, - ), - p = function (...f) { - if (i != null) { - if (c === null) c = Date.now(); - else if (Date.now() - c >= i) - return ( - (s = e.apply(this, f)), - (c = Date.now()), - d.cancel(), - d.schedule(), - s - ); - } - return d.apply(this, f), s; - }, - h = () => (d.flush(), s); - return (p.cancel = d.cancel), (p.flush = h), p; - } - function Ga(e) { - return Array.from(new Set(e)); - } - function Wa(e, t) { - let r = {}, - n = Object.entries(e); - for (let o = 0; o < n.length; o++) { - let [a, i] = n[o]; - t(i, a) && (r[a] = i); - } - return r; - } - function kp(e) { - return ArrayBuffer.isView(e) && !(e instanceof DataView); - } - function Ip(e) { - return e == null || (typeof e != "object" && typeof e != "function"); - } - function Va(e) { - return jt(e); - } - function jt(e, t = new Map()) { - if (Ip(e)) return e; - if (t.has(e)) return t.get(e); - if (Array.isArray(e)) { - let r = new Array(e.length); - t.set(e, r); - for (let n = 0; n < e.length; n++) r[n] = jt(e[n], t); - return ( - Object.prototype.hasOwnProperty.call(e, "index") && - (r.index = e.index), - Object.prototype.hasOwnProperty.call(e, "input") && - (r.input = e.input), - r - ); - } - if (e instanceof Date) return new Date(e.getTime()); - if (e instanceof RegExp) { - let r = new RegExp(e.source, e.flags); - return (r.lastIndex = e.lastIndex), r; - } - if (e instanceof Map) { - let r = new Map(); - t.set(e, r); - for (let [n, o] of e.entries()) r.set(n, jt(o, t)); - return r; - } - if (e instanceof Set) { - let r = new Set(); - t.set(e, r); - for (let n of e.values()) r.add(jt(n, t)); - return r; - } - if (typeof Buffer < "u" && Buffer.isBuffer(e)) return e.subarray(); - if (kp(e)) { - let r = new (Object.getPrototypeOf(e).constructor)(e.length); - t.set(e, r); - for (let n = 0; n < e.length; n++) r[n] = jt(e[n], t); - return r; - } - if ( - e instanceof ArrayBuffer || - (typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) - ) - return e.slice(0); - if (e instanceof DataView) { - let r = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength); - return t.set(e, r), vt(r, e, t), r; - } - if (typeof File < "u" && e instanceof File) { - let r = new File([e], e.name, { type: e.type }); - return t.set(e, r), vt(r, e, t), r; - } - if (e instanceof Blob) { - let r = new Blob([e], { type: e.type }); - return t.set(e, r), vt(r, e, t), r; - } - if (e instanceof Error) { - let r = new e.constructor(); - return ( - t.set(e, r), - (r.message = e.message), - (r.name = e.name), - (r.stack = e.stack), - (r.cause = e.cause), - vt(r, e, t), - r - ); - } - if (typeof e == "object" && e !== null) { - let r = {}; - return t.set(e, r), vt(r, e, t), r; - } - return e; - } - function vt(e, t, r) { - let n = Object.keys(t); - for (let o = 0; o < n.length; o++) { - let a = n[o], - i = Object.getOwnPropertyDescriptor(t, a); - (i?.writable || i?.set) && (e[a] = jt(t[a], r)); - } - } - function Ka(e) { - if (typeof e != "object") return Va(e); - switch (Object.prototype.toString.call(e)) { - case Dp: - case Op: - case Rp: { - let t = new e.constructor(e?.valueOf()); - return vt(t, e), t; - } - case _p: { - let t = {}; - return ( - vt(t, e), - (t.length = e.length), - (t[Symbol.iterator] = e[Symbol.iterator]), - t - ); - } - default: - return Va(e); - } - } - var Bt, - xp, - Ja, - Sp, - za, - wp, - Ap, - sr, - je, - Tp, - Lt, - Op, - Dp, - Rp, - _p, - Fe, - lr, - In = Qe(() => { - V(); - J(); - z(); - (Bt = ((e) => - typeof Pe < "u" - ? Pe - : typeof Proxy < "u" - ? new Proxy(e, { get: (t, r) => (typeof Pe < "u" ? Pe : t)[r] }) - : e)(function (e) { - if (typeof Pe < "u") return Pe.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - })), - (xp = Object.create), - (Ja = Object.defineProperty), - (Sp = Object.getOwnPropertyDescriptor), - (za = Object.getOwnPropertyNames), - (wp = Object.getPrototypeOf), - (Ap = Object.prototype.hasOwnProperty), - (sr = ((e) => - typeof Bt < "u" - ? Bt - : typeof Proxy < "u" - ? new Proxy(e, { get: (t, r) => (typeof Bt < "u" ? Bt : t)[r] }) - : e)(function (e) { - if (typeof Bt < "u") return Bt.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - })), - (je = (e, t) => - function () { - return ( - t || (0, e[za(e)[0]])((t = { exports: {} }).exports, t), - t.exports - ); - }), - (Tp = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let o of za(t)) - !Ap.call(e, o) && - o !== r && - Ja(e, o, { - get: () => t[o], - enumerable: !(n = Sp(t, o)) || n.enumerable, - }); - return e; - }), - (Lt = (e, t, r) => ( - (r = e != null ? xp(wp(e)) : {}), - Tp( - t || !e || !e.__esModule - ? Ja(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) - )); - (Op = "[object String]"), - (Dp = "[object Number]"), - (Rp = "[object Boolean]"), - (_p = "[object Arguments]"); - (Fe = (e) => `control-${e.replace(/\s+/g, "-")}`), - (lr = (e) => `set-${e.replace(/\s+/g, "-")}`); - }); - var m, - Ya, - it, - Wv, - Kv, - Yv, - Xv, - Xa, - Qv, - ue, - ur, - On, - Zv, - ex, - tx, - rx, - Qa, - nx, - ox, - ax, - xe, - Za, - ix, - sx, - Se, - lx, - ux, - cx, - ei, - st, - dx, - Re, - X, - px, - fx, - hx, - Rr = Qe(() => { - V(); - J(); - z(); - (m = __REACT__), - ({ - Children: Ya, - Component: it, - Fragment: Wv, - Profiler: Kv, - PureComponent: Yv, - StrictMode: Xv, - Suspense: Xa, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Qv, - cloneElement: ue, - createContext: ur, - createElement: On, - createFactory: Zv, - createRef: ex, - forwardRef: tx, - isValidElement: rx, - lazy: Qa, - memo: nx, - startTransition: ox, - unstable_act: ax, - useCallback: xe, - useContext: Za, - useDebugValue: ix, - useDeferredValue: sx, - useEffect: Se, - useId: lx, - useImperativeHandle: ux, - useInsertionEffect: cx, - useLayoutEffect: ei, - useMemo: st, - useReducer: dx, - useRef: Re, - useState: X, - useSyncExternalStore: px, - useTransition: fx, - version: hx, - } = __REACT__); - }); - var ti = {}; - qa(ti, { - A: () => Np, - ActionBar: () => Dn, - AddonPanel: () => Rn, - Badge: () => _n, - Bar: () => Pn, - Blockquote: () => Bp, - Button: () => lt, - ClipboardCode: () => jp, - Code: () => Lp, - DL: () => Mp, - Div: () => Up, - DocumentWrapper: () => $p, - EmptyTabContent: () => Fn, - ErrorFormatter: () => qp, - FlexBar: () => Nn, - Form: () => Ve, - H1: () => Vp, - H2: () => Bn, - H3: () => Jp, - H4: () => zp, - H5: () => Hp, - H6: () => Gp, - HR: () => Wp, - IconButton: () => ze, - IconButtonSkeleton: () => Kp, - Icons: () => Yp, - Img: () => Xp, - LI: () => Qp, - Link: () => xt, - ListItem: () => Zp, - Loader: () => ef, - Modal: () => He, - OL: () => tf, - P: () => rf, - Placeholder: () => nf, - Pre: () => of, - ResetWrapper: () => jn, - ScrollArea: () => af, - Separator: () => sf, - Spaced: () => Ln, - Span: () => lf, - StorybookIcon: () => uf, - StorybookLogo: () => cf, - Symbols: () => df, - SyntaxHighlighter: () => _r, - TT: () => pf, - TabBar: () => ff, - TabButton: () => hf, - TabWrapper: () => mf, - Table: () => yf, - Tabs: () => gf, - TabsState: () => bf, - TooltipLinkList: () => Ef, - TooltipMessage: () => vf, - TooltipNote: () => St, - UL: () => xf, - WithTooltip: () => ut, - WithTooltipPure: () => Mn, - Zoom: () => Un, - codeCommon: () => Mt, - components: () => $n, - createCopyToClipboardFunction: () => Sf, - default: () => Fp, - getStoryHref: () => wf, - icons: () => Af, - interleaveSeparators: () => Tf, - nameSpaceClassNames: () => qn, - resetComponents: () => Cf, - withReset: () => Ut, - }); - var Fp, - Np, - Dn, - Rn, - _n, - Pn, - Bp, - lt, - jp, - Lp, - Mp, - Up, - $p, - Fn, - qp, - Nn, - Ve, - Vp, - Bn, - Jp, - zp, - Hp, - Gp, - Wp, - ze, - Kp, - Yp, - Xp, - Qp, - xt, - Zp, - ef, - He, - tf, - rf, - nf, - of, - jn, - af, - sf, - Ln, - lf, - uf, - cf, - df, - _r, - pf, - ff, - hf, - mf, - yf, - gf, - bf, - Ef, - vf, - St, - xf, - ut, - Mn, - Un, - Mt, - $n, - Sf, - wf, - Af, - Tf, - qn, - Cf, - Ut, - Pr = Qe(() => { - V(); - J(); - z(); - (Fp = __STORYBOOK_COMPONENTS__), - ({ - A: Np, - ActionBar: Dn, - AddonPanel: Rn, - Badge: _n, - Bar: Pn, - Blockquote: Bp, - Button: lt, - ClipboardCode: jp, - Code: Lp, - DL: Mp, - Div: Up, - DocumentWrapper: $p, - EmptyTabContent: Fn, - ErrorFormatter: qp, - FlexBar: Nn, - Form: Ve, - H1: Vp, - H2: Bn, - H3: Jp, - H4: zp, - H5: Hp, - H6: Gp, - HR: Wp, - IconButton: ze, - IconButtonSkeleton: Kp, - Icons: Yp, - Img: Xp, - LI: Qp, - Link: xt, - ListItem: Zp, - Loader: ef, - Modal: He, - OL: tf, - P: rf, - Placeholder: nf, - Pre: of, - ResetWrapper: jn, - ScrollArea: af, - Separator: sf, - Spaced: Ln, - Span: lf, - StorybookIcon: uf, - StorybookLogo: cf, - Symbols: df, - SyntaxHighlighter: _r, - TT: pf, - TabBar: ff, - TabButton: hf, - TabWrapper: mf, - Table: yf, - Tabs: gf, - TabsState: bf, - TooltipLinkList: Ef, - TooltipMessage: vf, - TooltipNote: St, - UL: xf, - WithTooltip: ut, - WithTooltipPure: Mn, - Zoom: Un, - codeCommon: Mt, - components: $n, - createCopyToClipboardFunction: Sf, - getStoryHref: wf, - icons: Af, - interleaveSeparators: Tf, - nameSpaceClassNames: qn, - resetComponents: Cf, - withReset: Ut, - } = __STORYBOOK_COMPONENTS__); - }); - var NS, - BS, - jS, - LS, - ki, - MS, - $r, - Ii, - US, - $S, - qS, - VS, - JS, - zS, - HS, - Oi, - GS, - WS, - Kn, - KS, - R, - Yn, - YS, - Xn, - XS, - Qn = Qe(() => { - V(); - J(); - z(); - (NS = __STORYBOOK_THEMING__), - ({ - CacheProvider: BS, - ClassNames: jS, - Global: LS, - ThemeProvider: ki, - background: MS, - color: $r, - convert: Ii, - create: US, - createCache: $S, - createGlobal: qS, - createReset: VS, - css: JS, - darken: zS, - ensure: HS, - ignoreSsrWarning: Oi, - isPropValid: GS, - jsx: WS, - keyframes: Kn, - lighten: KS, - styled: R, - themes: Yn, - typography: YS, - useTheme: Xn, - withTheme: XS, - } = __STORYBOOK_THEMING__); - }); - var iw, - sw, - lw, - Zn, - uw, - cw, - dw, - pw, - fw, - hw, - mw, - yw, - gw, - bw, - Ew, - vw, - xw, - Sw, - ww, - Aw, - Tw, - Cw, - kw, - Iw, - Ow, - Dw, - Rw, - _w, - Pw, - Fw, - Nw, - Bw, - jw, - Lw, - Mw, - Uw, - $w, - qw, - Vw, - Jw, - zw, - Hw, - Gw, - Ww, - Kw, - Yw, - Xw, - _i, - Pi, - Qw, - Fi, - eo, - Zw, - eA, - Ni, - tA, - rA, - nA, - oA, - aA, - iA, - sA, - lA, - uA, - cA, - dA, - pA, - fA, - hA, - mA, - yA, - gA, - bA, - EA, - vA, - xA, - SA, - wA, - AA, - TA, - CA, - kA, - IA, - OA, - DA, - RA, - _A, - PA, - qr, - FA, - NA, - BA, - jA, - LA, - MA, - UA, - Bi, - ji, - $A, - qA, - VA, - JA, - zA, - HA, - GA, - WA, - KA, - YA, - XA, - QA, - ZA, - eT, - tT, - rT, - nT, - oT, - aT, - iT, - sT, - lT, - uT, - cT, - dT, - pT, - fT, - hT, - mT, - yT, - gT, - bT, - ET, - Li, - vT, - xT, - ST, - wT, - AT, - TT, - CT, - Mi, - kT, - IT, - OT, - DT, - RT, - _T, - PT, - FT, - NT, - BT, - jT, - LT, - MT, - UT, - $T, - qT, - VT, - JT, - zT, - HT, - GT, - WT, - KT, - YT, - XT, - QT, - ZT, - eC, - tC, - rC, - nC, - oC, - aC, - iC, - sC, - lC, - uC, - cC, - dC, - pC, - fC, - hC, - mC, - yC, - gC, - bC, - EC, - vC, - xC, - SC, - wC, - AC, - TC, - CC, - kC, - IC, - OC, - DC, - RC, - _C, - PC, - FC, - NC, - BC, - jC, - Ui, - LC, - MC, - UC, - $C, - qC, - VC, - JC, - zC, - HC, - GC, - WC, - KC, - YC, - to, - XC, - QC, - ZC, - e5, - t5, - r5, - n5, - o5, - a5, - i5, - $i, - s5, - l5, - u5, - c5, - d5, - p5, - qi, - Vi, - Ji, - f5, - ro = Qe(() => { - V(); - J(); - z(); - (iw = __STORYBOOK_ICONS__), - ({ - AccessibilityAltIcon: sw, - AccessibilityIcon: lw, - AddIcon: Zn, - AdminIcon: uw, - AlertAltIcon: cw, - AlertIcon: dw, - AlignLeftIcon: pw, - AlignRightIcon: fw, - AppleIcon: hw, - ArrowBottomLeftIcon: mw, - ArrowBottomRightIcon: yw, - ArrowDownIcon: gw, - ArrowLeftIcon: bw, - ArrowRightIcon: Ew, - ArrowSolidDownIcon: vw, - ArrowSolidLeftIcon: xw, - ArrowSolidRightIcon: Sw, - ArrowSolidUpIcon: ww, - ArrowTopLeftIcon: Aw, - ArrowTopRightIcon: Tw, - ArrowUpIcon: Cw, - AzureDevOpsIcon: kw, - BackIcon: Iw, - BasketIcon: Ow, - BatchAcceptIcon: Dw, - BatchDenyIcon: Rw, - BeakerIcon: _w, - BellIcon: Pw, - BitbucketIcon: Fw, - BoldIcon: Nw, - BookIcon: Bw, - BookmarkHollowIcon: jw, - BookmarkIcon: Lw, - BottomBarIcon: Mw, - BottomBarToggleIcon: Uw, - BoxIcon: $w, - BranchIcon: qw, - BrowserIcon: Vw, - ButtonIcon: Jw, - CPUIcon: zw, - CalendarIcon: Hw, - CameraIcon: Gw, - CategoryIcon: Ww, - CertificateIcon: Kw, - ChangedIcon: Yw, - ChatIcon: Xw, - CheckIcon: _i, - ChevronDownIcon: Pi, - ChevronLeftIcon: Qw, - ChevronRightIcon: Fi, - ChevronSmallDownIcon: eo, - ChevronSmallLeftIcon: Zw, - ChevronSmallRightIcon: eA, - ChevronSmallUpIcon: Ni, - ChevronUpIcon: tA, - ChromaticIcon: rA, - ChromeIcon: nA, - CircleHollowIcon: oA, - CircleIcon: aA, - ClearIcon: iA, - CloseAltIcon: sA, - CloseIcon: lA, - CloudHollowIcon: uA, - CloudIcon: cA, - CogIcon: dA, - CollapseIcon: pA, - CommandIcon: fA, - CommentAddIcon: hA, - CommentIcon: mA, - CommentsIcon: yA, - CommitIcon: gA, - CompassIcon: bA, - ComponentDrivenIcon: EA, - ComponentIcon: vA, - ContrastIcon: xA, - ControlsIcon: SA, - CopyIcon: wA, - CreditIcon: AA, - CrossIcon: TA, - DashboardIcon: CA, - DatabaseIcon: kA, - DeleteIcon: IA, - DiamondIcon: OA, - DirectionIcon: DA, - DiscordIcon: RA, - DocChartIcon: _A, - DocListIcon: PA, - DocumentIcon: qr, - DownloadIcon: FA, - DragIcon: NA, - EditIcon: BA, - EllipsisIcon: jA, - EmailIcon: LA, - ExpandAltIcon: MA, - ExpandIcon: UA, - EyeCloseIcon: Bi, - EyeIcon: ji, - FaceHappyIcon: $A, - FaceNeutralIcon: qA, - FaceSadIcon: VA, - FacebookIcon: JA, - FailedIcon: zA, - FastForwardIcon: HA, - FigmaIcon: GA, - FilterIcon: WA, - FlagIcon: KA, - FolderIcon: YA, - FormIcon: XA, - GDriveIcon: QA, - GithubIcon: ZA, - GitlabIcon: eT, - GlobeIcon: tT, - GoogleIcon: rT, - GraphBarIcon: nT, - GraphLineIcon: oT, - GraphqlIcon: aT, - GridAltIcon: iT, - GridIcon: sT, - GrowIcon: lT, - HeartHollowIcon: uT, - HeartIcon: cT, - HomeIcon: dT, - HourglassIcon: pT, - InfoIcon: fT, - ItalicIcon: hT, - JumpToIcon: mT, - KeyIcon: yT, - LightningIcon: gT, - LightningOffIcon: bT, - LinkBrokenIcon: ET, - LinkIcon: Li, - LinkedinIcon: vT, - LinuxIcon: xT, - ListOrderedIcon: ST, - ListUnorderedIcon: wT, - LocationIcon: AT, - LockIcon: TT, - MarkdownIcon: CT, - MarkupIcon: Mi, - MediumIcon: kT, - MemoryIcon: IT, - MenuIcon: OT, - MergeIcon: DT, - MirrorIcon: RT, - MobileIcon: _T, - MoonIcon: PT, - NutIcon: FT, - OutboxIcon: NT, - OutlineIcon: BT, - PaintBrushIcon: jT, - PaperClipIcon: LT, - ParagraphIcon: MT, - PassedIcon: UT, - PhoneIcon: $T, - PhotoDragIcon: qT, - PhotoIcon: VT, - PinAltIcon: JT, - PinIcon: zT, - PlayAllHollowIcon: HT, - PlayBackIcon: GT, - PlayHollowIcon: WT, - PlayIcon: KT, - PlayNextIcon: YT, - PlusIcon: XT, - PointerDefaultIcon: QT, - PointerHandIcon: ZT, - PowerIcon: eC, - PrintIcon: tC, - ProceedIcon: rC, - ProfileIcon: nC, - PullRequestIcon: oC, - QuestionIcon: aC, - RSSIcon: iC, - RedirectIcon: sC, - ReduxIcon: lC, - RefreshIcon: uC, - ReplyIcon: cC, - RepoIcon: dC, - RequestChangeIcon: pC, - RewindIcon: fC, - RulerIcon: hC, - SaveIcon: mC, - SearchIcon: yC, - ShareAltIcon: gC, - ShareIcon: bC, - ShieldIcon: EC, - SideBySideIcon: vC, - SidebarAltIcon: xC, - SidebarAltToggleIcon: SC, - SidebarIcon: wC, - SidebarToggleIcon: AC, - SpeakerIcon: TC, - StackedIcon: CC, - StarHollowIcon: kC, - StarIcon: IC, - StatusFailIcon: OC, - StatusPassIcon: DC, - StatusWarnIcon: RC, - StickerIcon: _C, - StopAltHollowIcon: PC, - StopAltIcon: FC, - StopIcon: NC, - StorybookIcon: BC, - StructureIcon: jC, - SubtractIcon: Ui, - SunIcon: LC, - SupportIcon: MC, - SwitchAltIcon: UC, - SyncIcon: $C, - TabletIcon: qC, - ThumbsUpIcon: VC, - TimeIcon: JC, - TimerIcon: zC, - TransferIcon: HC, - TrashIcon: GC, - TwitterIcon: WC, - TypeIcon: KC, - UbuntuIcon: YC, - UndoIcon: to, - UnfoldIcon: XC, - UnlockIcon: QC, - UnpinIcon: ZC, - UploadIcon: e5, - UserAddIcon: t5, - UserAltIcon: r5, - UserIcon: n5, - UsersIcon: o5, - VSCodeIcon: a5, - VerifiedIcon: i5, - VideoIcon: $i, - WandIcon: s5, - WatchIcon: l5, - WindowsIcon: u5, - WrenchIcon: c5, - XIcon: d5, - YoutubeIcon: p5, - ZoomIcon: qi, - ZoomOutIcon: Vi, - ZoomResetIcon: Ji, - iconList: f5, - } = __STORYBOOK_ICONS__); - }); - var Xl = bp((rn, Yl) => { - V(); - J(); - z(); - (function (e, t) { - typeof rn == "object" && typeof Yl < "u" - ? t(rn) - : typeof define == "function" && define.amd - ? define(["exports"], t) - : ((e = typeof globalThis < "u" ? globalThis : e || self), - t((e.jtpp = {}))); - })(rn, function (e) { - "use strict"; - function t(u) { - return u.text !== void 0 && u.text !== "" - ? `'${u.type}' with value '${u.text}'` - : `'${u.type}'`; - } - class r extends Error { - constructor(y) { - super(`No parslet found for token: ${t(y)}`), - (this.token = y), - Object.setPrototypeOf(this, r.prototype); - } - getToken() { - return this.token; - } - } - class n extends Error { - constructor(y) { - super(`The parsing ended early. The next token was: ${t(y)}`), - (this.token = y), - Object.setPrototypeOf(this, n.prototype); - } - getToken() { - return this.token; - } - } - class o extends Error { - constructor(y, v) { - let O = `Unexpected type: '${y.type}'.`; - v !== void 0 && (O += ` Message: ${v}`), - super(O), - Object.setPrototypeOf(this, o.prototype); - } - } - function a(u) { - return (y) => (y.startsWith(u) ? { type: u, text: u } : null); - } - function i(u) { - let y = 0, - v, - O = u[0], - j = !1; - if (O !== "'" && O !== '"') return null; - for (; y < u.length; ) { - if ((y++, (v = u[y]), !j && v === O)) { - y++; - break; - } - j = !j && v === "\\"; - } - if (v !== O) throw new Error("Unterminated String"); - return u.slice(0, y); - } - let l = new RegExp( - "[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}", - "u", - ), - s = new RegExp( - "[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}", - "u", - ); - function c(u) { - let y = u[0]; - if (!l.test(y)) return null; - let v = 1; - do { - if (((y = u[v]), !s.test(y))) break; - v++; - } while (v < u.length); - return u.slice(0, v); - } - let d = /^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/; - function p(u) { - var y, v; - return (v = - (y = d.exec(u)) === null || y === void 0 ? void 0 : y[0]) !== - null && v !== void 0 - ? v - : null; - } - let h = (u) => { - let y = c(u); - return y == null ? null : { type: "Identifier", text: y }; - }; - function f(u) { - return (y) => { - if (!y.startsWith(u)) return null; - let v = y[u.length]; - return v !== void 0 && s.test(v) ? null : { type: u, text: u }; - }; - } - let b = (u) => { - let y = i(u); - return y == null ? null : { type: "StringValue", text: y }; - }, - g = (u) => (u.length > 0 ? null : { type: "EOF", text: "" }), - x = (u) => { - let y = p(u); - return y === null ? null : { type: "Number", text: y }; - }, - S = [ - g, - a("=>"), - a("("), - a(")"), - a("{"), - a("}"), - a("["), - a("]"), - a("|"), - a("&"), - a("<"), - a(">"), - a(","), - a(";"), - a("*"), - a("?"), - a("!"), - a("="), - a(":"), - a("..."), - a("."), - a("#"), - a("~"), - a("/"), - a("@"), - f("undefined"), - f("null"), - f("function"), - f("this"), - f("new"), - f("module"), - f("event"), - f("external"), - f("typeof"), - f("keyof"), - f("readonly"), - f("import"), - f("is"), - f("in"), - f("asserts"), - x, - h, - b, - ], - A = /^\s*\n\s*/; - class k { - static create(y) { - let v = this.read(y); - y = v.text; - let O = this.read(y); - return (y = O.text), new k(y, void 0, v.token, O.token); - } - constructor(y, v, O, j) { - (this.text = ""), - (this.text = y), - (this.previous = v), - (this.current = O), - (this.next = j); - } - static read(y, v = !1) { - (v = v || A.test(y)), (y = y.trim()); - for (let O of S) { - let j = O(y); - if (j !== null) { - let q = Object.assign(Object.assign({}, j), { startOfLine: v }); - return (y = y.slice(q.text.length)), { text: y, token: q }; - } - } - throw new Error("Unexpected Token " + y); - } - advance() { - let y = k.read(this.text); - return new k(y.text, this.current, this.next, y.token); - } - } - function T(u) { - if (u === void 0) throw new Error("Unexpected undefined"); - if ( - u.type === "JsdocTypeKeyValue" || - u.type === "JsdocTypeParameterList" || - u.type === "JsdocTypeProperty" || - u.type === "JsdocTypeReadonlyProperty" || - u.type === "JsdocTypeObjectField" || - u.type === "JsdocTypeJsdocObjectField" || - u.type === "JsdocTypeIndexSignature" || - u.type === "JsdocTypeMappedType" - ) - throw new o(u); - return u; - } - function I(u) { - return u.type === "JsdocTypeKeyValue" ? F(u) : T(u); - } - function D(u) { - return u.type === "JsdocTypeName" ? u : F(u); - } - function F(u) { - if (u.type !== "JsdocTypeKeyValue") throw new o(u); - return u; - } - function P(u) { - var y; - if (u.type === "JsdocTypeVariadic") { - if ( - ((y = u.element) === null || y === void 0 ? void 0 : y.type) === - "JsdocTypeName" - ) - return u; - throw new o(u); - } - if (u.type !== "JsdocTypeNumber" && u.type !== "JsdocTypeName") - throw new o(u); - return u; - } - function L(u) { - return ( - u.type === "JsdocTypeIndexSignature" || - u.type === "JsdocTypeMappedType" - ); - } - var B; - (function (u) { - (u[(u.ALL = 0)] = "ALL"), - (u[(u.PARAMETER_LIST = 1)] = "PARAMETER_LIST"), - (u[(u.OBJECT = 2)] = "OBJECT"), - (u[(u.KEY_VALUE = 3)] = "KEY_VALUE"), - (u[(u.INDEX_BRACKETS = 4)] = "INDEX_BRACKETS"), - (u[(u.UNION = 5)] = "UNION"), - (u[(u.INTERSECTION = 6)] = "INTERSECTION"), - (u[(u.PREFIX = 7)] = "PREFIX"), - (u[(u.INFIX = 8)] = "INFIX"), - (u[(u.TUPLE = 9)] = "TUPLE"), - (u[(u.SYMBOL = 10)] = "SYMBOL"), - (u[(u.OPTIONAL = 11)] = "OPTIONAL"), - (u[(u.NULLABLE = 12)] = "NULLABLE"), - (u[(u.KEY_OF_TYPE_OF = 13)] = "KEY_OF_TYPE_OF"), - (u[(u.FUNCTION = 14)] = "FUNCTION"), - (u[(u.ARROW = 15)] = "ARROW"), - (u[(u.ARRAY_BRACKETS = 16)] = "ARRAY_BRACKETS"), - (u[(u.GENERIC = 17)] = "GENERIC"), - (u[(u.NAME_PATH = 18)] = "NAME_PATH"), - (u[(u.PARENTHESIS = 19)] = "PARENTHESIS"), - (u[(u.SPECIAL_TYPES = 20)] = "SPECIAL_TYPES"); - })(B || (B = {})); - class G { - constructor(y, v, O) { - (this.grammar = y), - typeof v == "string" - ? (this._lexer = k.create(v)) - : (this._lexer = v), - (this.baseParser = O); - } - get lexer() { - return this._lexer; - } - parse() { - let y = this.parseType(B.ALL); - if (this.lexer.current.type !== "EOF") - throw new n(this.lexer.current); - return y; - } - parseType(y) { - return T(this.parseIntermediateType(y)); - } - parseIntermediateType(y) { - let v = this.tryParslets(null, y); - if (v === null) throw new r(this.lexer.current); - return this.parseInfixIntermediateType(v, y); - } - parseInfixIntermediateType(y, v) { - let O = this.tryParslets(y, v); - for (; O !== null; ) (y = O), (O = this.tryParslets(y, v)); - return y; - } - tryParslets(y, v) { - for (let O of this.grammar) { - let j = O(this, v, y); - if (j !== null) return j; - } - return null; - } - consume(y) { - return ( - Array.isArray(y) || (y = [y]), - y.includes(this.lexer.current.type) - ? ((this._lexer = this.lexer.advance()), !0) - : !1 - ); - } - acceptLexerState(y) { - this._lexer = y.lexer; - } - } - function $(u) { - return ( - u === "EOF" || u === "|" || u === "," || u === ")" || u === ">" - ); - } - let H = (u, y, v) => { - let O = u.lexer.current.type, - j = u.lexer.next.type; - return (v == null && O === "?" && !$(j)) || (v != null && O === "?") - ? (u.consume("?"), - v == null - ? { - type: "JsdocTypeNullable", - element: u.parseType(B.NULLABLE), - meta: { position: "prefix" }, - } - : { - type: "JsdocTypeNullable", - element: T(v), - meta: { position: "suffix" }, - }) - : null; - }; - function w(u) { - let y = (v, O, j) => { - let q = v.lexer.current.type, - W = v.lexer.next.type; - if (j === null) { - if ("parsePrefix" in u && u.accept(q, W)) return u.parsePrefix(v); - } else if ("parseInfix" in u && u.precedence > O && u.accept(q, W)) - return u.parseInfix(v, j); - return null; - }; - return Object.defineProperty(y, "name", { value: u.name }), y; - } - let C = w({ - name: "optionalParslet", - accept: (u) => u === "=", - precedence: B.OPTIONAL, - parsePrefix: (u) => ( - u.consume("="), - { - type: "JsdocTypeOptional", - element: u.parseType(B.OPTIONAL), - meta: { position: "prefix" }, - } - ), - parseInfix: (u, y) => ( - u.consume("="), - { - type: "JsdocTypeOptional", - element: T(y), - meta: { position: "suffix" }, - } - ), - }), - _ = w({ - name: "numberParslet", - accept: (u) => u === "Number", - parsePrefix: (u) => { - let y = parseFloat(u.lexer.current.text); - return u.consume("Number"), { type: "JsdocTypeNumber", value: y }; - }, - }), - M = w({ - name: "parenthesisParslet", - accept: (u) => u === "(", - parsePrefix: (u) => { - if ((u.consume("("), u.consume(")"))) - return { type: "JsdocTypeParameterList", elements: [] }; - let y = u.parseIntermediateType(B.ALL); - if (!u.consume(")")) throw new Error("Unterminated parenthesis"); - return y.type === "JsdocTypeParameterList" - ? y - : y.type === "JsdocTypeKeyValue" - ? { type: "JsdocTypeParameterList", elements: [y] } - : { type: "JsdocTypeParenthesis", element: T(y) }; - }, - }), - U = w({ - name: "specialTypesParslet", - accept: (u, y) => - (u === "?" && $(y)) || - u === "null" || - u === "undefined" || - u === "*", - parsePrefix: (u) => { - if (u.consume("null")) return { type: "JsdocTypeNull" }; - if (u.consume("undefined")) return { type: "JsdocTypeUndefined" }; - if (u.consume("*")) return { type: "JsdocTypeAny" }; - if (u.consume("?")) return { type: "JsdocTypeUnknown" }; - throw new Error("Unacceptable token: " + u.lexer.current.text); - }, - }), - K = w({ - name: "notNullableParslet", - accept: (u) => u === "!", - precedence: B.NULLABLE, - parsePrefix: (u) => ( - u.consume("!"), - { - type: "JsdocTypeNotNullable", - element: u.parseType(B.NULLABLE), - meta: { position: "prefix" }, - } - ), - parseInfix: (u, y) => ( - u.consume("!"), - { - type: "JsdocTypeNotNullable", - element: T(y), - meta: { position: "suffix" }, - } - ), - }); - function re({ allowTrailingComma: u }) { - return w({ - name: "parameterListParslet", - accept: (y) => y === ",", - precedence: B.PARAMETER_LIST, - parseInfix: (y, v) => { - let O = [I(v)]; - y.consume(","); - do - try { - let j = y.parseIntermediateType(B.PARAMETER_LIST); - O.push(I(j)); - } catch (j) { - if (u && j instanceof r) break; - throw j; - } - while (y.consume(",")); - if ( - O.length > 0 && - O.slice(0, -1).some((j) => j.type === "JsdocTypeVariadic") - ) - throw new Error( - "Only the last parameter may be a rest parameter", - ); - return { type: "JsdocTypeParameterList", elements: O }; - }, - }); - } - let Z = w({ - name: "genericParslet", - accept: (u, y) => u === "<" || (u === "." && y === "<"), - precedence: B.GENERIC, - parseInfix: (u, y) => { - let v = u.consume("."); - u.consume("<"); - let O = []; - do O.push(u.parseType(B.PARAMETER_LIST)); - while (u.consume(",")); - if (!u.consume(">")) - throw new Error("Unterminated generic parameter list"); - return { - type: "JsdocTypeGeneric", - left: T(y), - elements: O, - meta: { brackets: "angle", dot: v }, - }; - }, - }), - Y = w({ - name: "unionParslet", - accept: (u) => u === "|", - precedence: B.UNION, - parseInfix: (u, y) => { - u.consume("|"); - let v = []; - do v.push(u.parseType(B.UNION)); - while (u.consume("|")); - return { type: "JsdocTypeUnion", elements: [T(y), ...v] }; - }, - }), - ee = [H, C, _, M, U, K, re({ allowTrailingComma: !0 }), Z, Y, C]; - function ye({ - allowSquareBracketsOnAnyType: u, - allowJsdocNamePaths: y, - pathGrammar: v, - }) { - return function (j, q, W) { - if (W == null || q >= B.NAME_PATH) return null; - let te = j.lexer.current.type, - Ce = j.lexer.next.type; - if ( - !( - (te === "." && Ce !== "<") || - (te === "[" && (u || W.type === "JsdocTypeName")) || - (y && (te === "~" || te === "#")) - ) - ) - return null; - let Le, - Dr = !1; - j.consume(".") - ? (Le = "property") - : j.consume("[") - ? ((Le = "property-brackets"), (Dr = !0)) - : j.consume("~") - ? (Le = "inner") - : (j.consume("#"), (Le = "instance")); - let Ua = v !== null ? new G(v, j.lexer, j) : j, - Xe = Ua.parseIntermediateType(B.NAME_PATH); - j.acceptLexerState(Ua); - let ir; - switch (Xe.type) { - case "JsdocTypeName": - ir = { - type: "JsdocTypeProperty", - value: Xe.value, - meta: { quote: void 0 }, - }; - break; - case "JsdocTypeNumber": - ir = { - type: "JsdocTypeProperty", - value: Xe.value.toString(10), - meta: { quote: void 0 }, - }; - break; - case "JsdocTypeStringValue": - ir = { - type: "JsdocTypeProperty", - value: Xe.value, - meta: { quote: Xe.meta.quote }, - }; - break; - case "JsdocTypeSpecialNamePath": - if (Xe.specialType === "event") ir = Xe; - else - throw new o( - Xe, - "Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'", - ); - break; - default: - throw new o( - Xe, - "Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'", - ); - } - if (Dr && !j.consume("]")) { - let $a = j.lexer.current; - throw new Error( - `Unterminated square brackets. Next token is '${$a.type}' with text '${$a.text}'`, - ); - } - return { - type: "JsdocTypeNamePath", - left: T(W), - right: ir, - pathType: Le, - }; - }; - } - function le({ allowedAdditionalTokens: u }) { - return w({ - name: "nameParslet", - accept: (y) => - y === "Identifier" || - y === "this" || - y === "new" || - u.includes(y), - parsePrefix: (y) => { - let { type: v, text: O } = y.lexer.current; - return y.consume(v), { type: "JsdocTypeName", value: O }; - }, - }); - } - let Ae = w({ - name: "stringValueParslet", - accept: (u) => u === "StringValue", - parsePrefix: (u) => { - let y = u.lexer.current.text; - return ( - u.consume("StringValue"), - { - type: "JsdocTypeStringValue", - value: y.slice(1, -1), - meta: { quote: y[0] === "'" ? "single" : "double" }, - } - ); - }, - }); - function ne({ pathGrammar: u, allowedTypes: y }) { - return w({ - name: "specialNamePathParslet", - accept: (v) => y.includes(v), - parsePrefix: (v) => { - let O = v.lexer.current.type; - if ((v.consume(O), !v.consume(":"))) - return { type: "JsdocTypeName", value: O }; - let j, - q = v.lexer.current; - if (v.consume("StringValue")) - j = { - type: "JsdocTypeSpecialNamePath", - value: q.text.slice(1, -1), - specialType: O, - meta: { quote: q.text[0] === "'" ? "single" : "double" }, - }; - else { - let Ce = "", - ve = ["Identifier", "@", "/"]; - for (; ve.some((Le) => v.consume(Le)); ) - (Ce += q.text), (q = v.lexer.current); - j = { - type: "JsdocTypeSpecialNamePath", - value: Ce, - specialType: O, - meta: { quote: void 0 }, - }; - } - let W = new G(u, v.lexer, v), - te = W.parseInfixIntermediateType(j, B.ALL); - return v.acceptLexerState(W), T(te); - }, - }); - } - let qe = [ - le({ allowedAdditionalTokens: ["external", "module"] }), - Ae, - _, - ye({ - allowSquareBracketsOnAnyType: !1, - allowJsdocNamePaths: !0, - pathGrammar: null, - }), - ], - Be = [...qe, ne({ allowedTypes: ["event"], pathGrammar: qe })]; - function Ye(u) { - let y; - if (u.type === "JsdocTypeParameterList") y = u.elements; - else if (u.type === "JsdocTypeParenthesis") y = [u.element]; - else throw new o(u); - return y.map((v) => I(v)); - } - function nr(u) { - let y = Ye(u); - if (y.some((v) => v.type === "JsdocTypeKeyValue")) - throw new Error("No parameter should be named"); - return y; - } - function Ft({ - allowNamedParameters: u, - allowNoReturnType: y, - allowWithoutParenthesis: v, - allowNewAsFunctionKeyword: O, - }) { - return w({ - name: "functionParslet", - accept: (j, q) => - j === "function" || (O && j === "new" && q === "("), - parsePrefix: (j) => { - let q = j.consume("new"); - j.consume("function"); - let W = j.lexer.current.type === "("; - if (!W) { - if (!v) throw new Error("function is missing parameter list"); - return { type: "JsdocTypeName", value: "function" }; - } - let te = { - type: "JsdocTypeFunction", - parameters: [], - arrow: !1, - constructor: q, - parenthesis: W, - }, - Ce = j.parseIntermediateType(B.FUNCTION); - if (u === void 0) te.parameters = nr(Ce); - else { - if (q && Ce.type === "JsdocTypeFunction" && Ce.arrow) - return (te = Ce), (te.constructor = !0), te; - te.parameters = Ye(Ce); - for (let ve of te.parameters) - if (ve.type === "JsdocTypeKeyValue" && !u.includes(ve.key)) - throw new Error( - `only allowed named parameters are ${u.join(", ")} but got ${ve.type}`, - ); - } - if (j.consume(":")) te.returnType = j.parseType(B.PREFIX); - else if (!y) throw new Error("function is missing return type"); - return te; - }, - }); - } - function or({ allowPostfix: u, allowEnclosingBrackets: y }) { - return w({ - name: "variadicParslet", - accept: (v) => v === "...", - precedence: B.PREFIX, - parsePrefix: (v) => { - v.consume("..."); - let O = y && v.consume("["); - try { - let j = v.parseType(B.PREFIX); - if (O && !v.consume("]")) - throw new Error("Unterminated variadic type. Missing ']'"); - return { - type: "JsdocTypeVariadic", - element: T(j), - meta: { position: "prefix", squareBrackets: O }, - }; - } catch (j) { - if (j instanceof r) { - if (O) - throw new Error( - "Empty square brackets for variadic are not allowed.", - ); - return { - type: "JsdocTypeVariadic", - meta: { position: void 0, squareBrackets: !1 }, - }; - } else throw j; - } - }, - parseInfix: u - ? (v, O) => ( - v.consume("..."), - { - type: "JsdocTypeVariadic", - element: T(O), - meta: { position: "suffix", squareBrackets: !1 }, - } - ) - : void 0, - }); - } - let kr = w({ - name: "symbolParslet", - accept: (u) => u === "(", - precedence: B.SYMBOL, - parseInfix: (u, y) => { - if (y.type !== "JsdocTypeName") - throw new Error( - "Symbol expects a name on the left side. (Reacting on '(')", - ); - u.consume("("); - let v = { type: "JsdocTypeSymbol", value: y.value }; - if (!u.consume(")")) { - let O = u.parseIntermediateType(B.SYMBOL); - if (((v.element = P(O)), !u.consume(")"))) - throw new Error("Symbol does not end after value"); - } - return v; - }, - }), - _e = w({ - name: "arrayBracketsParslet", - precedence: B.ARRAY_BRACKETS, - accept: (u, y) => u === "[" && y === "]", - parseInfix: (u, y) => ( - u.consume("["), - u.consume("]"), - { - type: "JsdocTypeGeneric", - left: { type: "JsdocTypeName", value: "Array" }, - elements: [T(y)], - meta: { brackets: "square", dot: !1 }, - } - ), - }); - function De({ objectFieldGrammar: u, allowKeyTypes: y }) { - return w({ - name: "objectParslet", - accept: (v) => v === "{", - parsePrefix: (v) => { - v.consume("{"); - let O = { - type: "JsdocTypeObject", - meta: { separator: "comma" }, - elements: [], - }; - if (!v.consume("}")) { - let j, - q = new G(u, v.lexer, v); - for (;;) { - q.acceptLexerState(v); - let W = q.parseIntermediateType(B.OBJECT); - v.acceptLexerState(q), - W === void 0 && - y && - (W = v.parseIntermediateType(B.OBJECT)); - let te = !1; - if ( - (W.type === "JsdocTypeNullable" && - ((te = !0), (W = W.element)), - W.type === "JsdocTypeNumber" || - W.type === "JsdocTypeName" || - W.type === "JsdocTypeStringValue") - ) { - let ve; - W.type === "JsdocTypeStringValue" && (ve = W.meta.quote), - O.elements.push({ - type: "JsdocTypeObjectField", - key: W.value.toString(), - right: void 0, - optional: te, - readonly: !1, - meta: { quote: ve }, - }); - } else if ( - W.type === "JsdocTypeObjectField" || - W.type === "JsdocTypeJsdocObjectField" - ) - O.elements.push(W); - else throw new o(W); - if (v.lexer.current.startOfLine) j = "linebreak"; - else if (v.consume(",")) j = "comma"; - else if (v.consume(";")) j = "semicolon"; - else break; - if (v.lexer.current.type === "}") break; - } - if (((O.meta.separator = j ?? "comma"), !v.consume("}"))) - throw new Error("Unterminated record type. Missing '}'"); - } - return O; - }, - }); - } - function nt({ - allowSquaredProperties: u, - allowKeyTypes: y, - allowReadonly: v, - allowOptional: O, - }) { - return w({ - name: "objectFieldParslet", - precedence: B.KEY_VALUE, - accept: (j) => j === ":", - parseInfix: (j, q) => { - var W; - let te = !1, - Ce = !1; - O && - q.type === "JsdocTypeNullable" && - ((te = !0), (q = q.element)), - v && - q.type === "JsdocTypeReadonlyProperty" && - ((Ce = !0), (q = q.element)); - let ve = (W = j.baseParser) !== null && W !== void 0 ? W : j; - if ( - (ve.acceptLexerState(j), - q.type === "JsdocTypeNumber" || - q.type === "JsdocTypeName" || - q.type === "JsdocTypeStringValue" || - L(q)) - ) { - if (L(q) && !u) throw new o(q); - ve.consume(":"); - let Le; - q.type === "JsdocTypeStringValue" && (Le = q.meta.quote); - let Dr = ve.parseType(B.KEY_VALUE); - return ( - j.acceptLexerState(ve), - { - type: "JsdocTypeObjectField", - key: L(q) ? q : q.value.toString(), - right: Dr, - optional: te, - readonly: Ce, - meta: { quote: Le }, - } - ); - } else { - if (!y) throw new o(q); - ve.consume(":"); - let Le = ve.parseType(B.KEY_VALUE); - return ( - j.acceptLexerState(ve), - { type: "JsdocTypeJsdocObjectField", left: T(q), right: Le } - ); - } - }, - }); - } - function Nt({ allowOptional: u, allowVariadic: y }) { - return w({ - name: "keyValueParslet", - precedence: B.KEY_VALUE, - accept: (v) => v === ":", - parseInfix: (v, O) => { - let j = !1, - q = !1; - if ( - (u && - O.type === "JsdocTypeNullable" && - ((j = !0), (O = O.element)), - y && - O.type === "JsdocTypeVariadic" && - O.element !== void 0 && - ((q = !0), (O = O.element)), - O.type !== "JsdocTypeName") - ) - throw new o(O); - v.consume(":"); - let W = v.parseType(B.KEY_VALUE); - return { - type: "JsdocTypeKeyValue", - key: O.value, - right: W, - optional: j, - variadic: q, - }; - }, - }); - } - let Ir = [ - ...ee, - Ft({ - allowWithoutParenthesis: !0, - allowNamedParameters: ["this", "new"], - allowNoReturnType: !0, - allowNewAsFunctionKeyword: !1, - }), - Ae, - ne({ - allowedTypes: ["module", "external", "event"], - pathGrammar: Be, - }), - or({ allowEnclosingBrackets: !0, allowPostfix: !0 }), - le({ allowedAdditionalTokens: ["keyof"] }), - kr, - _e, - ye({ - allowSquareBracketsOnAnyType: !1, - allowJsdocNamePaths: !0, - pathGrammar: Be, - }), - ], - An = [ - ...Ir, - De({ - objectFieldGrammar: [ - le({ allowedAdditionalTokens: ["module", "in"] }), - nt({ - allowSquaredProperties: !1, - allowKeyTypes: !0, - allowOptional: !1, - allowReadonly: !1, - }), - ...Ir, - ], - allowKeyTypes: !0, - }), - Nt({ allowOptional: !0, allowVariadic: !0 }), - ], - Na = w({ - name: "typeOfParslet", - accept: (u) => u === "typeof", - parsePrefix: (u) => ( - u.consume("typeof"), - { - type: "JsdocTypeTypeof", - element: T(u.parseType(B.KEY_OF_TYPE_OF)), - } - ), - }), - Vd = [ - le({ - allowedAdditionalTokens: [ - "module", - "keyof", - "event", - "external", - "in", - ], - }), - H, - C, - Ae, - _, - nt({ - allowSquaredProperties: !1, - allowKeyTypes: !1, - allowOptional: !1, - allowReadonly: !1, - }), - ], - Jd = [ - ...ee, - De({ allowKeyTypes: !1, objectFieldGrammar: Vd }), - le({ allowedAdditionalTokens: ["event", "external", "in"] }), - Na, - Ft({ - allowWithoutParenthesis: !1, - allowNamedParameters: ["this", "new"], - allowNoReturnType: !0, - allowNewAsFunctionKeyword: !1, - }), - or({ allowEnclosingBrackets: !1, allowPostfix: !1 }), - le({ allowedAdditionalTokens: ["keyof"] }), - ne({ allowedTypes: ["module"], pathGrammar: Be }), - ye({ - allowSquareBracketsOnAnyType: !1, - allowJsdocNamePaths: !0, - pathGrammar: Be, - }), - Nt({ allowOptional: !1, allowVariadic: !1 }), - kr, - ], - zd = w({ - name: "assertsParslet", - accept: (u) => u === "asserts", - parsePrefix: (u) => { - u.consume("asserts"); - let y = u.parseIntermediateType(B.SYMBOL); - if (y.type !== "JsdocTypeName") - throw new o( - y, - "A typescript asserts always has to have a name on the left side.", - ); - return ( - u.consume("is"), - { - type: "JsdocTypeAsserts", - left: y, - right: T(u.parseIntermediateType(B.INFIX)), - } - ); - }, - }); - function Hd({ allowQuestionMark: u }) { - return w({ - name: "tupleParslet", - accept: (y) => y === "[", - parsePrefix: (y) => { - y.consume("["); - let v = { type: "JsdocTypeTuple", elements: [] }; - if (y.consume("]")) return v; - let O = y.parseIntermediateType(B.ALL); - if ( - (O.type === "JsdocTypeParameterList" - ? O.elements[0].type === "JsdocTypeKeyValue" - ? (v.elements = O.elements.map(F)) - : (v.elements = O.elements.map(T)) - : O.type === "JsdocTypeKeyValue" - ? (v.elements = [F(O)]) - : (v.elements = [T(O)]), - !y.consume("]")) - ) - throw new Error("Unterminated '['"); - if (!u && v.elements.some((j) => j.type === "JsdocTypeUnknown")) - throw new Error("Question mark in tuple not allowed"); - return v; - }, - }); - } - let Gd = w({ - name: "keyOfParslet", - accept: (u) => u === "keyof", - parsePrefix: (u) => ( - u.consume("keyof"), - { - type: "JsdocTypeKeyof", - element: T(u.parseType(B.KEY_OF_TYPE_OF)), - } - ), - }), - Wd = w({ - name: "importParslet", - accept: (u) => u === "import", - parsePrefix: (u) => { - if ((u.consume("import"), !u.consume("("))) - throw new Error("Missing parenthesis after import keyword"); - let y = u.parseType(B.PREFIX); - if (y.type !== "JsdocTypeStringValue") - throw new Error( - "Only string values are allowed as paths for imports", - ); - if (!u.consume(")")) - throw new Error( - "Missing closing parenthesis after import keyword", - ); - return { type: "JsdocTypeImport", element: y }; - }, - }), - Kd = w({ - name: "readonlyPropertyParslet", - accept: (u) => u === "readonly", - parsePrefix: (u) => ( - u.consume("readonly"), - { - type: "JsdocTypeReadonlyProperty", - element: u.parseType(B.KEY_VALUE), - } - ), - }), - Yd = w({ - name: "arrowFunctionParslet", - precedence: B.ARROW, - accept: (u) => u === "=>", - parseInfix: (u, y) => ( - u.consume("=>"), - { - type: "JsdocTypeFunction", - parameters: Ye(y).map(D), - arrow: !0, - constructor: !1, - parenthesis: !0, - returnType: u.parseType(B.OBJECT), - } - ), - }), - Xd = w({ - name: "intersectionParslet", - accept: (u) => u === "&", - precedence: B.INTERSECTION, - parseInfix: (u, y) => { - u.consume("&"); - let v = []; - do v.push(u.parseType(B.INTERSECTION)); - while (u.consume("&")); - return { type: "JsdocTypeIntersection", elements: [T(y), ...v] }; - }, - }), - Qd = w({ - name: "predicateParslet", - precedence: B.INFIX, - accept: (u) => u === "is", - parseInfix: (u, y) => { - if (y.type !== "JsdocTypeName") - throw new o( - y, - "A typescript predicate always has to have a name on the left side.", - ); - return ( - u.consume("is"), - { - type: "JsdocTypePredicate", - left: y, - right: T(u.parseIntermediateType(B.INFIX)), - } - ); - }, - }), - Zd = w({ - name: "objectSquareBracketPropertyParslet", - accept: (u) => u === "[", - parsePrefix: (u) => { - if (u.baseParser === void 0) - throw new Error("Only allowed inside object grammar"); - u.consume("["); - let y = u.lexer.current.text; - u.consume("Identifier"); - let v; - if (u.consume(":")) { - let O = u.baseParser; - O.acceptLexerState(u), - (v = { - type: "JsdocTypeIndexSignature", - key: y, - right: O.parseType(B.INDEX_BRACKETS), - }), - u.acceptLexerState(O); - } else if (u.consume("in")) { - let O = u.baseParser; - O.acceptLexerState(u), - (v = { - type: "JsdocTypeMappedType", - key: y, - right: O.parseType(B.ARRAY_BRACKETS), - }), - u.acceptLexerState(O); - } else - throw new Error( - "Missing ':' or 'in' inside square bracketed property.", - ); - if (!u.consume("]")) - throw new Error("Unterminated square brackets"); - return v; - }, - }), - ep = [ - Kd, - le({ - allowedAdditionalTokens: [ - "module", - "event", - "keyof", - "event", - "external", - "in", - ], - }), - H, - C, - Ae, - _, - nt({ - allowSquaredProperties: !0, - allowKeyTypes: !1, - allowOptional: !0, - allowReadonly: !0, - }), - Zd, - ], - tp = [ - ...ee, - De({ allowKeyTypes: !1, objectFieldGrammar: ep }), - Na, - Gd, - Wd, - Ae, - Ft({ - allowWithoutParenthesis: !0, - allowNoReturnType: !1, - allowNamedParameters: ["this", "new", "args"], - allowNewAsFunctionKeyword: !0, - }), - Hd({ allowQuestionMark: !1 }), - or({ allowEnclosingBrackets: !1, allowPostfix: !1 }), - zd, - le({ allowedAdditionalTokens: ["event", "external", "in"] }), - ne({ allowedTypes: ["module"], pathGrammar: Be }), - _e, - Yd, - ye({ - allowSquareBracketsOnAnyType: !0, - allowJsdocNamePaths: !1, - pathGrammar: Be, - }), - Xd, - Qd, - Nt({ allowVariadic: !0, allowOptional: !0 }), - ]; - function Ba(u, y) { - switch (y) { - case "closure": - return new G(Jd, u).parse(); - case "jsdoc": - return new G(An, u).parse(); - case "typescript": - return new G(tp, u).parse(); - } - } - function rp(u, y = ["typescript", "closure", "jsdoc"]) { - let v; - for (let O of y) - try { - return Ba(u, O); - } catch (j) { - v = j; - } - throw v; - } - function ar(u, y) { - let v = u[y.type]; - if (v === void 0) - throw new Error( - `In this set of transform rules exists no rule for type ${y.type}.`, - ); - return v(y, (O) => ar(u, O)); - } - function Te(u) { - throw new Error( - "This transform is not available. Are you trying the correct parsing mode?", - ); - } - function ja(u) { - let y = { params: [] }; - for (let v of u.parameters) - v.type === "JsdocTypeKeyValue" - ? v.key === "this" - ? (y.this = v.right) - : v.key === "new" - ? (y.new = v.right) - : y.params.push(v) - : y.params.push(v); - return y; - } - function Or(u, y, v) { - return u === "prefix" ? v + y : y + v; - } - function ot(u, y) { - switch (y) { - case "double": - return `"${u}"`; - case "single": - return `'${u}'`; - case void 0: - return u; - } - } - function La() { - return { - JsdocTypeParenthesis: (u, y) => - `(${u.element !== void 0 ? y(u.element) : ""})`, - JsdocTypeKeyof: (u, y) => `keyof ${y(u.element)}`, - JsdocTypeFunction: (u, y) => { - if (u.arrow) { - if (u.returnType === void 0) - throw new Error("Arrow function needs a return type."); - let v = `(${u.parameters.map(y).join(", ")}) => ${y(u.returnType)}`; - return u.constructor && (v = "new " + v), v; - } else { - let v = u.constructor ? "new" : "function"; - return ( - u.parenthesis && - ((v += `(${u.parameters.map(y).join(", ")})`), - u.returnType !== void 0 && (v += `: ${y(u.returnType)}`)), - v - ); - } - }, - JsdocTypeName: (u) => u.value, - JsdocTypeTuple: (u, y) => `[${u.elements.map(y).join(", ")}]`, - JsdocTypeVariadic: (u, y) => - u.meta.position === void 0 - ? "..." - : Or(u.meta.position, y(u.element), "..."), - JsdocTypeNamePath: (u, y) => { - let v = y(u.left), - O = y(u.right); - switch (u.pathType) { - case "inner": - return `${v}~${O}`; - case "instance": - return `${v}#${O}`; - case "property": - return `${v}.${O}`; - case "property-brackets": - return `${v}[${O}]`; - } - }, - JsdocTypeStringValue: (u) => ot(u.value, u.meta.quote), - JsdocTypeAny: () => "*", - JsdocTypeGeneric: (u, y) => { - if (u.meta.brackets === "square") { - let v = u.elements[0], - O = y(v); - return v.type === "JsdocTypeUnion" || - v.type === "JsdocTypeIntersection" - ? `(${O})[]` - : `${O}[]`; - } else - return `${y(u.left)}${u.meta.dot ? "." : ""}<${u.elements.map(y).join(", ")}>`; - }, - JsdocTypeImport: (u, y) => `import(${y(u.element)})`, - JsdocTypeObjectField: (u, y) => { - let v = ""; - return ( - u.readonly && (v += "readonly "), - typeof u.key == "string" - ? (v += ot(u.key, u.meta.quote)) - : (v += y(u.key)), - u.optional && (v += "?"), - u.right === void 0 ? v : v + `: ${y(u.right)}` - ); - }, - JsdocTypeJsdocObjectField: (u, y) => `${y(u.left)}: ${y(u.right)}`, - JsdocTypeKeyValue: (u, y) => { - let v = u.key; - return ( - u.optional && (v += "?"), - u.variadic && (v = "..." + v), - u.right === void 0 ? v : v + `: ${y(u.right)}` - ); - }, - JsdocTypeSpecialNamePath: (u) => - `${u.specialType}:${ot(u.value, u.meta.quote)}`, - JsdocTypeNotNullable: (u, y) => - Or(u.meta.position, y(u.element), "!"), - JsdocTypeNull: () => "null", - JsdocTypeNullable: (u, y) => Or(u.meta.position, y(u.element), "?"), - JsdocTypeNumber: (u) => u.value.toString(), - JsdocTypeObject: (u, y) => - `{${u.elements.map(y).join((u.meta.separator === "comma" ? "," : ";") + " ")}}`, - JsdocTypeOptional: (u, y) => Or(u.meta.position, y(u.element), "="), - JsdocTypeSymbol: (u, y) => - `${u.value}(${u.element !== void 0 ? y(u.element) : ""})`, - JsdocTypeTypeof: (u, y) => `typeof ${y(u.element)}`, - JsdocTypeUndefined: () => "undefined", - JsdocTypeUnion: (u, y) => u.elements.map(y).join(" | "), - JsdocTypeUnknown: () => "?", - JsdocTypeIntersection: (u, y) => u.elements.map(y).join(" & "), - JsdocTypeProperty: (u) => ot(u.value, u.meta.quote), - JsdocTypePredicate: (u, y) => `${y(u.left)} is ${y(u.right)}`, - JsdocTypeIndexSignature: (u, y) => `[${u.key}: ${y(u.right)}]`, - JsdocTypeMappedType: (u, y) => `[${u.key} in ${y(u.right)}]`, - JsdocTypeAsserts: (u, y) => `asserts ${y(u.left)} is ${y(u.right)}`, - }; - } - let np = La(); - function op(u) { - return ar(np, u); - } - let ap = [ - "null", - "true", - "false", - "break", - "case", - "catch", - "class", - "const", - "continue", - "debugger", - "default", - "delete", - "do", - "else", - "export", - "extends", - "finally", - "for", - "function", - "if", - "import", - "in", - "instanceof", - "new", - "return", - "super", - "switch", - "this", - "throw", - "try", - "typeof", - "var", - "void", - "while", - "with", - "yield", - ]; - function at(u) { - let y = { type: "NameExpression", name: u }; - return ap.includes(u) && (y.reservedWord = !0), y; - } - let ip = { - JsdocTypeOptional: (u, y) => { - let v = y(u.element); - return (v.optional = !0), v; - }, - JsdocTypeNullable: (u, y) => { - let v = y(u.element); - return (v.nullable = !0), v; - }, - JsdocTypeNotNullable: (u, y) => { - let v = y(u.element); - return (v.nullable = !1), v; - }, - JsdocTypeVariadic: (u, y) => { - if (u.element === void 0) - throw new Error( - "dots without value are not allowed in catharsis mode", - ); - let v = y(u.element); - return (v.repeatable = !0), v; - }, - JsdocTypeAny: () => ({ type: "AllLiteral" }), - JsdocTypeNull: () => ({ type: "NullLiteral" }), - JsdocTypeStringValue: (u) => at(ot(u.value, u.meta.quote)), - JsdocTypeUndefined: () => ({ type: "UndefinedLiteral" }), - JsdocTypeUnknown: () => ({ type: "UnknownLiteral" }), - JsdocTypeFunction: (u, y) => { - let v = ja(u), - O = { type: "FunctionType", params: v.params.map(y) }; - return ( - v.this !== void 0 && (O.this = y(v.this)), - v.new !== void 0 && (O.new = y(v.new)), - u.returnType !== void 0 && (O.result = y(u.returnType)), - O - ); - }, - JsdocTypeGeneric: (u, y) => ({ - type: "TypeApplication", - applications: u.elements.map((v) => y(v)), - expression: y(u.left), - }), - JsdocTypeSpecialNamePath: (u) => - at(u.specialType + ":" + ot(u.value, u.meta.quote)), - JsdocTypeName: (u) => - u.value !== "function" - ? at(u.value) - : { type: "FunctionType", params: [] }, - JsdocTypeNumber: (u) => at(u.value.toString()), - JsdocTypeObject: (u, y) => { - let v = { type: "RecordType", fields: [] }; - for (let O of u.elements) - O.type !== "JsdocTypeObjectField" && - O.type !== "JsdocTypeJsdocObjectField" - ? v.fields.push({ type: "FieldType", key: y(O), value: void 0 }) - : v.fields.push(y(O)); - return v; - }, - JsdocTypeObjectField: (u, y) => { - if (typeof u.key != "string") - throw new Error( - "Index signatures and mapped types are not supported", - ); - return { - type: "FieldType", - key: at(ot(u.key, u.meta.quote)), - value: u.right === void 0 ? void 0 : y(u.right), - }; - }, - JsdocTypeJsdocObjectField: (u, y) => ({ - type: "FieldType", - key: y(u.left), - value: y(u.right), - }), - JsdocTypeUnion: (u, y) => ({ - type: "TypeUnion", - elements: u.elements.map((v) => y(v)), - }), - JsdocTypeKeyValue: (u, y) => ({ - type: "FieldType", - key: at(u.key), - value: u.right === void 0 ? void 0 : y(u.right), - }), - JsdocTypeNamePath: (u, y) => { - let v = y(u.left), - O; - u.right.type === "JsdocTypeSpecialNamePath" - ? (O = y(u.right).name) - : (O = ot(u.right.value, u.right.meta.quote)); - let j = - u.pathType === "inner" - ? "~" - : u.pathType === "instance" - ? "#" - : "."; - return at(`${v.name}${j}${O}`); - }, - JsdocTypeSymbol: (u) => { - let y = "", - v = u.element, - O = !1; - return ( - v?.type === "JsdocTypeVariadic" && - (v.meta.position === "prefix" ? (y = "...") : (O = !0), - (v = v.element)), - v?.type === "JsdocTypeName" - ? (y += v.value) - : v?.type === "JsdocTypeNumber" && (y += v.value.toString()), - O && (y += "..."), - at(`${u.value}(${y})`) - ); - }, - JsdocTypeParenthesis: (u, y) => y(T(u.element)), - JsdocTypeMappedType: Te, - JsdocTypeIndexSignature: Te, - JsdocTypeImport: Te, - JsdocTypeKeyof: Te, - JsdocTypeTuple: Te, - JsdocTypeTypeof: Te, - JsdocTypeIntersection: Te, - JsdocTypeProperty: Te, - JsdocTypePredicate: Te, - JsdocTypeAsserts: Te, - }; - function sp(u) { - return ar(ip, u); - } - function Et(u) { - switch (u) { - case void 0: - return "none"; - case "single": - return "single"; - case "double": - return "double"; - } - } - function lp(u) { - switch (u) { - case "inner": - return "INNER_MEMBER"; - case "instance": - return "INSTANCE_MEMBER"; - case "property": - return "MEMBER"; - case "property-brackets": - return "MEMBER"; - } - } - function Tn(u, y) { - return y.length === 2 - ? { type: u, left: y[0], right: y[1] } - : { type: u, left: y[0], right: Tn(u, y.slice(1)) }; - } - let up = { - JsdocTypeOptional: (u, y) => ({ - type: "OPTIONAL", - value: y(u.element), - meta: { - syntax: - u.meta.position === "prefix" - ? "PREFIX_EQUAL_SIGN" - : "SUFFIX_EQUALS_SIGN", - }, - }), - JsdocTypeNullable: (u, y) => ({ - type: "NULLABLE", - value: y(u.element), - meta: { - syntax: - u.meta.position === "prefix" - ? "PREFIX_QUESTION_MARK" - : "SUFFIX_QUESTION_MARK", - }, - }), - JsdocTypeNotNullable: (u, y) => ({ - type: "NOT_NULLABLE", - value: y(u.element), - meta: { - syntax: - u.meta.position === "prefix" ? "PREFIX_BANG" : "SUFFIX_BANG", - }, - }), - JsdocTypeVariadic: (u, y) => { - let v = { - type: "VARIADIC", - meta: { - syntax: - u.meta.position === "prefix" - ? "PREFIX_DOTS" - : u.meta.position === "suffix" - ? "SUFFIX_DOTS" - : "ONLY_DOTS", - }, - }; - return u.element !== void 0 && (v.value = y(u.element)), v; - }, - JsdocTypeName: (u) => ({ type: "NAME", name: u.value }), - JsdocTypeTypeof: (u, y) => ({ - type: "TYPE_QUERY", - name: y(u.element), - }), - JsdocTypeTuple: (u, y) => ({ - type: "TUPLE", - entries: u.elements.map(y), - }), - JsdocTypeKeyof: (u, y) => ({ - type: "KEY_QUERY", - value: y(u.element), - }), - JsdocTypeImport: (u) => ({ - type: "IMPORT", - path: { - type: "STRING_VALUE", - quoteStyle: Et(u.element.meta.quote), - string: u.element.value, - }, - }), - JsdocTypeUndefined: () => ({ type: "NAME", name: "undefined" }), - JsdocTypeAny: () => ({ type: "ANY" }), - JsdocTypeFunction: (u, y) => { - let v = ja(u), - O = { - type: u.arrow ? "ARROW" : "FUNCTION", - params: v.params.map((j) => { - if (j.type === "JsdocTypeKeyValue") { - if (j.right === void 0) - throw new Error( - "Function parameter without ':' is not expected to be 'KEY_VALUE'", - ); - return { - type: "NAMED_PARAMETER", - name: j.key, - typeName: y(j.right), - }; - } else return y(j); - }), - new: null, - returns: null, - }; - return ( - v.this !== void 0 - ? (O.this = y(v.this)) - : u.arrow || (O.this = null), - v.new !== void 0 && (O.new = y(v.new)), - u.returnType !== void 0 && (O.returns = y(u.returnType)), - O - ); - }, - JsdocTypeGeneric: (u, y) => { - let v = { - type: "GENERIC", - subject: y(u.left), - objects: u.elements.map(y), - meta: { - syntax: - u.meta.brackets === "square" - ? "SQUARE_BRACKET" - : u.meta.dot - ? "ANGLE_BRACKET_WITH_DOT" - : "ANGLE_BRACKET", - }, - }; - return ( - u.meta.brackets === "square" && - u.elements[0].type === "JsdocTypeFunction" && - !u.elements[0].parenthesis && - (v.objects[0] = { type: "NAME", name: "function" }), - v - ); - }, - JsdocTypeObjectField: (u, y) => { - if (typeof u.key != "string") - throw new Error( - "Index signatures and mapped types are not supported", - ); - if (u.right === void 0) - return { - type: "RECORD_ENTRY", - key: u.key, - quoteStyle: Et(u.meta.quote), - value: null, - readonly: !1, - }; - let v = y(u.right); - return ( - u.optional && - (v = { - type: "OPTIONAL", - value: v, - meta: { syntax: "SUFFIX_KEY_QUESTION_MARK" }, - }), - { - type: "RECORD_ENTRY", - key: u.key.toString(), - quoteStyle: Et(u.meta.quote), - value: v, - readonly: !1, - } - ); - }, - JsdocTypeJsdocObjectField: () => { - throw new Error("Keys may not be typed in jsdoctypeparser."); - }, - JsdocTypeKeyValue: (u, y) => { - if (u.right === void 0) - return { - type: "RECORD_ENTRY", - key: u.key, - quoteStyle: "none", - value: null, - readonly: !1, - }; - let v = y(u.right); - return ( - u.optional && - (v = { - type: "OPTIONAL", - value: v, - meta: { syntax: "SUFFIX_KEY_QUESTION_MARK" }, - }), - { - type: "RECORD_ENTRY", - key: u.key, - quoteStyle: "none", - value: v, - readonly: !1, - } - ); - }, - JsdocTypeObject: (u, y) => { - let v = []; - for (let O of u.elements) - (O.type === "JsdocTypeObjectField" || - O.type === "JsdocTypeJsdocObjectField") && - v.push(y(O)); - return { type: "RECORD", entries: v }; - }, - JsdocTypeSpecialNamePath: (u) => { - if (u.specialType !== "module") - throw new Error( - `jsdoctypeparser does not support type ${u.specialType} at this point.`, - ); - return { - type: "MODULE", - value: { - type: "FILE_PATH", - quoteStyle: Et(u.meta.quote), - path: u.value, - }, - }; - }, - JsdocTypeNamePath: (u, y) => { - let v = !1, - O, - j; - u.right.type === "JsdocTypeSpecialNamePath" && - u.right.specialType === "event" - ? ((v = !0), (O = u.right.value), (j = Et(u.right.meta.quote))) - : ((O = u.right.value), (j = Et(u.right.meta.quote))); - let q = { - type: lp(u.pathType), - owner: y(u.left), - name: O, - quoteStyle: j, - hasEventPrefix: v, - }; - if (q.owner.type === "MODULE") { - let W = q.owner; - return (q.owner = q.owner.value), (W.value = q), W; - } else return q; - }, - JsdocTypeUnion: (u, y) => Tn("UNION", u.elements.map(y)), - JsdocTypeParenthesis: (u, y) => ({ - type: "PARENTHESIS", - value: y(T(u.element)), - }), - JsdocTypeNull: () => ({ type: "NAME", name: "null" }), - JsdocTypeUnknown: () => ({ type: "UNKNOWN" }), - JsdocTypeStringValue: (u) => ({ - type: "STRING_VALUE", - quoteStyle: Et(u.meta.quote), - string: u.value, - }), - JsdocTypeIntersection: (u, y) => - Tn("INTERSECTION", u.elements.map(y)), - JsdocTypeNumber: (u) => ({ - type: "NUMBER_VALUE", - number: u.value.toString(), - }), - JsdocTypeSymbol: Te, - JsdocTypeProperty: Te, - JsdocTypePredicate: Te, - JsdocTypeMappedType: Te, - JsdocTypeIndexSignature: Te, - JsdocTypeAsserts: Te, - }; - function cp(u) { - return ar(up, u); - } - function dp() { - return { - JsdocTypeIntersection: (u, y) => ({ - type: "JsdocTypeIntersection", - elements: u.elements.map(y), - }), - JsdocTypeGeneric: (u, y) => ({ - type: "JsdocTypeGeneric", - left: y(u.left), - elements: u.elements.map(y), - meta: { dot: u.meta.dot, brackets: u.meta.brackets }, - }), - JsdocTypeNullable: (u) => u, - JsdocTypeUnion: (u, y) => ({ - type: "JsdocTypeUnion", - elements: u.elements.map(y), - }), - JsdocTypeUnknown: (u) => u, - JsdocTypeUndefined: (u) => u, - JsdocTypeTypeof: (u, y) => ({ - type: "JsdocTypeTypeof", - element: y(u.element), - }), - JsdocTypeSymbol: (u, y) => { - let v = { type: "JsdocTypeSymbol", value: u.value }; - return u.element !== void 0 && (v.element = y(u.element)), v; - }, - JsdocTypeOptional: (u, y) => ({ - type: "JsdocTypeOptional", - element: y(u.element), - meta: { position: u.meta.position }, - }), - JsdocTypeObject: (u, y) => ({ - type: "JsdocTypeObject", - meta: { separator: "comma" }, - elements: u.elements.map(y), - }), - JsdocTypeNumber: (u) => u, - JsdocTypeNull: (u) => u, - JsdocTypeNotNullable: (u, y) => ({ - type: "JsdocTypeNotNullable", - element: y(u.element), - meta: { position: u.meta.position }, - }), - JsdocTypeSpecialNamePath: (u) => u, - JsdocTypeObjectField: (u, y) => ({ - type: "JsdocTypeObjectField", - key: u.key, - right: u.right === void 0 ? void 0 : y(u.right), - optional: u.optional, - readonly: u.readonly, - meta: u.meta, - }), - JsdocTypeJsdocObjectField: (u, y) => ({ - type: "JsdocTypeJsdocObjectField", - left: y(u.left), - right: y(u.right), - }), - JsdocTypeKeyValue: (u, y) => ({ - type: "JsdocTypeKeyValue", - key: u.key, - right: u.right === void 0 ? void 0 : y(u.right), - optional: u.optional, - variadic: u.variadic, - }), - JsdocTypeImport: (u, y) => ({ - type: "JsdocTypeImport", - element: y(u.element), - }), - JsdocTypeAny: (u) => u, - JsdocTypeStringValue: (u) => u, - JsdocTypeNamePath: (u) => u, - JsdocTypeVariadic: (u, y) => { - let v = { - type: "JsdocTypeVariadic", - meta: { - position: u.meta.position, - squareBrackets: u.meta.squareBrackets, - }, - }; - return u.element !== void 0 && (v.element = y(u.element)), v; - }, - JsdocTypeTuple: (u, y) => ({ - type: "JsdocTypeTuple", - elements: u.elements.map(y), - }), - JsdocTypeName: (u) => u, - JsdocTypeFunction: (u, y) => { - let v = { - type: "JsdocTypeFunction", - arrow: u.arrow, - parameters: u.parameters.map(y), - constructor: u.constructor, - parenthesis: u.parenthesis, - }; - return ( - u.returnType !== void 0 && (v.returnType = y(u.returnType)), v - ); - }, - JsdocTypeKeyof: (u, y) => ({ - type: "JsdocTypeKeyof", - element: y(u.element), - }), - JsdocTypeParenthesis: (u, y) => ({ - type: "JsdocTypeParenthesis", - element: y(u.element), - }), - JsdocTypeProperty: (u) => u, - JsdocTypePredicate: (u, y) => ({ - type: "JsdocTypePredicate", - left: y(u.left), - right: y(u.right), - }), - JsdocTypeIndexSignature: (u, y) => ({ - type: "JsdocTypeIndexSignature", - key: u.key, - right: y(u.right), - }), - JsdocTypeMappedType: (u, y) => ({ - type: "JsdocTypeMappedType", - key: u.key, - right: y(u.right), - }), - JsdocTypeAsserts: (u, y) => ({ - type: "JsdocTypeAsserts", - left: y(u.left), - right: y(u.right), - }), - }; - } - let Ma = { - JsdocTypeAny: [], - JsdocTypeFunction: ["parameters", "returnType"], - JsdocTypeGeneric: ["left", "elements"], - JsdocTypeImport: [], - JsdocTypeIndexSignature: ["right"], - JsdocTypeIntersection: ["elements"], - JsdocTypeKeyof: ["element"], - JsdocTypeKeyValue: ["right"], - JsdocTypeMappedType: ["right"], - JsdocTypeName: [], - JsdocTypeNamePath: ["left", "right"], - JsdocTypeNotNullable: ["element"], - JsdocTypeNull: [], - JsdocTypeNullable: ["element"], - JsdocTypeNumber: [], - JsdocTypeObject: ["elements"], - JsdocTypeObjectField: ["right"], - JsdocTypeJsdocObjectField: ["left", "right"], - JsdocTypeOptional: ["element"], - JsdocTypeParenthesis: ["element"], - JsdocTypeSpecialNamePath: [], - JsdocTypeStringValue: [], - JsdocTypeSymbol: ["element"], - JsdocTypeTuple: ["elements"], - JsdocTypeTypeof: ["element"], - JsdocTypeUndefined: [], - JsdocTypeUnion: ["elements"], - JsdocTypeUnknown: [], - JsdocTypeVariadic: ["element"], - JsdocTypeProperty: [], - JsdocTypePredicate: ["left", "right"], - JsdocTypeAsserts: ["left", "right"], - }; - function Cn(u, y, v, O, j) { - O?.(u, y, v); - let q = Ma[u.type]; - for (let W of q) { - let te = u[W]; - if (te !== void 0) - if (Array.isArray(te)) for (let Ce of te) Cn(Ce, u, W, O, j); - else Cn(te, u, W, O, j); - } - j?.(u, y, v); - } - function pp(u, y, v) { - Cn(u, void 0, void 0, y, v); - } - (e.catharsisTransform = sp), - (e.identityTransformRules = dp), - (e.jtpTransform = cp), - (e.parse = Ba), - (e.stringify = op), - (e.stringifyRules = La), - (e.transform = ar), - (e.traverse = pp), - (e.tryParse = rp), - (e.visitorKeys = Ma); - }); - }); - var fc = {}; - qa(fc, { ColorControl: () => pc, default: () => Qy }); - function Ot() { - return (Ot = - Object.assign || - function (e) { - for (var t = 1; t < arguments.length; t++) { - var r = arguments[t]; - for (var n in r) - Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]); - } - return e; - }).apply(this, arguments); - } - function ra(e, t) { - if (e == null) return {}; - var r, - n, - o = {}, - a = Object.keys(e); - for (n = 0; n < a.length; n++) - t.indexOf((r = a[n])) >= 0 || (o[r] = e[r]); - return o; - } - function Xo(e) { - var t = Re(e), - r = Re(function (n) { - t.current && t.current(n); - }); - return (t.current = e), r.current; - } - function lc(e, t, r) { - var n = Xo(r), - o = X(function () { - return e.toHsva(t); - }), - a = o[0], - i = o[1], - l = Re({ color: t, hsva: a }); - Se( - function () { - if (!e.equal(t, l.current.color)) { - var c = e.toHsva(t); - (l.current = { hsva: c, color: t }), i(c); - } - }, - [t, e], - ), - Se( - function () { - var c; - ic(a, l.current.hsva) || - e.equal((c = e.fromHsva(a)), l.current.color) || - ((l.current = { hsva: a, color: c }), n(c)); - }, - [a, e, n], - ); - var s = xe(function (c) { - i(function (d) { - return Object.assign({}, d, c); - }); - }, []); - return [a, s]; - } - var fy, - ec, - hy, - my, - Ue, - Kt, - vr, - Qo, - Ku, - Yu, - na, - xr, - oa, - Ee, - yy, - gy, - Zo, - by, - Ey, - vy, - xy, - tc, - ea, - ln, - rc, - Sy, - on, - wy, - nc, - oc, - ac, - ic, - sc, - Ay, - Ty, - Cy, - Xu, - uc, - ky, - Iy, - Oy, - Dy, - cc, - Ry, - _y, - Py, - Fy, - Ny, - By, - jy, - Ly, - My, - Uy, - $y, - Qu, - qy, - Vy, - dc, - an, - Jy, - zy, - Hy, - ta, - Gy, - Wy, - sn, - Zu, - Wt, - Ky, - Yy, - un, - Xy, - pc, - Qy, - hc = Qe(() => { - V(); - J(); - z(); - In(); - Rr(); - Pr(); - Qn(); - ro(); - (fy = je({ - "../../node_modules/color-name/index.js"(e, t) { - t.exports = { - aliceblue: [240, 248, 255], - antiquewhite: [250, 235, 215], - aqua: [0, 255, 255], - aquamarine: [127, 255, 212], - azure: [240, 255, 255], - beige: [245, 245, 220], - bisque: [255, 228, 196], - black: [0, 0, 0], - blanchedalmond: [255, 235, 205], - blue: [0, 0, 255], - blueviolet: [138, 43, 226], - brown: [165, 42, 42], - burlywood: [222, 184, 135], - cadetblue: [95, 158, 160], - chartreuse: [127, 255, 0], - chocolate: [210, 105, 30], - coral: [255, 127, 80], - cornflowerblue: [100, 149, 237], - cornsilk: [255, 248, 220], - crimson: [220, 20, 60], - cyan: [0, 255, 255], - darkblue: [0, 0, 139], - darkcyan: [0, 139, 139], - darkgoldenrod: [184, 134, 11], - darkgray: [169, 169, 169], - darkgreen: [0, 100, 0], - darkgrey: [169, 169, 169], - darkkhaki: [189, 183, 107], - darkmagenta: [139, 0, 139], - darkolivegreen: [85, 107, 47], - darkorange: [255, 140, 0], - darkorchid: [153, 50, 204], - darkred: [139, 0, 0], - darksalmon: [233, 150, 122], - darkseagreen: [143, 188, 143], - darkslateblue: [72, 61, 139], - darkslategray: [47, 79, 79], - darkslategrey: [47, 79, 79], - darkturquoise: [0, 206, 209], - darkviolet: [148, 0, 211], - deeppink: [255, 20, 147], - deepskyblue: [0, 191, 255], - dimgray: [105, 105, 105], - dimgrey: [105, 105, 105], - dodgerblue: [30, 144, 255], - firebrick: [178, 34, 34], - floralwhite: [255, 250, 240], - forestgreen: [34, 139, 34], - fuchsia: [255, 0, 255], - gainsboro: [220, 220, 220], - ghostwhite: [248, 248, 255], - gold: [255, 215, 0], - goldenrod: [218, 165, 32], - gray: [128, 128, 128], - green: [0, 128, 0], - greenyellow: [173, 255, 47], - grey: [128, 128, 128], - honeydew: [240, 255, 240], - hotpink: [255, 105, 180], - indianred: [205, 92, 92], - indigo: [75, 0, 130], - ivory: [255, 255, 240], - khaki: [240, 230, 140], - lavender: [230, 230, 250], - lavenderblush: [255, 240, 245], - lawngreen: [124, 252, 0], - lemonchiffon: [255, 250, 205], - lightblue: [173, 216, 230], - lightcoral: [240, 128, 128], - lightcyan: [224, 255, 255], - lightgoldenrodyellow: [250, 250, 210], - lightgray: [211, 211, 211], - lightgreen: [144, 238, 144], - lightgrey: [211, 211, 211], - lightpink: [255, 182, 193], - lightsalmon: [255, 160, 122], - lightseagreen: [32, 178, 170], - lightskyblue: [135, 206, 250], - lightslategray: [119, 136, 153], - lightslategrey: [119, 136, 153], - lightsteelblue: [176, 196, 222], - lightyellow: [255, 255, 224], - lime: [0, 255, 0], - limegreen: [50, 205, 50], - linen: [250, 240, 230], - magenta: [255, 0, 255], - maroon: [128, 0, 0], - mediumaquamarine: [102, 205, 170], - mediumblue: [0, 0, 205], - mediumorchid: [186, 85, 211], - mediumpurple: [147, 112, 219], - mediumseagreen: [60, 179, 113], - mediumslateblue: [123, 104, 238], - mediumspringgreen: [0, 250, 154], - mediumturquoise: [72, 209, 204], - mediumvioletred: [199, 21, 133], - midnightblue: [25, 25, 112], - mintcream: [245, 255, 250], - mistyrose: [255, 228, 225], - moccasin: [255, 228, 181], - navajowhite: [255, 222, 173], - navy: [0, 0, 128], - oldlace: [253, 245, 230], - olive: [128, 128, 0], - olivedrab: [107, 142, 35], - orange: [255, 165, 0], - orangered: [255, 69, 0], - orchid: [218, 112, 214], - palegoldenrod: [238, 232, 170], - palegreen: [152, 251, 152], - paleturquoise: [175, 238, 238], - palevioletred: [219, 112, 147], - papayawhip: [255, 239, 213], - peachpuff: [255, 218, 185], - peru: [205, 133, 63], - pink: [255, 192, 203], - plum: [221, 160, 221], - powderblue: [176, 224, 230], - purple: [128, 0, 128], - rebeccapurple: [102, 51, 153], - red: [255, 0, 0], - rosybrown: [188, 143, 143], - royalblue: [65, 105, 225], - saddlebrown: [139, 69, 19], - salmon: [250, 128, 114], - sandybrown: [244, 164, 96], - seagreen: [46, 139, 87], - seashell: [255, 245, 238], - sienna: [160, 82, 45], - silver: [192, 192, 192], - skyblue: [135, 206, 235], - slateblue: [106, 90, 205], - slategray: [112, 128, 144], - slategrey: [112, 128, 144], - snow: [255, 250, 250], - springgreen: [0, 255, 127], - steelblue: [70, 130, 180], - tan: [210, 180, 140], - teal: [0, 128, 128], - thistle: [216, 191, 216], - tomato: [255, 99, 71], - turquoise: [64, 224, 208], - violet: [238, 130, 238], - wheat: [245, 222, 179], - white: [255, 255, 255], - whitesmoke: [245, 245, 245], - yellow: [255, 255, 0], - yellowgreen: [154, 205, 50], - }; - }, - })), - (ec = je({ - "../../node_modules/color-convert/conversions.js"(e, t) { - var r = fy(), - n = {}; - for (let i of Object.keys(r)) n[r[i]] = i; - var o = { - rgb: { channels: 3, labels: "rgb" }, - hsl: { channels: 3, labels: "hsl" }, - hsv: { channels: 3, labels: "hsv" }, - hwb: { channels: 3, labels: "hwb" }, - cmyk: { channels: 4, labels: "cmyk" }, - xyz: { channels: 3, labels: "xyz" }, - lab: { channels: 3, labels: "lab" }, - lch: { channels: 3, labels: "lch" }, - hex: { channels: 1, labels: ["hex"] }, - keyword: { channels: 1, labels: ["keyword"] }, - ansi16: { channels: 1, labels: ["ansi16"] }, - ansi256: { channels: 1, labels: ["ansi256"] }, - hcg: { channels: 3, labels: ["h", "c", "g"] }, - apple: { channels: 3, labels: ["r16", "g16", "b16"] }, - gray: { channels: 1, labels: ["gray"] }, - }; - t.exports = o; - for (let i of Object.keys(o)) { - if (!("channels" in o[i])) - throw new Error("missing channels property: " + i); - if (!("labels" in o[i])) - throw new Error("missing channel labels property: " + i); - if (o[i].labels.length !== o[i].channels) - throw new Error("channel and label counts mismatch: " + i); - let { channels: l, labels: s } = o[i]; - delete o[i].channels, - delete o[i].labels, - Object.defineProperty(o[i], "channels", { value: l }), - Object.defineProperty(o[i], "labels", { value: s }); - } - (o.rgb.hsl = function (i) { - let l = i[0] / 255, - s = i[1] / 255, - c = i[2] / 255, - d = Math.min(l, s, c), - p = Math.max(l, s, c), - h = p - d, - f, - b; - p === d - ? (f = 0) - : l === p - ? (f = (s - c) / h) - : s === p - ? (f = 2 + (c - l) / h) - : c === p && (f = 4 + (l - s) / h), - (f = Math.min(f * 60, 360)), - f < 0 && (f += 360); - let g = (d + p) / 2; - return ( - p === d - ? (b = 0) - : g <= 0.5 - ? (b = h / (p + d)) - : (b = h / (2 - p - d)), - [f, b * 100, g * 100] - ); - }), - (o.rgb.hsv = function (i) { - let l, - s, - c, - d, - p, - h = i[0] / 255, - f = i[1] / 255, - b = i[2] / 255, - g = Math.max(h, f, b), - x = g - Math.min(h, f, b), - S = function (A) { - return (g - A) / 6 / x + 1 / 2; - }; - return ( - x === 0 - ? ((d = 0), (p = 0)) - : ((p = x / g), - (l = S(h)), - (s = S(f)), - (c = S(b)), - h === g - ? (d = c - s) - : f === g - ? (d = 1 / 3 + l - c) - : b === g && (d = 2 / 3 + s - l), - d < 0 ? (d += 1) : d > 1 && (d -= 1)), - [d * 360, p * 100, g * 100] - ); - }), - (o.rgb.hwb = function (i) { - let l = i[0], - s = i[1], - c = i[2], - d = o.rgb.hsl(i)[0], - p = (1 / 255) * Math.min(l, Math.min(s, c)); - return ( - (c = 1 - (1 / 255) * Math.max(l, Math.max(s, c))), - [d, p * 100, c * 100] - ); - }), - (o.rgb.cmyk = function (i) { - let l = i[0] / 255, - s = i[1] / 255, - c = i[2] / 255, - d = Math.min(1 - l, 1 - s, 1 - c), - p = (1 - l - d) / (1 - d) || 0, - h = (1 - s - d) / (1 - d) || 0, - f = (1 - c - d) / (1 - d) || 0; - return [p * 100, h * 100, f * 100, d * 100]; - }); - function a(i, l) { - return ( - (i[0] - l[0]) ** 2 + (i[1] - l[1]) ** 2 + (i[2] - l[2]) ** 2 - ); - } - (o.rgb.keyword = function (i) { - let l = n[i]; - if (l) return l; - let s = 1 / 0, - c; - for (let d of Object.keys(r)) { - let p = r[d], - h = a(i, p); - h < s && ((s = h), (c = d)); - } - return c; - }), - (o.keyword.rgb = function (i) { - return r[i]; - }), - (o.rgb.xyz = function (i) { - let l = i[0] / 255, - s = i[1] / 255, - c = i[2] / 255; - (l = l > 0.04045 ? ((l + 0.055) / 1.055) ** 2.4 : l / 12.92), - (s = - s > 0.04045 ? ((s + 0.055) / 1.055) ** 2.4 : s / 12.92), - (c = - c > 0.04045 ? ((c + 0.055) / 1.055) ** 2.4 : c / 12.92); - let d = l * 0.4124 + s * 0.3576 + c * 0.1805, - p = l * 0.2126 + s * 0.7152 + c * 0.0722, - h = l * 0.0193 + s * 0.1192 + c * 0.9505; - return [d * 100, p * 100, h * 100]; - }), - (o.rgb.lab = function (i) { - let l = o.rgb.xyz(i), - s = l[0], - c = l[1], - d = l[2]; - (s /= 95.047), - (c /= 100), - (d /= 108.883), - (s = s > 0.008856 ? s ** (1 / 3) : 7.787 * s + 16 / 116), - (c = c > 0.008856 ? c ** (1 / 3) : 7.787 * c + 16 / 116), - (d = d > 0.008856 ? d ** (1 / 3) : 7.787 * d + 16 / 116); - let p = 116 * c - 16, - h = 500 * (s - c), - f = 200 * (c - d); - return [p, h, f]; - }), - (o.hsl.rgb = function (i) { - let l = i[0] / 360, - s = i[1] / 100, - c = i[2] / 100, - d, - p, - h; - if (s === 0) return (h = c * 255), [h, h, h]; - c < 0.5 ? (d = c * (1 + s)) : (d = c + s - c * s); - let f = 2 * c - d, - b = [0, 0, 0]; - for (let g = 0; g < 3; g++) - (p = l + (1 / 3) * -(g - 1)), - p < 0 && p++, - p > 1 && p--, - 6 * p < 1 - ? (h = f + (d - f) * 6 * p) - : 2 * p < 1 - ? (h = d) - : 3 * p < 2 - ? (h = f + (d - f) * (2 / 3 - p) * 6) - : (h = f), - (b[g] = h * 255); - return b; - }), - (o.hsl.hsv = function (i) { - let l = i[0], - s = i[1] / 100, - c = i[2] / 100, - d = s, - p = Math.max(c, 0.01); - (c *= 2), - (s *= c <= 1 ? c : 2 - c), - (d *= p <= 1 ? p : 2 - p); - let h = (c + s) / 2, - f = c === 0 ? (2 * d) / (p + d) : (2 * s) / (c + s); - return [l, f * 100, h * 100]; - }), - (o.hsv.rgb = function (i) { - let l = i[0] / 60, - s = i[1] / 100, - c = i[2] / 100, - d = Math.floor(l) % 6, - p = l - Math.floor(l), - h = 255 * c * (1 - s), - f = 255 * c * (1 - s * p), - b = 255 * c * (1 - s * (1 - p)); - switch (((c *= 255), d)) { - case 0: - return [c, b, h]; - case 1: - return [f, c, h]; - case 2: - return [h, c, b]; - case 3: - return [h, f, c]; - case 4: - return [b, h, c]; - case 5: - return [c, h, f]; - } - }), - (o.hsv.hsl = function (i) { - let l = i[0], - s = i[1] / 100, - c = i[2] / 100, - d = Math.max(c, 0.01), - p, - h; - h = (2 - s) * c; - let f = (2 - s) * d; - return ( - (p = s * d), - (p /= f <= 1 ? f : 2 - f), - (p = p || 0), - (h /= 2), - [l, p * 100, h * 100] - ); - }), - (o.hwb.rgb = function (i) { - let l = i[0] / 360, - s = i[1] / 100, - c = i[2] / 100, - d = s + c, - p; - d > 1 && ((s /= d), (c /= d)); - let h = Math.floor(6 * l), - f = 1 - c; - (p = 6 * l - h), h & 1 && (p = 1 - p); - let b = s + p * (f - s), - g, - x, - S; - switch (h) { - default: - case 6: - case 0: - (g = f), (x = b), (S = s); - break; - case 1: - (g = b), (x = f), (S = s); - break; - case 2: - (g = s), (x = f), (S = b); - break; - case 3: - (g = s), (x = b), (S = f); - break; - case 4: - (g = b), (x = s), (S = f); - break; - case 5: - (g = f), (x = s), (S = b); - break; - } - return [g * 255, x * 255, S * 255]; - }), - (o.cmyk.rgb = function (i) { - let l = i[0] / 100, - s = i[1] / 100, - c = i[2] / 100, - d = i[3] / 100, - p = 1 - Math.min(1, l * (1 - d) + d), - h = 1 - Math.min(1, s * (1 - d) + d), - f = 1 - Math.min(1, c * (1 - d) + d); - return [p * 255, h * 255, f * 255]; - }), - (o.xyz.rgb = function (i) { - let l = i[0] / 100, - s = i[1] / 100, - c = i[2] / 100, - d, - p, - h; - return ( - (d = l * 3.2406 + s * -1.5372 + c * -0.4986), - (p = l * -0.9689 + s * 1.8758 + c * 0.0415), - (h = l * 0.0557 + s * -0.204 + c * 1.057), - (d = - d > 0.0031308 - ? 1.055 * d ** (1 / 2.4) - 0.055 - : d * 12.92), - (p = - p > 0.0031308 - ? 1.055 * p ** (1 / 2.4) - 0.055 - : p * 12.92), - (h = - h > 0.0031308 - ? 1.055 * h ** (1 / 2.4) - 0.055 - : h * 12.92), - (d = Math.min(Math.max(0, d), 1)), - (p = Math.min(Math.max(0, p), 1)), - (h = Math.min(Math.max(0, h), 1)), - [d * 255, p * 255, h * 255] - ); - }), - (o.xyz.lab = function (i) { - let l = i[0], - s = i[1], - c = i[2]; - (l /= 95.047), - (s /= 100), - (c /= 108.883), - (l = l > 0.008856 ? l ** (1 / 3) : 7.787 * l + 16 / 116), - (s = s > 0.008856 ? s ** (1 / 3) : 7.787 * s + 16 / 116), - (c = c > 0.008856 ? c ** (1 / 3) : 7.787 * c + 16 / 116); - let d = 116 * s - 16, - p = 500 * (l - s), - h = 200 * (s - c); - return [d, p, h]; - }), - (o.lab.xyz = function (i) { - let l = i[0], - s = i[1], - c = i[2], - d, - p, - h; - (p = (l + 16) / 116), (d = s / 500 + p), (h = p - c / 200); - let f = p ** 3, - b = d ** 3, - g = h ** 3; - return ( - (p = f > 0.008856 ? f : (p - 16 / 116) / 7.787), - (d = b > 0.008856 ? b : (d - 16 / 116) / 7.787), - (h = g > 0.008856 ? g : (h - 16 / 116) / 7.787), - (d *= 95.047), - (p *= 100), - (h *= 108.883), - [d, p, h] - ); - }), - (o.lab.lch = function (i) { - let l = i[0], - s = i[1], - c = i[2], - d; - (d = (Math.atan2(c, s) * 360) / 2 / Math.PI), - d < 0 && (d += 360); - let p = Math.sqrt(s * s + c * c); - return [l, p, d]; - }), - (o.lch.lab = function (i) { - let l = i[0], - s = i[1], - c = (i[2] / 360) * 2 * Math.PI, - d = s * Math.cos(c), - p = s * Math.sin(c); - return [l, d, p]; - }), - (o.rgb.ansi16 = function (i, l = null) { - let [s, c, d] = i, - p = l === null ? o.rgb.hsv(i)[2] : l; - if (((p = Math.round(p / 50)), p === 0)) return 30; - let h = - 30 + - ((Math.round(d / 255) << 2) | - (Math.round(c / 255) << 1) | - Math.round(s / 255)); - return p === 2 && (h += 60), h; - }), - (o.hsv.ansi16 = function (i) { - return o.rgb.ansi16(o.hsv.rgb(i), i[2]); - }), - (o.rgb.ansi256 = function (i) { - let l = i[0], - s = i[1], - c = i[2]; - return l === s && s === c - ? l < 8 - ? 16 - : l > 248 - ? 231 - : Math.round(((l - 8) / 247) * 24) + 232 - : 16 + - 36 * Math.round((l / 255) * 5) + - 6 * Math.round((s / 255) * 5) + - Math.round((c / 255) * 5); - }), - (o.ansi16.rgb = function (i) { - let l = i % 10; - if (l === 0 || l === 7) - return ( - i > 50 && (l += 3.5), (l = (l / 10.5) * 255), [l, l, l] - ); - let s = (~~(i > 50) + 1) * 0.5, - c = (l & 1) * s * 255, - d = ((l >> 1) & 1) * s * 255, - p = ((l >> 2) & 1) * s * 255; - return [c, d, p]; - }), - (o.ansi256.rgb = function (i) { - if (i >= 232) { - let p = (i - 232) * 10 + 8; - return [p, p, p]; - } - i -= 16; - let l, - s = (Math.floor(i / 36) / 5) * 255, - c = (Math.floor((l = i % 36) / 6) / 5) * 255, - d = ((l % 6) / 5) * 255; - return [s, c, d]; - }), - (o.rgb.hex = function (i) { - let l = ( - ((Math.round(i[0]) & 255) << 16) + - ((Math.round(i[1]) & 255) << 8) + - (Math.round(i[2]) & 255) - ) - .toString(16) - .toUpperCase(); - return "000000".substring(l.length) + l; - }), - (o.hex.rgb = function (i) { - let l = i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); - if (!l) return [0, 0, 0]; - let s = l[0]; - l[0].length === 3 && - (s = s - .split("") - .map((f) => f + f) - .join("")); - let c = parseInt(s, 16), - d = (c >> 16) & 255, - p = (c >> 8) & 255, - h = c & 255; - return [d, p, h]; - }), - (o.rgb.hcg = function (i) { - let l = i[0] / 255, - s = i[1] / 255, - c = i[2] / 255, - d = Math.max(Math.max(l, s), c), - p = Math.min(Math.min(l, s), c), - h = d - p, - f, - b; - return ( - h < 1 ? (f = p / (1 - h)) : (f = 0), - h <= 0 - ? (b = 0) - : d === l - ? (b = ((s - c) / h) % 6) - : d === s - ? (b = 2 + (c - l) / h) - : (b = 4 + (l - s) / h), - (b /= 6), - (b %= 1), - [b * 360, h * 100, f * 100] - ); - }), - (o.hsl.hcg = function (i) { - let l = i[1] / 100, - s = i[2] / 100, - c = s < 0.5 ? 2 * l * s : 2 * l * (1 - s), - d = 0; - return ( - c < 1 && (d = (s - 0.5 * c) / (1 - c)), - [i[0], c * 100, d * 100] - ); - }), - (o.hsv.hcg = function (i) { - let l = i[1] / 100, - s = i[2] / 100, - c = l * s, - d = 0; - return ( - c < 1 && (d = (s - c) / (1 - c)), [i[0], c * 100, d * 100] - ); - }), - (o.hcg.rgb = function (i) { - let l = i[0] / 360, - s = i[1] / 100, - c = i[2] / 100; - if (s === 0) return [c * 255, c * 255, c * 255]; - let d = [0, 0, 0], - p = (l % 1) * 6, - h = p % 1, - f = 1 - h, - b = 0; - switch (Math.floor(p)) { - case 0: - (d[0] = 1), (d[1] = h), (d[2] = 0); - break; - case 1: - (d[0] = f), (d[1] = 1), (d[2] = 0); - break; - case 2: - (d[0] = 0), (d[1] = 1), (d[2] = h); - break; - case 3: - (d[0] = 0), (d[1] = f), (d[2] = 1); - break; - case 4: - (d[0] = h), (d[1] = 0), (d[2] = 1); - break; - default: - (d[0] = 1), (d[1] = 0), (d[2] = f); - } - return ( - (b = (1 - s) * c), - [ - (s * d[0] + b) * 255, - (s * d[1] + b) * 255, - (s * d[2] + b) * 255, - ] - ); - }), - (o.hcg.hsv = function (i) { - let l = i[1] / 100, - s = i[2] / 100, - c = l + s * (1 - l), - d = 0; - return c > 0 && (d = l / c), [i[0], d * 100, c * 100]; - }), - (o.hcg.hsl = function (i) { - let l = i[1] / 100, - s = (i[2] / 100) * (1 - l) + 0.5 * l, - c = 0; - return ( - s > 0 && s < 0.5 - ? (c = l / (2 * s)) - : s >= 0.5 && s < 1 && (c = l / (2 * (1 - s))), - [i[0], c * 100, s * 100] - ); - }), - (o.hcg.hwb = function (i) { - let l = i[1] / 100, - s = i[2] / 100, - c = l + s * (1 - l); - return [i[0], (c - l) * 100, (1 - c) * 100]; - }), - (o.hwb.hcg = function (i) { - let l = i[1] / 100, - s = 1 - i[2] / 100, - c = s - l, - d = 0; - return ( - c < 1 && (d = (s - c) / (1 - c)), [i[0], c * 100, d * 100] - ); - }), - (o.apple.rgb = function (i) { - return [ - (i[0] / 65535) * 255, - (i[1] / 65535) * 255, - (i[2] / 65535) * 255, - ]; - }), - (o.rgb.apple = function (i) { - return [ - (i[0] / 255) * 65535, - (i[1] / 255) * 65535, - (i[2] / 255) * 65535, - ]; - }), - (o.gray.rgb = function (i) { - return [ - (i[0] / 100) * 255, - (i[0] / 100) * 255, - (i[0] / 100) * 255, - ]; - }), - (o.gray.hsl = function (i) { - return [0, 0, i[0]]; - }), - (o.gray.hsv = o.gray.hsl), - (o.gray.hwb = function (i) { - return [0, 100, i[0]]; - }), - (o.gray.cmyk = function (i) { - return [0, 0, 0, i[0]]; - }), - (o.gray.lab = function (i) { - return [i[0], 0, 0]; - }), - (o.gray.hex = function (i) { - let l = Math.round((i[0] / 100) * 255) & 255, - s = ((l << 16) + (l << 8) + l).toString(16).toUpperCase(); - return "000000".substring(s.length) + s; - }), - (o.rgb.gray = function (i) { - return [((i[0] + i[1] + i[2]) / 3 / 255) * 100]; - }); - }, - })), - (hy = je({ - "../../node_modules/color-convert/route.js"(e, t) { - var r = ec(); - function n() { - let l = {}, - s = Object.keys(r); - for (let c = s.length, d = 0; d < c; d++) - l[s[d]] = { distance: -1, parent: null }; - return l; - } - function o(l) { - let s = n(), - c = [l]; - for (s[l].distance = 0; c.length; ) { - let d = c.pop(), - p = Object.keys(r[d]); - for (let h = p.length, f = 0; f < h; f++) { - let b = p[f], - g = s[b]; - g.distance === -1 && - ((g.distance = s[d].distance + 1), - (g.parent = d), - c.unshift(b)); - } - } - return s; - } - function a(l, s) { - return function (c) { - return s(l(c)); - }; - } - function i(l, s) { - let c = [s[l].parent, l], - d = r[s[l].parent][l], - p = s[l].parent; - for (; s[p].parent; ) - c.unshift(s[p].parent), - (d = a(r[s[p].parent][p], d)), - (p = s[p].parent); - return (d.conversion = c), d; - } - t.exports = function (l) { - let s = o(l), - c = {}, - d = Object.keys(s); - for (let p = d.length, h = 0; h < p; h++) { - let f = d[h]; - s[f].parent !== null && (c[f] = i(f, s)); - } - return c; - }; - }, - })), - (my = je({ - "../../node_modules/color-convert/index.js"(e, t) { - var r = ec(), - n = hy(), - o = {}, - a = Object.keys(r); - function i(s) { - let c = function (...d) { - let p = d[0]; - return p == null ? p : (p.length > 1 && (d = p), s(d)); - }; - return "conversion" in s && (c.conversion = s.conversion), c; - } - function l(s) { - let c = function (...d) { - let p = d[0]; - if (p == null) return p; - p.length > 1 && (d = p); - let h = s(d); - if (typeof h == "object") - for (let f = h.length, b = 0; b < f; b++) - h[b] = Math.round(h[b]); - return h; - }; - return "conversion" in s && (c.conversion = s.conversion), c; - } - a.forEach((s) => { - (o[s] = {}), - Object.defineProperty(o[s], "channels", { - value: r[s].channels, - }), - Object.defineProperty(o[s], "labels", { value: r[s].labels }); - let c = n(s); - Object.keys(c).forEach((d) => { - let p = c[d]; - (o[s][d] = l(p)), (o[s][d].raw = i(p)); - }); - }), - (t.exports = o); - }, - })), - (Ue = Lt(my())); - (Kt = function (e, t, r) { - return ( - t === void 0 && (t = 0), - r === void 0 && (r = 1), - e > r ? r : e < t ? t : e - ); - }), - (vr = function (e) { - return "touches" in e; - }), - (Qo = function (e) { - return (e && e.ownerDocument.defaultView) || self; - }), - (Ku = function (e, t, r) { - var n = e.getBoundingClientRect(), - o = vr(t) - ? (function (a, i) { - for (var l = 0; l < a.length; l++) - if (a[l].identifier === i) return a[l]; - return a[0]; - })(t.touches, r) - : t; - return { - left: Kt((o.pageX - (n.left + Qo(e).pageXOffset)) / n.width), - top: Kt((o.pageY - (n.top + Qo(e).pageYOffset)) / n.height), - }; - }), - (Yu = function (e) { - !vr(e) && e.preventDefault(); - }), - (na = m.memo(function (e) { - var t = e.onMove, - r = e.onKey, - n = ra(e, ["onMove", "onKey"]), - o = Re(null), - a = Xo(t), - i = Xo(r), - l = Re(null), - s = Re(!1), - c = st( - function () { - var f = function (x) { - Yu(x), - (vr(x) ? x.touches.length > 0 : x.buttons > 0) && - o.current - ? a(Ku(o.current, x, l.current)) - : g(!1); - }, - b = function () { - return g(!1); - }; - function g(x) { - var S = s.current, - A = Qo(o.current), - k = x ? A.addEventListener : A.removeEventListener; - k(S ? "touchmove" : "mousemove", f), - k(S ? "touchend" : "mouseup", b); - } - return [ - function (x) { - var S = x.nativeEvent, - A = o.current; - if ( - A && - (Yu(S), - !(function (T, I) { - return I && !vr(T); - })(S, s.current) && A) - ) { - if (vr(S)) { - s.current = !0; - var k = S.changedTouches || []; - k.length && (l.current = k[0].identifier); - } - A.focus(), a(Ku(A, S, l.current)), g(!0); - } - }, - function (x) { - var S = x.which || x.keyCode; - S < 37 || - S > 40 || - (x.preventDefault(), - i({ - left: S === 39 ? 0.05 : S === 37 ? -0.05 : 0, - top: S === 40 ? 0.05 : S === 38 ? -0.05 : 0, - })); - }, - g, - ]; - }, - [i, a], - ), - d = c[0], - p = c[1], - h = c[2]; - return ( - Se( - function () { - return h; - }, - [h], - ), - m.createElement( - "div", - Ot({}, n, { - onTouchStart: d, - onMouseDown: d, - className: "react-colorful__interactive", - ref: o, - onKeyDown: p, - tabIndex: 0, - role: "slider", - }), - ) - ); - })), - (xr = function (e) { - return e.filter(Boolean).join(" "); - }), - (oa = function (e) { - var t = e.color, - r = e.left, - n = e.top, - o = n === void 0 ? 0.5 : n, - a = xr(["react-colorful__pointer", e.className]); - return m.createElement( - "div", - { - className: a, - style: { top: 100 * o + "%", left: 100 * r + "%" }, - }, - m.createElement("div", { - className: "react-colorful__pointer-fill", - style: { backgroundColor: t }, - }), - ); - }), - (Ee = function (e, t, r) { - return ( - t === void 0 && (t = 0), - r === void 0 && (r = Math.pow(10, t)), - Math.round(r * e) / r - ); - }), - (yy = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }), - (gy = function (e) { - return nc(Zo(e)); - }), - (Zo = function (e) { - return ( - e[0] === "#" && (e = e.substring(1)), - e.length < 6 - ? { - r: parseInt(e[0] + e[0], 16), - g: parseInt(e[1] + e[1], 16), - b: parseInt(e[2] + e[2], 16), - a: - e.length === 4 - ? Ee(parseInt(e[3] + e[3], 16) / 255, 2) - : 1, - } - : { - r: parseInt(e.substring(0, 2), 16), - g: parseInt(e.substring(2, 4), 16), - b: parseInt(e.substring(4, 6), 16), - a: - e.length === 8 - ? Ee(parseInt(e.substring(6, 8), 16) / 255, 2) - : 1, - } - ); - }), - (by = function (e, t) { - return t === void 0 && (t = "deg"), Number(e) * (yy[t] || 1); - }), - (Ey = function (e) { - var t = - /hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec( - e, - ); - return t - ? vy({ - h: by(t[1], t[2]), - s: Number(t[3]), - l: Number(t[4]), - a: t[5] === void 0 ? 1 : Number(t[5]) / (t[6] ? 100 : 1), - }) - : { h: 0, s: 0, v: 0, a: 1 }; - }), - (vy = function (e) { - var t = e.s, - r = e.l; - return { - h: e.h, - s: - (t *= (r < 50 ? r : 100 - r) / 100) > 0 - ? ((2 * t) / (r + t)) * 100 - : 0, - v: r + t, - a: e.a, - }; - }), - (xy = function (e) { - return wy(rc(e)); - }), - (tc = function (e) { - var t = e.s, - r = e.v, - n = e.a, - o = ((200 - t) * r) / 100; - return { - h: Ee(e.h), - s: Ee( - o > 0 && o < 200 - ? ((t * r) / 100 / (o <= 100 ? o : 200 - o)) * 100 - : 0, - ), - l: Ee(o / 2), - a: Ee(n, 2), - }; - }), - (ea = function (e) { - var t = tc(e); - return "hsl(" + t.h + ", " + t.s + "%, " + t.l + "%)"; - }), - (ln = function (e) { - var t = tc(e); - return "hsla(" + t.h + ", " + t.s + "%, " + t.l + "%, " + t.a + ")"; - }), - (rc = function (e) { - var t = e.h, - r = e.s, - n = e.v, - o = e.a; - (t = (t / 360) * 6), (r /= 100), (n /= 100); - var a = Math.floor(t), - i = n * (1 - r), - l = n * (1 - (t - a) * r), - s = n * (1 - (1 - t + a) * r), - c = a % 6; - return { - r: Ee(255 * [n, l, i, i, s, n][c]), - g: Ee(255 * [s, n, n, l, i, i][c]), - b: Ee(255 * [i, i, s, n, n, l][c]), - a: Ee(o, 2), - }; - }), - (Sy = function (e) { - var t = - /rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec( - e, - ); - return t - ? nc({ - r: Number(t[1]) / (t[2] ? 100 / 255 : 1), - g: Number(t[3]) / (t[4] ? 100 / 255 : 1), - b: Number(t[5]) / (t[6] ? 100 / 255 : 1), - a: t[7] === void 0 ? 1 : Number(t[7]) / (t[8] ? 100 : 1), - }) - : { h: 0, s: 0, v: 0, a: 1 }; - }), - (on = function (e) { - var t = e.toString(16); - return t.length < 2 ? "0" + t : t; - }), - (wy = function (e) { - var t = e.r, - r = e.g, - n = e.b, - o = e.a, - a = o < 1 ? on(Ee(255 * o)) : ""; - return "#" + on(t) + on(r) + on(n) + a; - }), - (nc = function (e) { - var t = e.r, - r = e.g, - n = e.b, - o = e.a, - a = Math.max(t, r, n), - i = a - Math.min(t, r, n), - l = i - ? a === t - ? (r - n) / i - : a === r - ? 2 + (n - t) / i - : 4 + (t - r) / i - : 0; - return { - h: Ee(60 * (l < 0 ? l + 6 : l)), - s: Ee(a ? (i / a) * 100 : 0), - v: Ee((a / 255) * 100), - a: o, - }; - }), - (oc = m.memo(function (e) { - var t = e.hue, - r = e.onChange, - n = xr(["react-colorful__hue", e.className]); - return m.createElement( - "div", - { className: n }, - m.createElement( - na, - { - onMove: function (o) { - r({ h: 360 * o.left }); - }, - onKey: function (o) { - r({ h: Kt(t + 360 * o.left, 0, 360) }); - }, - "aria-label": "Hue", - "aria-valuenow": Ee(t), - "aria-valuemax": "360", - "aria-valuemin": "0", - }, - m.createElement(oa, { - className: "react-colorful__hue-pointer", - left: t / 360, - color: ea({ h: t, s: 100, v: 100, a: 1 }), - }), - ), - ); - })), - (ac = m.memo(function (e) { - var t = e.hsva, - r = e.onChange, - n = { backgroundColor: ea({ h: t.h, s: 100, v: 100, a: 1 }) }; - return m.createElement( - "div", - { className: "react-colorful__saturation", style: n }, - m.createElement( - na, - { - onMove: function (o) { - r({ s: 100 * o.left, v: 100 - 100 * o.top }); - }, - onKey: function (o) { - r({ - s: Kt(t.s + 100 * o.left, 0, 100), - v: Kt(t.v - 100 * o.top, 0, 100), - }); - }, - "aria-label": "Color", - "aria-valuetext": - "Saturation " + Ee(t.s) + "%, Brightness " + Ee(t.v) + "%", - }, - m.createElement(oa, { - className: "react-colorful__saturation-pointer", - top: 1 - t.v / 100, - left: t.s / 100, - color: ea(t), - }), - ), - ); - })), - (ic = function (e, t) { - if (e === t) return !0; - for (var r in e) if (e[r] !== t[r]) return !1; - return !0; - }), - (sc = function (e, t) { - return e.replace(/\s/g, "") === t.replace(/\s/g, ""); - }), - (Ay = function (e, t) { - return e.toLowerCase() === t.toLowerCase() || ic(Zo(e), Zo(t)); - }); - (Ty = typeof window < "u" ? ei : Se), - (Cy = function () { - return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0; - }), - (Xu = new Map()), - (uc = function (e) { - Ty(function () { - var t = e.current ? e.current.ownerDocument : document; - if (t !== void 0 && !Xu.has(t)) { - var r = t.createElement("style"); - (r.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`), - Xu.set(t, r); - var n = Cy(); - n && r.setAttribute("nonce", n), t.head.appendChild(r); - } - }, []); - }), - (ky = function (e) { - var t = e.className, - r = e.colorModel, - n = e.color, - o = n === void 0 ? r.defaultColor : n, - a = e.onChange, - i = ra(e, ["className", "colorModel", "color", "onChange"]), - l = Re(null); - uc(l); - var s = lc(r, o, a), - c = s[0], - d = s[1], - p = xr(["react-colorful", t]); - return m.createElement( - "div", - Ot({}, i, { ref: l, className: p }), - m.createElement(ac, { hsva: c, onChange: d }), - m.createElement(oc, { - hue: c.h, - onChange: d, - className: "react-colorful__last-control", - }), - ); - }), - (Iy = { - defaultColor: "000", - toHsva: gy, - fromHsva: function (e) { - return xy({ h: e.h, s: e.s, v: e.v, a: 1 }); - }, - equal: Ay, - }), - (Oy = function (e) { - return m.createElement(ky, Ot({}, e, { colorModel: Iy })); - }), - (Dy = function (e) { - var t = e.className, - r = e.hsva, - n = e.onChange, - o = { - backgroundImage: - "linear-gradient(90deg, " + - ln(Object.assign({}, r, { a: 0 })) + - ", " + - ln(Object.assign({}, r, { a: 1 })) + - ")", - }, - a = xr(["react-colorful__alpha", t]), - i = Ee(100 * r.a); - return m.createElement( - "div", - { className: a }, - m.createElement("div", { - className: "react-colorful__alpha-gradient", - style: o, - }), - m.createElement( - na, - { - onMove: function (l) { - n({ a: l.left }); - }, - onKey: function (l) { - n({ a: Kt(r.a + l.left) }); - }, - "aria-label": "Alpha", - "aria-valuetext": i + "%", - "aria-valuenow": i, - "aria-valuemin": "0", - "aria-valuemax": "100", - }, - m.createElement(oa, { - className: "react-colorful__alpha-pointer", - left: r.a, - color: ln(r), - }), - ), - ); - }), - (cc = function (e) { - var t = e.className, - r = e.colorModel, - n = e.color, - o = n === void 0 ? r.defaultColor : n, - a = e.onChange, - i = ra(e, ["className", "colorModel", "color", "onChange"]), - l = Re(null); - uc(l); - var s = lc(r, o, a), - c = s[0], - d = s[1], - p = xr(["react-colorful", t]); - return m.createElement( - "div", - Ot({}, i, { ref: l, className: p }), - m.createElement(ac, { hsva: c, onChange: d }), - m.createElement(oc, { hue: c.h, onChange: d }), - m.createElement(Dy, { - hsva: c, - onChange: d, - className: "react-colorful__last-control", - }), - ); - }), - (Ry = { - defaultColor: "hsla(0, 0%, 0%, 1)", - toHsva: Ey, - fromHsva: ln, - equal: sc, - }), - (_y = function (e) { - return m.createElement(cc, Ot({}, e, { colorModel: Ry })); - }), - (Py = { - defaultColor: "rgba(0, 0, 0, 1)", - toHsva: Sy, - fromHsva: function (e) { - var t = rc(e); - return "rgba(" + t.r + ", " + t.g + ", " + t.b + ", " + t.a + ")"; - }, - equal: sc, - }), - (Fy = function (e) { - return m.createElement(cc, Ot({}, e, { colorModel: Py })); - }), - (Ny = R.div({ - position: "relative", - maxWidth: 250, - '&[aria-readonly="true"]': { opacity: 0.5 }, - })), - (By = R(ut)({ - position: "absolute", - zIndex: 1, - top: 4, - left: 4, - "[aria-readonly=true] &": { cursor: "not-allowed" }, - })), - (jy = R.div({ - width: 200, - margin: 5, - ".react-colorful__saturation": { borderRadius: "4px 4px 0 0" }, - ".react-colorful__hue": { - boxShadow: "inset 0 0 0 1px rgb(0 0 0 / 5%)", - }, - ".react-colorful__last-control": { borderRadius: "0 0 4px 4px" }, - })), - (Ly = R(St)(({ theme: e }) => ({ - fontFamily: e.typography.fonts.base, - }))), - (My = R.div({ - display: "grid", - gridTemplateColumns: "repeat(9, 16px)", - gap: 6, - padding: 3, - marginTop: 5, - width: 200, - })), - (Uy = R.div(({ theme: e, active: t }) => ({ - width: 16, - height: 16, - boxShadow: t - ? `${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px` - : `${e.appBorderColor} 0 0 0 1px inset`, - borderRadius: e.appBorderRadius, - }))), - ($y = `url('data:image/svg+xml;charset=utf-8,')`), - (Qu = ({ value: e, style: t, ...r }) => { - let n = `linear-gradient(${e}, ${e}), ${$y}, linear-gradient(#fff, #fff)`; - return m.createElement(Uy, { - ...r, - style: { ...t, backgroundImage: n }, - }); - }), - (qy = R(Ve.Input)(({ theme: e, readOnly: t }) => ({ - width: "100%", - paddingLeft: 30, - paddingRight: 30, - boxSizing: "border-box", - fontFamily: e.typography.fonts.base, - }))), - (Vy = R(Mi)(({ theme: e }) => ({ - position: "absolute", - zIndex: 1, - top: 6, - right: 7, - width: 20, - height: 20, - padding: 4, - boxSizing: "border-box", - cursor: "pointer", - color: e.input.color, - }))), - (dc = ((e) => ((e.RGB = "rgb"), (e.HSL = "hsl"), (e.HEX = "hex"), e))( - dc || {}, - )), - (an = Object.values(dc)), - (Jy = /\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/), - (zy = - /^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i), - (Hy = - /^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i), - (ta = /^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i), - (Gy = /^\s*#?([0-9a-f]{3})\s*$/i), - (Wy = { hex: Oy, rgb: Fy, hsl: _y }), - (sn = { - hex: "transparent", - rgb: "rgba(0, 0, 0, 0)", - hsl: "hsla(0, 0%, 0%, 0)", - }), - (Zu = (e) => { - let t = e?.match(Jy); - if (!t) return [0, 0, 0, 1]; - let [, r, n, o, a = 1] = t; - return [r, n, o, a].map(Number); - }), - (Wt = (e) => { - if (!e) return; - let t = !0; - if (zy.test(e)) { - let [i, l, s, c] = Zu(e), - [d, p, h] = Ue.default.rgb.hsl([i, l, s]) || [0, 0, 0]; - return { - valid: t, - value: e, - keyword: Ue.default.rgb.keyword([i, l, s]), - colorSpace: "rgb", - rgb: e, - hsl: `hsla(${d}, ${p}%, ${h}%, ${c})`, - hex: `#${Ue.default.rgb.hex([i, l, s]).toLowerCase()}`, - }; - } - if (Hy.test(e)) { - let [i, l, s, c] = Zu(e), - [d, p, h] = Ue.default.hsl.rgb([i, l, s]) || [0, 0, 0]; - return { - valid: t, - value: e, - keyword: Ue.default.hsl.keyword([i, l, s]), - colorSpace: "hsl", - rgb: `rgba(${d}, ${p}, ${h}, ${c})`, - hsl: e, - hex: `#${Ue.default.hsl.hex([i, l, s]).toLowerCase()}`, - }; - } - let r = e.replace("#", ""), - n = Ue.default.keyword.rgb(r) || Ue.default.hex.rgb(r), - o = Ue.default.rgb.hsl(n), - a = e; - if ( - (/[^#a-f0-9]/i.test(e) ? (a = r) : ta.test(e) && (a = `#${r}`), - a.startsWith("#")) - ) - t = ta.test(a); - else - try { - Ue.default.keyword.hex(a); - } catch { - t = !1; - } - return { - valid: t, - value: a, - keyword: Ue.default.rgb.keyword(n), - colorSpace: "hex", - rgb: `rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`, - hsl: `hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`, - hex: a, - }; - }), - (Ky = (e, t, r) => { - if (!e || !t?.valid) return sn[r]; - if (r !== "hex") return t?.[r] || sn[r]; - if (!t.hex.startsWith("#")) - try { - return `#${Ue.default.keyword.hex(t.hex)}`; - } catch { - return sn.hex; - } - let n = t.hex.match(Gy); - if (!n) return ta.test(t.hex) ? t.hex : sn.hex; - let [o, a, i] = n[1].split(""); - return `#${o}${o}${a}${a}${i}${i}`; - }), - (Yy = (e, t) => { - let [r, n] = X(e || ""), - [o, a] = X(() => Wt(r)), - [i, l] = X(o?.colorSpace || "hex"); - Se(() => { - let p = e || "", - h = Wt(p); - n(p), a(h), l(h?.colorSpace || "hex"); - }, [e]); - let s = st(() => Ky(r, o, i).toLowerCase(), [r, o, i]), - c = xe( - (p) => { - let h = Wt(p), - f = h?.value || p || ""; - n(f), - f === "" && (a(void 0), t(void 0)), - h && (a(h), l(h.colorSpace), t(h.value)); - }, - [t], - ), - d = xe(() => { - let p = an.indexOf(i) + 1; - p >= an.length && (p = 0), l(an[p]); - let h = o?.[an[p]] || ""; - n(h), t(h); - }, [o, i, t]); - return { - value: r, - realValue: s, - updateValue: c, - color: o, - colorSpace: i, - cycleColorSpace: d, - }; - }), - (un = (e) => e.replace(/\s*/, "").toLowerCase()), - (Xy = (e, t, r) => { - let [n, o] = X(t?.valid ? [t] : []); - Se(() => { - t === void 0 && o([]); - }, [t]); - let a = st( - () => - (e || []) - .map((l) => - typeof l == "string" - ? Wt(l) - : l.title - ? { ...Wt(l.color), keyword: l.title } - : Wt(l.color), - ) - .concat(n) - .filter(Boolean) - .slice(-27), - [e, n], - ), - i = xe( - (l) => { - l?.valid && - (a.some((s) => un(s[r]) === un(l[r])) || - o((s) => s.concat(l))); - }, - [r, a], - ); - return { presets: a, addPreset: i }; - }), - (pc = ({ - name: e, - value: t, - onChange: r, - onFocus: n, - onBlur: o, - presetColors: a, - startOpen: i = !1, - argType: l, - }) => { - let s = xe(Ha(r, 200), [r]), - { - value: c, - realValue: d, - updateValue: p, - color: h, - colorSpace: f, - cycleColorSpace: b, - } = Yy(t, s), - { presets: g, addPreset: x } = Xy(a, h, f), - S = Wy[f], - A = !!l?.table?.readonly; - return m.createElement( - Ny, - { "aria-readonly": A }, - m.createElement( - By, - { - startOpen: i, - trigger: A ? [null] : void 0, - closeOnOutsideClick: !0, - onVisibleChange: () => x(h), - tooltip: m.createElement( - jy, - null, - m.createElement(S, { - color: d === "transparent" ? "#000000" : d, - onChange: p, - onFocus: n, - onBlur: o, - }), - g.length > 0 && - m.createElement( - My, - null, - g.map((k, T) => - m.createElement( - ut, - { - key: `${k.value}-${T}`, - hasChrome: !1, - tooltip: m.createElement(Ly, { - note: k.keyword || k.value, - }), - }, - m.createElement(Qu, { - value: k[f], - active: h && un(k[f]) === un(h[f]), - onClick: () => p(k.value), - }), - ), - ), - ), - ), - }, - m.createElement(Qu, { value: d, style: { margin: 4 } }), - ), - m.createElement(qy, { - id: Fe(e), - value: c, - onChange: (k) => p(k.target.value), - onFocus: (k) => k.target.select(), - readOnly: A, - placeholder: "Choose color...", - }), - c ? m.createElement(Vy, { onClick: b }) : null, - ); - }), - (Qy = pc); - }); - V(); - J(); - z(); - V(); - J(); - z(); - V(); - J(); - z(); - In(); - Rr(); - Rr(); - Pr(); - V(); - J(); - z(); - V(); - J(); - z(); - var xx = __STORYBOOK_CORE_EVENTS__, - { - ARGTYPES_INFO_REQUEST: ri, - ARGTYPES_INFO_RESPONSE: Vn, - CHANNEL_CREATED: Sx, - CHANNEL_WS_DISCONNECT: wx, - CONFIG_ERROR: ni, - CREATE_NEW_STORYFILE_REQUEST: Ax, - CREATE_NEW_STORYFILE_RESPONSE: Tx, - CURRENT_STORY_WAS_SET: Jn, - DOCS_PREPARED: oi, - DOCS_RENDERED: Fr, - FILE_COMPONENT_SEARCH_REQUEST: Cx, - FILE_COMPONENT_SEARCH_RESPONSE: kx, - FORCE_REMOUNT: ai, - FORCE_RE_RENDER: Nr, - GLOBALS_UPDATED: $t, - NAVIGATE_URL: ii, - PLAY_FUNCTION_THREW_EXCEPTION: si, - PRELOAD_ENTRIES: li, - PREVIEW_BUILDER_PROGRESS: Ix, - PREVIEW_KEYDOWN: ui, - REGISTER_SUBSCRIPTION: Ox, - REQUEST_WHATS_NEW_DATA: Dx, - RESET_STORY_ARGS: Br, - RESULT_WHATS_NEW_DATA: Rx, - SAVE_STORY_REQUEST: zn, - SAVE_STORY_RESPONSE: jr, - SELECT_STORY: _x, - SET_CONFIG: Px, - SET_CURRENT_STORY: ci, - SET_FILTER: Fx, - SET_GLOBALS: di, - SET_INDEX: Nx, - SET_STORIES: Bx, - SET_WHATS_NEW_CACHE: jx, - SHARED_STATE_CHANGED: Lx, - SHARED_STATE_SET: Mx, - STORIES_COLLAPSE_ALL: Ux, - STORIES_EXPAND_ALL: $x, - STORY_ARGS_UPDATED: pi, - STORY_CHANGED: fi, - STORY_ERRORED: hi, - STORY_INDEX_INVALIDATED: mi, - STORY_MISSING: Hn, - STORY_PREPARED: yi, - STORY_RENDERED: cr, - STORY_RENDER_PHASE_CHANGED: qt, - STORY_SPECIFIED: gi, - STORY_THREW_EXCEPTION: bi, - STORY_UNCHANGED: Ei, - TELEMETRY_ERROR: qx, - TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: Vx, - TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: Jx, - TESTING_MODULE_CRASH_REPORT: zx, - TESTING_MODULE_PROGRESS_REPORT: Hx, - TESTING_MODULE_RUN_ALL_REQUEST: Gx, - TESTING_MODULE_RUN_REQUEST: Wx, - TESTING_MODULE_WATCH_MODE_REQUEST: Kx, - TOGGLE_WHATS_NEW_NOTIFICATIONS: Yx, - UNHANDLED_ERRORS_WHILE_PLAYING: vi, - UPDATE_GLOBALS: Lr, - UPDATE_QUERY_PARAMS: xi, - UPDATE_STORY_ARGS: Mr, - } = __STORYBOOK_CORE_EVENTS__; - V(); - J(); - z(); - var iS = __STORYBOOK_API__, - { - ActiveTabs: sS, - Consumer: lS, - ManagerContext: uS, - Provider: cS, - RequestResponseError: dS, - addons: Ur, - combineParameters: pS, - controlOrMetaKey: fS, - controlOrMetaSymbol: hS, - eventMatchesShortcut: mS, - eventToShortcut: yS, - experimental_requestResponse: Gn, - isMacLike: gS, - isShortcutTaken: bS, - keyToSymbol: ES, - merge: vS, - mockChannel: xS, - optionOrAltSymbol: SS, - shortcutMatchesShortcut: wS, - shortcutToHumanString: AS, - types: Si, - useAddonState: TS, - useArgTypes: Wn, - useArgs: wi, - useChannel: CS, - useGlobalTypes: kS, - useGlobals: Ai, - useParameter: Ti, - useSharedState: IS, - useStoryPrepared: OS, - useStorybookApi: DS, - useStorybookState: Ci, - } = __STORYBOOK_API__; - Qn(); - V(); - J(); - z(); - var Di = Object.prototype.hasOwnProperty; - function Ri(e, t, r) { - for (r of e.keys()) if (wt(r, t)) return r; - } - function wt(e, t) { - var r, n, o; - if (e === t) return !0; - if (e && t && (r = e.constructor) === t.constructor) { - if (r === Date) return e.getTime() === t.getTime(); - if (r === RegExp) return e.toString() === t.toString(); - if (r === Array) { - if ((n = e.length) === t.length) for (; n-- && wt(e[n], t[n]); ); - return n === -1; - } - if (r === Set) { - if (e.size !== t.size) return !1; - for (n of e) - if ( - ((o = n), - (o && typeof o == "object" && ((o = Ri(t, o)), !o)) || !t.has(o)) - ) - return !1; - return !0; - } - if (r === Map) { - if (e.size !== t.size) return !1; - for (n of e) - if ( - ((o = n[0]), - (o && typeof o == "object" && ((o = Ri(t, o)), !o)) || - !wt(n[1], t.get(o))) - ) - return !1; - return !0; - } - if (r === ArrayBuffer) (e = new Uint8Array(e)), (t = new Uint8Array(t)); - else if (r === DataView) { - if ((n = e.byteLength) === t.byteLength) - for (; n-- && e.getInt8(n) === t.getInt8(n); ); - return n === -1; - } - if (ArrayBuffer.isView(e)) { - if ((n = e.byteLength) === t.byteLength) - for (; n-- && e[n] === t[n]; ); - return n === -1; - } - if (!r || typeof e == "object") { - n = 0; - for (r in e) - if ( - (Di.call(e, r) && ++n && !Di.call(t, r)) || - !(r in t) || - !wt(e[r], t[r]) - ) - return !1; - return Object.keys(t).length === n; - } - } - return e !== e && t !== t; - } - ro(); - V(); - J(); - z(); - var b5 = __STORYBOOK_CLIENT_LOGGER__, - { - deprecate: E5, - logger: Vr, - once: zi, - pretty: v5, - } = __STORYBOOK_CLIENT_LOGGER__; - V(); - J(); - z(); - V(); - J(); - z(); - V(); - J(); - z(); - var T5 = __STORYBOOK_CHANNELS__, - { - Channel: Hi, - PostMessageTransport: C5, - WebsocketTransport: k5, - createBrowserChannel: I5, - } = __STORYBOOK_CHANNELS__; - V(); - J(); - z(); - var P5 = __STORYBOOK_CLIENT_LOGGER__, - { - deprecate: Ze, - logger: Q, - once: ct, - pretty: F5, - } = __STORYBOOK_CLIENT_LOGGER__; - V(); - J(); - z(); - var kf = Object.defineProperty, - ce = (e, t) => kf(e, "name", { value: t, configurable: !0 }); - function de(e) { - for (var t = [], r = 1; r < arguments.length; r++) - t[r - 1] = arguments[r]; - var n = Array.from(typeof e == "string" ? [e] : e); - n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, ""); - var o = n.reduce(function (l, s) { - var c = s.match(/\n([\t ]+|(?!\s).)/g); - return c - ? l.concat( - c.map(function (d) { - var p, h; - return (h = - (p = d.match(/[\t ]/g)) === null || p === void 0 - ? void 0 - : p.length) !== null && h !== void 0 - ? h - : 0; - }), - ) - : l; - }, []); - if (o.length) { - var a = new RegExp( - ` -[ ]{` + - Math.min.apply(Math, o) + - "}", - "g", - ); - n = n.map(function (l) { - return l.replace( - a, - ` -`, - ); - }); - } - n[0] = n[0].replace(/^\r?\n/, ""); - var i = n[0]; - return ( - t.forEach(function (l, s) { - var c = i.match(/(?:^|\n)( *)$/), - d = c ? c[1] : "", - p = l; - typeof l == "string" && - l.includes(` -`) && - (p = String(l) - .split( - ` -`, - ) - .map(function (h, f) { - return f === 0 ? h : "" + d + h; - }).join(` -`)), - (i += p + n[s + 1]); - }), - i - ); - } - ce(de, "dedent"); - function no({ code: e, category: t }) { - let r = String(e).padStart(4, "0"); - return `SB_${t}_${r}`; - } - ce(no, "parseErrorCode"); - var Gi = class Wi extends Error { - constructor(t) { - super(Wi.getFullMessage(t)), - (this.data = {}), - (this.fromStorybook = !0), - (this.category = t.category), - (this.documentation = t.documentation ?? !1), - (this.code = t.code); - } - get fullErrorCode() { - return no({ code: this.code, category: this.category }); - } - get name() { - let t = this.constructor.name; - return `${this.fullErrorCode} (${t})`; - } - static getFullMessage({ - documentation: t, - code: r, - category: n, - message: o, - }) { - let a; - return ( - t === !0 - ? (a = `https://storybook.js.org/error/${no({ code: r, category: n })}`) - : typeof t == "string" - ? (a = t) - : Array.isArray(t) && - (a = ` -${t.map((i) => ` - ${i}`).join(` -`)}`), - `${o}${ - a != null - ? ` - -More info: ${a} -` - : "" - }` - ); - } - }; - ce(Gi, "StorybookError"); - var ge = Gi, - If = ((e) => ( - (e.BLOCKS = "BLOCKS"), - (e.DOCS_TOOLS = "DOCS-TOOLS"), - (e.PREVIEW_CLIENT_LOGGER = "PREVIEW_CLIENT-LOGGER"), - (e.PREVIEW_CHANNELS = "PREVIEW_CHANNELS"), - (e.PREVIEW_CORE_EVENTS = "PREVIEW_CORE-EVENTS"), - (e.PREVIEW_INSTRUMENTER = "PREVIEW_INSTRUMENTER"), - (e.PREVIEW_API = "PREVIEW_API"), - (e.PREVIEW_REACT_DOM_SHIM = "PREVIEW_REACT-DOM-SHIM"), - (e.PREVIEW_ROUTER = "PREVIEW_ROUTER"), - (e.PREVIEW_THEMING = "PREVIEW_THEMING"), - (e.RENDERER_HTML = "RENDERER_HTML"), - (e.RENDERER_PREACT = "RENDERER_PREACT"), - (e.RENDERER_REACT = "RENDERER_REACT"), - (e.RENDERER_SERVER = "RENDERER_SERVER"), - (e.RENDERER_SVELTE = "RENDERER_SVELTE"), - (e.RENDERER_VUE = "RENDERER_VUE"), - (e.RENDERER_VUE3 = "RENDERER_VUE3"), - (e.RENDERER_WEB_COMPONENTS = "RENDERER_WEB-COMPONENTS"), - (e.FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS"), - (e.ADDON_VITEST = "ADDON_VITEST"), - e - ))(If || {}), - Ki = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 1, - message: de` - Couldn't find story matching id '${t.storyId}' after HMR. - - Did you just rename a story? - - Did you remove it from your CSF file? - - Are you sure a story with the id '${t.storyId}' exists? - - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - - Also check the browser console and terminal for potential error messages.`, - }), - (this.data = t); - } - }; - ce(Ki, "MissingStoryAfterHmrError"); - var Yi = Ki, - Of = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 2, - documentation: - "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function", - message: de` - We detected that you use an implicit action arg while ${t.phase} of your story. - ${ - t.deprecated - ? ` -This is deprecated and won't work in Storybook 8 anymore. -` - : "" - } - Please provide an explicit spy to your args like this: - import { fn } from '@storybook/test'; - ... - args: { - ${t.name}: fn() - }`, - }), - (this.data = t); - } - }; - ce(Of, "ImplicitActionsDuringRendering"); - var Xi = class extends ge { - constructor() { - super({ - category: "PREVIEW_API", - code: 3, - message: de` - Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. - - You probably meant to call \`await preview.extract()\` which does the above for you.`, - }); - } - }; - ce(Xi, "CalledExtractOnStoreError"); - var Qi = Xi, - Zi = class extends ge { - constructor() { - super({ - category: "PREVIEW_API", - code: 4, - message: de` - Expected your framework's preset to export a \`renderToCanvas\` field. - - Perhaps it needs to be upgraded for Storybook 7.0?`, - documentation: - "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field", - }); - } - }; - ce(Zi, "MissingRenderToCanvasError"); - var es = Zi, - ts = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 5, - message: de` - Called \`Preview.${t.methodName}()\` before initialization. - - The preview needs to load the story index before most methods can be called. If you want - to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first. - - If you didn't call the above code, then likely it was called by an addon that needs to - do the above.`, - }), - (this.data = t); - } - }; - ce(ts, "CalledPreviewMethodBeforeInitializationError"); - var Ne = ts, - rs = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 6, - message: de` - Error fetching \`/index.json\`: - - ${t.text} - - If you are in development, this likely indicates a problem with your Storybook process, - check the terminal for errors. - - If you are in a deployed Storybook, there may have been an issue deploying the full Storybook - build.`, - }), - (this.data = t); - } - }; - ce(rs, "StoryIndexFetchError"); - var ns = rs, - os = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 7, - message: de` - Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF - references, or autodocs for a CSF file that some doesn't refer to itself. - - This likely is an internal error in Storybook's indexing, or you've attached the - \`attached-mdx\` tag to an MDX file that is not attached.`, - }), - (this.data = t); - } - }; - ce(os, "MdxFileWithNoCsfReferencesError"); - var as = os, - is = class extends ge { - constructor() { - super({ - category: "PREVIEW_API", - code: 8, - message: de` - Couldn't find any stories in your Storybook. - - - Please check your stories field of your main.js config: does it match correctly? - - Also check the browser console and terminal for error messages.`, - }); - } - }; - ce(is, "EmptyIndexError"); - var ss = is, - ls = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 9, - message: de` - Couldn't find story matching '${t.storySpecifier}'. - - - Are you sure a story with that id exists? - - Please check your stories field of your main.js config. - - Also check the browser console and terminal for error messages.`, - }), - (this.data = t); - } - }; - ce(ls, "NoStoryMatchError"); - var us = ls, - cs = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 10, - message: de` - Couldn't find story matching id '${t.storyId}' after importing a CSF file. - - The file was indexed as if the story was there, but then after importing the file in the browser - we didn't find the story. Possible reasons: - - You are using a custom story indexer that is misbehaving. - - You have a custom file loader that is removing or renaming exports. - - Please check your browser console and terminal for errors that may explain the issue.`, - }), - (this.data = t); - } - }; - ce(cs, "MissingStoryFromCsfFileError"); - var ds = cs, - ps = class extends ge { - constructor() { - super({ - category: "PREVIEW_API", - code: 11, - message: de` - Cannot access the Story Store until the index is ready. - - It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will - remove access to the store entirely`, - }); - } - }; - ce(ps, "StoryStoreAccessedBeforeInitializationError"); - var fs = ps, - hs = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 12, - message: de` - Incorrect use of mount in the play function. - - To use mount in the play function, you must satisfy the following two requirements: - - 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). - This makes sure that Storybook does not start rendering the story before the play function begins. - - 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. - This is because destructuring statements and async/await usages are otherwise transpiled away, - which prevents Storybook from recognizing your usage of \`mount\`. - - Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. - - More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered - - Received the following play function: - ${t.playFunction}`, - }), - (this.data = t); - } - }; - ce(hs, "MountMustBeDestructuredError"); - var Jr = hs, - ms = class extends ge { - constructor(t) { - super({ - category: "PREVIEW_API", - code: 14, - message: de` - No render function available for storyId '${t.id}' - `, - }), - (this.data = t); - } - }; - ce(ms, "NoRenderFunctionError"); - var ys = ms, - gs = class extends ge { - constructor() { - super({ - category: "PREVIEW_API", - code: 15, - message: de` - No component is mounted in your story. - - This usually occurs when you destructure mount in the play function, but forget to call it. - - For example: - - async play({ mount, canvasElement }) { - // 👈 mount should be called: await mount(); - const canvas = within(canvasElement); - const button = await canvas.findByRole('button'); - await userEvent.click(button); - }; - - Make sure to either remove it or call mount in your play function. - `, - }); - } - }; - ce(gs, "NoStoryMountedError"); - var bs = gs, - Df = class extends ge { - constructor() { - super({ - category: "FRAMEWORK_NEXTJS", - code: 1, - documentation: - "https://storybook.js.org/docs/get-started/nextjs#faq", - message: de` - You are importing avif images, but you don't have sharp installed. - - You have to install sharp in order to use image optimization features in Next.js. - `, - }); - } - }; - ce(Df, "NextJsSharpError"); - var Rf = class extends ge { - constructor(t) { - super({ - category: "FRAMEWORK_NEXTJS", - code: 2, - message: de` - Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment. - `, - }), - (this.data = t); - } - }; - ce(Rf, "NextjsRouterMocksNotAvailable"); - var Es = class extends ge { - constructor(t) { - super({ - category: "DOCS-TOOLS", - code: 1, - documentation: - "https://github.com/storybookjs/storybook/issues/26606", - message: de` - There was a failure when generating detailed ArgTypes in ${t.language} for: - ${JSON.stringify(t.type, null, 2)} - - Storybook will fall back to use a generic type description instead. - - This type is either not supported or it is a bug in the docgen generation in Storybook. - If you think this is a bug, please detail it as much as possible in the Github issue. - `, - }), - (this.data = t); - } - }; - ce(Es, "UnknownArgTypesError"); - var zr = Es, - _f = class extends ge { - constructor(t) { - super({ - category: "ADDON_VITEST", - code: 1, - message: de` - Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension. - - The Storybook plugin only supports values in the following units: - - px, vh, vw, em, rem and %. - - You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags - `, - }), - (this.data = t); - } - }; - ce(_f, "UnsupportedViewportDimensionError"); - V(); - J(); - z(); - var Pf = Object.create, - ws = Object.defineProperty, - Ff = Object.getOwnPropertyDescriptor, - Nf = Object.getOwnPropertyNames, - Bf = Object.getPrototypeOf, - jf = Object.prototype.hasOwnProperty, - Lf = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ), - Mf = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let o of Nf(t)) - !jf.call(e, o) && - o !== r && - ws(e, o, { - get: () => t[o], - enumerable: !(n = Ff(t, o)) || n.enumerable, - }); - return e; - }, - Uf = (e, t, r) => ( - (r = e != null ? Pf(Bf(e)) : {}), - Mf( - t || !e || !e.__esModule - ? ws(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) - ), - $f = Lf((e) => { - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.isEqual = (function () { - var t = Object.prototype.toString, - r = Object.getPrototypeOf, - n = Object.getOwnPropertySymbols - ? function (o) { - return Object.keys(o).concat( - Object.getOwnPropertySymbols(o), - ); - } - : Object.keys; - return function (o, a) { - return (function i(l, s, c) { - var d, - p, - h, - f = t.call(l), - b = t.call(s); - if (l === s) return !0; - if (l == null || s == null) return !1; - if (c.indexOf(l) > -1 && c.indexOf(s) > -1) return !0; - if ( - (c.push(l, s), - f != b || - ((d = n(l)), - (p = n(s)), - d.length != p.length || - d.some(function (g) { - return !i(l[g], s[g], c); - }))) - ) - return !1; - switch (f.slice(8, -1)) { - case "Symbol": - return l.valueOf() == s.valueOf(); - case "Date": - case "Number": - return +l == +s || (+l != +l && +s != +s); - case "RegExp": - case "Function": - case "String": - case "Boolean": - return "" + l == "" + s; - case "Set": - case "Map": - (d = l.entries()), (p = s.entries()); - do - if (!i((h = d.next()).value, p.next().value, c)) - return !1; - while (!h.done); - return !0; - case "ArrayBuffer": - (l = new Uint8Array(l)), (s = new Uint8Array(s)); - case "DataView": - (l = new Uint8Array(l.buffer)), - (s = new Uint8Array(s.buffer)); - case "Float32Array": - case "Float64Array": - case "Int8Array": - case "Int16Array": - case "Int32Array": - case "Uint8Array": - case "Uint16Array": - case "Uint32Array": - case "Uint8ClampedArray": - case "Arguments": - case "Array": - if (l.length != s.length) return !1; - for (h = 0; h < l.length; h++) - if ( - (h in l || h in s) && - (h in l != h in s || !i(l[h], s[h], c)) - ) - return !1; - return !0; - case "Object": - return i(r(l), r(s), c); - default: - return !1; - } - })(o, a, []); - }; - })()); - }); - function qf(e) { - return e - .replace(/_/g, " ") - .replace(/-/g, " ") - .replace(/\./g, " ") - .replace(/([^\n])([A-Z])([a-z])/g, (t, r, n, o) => `${r} ${n}${o}`) - .replace(/([a-z])([A-Z])/g, (t, r, n) => `${r} ${n}`) - .replace(/([a-z])([0-9])/gi, (t, r, n) => `${r} ${n}`) - .replace(/([0-9])([a-z])/gi, (t, r, n) => `${r} ${n}`) - .replace(/(\s|^)(\w)/g, (t, r, n) => `${r}${n.toUpperCase()}`) - .replace(/ +/g, " ") - .trim(); - } - var vs = Uf($f()), - As = (e) => e.map((t) => typeof t < "u").filter(Boolean).length, - Vf = (e, t) => { - let { exists: r, eq: n, neq: o, truthy: a } = e; - if (As([r, n, o, a]) > 1) - throw new Error( - `Invalid conditional test ${JSON.stringify({ exists: r, eq: n, neq: o })}`, - ); - if (typeof n < "u") return (0, vs.isEqual)(t, n); - if (typeof o < "u") return !(0, vs.isEqual)(t, o); - if (typeof r < "u") { - let i = typeof t < "u"; - return r ? i : !i; - } - return typeof a > "u" || a ? !!t : !t; - }, - Ts = (e, t, r) => { - if (!e.if) return !0; - let { arg: n, global: o } = e.if; - if (As([n, o]) !== 1) - throw new Error( - `Invalid conditional value ${JSON.stringify({ arg: n, global: o })}`, - ); - let a = n ? t[n] : r[o]; - return Vf(e.if, a); - }, - oo = (e) => - e - .toLowerCase() - .replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, "-") - .replace(/-+/g, "-") - .replace(/^-+/, "") - .replace(/-+$/, ""), - xs = (e, t) => { - let r = oo(e); - if (r === "") - throw new Error( - `Invalid ${t} '${e}', must include alphanumeric characters`, - ); - return r; - }, - Cs = (e, t) => `${xs(e, "kind")}${t ? `--${xs(t, "name")}` : ""}`, - ks = (e) => qf(e); - function Ss(e, t) { - return Array.isArray(t) ? t.includes(e) : e.match(t); - } - function Hr(e, { includeStories: t, excludeStories: r }) { - return e !== "__esModule" && (!t || Ss(e, t)) && (!r || !Ss(e, r)); - } - var Is = (...e) => { - let t = e.reduce( - (r, n) => (n.startsWith("!") ? r.delete(n.slice(1)) : r.add(n), r), - new Set(), - ); - return Array.from(t); - }; - var Jf = Object.create, - ko = Object.defineProperty, - zf = Object.getOwnPropertyDescriptor, - Hf = Object.getOwnPropertyNames, - Gf = Object.getPrototypeOf, - Wf = Object.prototype.hasOwnProperty, - E = (e, t) => ko(e, "name", { value: t, configurable: !0 }), - Gr = ((e) => - typeof Pe < "u" - ? Pe - : typeof Proxy < "u" - ? new Proxy(e, { get: (t, r) => (typeof Pe < "u" ? Pe : t)[r] }) - : e)(function (e) { - if (typeof Pe < "u") return Pe.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - }), - we = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ), - Kf = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let o of Hf(t)) - !Wf.call(e, o) && - o !== r && - ko(e, o, { - get: () => t[o], - enumerable: !(n = zf(t, o)) || n.enumerable, - }); - return e; - }, - Ht = (e, t, r) => ( - (r = e != null ? Jf(Gf(e)) : {}), - Kf( - t || !e || !e.__esModule - ? ko(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) - ), - Js = we((e, t) => { - (function (r) { - if (typeof e == "object" && typeof t < "u") t.exports = r(); - else if (typeof define == "function" && define.amd) define([], r); - else { - var n; - typeof window < "u" || typeof window < "u" - ? (n = window) - : typeof self < "u" - ? (n = self) - : (n = this), - (n.memoizerific = r()); - } - })(function () { - var r, n, o; - return E(function a(i, l, s) { - function c(h, f) { - if (!l[h]) { - if (!i[h]) { - var b = typeof Gr == "function" && Gr; - if (!f && b) return b(h, !0); - if (d) return d(h, !0); - var g = new Error("Cannot find module '" + h + "'"); - throw ((g.code = "MODULE_NOT_FOUND"), g); - } - var x = (l[h] = { exports: {} }); - i[h][0].call( - x.exports, - function (S) { - var A = i[h][1][S]; - return c(A || S); - }, - x, - x.exports, - a, - i, - l, - s, - ); - } - return l[h].exports; - } - E(c, "s"); - for ( - var d = typeof Gr == "function" && Gr, p = 0; - p < s.length; - p++ - ) - c(s[p]); - return c; - }, "e")( - { - 1: [ - function (a, i, l) { - i.exports = function (s) { - if (typeof Map != "function" || s) { - var c = a("./similar"); - return new c(); - } else return new Map(); - }; - }, - { "./similar": 2 }, - ], - 2: [ - function (a, i, l) { - function s() { - return ( - (this.list = []), - (this.lastItem = void 0), - (this.size = 0), - this - ); - } - E(s, "Similar"), - (s.prototype.get = function (c) { - var d; - if (this.lastItem && this.isEqual(this.lastItem.key, c)) - return this.lastItem.val; - if (((d = this.indexOf(c)), d >= 0)) - return (this.lastItem = this.list[d]), this.list[d].val; - }), - (s.prototype.set = function (c, d) { - var p; - return this.lastItem && this.isEqual(this.lastItem.key, c) - ? ((this.lastItem.val = d), this) - : ((p = this.indexOf(c)), - p >= 0 - ? ((this.lastItem = this.list[p]), - (this.list[p].val = d), - this) - : ((this.lastItem = { key: c, val: d }), - this.list.push(this.lastItem), - this.size++, - this)); - }), - (s.prototype.delete = function (c) { - var d; - if ( - (this.lastItem && - this.isEqual(this.lastItem.key, c) && - (this.lastItem = void 0), - (d = this.indexOf(c)), - d >= 0) - ) - return this.size--, this.list.splice(d, 1)[0]; - }), - (s.prototype.has = function (c) { - var d; - return this.lastItem && this.isEqual(this.lastItem.key, c) - ? !0 - : ((d = this.indexOf(c)), - d >= 0 ? ((this.lastItem = this.list[d]), !0) : !1); - }), - (s.prototype.forEach = function (c, d) { - var p; - for (p = 0; p < this.size; p++) - c.call( - d || this, - this.list[p].val, - this.list[p].key, - this, - ); - }), - (s.prototype.indexOf = function (c) { - var d; - for (d = 0; d < this.size; d++) - if (this.isEqual(this.list[d].key, c)) return d; - return -1; - }), - (s.prototype.isEqual = function (c, d) { - return c === d || (c !== c && d !== d); - }), - (i.exports = s); - }, - {}, - ], - 3: [ - function (a, i, l) { - var s = a("map-or-similar"); - i.exports = function (h) { - var f = new s(!1), - b = []; - return function (g) { - var x = E(function () { - var S = f, - A, - k, - T = arguments.length - 1, - I = Array(T + 1), - D = !0, - F; - if ( - (x.numArgs || x.numArgs === 0) && - x.numArgs !== T + 1 - ) - throw new Error( - "Memoizerific functions should always be called with the same number of arguments", - ); - for (F = 0; F < T; F++) { - if ( - ((I[F] = { cacheItem: S, arg: arguments[F] }), - S.has(arguments[F])) - ) { - S = S.get(arguments[F]); - continue; - } - (D = !1), - (A = new s(!1)), - S.set(arguments[F], A), - (S = A); - } - return ( - D && - (S.has(arguments[T]) - ? (k = S.get(arguments[T])) - : (D = !1)), - D || - ((k = g.apply(null, arguments)), - S.set(arguments[T], k)), - h > 0 && - ((I[T] = { cacheItem: S, arg: arguments[T] }), - D ? c(b, I) : b.push(I), - b.length > h && d(b.shift())), - (x.wasMemoized = D), - (x.numArgs = T + 1), - k - ); - }, "memoizerific"); - return ( - (x.limit = h), - (x.wasMemoized = !1), - (x.cache = f), - (x.lru = b), - x - ); - }; - }; - function c(h, f) { - var b = h.length, - g = f.length, - x, - S, - A; - for (S = 0; S < b; S++) { - for (x = !0, A = 0; A < g; A++) - if (!p(h[S][A].arg, f[A].arg)) { - x = !1; - break; - } - if (x) break; - } - h.push(h.splice(S, 1)[0]); - } - E(c, "moveToMostRecentLru"); - function d(h) { - var f = h.length, - b = h[f - 1], - g, - x; - for ( - b.cacheItem.delete(b.arg), x = f - 2; - x >= 0 && - ((b = h[x]), (g = b.cacheItem.get(b.arg)), !g || !g.size); - x-- - ) - b.cacheItem.delete(b.arg); - } - E(d, "removeCachedResult"); - function p(h, f) { - return h === f || (h !== h && f !== f); - } - E(p, "isEqual"); - }, - { "map-or-similar": 1 }, - ], - }, - {}, - [3], - )(3); - }); - }), - zs = we((e) => { - "use strict"; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.encodeString = n); - var t = Array.from( - { length: 256 }, - (o, a) => - "%" + ((a < 16 ? "0" : "") + a.toString(16)).toUpperCase(), - ), - r = new Int8Array([ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, - 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, - 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, - ]); - function n(o) { - let a = o.length; - if (a === 0) return ""; - let i = "", - l = 0, - s = 0; - e: for (; s < a; s++) { - let c = o.charCodeAt(s); - for (; c < 128; ) { - if ( - (r[c] !== 1 && - (l < s && (i += o.slice(l, s)), (l = s + 1), (i += t[c])), - ++s === a) - ) - break e; - c = o.charCodeAt(s); - } - if ((l < s && (i += o.slice(l, s)), c < 2048)) { - (l = s + 1), (i += t[192 | (c >> 6)] + t[128 | (c & 63)]); - continue; - } - if (c < 55296 || c >= 57344) { - (l = s + 1), - (i += - t[224 | (c >> 12)] + - t[128 | ((c >> 6) & 63)] + - t[128 | (c & 63)]); - continue; - } - if ((++s, s >= a)) throw new Error("URI malformed"); - let d = o.charCodeAt(s) & 1023; - (l = s + 1), - (c = 65536 + (((c & 1023) << 10) | d)), - (i += - t[240 | (c >> 18)] + - t[128 | ((c >> 12) & 63)] + - t[128 | ((c >> 6) & 63)] + - t[128 | (c & 63)]); - } - return l === 0 ? o : l < a ? i + o.slice(l) : i; - } - E(n, "encodeString"); - }), - Io = we((e) => { - "use strict"; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.defaultOptions = - e.defaultShouldSerializeObject = - e.defaultValueSerializer = - void 0); - var t = zs(), - r = E((a) => { - switch (typeof a) { - case "string": - return (0, t.encodeString)(a); - case "bigint": - case "boolean": - return "" + a; - case "number": - if (Number.isFinite(a)) - return a < 1e21 ? "" + a : (0, t.encodeString)("" + a); - break; - } - return a instanceof Date - ? (0, t.encodeString)(a.toISOString()) - : ""; - }, "defaultValueSerializer"); - e.defaultValueSerializer = r; - var n = E((a) => a instanceof Date, "defaultShouldSerializeObject"); - e.defaultShouldSerializeObject = n; - var o = E((a) => a, "identityFunc"); - e.defaultOptions = { - nesting: !0, - nestingSyntax: "dot", - arrayRepeat: !1, - arrayRepeatSyntax: "repeat", - delimiter: 38, - valueDeserializer: o, - valueSerializer: e.defaultValueSerializer, - keyDeserializer: o, - shouldSerializeObject: e.defaultShouldSerializeObject, - }; - }), - Hs = we((e) => { - "use strict"; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.getDeepObject = o), - (e.stringifyObject = d); - var t = Io(), - r = zs(); - function n(p) { - return p === "__proto__" || p === "constructor" || p === "prototype"; - } - E(n, "isPrototypeKey"); - function o(p, h, f, b, g) { - if (n(h)) return p; - let x = p[h]; - return typeof x == "object" && x !== null - ? x - : !b && - (g || - typeof f == "number" || - (typeof f == "string" && - f * 0 === 0 && - f.indexOf(".") === -1)) - ? (p[h] = []) - : (p[h] = {}); - } - E(o, "getDeepObject"); - var a = 20, - i = "[]", - l = "[", - s = "]", - c = "."; - function d(p, h, f = 0, b, g) { - let { - nestingSyntax: x = t.defaultOptions.nestingSyntax, - arrayRepeat: S = t.defaultOptions.arrayRepeat, - arrayRepeatSyntax: A = t.defaultOptions.arrayRepeatSyntax, - nesting: k = t.defaultOptions.nesting, - delimiter: T = t.defaultOptions.delimiter, - valueSerializer: I = t.defaultOptions.valueSerializer, - shouldSerializeObject: D = t.defaultOptions.shouldSerializeObject, - } = h, - F = typeof T == "number" ? String.fromCharCode(T) : T, - P = g === !0 && S, - L = x === "dot" || (x === "js" && !g); - if (f > a) return ""; - let B = "", - G = !0, - $ = !1; - for (let H in p) { - let w = p[H], - C; - b - ? ((C = b), - P - ? A === "bracket" && (C += i) - : L - ? ((C += c), (C += H)) - : ((C += l), (C += H), (C += s))) - : (C = H), - G || (B += F), - typeof w == "object" && w !== null && !D(w) - ? (($ = w.pop !== void 0), - (k || (S && $)) && (B += d(w, h, f + 1, C, $))) - : ((B += (0, r.encodeString)(C)), (B += "="), (B += I(w, H))), - G && (G = !1); - } - return B; - } - E(d, "stringifyObject"); - }), - Yf = we((e, t) => { - "use strict"; - var r = 12, - n = 0, - o = [ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 10, 9, 9, 9, 11, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 24, - 36, 48, 60, 72, 84, 96, 0, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 24, 24, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 24, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 48, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 127, 63, 63, 63, 0, 31, 15, 15, 15, 7, 7, 7, - ]; - function a(s) { - var c = s.indexOf("%"); - if (c === -1) return s; - for ( - var d = s.length, p = "", h = 0, f = 0, b = c, g = r; - c > -1 && c < d; - - ) { - var x = l(s[c + 1], 4), - S = l(s[c + 2], 0), - A = x | S, - k = o[A]; - if ( - ((g = o[256 + g + k]), (f = (f << 6) | (A & o[364 + k])), g === r) - ) - (p += s.slice(h, b)), - (p += - f <= 65535 - ? String.fromCharCode(f) - : String.fromCharCode( - 55232 + (f >> 10), - 56320 + (f & 1023), - )), - (f = 0), - (h = c + 3), - (c = b = s.indexOf("%", h)); - else { - if (g === n) return null; - if (((c += 3), c < d && s.charCodeAt(c) === 37)) continue; - return null; - } - } - return p + s.slice(h); - } - E(a, "decodeURIComponent"); - var i = { - 0: 0, - 1: 1, - 2: 2, - 3: 3, - 4: 4, - 5: 5, - 6: 6, - 7: 7, - 8: 8, - 9: 9, - a: 10, - A: 10, - b: 11, - B: 11, - c: 12, - C: 12, - d: 13, - D: 13, - e: 14, - E: 14, - f: 15, - F: 15, - }; - function l(s, c) { - var d = i[s]; - return d === void 0 ? 255 : d << c; - } - E(l, "hexCodeToInt"), (t.exports = a); - }), - Xf = we((e) => { - "use strict"; - var t = - (e && e.__importDefault) || - function (p) { - return p && p.__esModule ? p : { default: p }; - }; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.numberValueDeserializer = e.numberKeyDeserializer = void 0), - (e.parse = d); - var r = Hs(), - n = Io(), - o = t(Yf()), - a = E((p) => { - let h = Number(p); - return Number.isNaN(h) ? p : h; - }, "numberKeyDeserializer"); - e.numberKeyDeserializer = a; - var i = E((p) => { - let h = Number(p); - return Number.isNaN(h) ? p : h; - }, "numberValueDeserializer"); - e.numberValueDeserializer = i; - var l = /\+/g, - s = E(function () {}, "Empty"); - s.prototype = Object.create(null); - function c(p, h, f, b, g) { - let x = p.substring(h, f); - return ( - b && (x = x.replace(l, " ")), g && (x = (0, o.default)(x) || x), x - ); - } - E(c, "computeKeySlice"); - function d(p, h) { - let { - valueDeserializer: f = n.defaultOptions.valueDeserializer, - keyDeserializer: b = n.defaultOptions.keyDeserializer, - arrayRepeatSyntax: g = n.defaultOptions.arrayRepeatSyntax, - nesting: x = n.defaultOptions.nesting, - arrayRepeat: S = n.defaultOptions.arrayRepeat, - nestingSyntax: A = n.defaultOptions.nestingSyntax, - delimiter: k = n.defaultOptions.delimiter, - } = h ?? {}, - T = typeof k == "string" ? k.charCodeAt(0) : k, - I = A === "js", - D = new s(); - if (typeof p != "string") return D; - let F = p.length, - P = "", - L = -1, - B = -1, - G = -1, - $ = D, - H, - w = "", - C = "", - _ = !1, - M = !1, - U = !1, - K = !1, - re = !1, - Z = !1, - Y = !1, - ee = 0, - ye = -1, - le = -1, - Ae = -1; - for (let ne = 0; ne < F + 1; ne++) { - if (((ee = ne !== F ? p.charCodeAt(ne) : T), ee === T)) { - if ( - ((Y = B > L), - Y || (B = ne), - G !== B - 1 && - ((C = c(p, G + 1, ye > -1 ? ye : B, U, _)), - (w = b(C)), - H !== void 0 && - ($ = (0, r.getDeepObject)($, H, w, I && re, I && Z))), - Y || w !== "") - ) { - Y && - ((P = p.slice(B + 1, ne)), - K && (P = P.replace(l, " ")), - M && (P = (0, o.default)(P) || P)); - let qe = f(P, w); - if (S) { - let Be = $[w]; - Be === void 0 - ? ye > -1 - ? ($[w] = [qe]) - : ($[w] = qe) - : Be.pop - ? Be.push(qe) - : ($[w] = [Be, qe]); - } else $[w] = qe; - } - (P = ""), - (L = ne), - (B = ne), - (_ = !1), - (M = !1), - (U = !1), - (K = !1), - (re = !1), - (Z = !1), - (ye = -1), - (G = ne), - ($ = D), - (H = void 0), - (w = ""); - } else - ee === 93 - ? (S && g === "bracket" && Ae === 91 && (ye = le), - x && - (A === "index" || I) && - B <= L && - (G !== le && - ((C = c(p, G + 1, ne, U, _)), - (w = b(C)), - H !== void 0 && - ($ = (0, r.getDeepObject)($, H, w, void 0, I)), - (H = w), - (U = !1), - (_ = !1)), - (G = ne), - (Z = !0), - (re = !1))) - : ee === 46 - ? x && - (A === "dot" || I) && - B <= L && - (G !== le && - ((C = c(p, G + 1, ne, U, _)), - (w = b(C)), - H !== void 0 && ($ = (0, r.getDeepObject)($, H, w, I)), - (H = w), - (U = !1), - (_ = !1)), - (re = !0), - (Z = !1), - (G = ne)) - : ee === 91 - ? x && - (A === "index" || I) && - B <= L && - (G !== le && - ((C = c(p, G + 1, ne, U, _)), - (w = b(C)), - I && - H !== void 0 && - ($ = (0, r.getDeepObject)($, H, w, I)), - (H = w), - (U = !1), - (_ = !1), - (re = !1), - (Z = !0)), - (G = ne)) - : ee === 61 - ? B <= L - ? (B = ne) - : (M = !0) - : ee === 43 - ? B > L - ? (K = !0) - : (U = !0) - : ee === 37 && (B > L ? (M = !0) : (_ = !0)); - (le = ne), (Ae = ee); - } - return D; - } - E(d, "parse"); - }), - Qf = we((e) => { - "use strict"; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.stringify = r); - var t = Hs(); - function r(n, o) { - if (n === null || typeof n != "object") return ""; - let a = o ?? {}; - return (0, t.stringifyObject)(n, a); - } - E(r, "stringify"); - }), - Oo = we((e) => { - "use strict"; - var t = - (e && e.__createBinding) || - (Object.create - ? function (a, i, l, s) { - s === void 0 && (s = l); - var c = Object.getOwnPropertyDescriptor(i, l); - (!c || - ("get" in c - ? !i.__esModule - : c.writable || c.configurable)) && - (c = { - enumerable: !0, - get: E(function () { - return i[l]; - }, "get"), - }), - Object.defineProperty(a, s, c); - } - : function (a, i, l, s) { - s === void 0 && (s = l), (a[s] = i[l]); - }), - r = - (e && e.__exportStar) || - function (a, i) { - for (var l in a) - l !== "default" && - !Object.prototype.hasOwnProperty.call(i, l) && - t(i, a, l); - }; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.stringify = e.parse = void 0); - var n = Xf(); - Object.defineProperty(e, "parse", { - enumerable: !0, - get: E(function () { - return n.parse; - }, "get"), - }); - var o = Qf(); - Object.defineProperty(e, "stringify", { - enumerable: !0, - get: E(function () { - return o.stringify; - }, "get"), - }), - r(Io(), e); - }), - Gs = we((e, t) => { - t.exports = { - Aacute: "\xC1", - aacute: "\xE1", - Abreve: "\u0102", - abreve: "\u0103", - ac: "\u223E", - acd: "\u223F", - acE: "\u223E\u0333", - Acirc: "\xC2", - acirc: "\xE2", - acute: "\xB4", - Acy: "\u0410", - acy: "\u0430", - AElig: "\xC6", - aelig: "\xE6", - af: "\u2061", - Afr: "\u{1D504}", - afr: "\u{1D51E}", - Agrave: "\xC0", - agrave: "\xE0", - alefsym: "\u2135", - aleph: "\u2135", - Alpha: "\u0391", - alpha: "\u03B1", - Amacr: "\u0100", - amacr: "\u0101", - amalg: "\u2A3F", - amp: "&", - AMP: "&", - andand: "\u2A55", - And: "\u2A53", - and: "\u2227", - andd: "\u2A5C", - andslope: "\u2A58", - andv: "\u2A5A", - ang: "\u2220", - ange: "\u29A4", - angle: "\u2220", - angmsdaa: "\u29A8", - angmsdab: "\u29A9", - angmsdac: "\u29AA", - angmsdad: "\u29AB", - angmsdae: "\u29AC", - angmsdaf: "\u29AD", - angmsdag: "\u29AE", - angmsdah: "\u29AF", - angmsd: "\u2221", - angrt: "\u221F", - angrtvb: "\u22BE", - angrtvbd: "\u299D", - angsph: "\u2222", - angst: "\xC5", - angzarr: "\u237C", - Aogon: "\u0104", - aogon: "\u0105", - Aopf: "\u{1D538}", - aopf: "\u{1D552}", - apacir: "\u2A6F", - ap: "\u2248", - apE: "\u2A70", - ape: "\u224A", - apid: "\u224B", - apos: "'", - ApplyFunction: "\u2061", - approx: "\u2248", - approxeq: "\u224A", - Aring: "\xC5", - aring: "\xE5", - Ascr: "\u{1D49C}", - ascr: "\u{1D4B6}", - Assign: "\u2254", - ast: "*", - asymp: "\u2248", - asympeq: "\u224D", - Atilde: "\xC3", - atilde: "\xE3", - Auml: "\xC4", - auml: "\xE4", - awconint: "\u2233", - awint: "\u2A11", - backcong: "\u224C", - backepsilon: "\u03F6", - backprime: "\u2035", - backsim: "\u223D", - backsimeq: "\u22CD", - Backslash: "\u2216", - Barv: "\u2AE7", - barvee: "\u22BD", - barwed: "\u2305", - Barwed: "\u2306", - barwedge: "\u2305", - bbrk: "\u23B5", - bbrktbrk: "\u23B6", - bcong: "\u224C", - Bcy: "\u0411", - bcy: "\u0431", - bdquo: "\u201E", - becaus: "\u2235", - because: "\u2235", - Because: "\u2235", - bemptyv: "\u29B0", - bepsi: "\u03F6", - bernou: "\u212C", - Bernoullis: "\u212C", - Beta: "\u0392", - beta: "\u03B2", - beth: "\u2136", - between: "\u226C", - Bfr: "\u{1D505}", - bfr: "\u{1D51F}", - bigcap: "\u22C2", - bigcirc: "\u25EF", - bigcup: "\u22C3", - bigodot: "\u2A00", - bigoplus: "\u2A01", - bigotimes: "\u2A02", - bigsqcup: "\u2A06", - bigstar: "\u2605", - bigtriangledown: "\u25BD", - bigtriangleup: "\u25B3", - biguplus: "\u2A04", - bigvee: "\u22C1", - bigwedge: "\u22C0", - bkarow: "\u290D", - blacklozenge: "\u29EB", - blacksquare: "\u25AA", - blacktriangle: "\u25B4", - blacktriangledown: "\u25BE", - blacktriangleleft: "\u25C2", - blacktriangleright: "\u25B8", - blank: "\u2423", - blk12: "\u2592", - blk14: "\u2591", - blk34: "\u2593", - block: "\u2588", - bne: "=\u20E5", - bnequiv: "\u2261\u20E5", - bNot: "\u2AED", - bnot: "\u2310", - Bopf: "\u{1D539}", - bopf: "\u{1D553}", - bot: "\u22A5", - bottom: "\u22A5", - bowtie: "\u22C8", - boxbox: "\u29C9", - boxdl: "\u2510", - boxdL: "\u2555", - boxDl: "\u2556", - boxDL: "\u2557", - boxdr: "\u250C", - boxdR: "\u2552", - boxDr: "\u2553", - boxDR: "\u2554", - boxh: "\u2500", - boxH: "\u2550", - boxhd: "\u252C", - boxHd: "\u2564", - boxhD: "\u2565", - boxHD: "\u2566", - boxhu: "\u2534", - boxHu: "\u2567", - boxhU: "\u2568", - boxHU: "\u2569", - boxminus: "\u229F", - boxplus: "\u229E", - boxtimes: "\u22A0", - boxul: "\u2518", - boxuL: "\u255B", - boxUl: "\u255C", - boxUL: "\u255D", - boxur: "\u2514", - boxuR: "\u2558", - boxUr: "\u2559", - boxUR: "\u255A", - boxv: "\u2502", - boxV: "\u2551", - boxvh: "\u253C", - boxvH: "\u256A", - boxVh: "\u256B", - boxVH: "\u256C", - boxvl: "\u2524", - boxvL: "\u2561", - boxVl: "\u2562", - boxVL: "\u2563", - boxvr: "\u251C", - boxvR: "\u255E", - boxVr: "\u255F", - boxVR: "\u2560", - bprime: "\u2035", - breve: "\u02D8", - Breve: "\u02D8", - brvbar: "\xA6", - bscr: "\u{1D4B7}", - Bscr: "\u212C", - bsemi: "\u204F", - bsim: "\u223D", - bsime: "\u22CD", - bsolb: "\u29C5", - bsol: "\\", - bsolhsub: "\u27C8", - bull: "\u2022", - bullet: "\u2022", - bump: "\u224E", - bumpE: "\u2AAE", - bumpe: "\u224F", - Bumpeq: "\u224E", - bumpeq: "\u224F", - Cacute: "\u0106", - cacute: "\u0107", - capand: "\u2A44", - capbrcup: "\u2A49", - capcap: "\u2A4B", - cap: "\u2229", - Cap: "\u22D2", - capcup: "\u2A47", - capdot: "\u2A40", - CapitalDifferentialD: "\u2145", - caps: "\u2229\uFE00", - caret: "\u2041", - caron: "\u02C7", - Cayleys: "\u212D", - ccaps: "\u2A4D", - Ccaron: "\u010C", - ccaron: "\u010D", - Ccedil: "\xC7", - ccedil: "\xE7", - Ccirc: "\u0108", - ccirc: "\u0109", - Cconint: "\u2230", - ccups: "\u2A4C", - ccupssm: "\u2A50", - Cdot: "\u010A", - cdot: "\u010B", - cedil: "\xB8", - Cedilla: "\xB8", - cemptyv: "\u29B2", - cent: "\xA2", - centerdot: "\xB7", - CenterDot: "\xB7", - cfr: "\u{1D520}", - Cfr: "\u212D", - CHcy: "\u0427", - chcy: "\u0447", - check: "\u2713", - checkmark: "\u2713", - Chi: "\u03A7", - chi: "\u03C7", - circ: "\u02C6", - circeq: "\u2257", - circlearrowleft: "\u21BA", - circlearrowright: "\u21BB", - circledast: "\u229B", - circledcirc: "\u229A", - circleddash: "\u229D", - CircleDot: "\u2299", - circledR: "\xAE", - circledS: "\u24C8", - CircleMinus: "\u2296", - CirclePlus: "\u2295", - CircleTimes: "\u2297", - cir: "\u25CB", - cirE: "\u29C3", - cire: "\u2257", - cirfnint: "\u2A10", - cirmid: "\u2AEF", - cirscir: "\u29C2", - ClockwiseContourIntegral: "\u2232", - CloseCurlyDoubleQuote: "\u201D", - CloseCurlyQuote: "\u2019", - clubs: "\u2663", - clubsuit: "\u2663", - colon: ":", - Colon: "\u2237", - Colone: "\u2A74", - colone: "\u2254", - coloneq: "\u2254", - comma: ",", - commat: "@", - comp: "\u2201", - compfn: "\u2218", - complement: "\u2201", - complexes: "\u2102", - cong: "\u2245", - congdot: "\u2A6D", - Congruent: "\u2261", - conint: "\u222E", - Conint: "\u222F", - ContourIntegral: "\u222E", - copf: "\u{1D554}", - Copf: "\u2102", - coprod: "\u2210", - Coproduct: "\u2210", - copy: "\xA9", - COPY: "\xA9", - copysr: "\u2117", - CounterClockwiseContourIntegral: "\u2233", - crarr: "\u21B5", - cross: "\u2717", - Cross: "\u2A2F", - Cscr: "\u{1D49E}", - cscr: "\u{1D4B8}", - csub: "\u2ACF", - csube: "\u2AD1", - csup: "\u2AD0", - csupe: "\u2AD2", - ctdot: "\u22EF", - cudarrl: "\u2938", - cudarrr: "\u2935", - cuepr: "\u22DE", - cuesc: "\u22DF", - cularr: "\u21B6", - cularrp: "\u293D", - cupbrcap: "\u2A48", - cupcap: "\u2A46", - CupCap: "\u224D", - cup: "\u222A", - Cup: "\u22D3", - cupcup: "\u2A4A", - cupdot: "\u228D", - cupor: "\u2A45", - cups: "\u222A\uFE00", - curarr: "\u21B7", - curarrm: "\u293C", - curlyeqprec: "\u22DE", - curlyeqsucc: "\u22DF", - curlyvee: "\u22CE", - curlywedge: "\u22CF", - curren: "\xA4", - curvearrowleft: "\u21B6", - curvearrowright: "\u21B7", - cuvee: "\u22CE", - cuwed: "\u22CF", - cwconint: "\u2232", - cwint: "\u2231", - cylcty: "\u232D", - dagger: "\u2020", - Dagger: "\u2021", - daleth: "\u2138", - darr: "\u2193", - Darr: "\u21A1", - dArr: "\u21D3", - dash: "\u2010", - Dashv: "\u2AE4", - dashv: "\u22A3", - dbkarow: "\u290F", - dblac: "\u02DD", - Dcaron: "\u010E", - dcaron: "\u010F", - Dcy: "\u0414", - dcy: "\u0434", - ddagger: "\u2021", - ddarr: "\u21CA", - DD: "\u2145", - dd: "\u2146", - DDotrahd: "\u2911", - ddotseq: "\u2A77", - deg: "\xB0", - Del: "\u2207", - Delta: "\u0394", - delta: "\u03B4", - demptyv: "\u29B1", - dfisht: "\u297F", - Dfr: "\u{1D507}", - dfr: "\u{1D521}", - dHar: "\u2965", - dharl: "\u21C3", - dharr: "\u21C2", - DiacriticalAcute: "\xB4", - DiacriticalDot: "\u02D9", - DiacriticalDoubleAcute: "\u02DD", - DiacriticalGrave: "`", - DiacriticalTilde: "\u02DC", - diam: "\u22C4", - diamond: "\u22C4", - Diamond: "\u22C4", - diamondsuit: "\u2666", - diams: "\u2666", - die: "\xA8", - DifferentialD: "\u2146", - digamma: "\u03DD", - disin: "\u22F2", - div: "\xF7", - divide: "\xF7", - divideontimes: "\u22C7", - divonx: "\u22C7", - DJcy: "\u0402", - djcy: "\u0452", - dlcorn: "\u231E", - dlcrop: "\u230D", - dollar: "$", - Dopf: "\u{1D53B}", - dopf: "\u{1D555}", - Dot: "\xA8", - dot: "\u02D9", - DotDot: "\u20DC", - doteq: "\u2250", - doteqdot: "\u2251", - DotEqual: "\u2250", - dotminus: "\u2238", - dotplus: "\u2214", - dotsquare: "\u22A1", - doublebarwedge: "\u2306", - DoubleContourIntegral: "\u222F", - DoubleDot: "\xA8", - DoubleDownArrow: "\u21D3", - DoubleLeftArrow: "\u21D0", - DoubleLeftRightArrow: "\u21D4", - DoubleLeftTee: "\u2AE4", - DoubleLongLeftArrow: "\u27F8", - DoubleLongLeftRightArrow: "\u27FA", - DoubleLongRightArrow: "\u27F9", - DoubleRightArrow: "\u21D2", - DoubleRightTee: "\u22A8", - DoubleUpArrow: "\u21D1", - DoubleUpDownArrow: "\u21D5", - DoubleVerticalBar: "\u2225", - DownArrowBar: "\u2913", - downarrow: "\u2193", - DownArrow: "\u2193", - Downarrow: "\u21D3", - DownArrowUpArrow: "\u21F5", - DownBreve: "\u0311", - downdownarrows: "\u21CA", - downharpoonleft: "\u21C3", - downharpoonright: "\u21C2", - DownLeftRightVector: "\u2950", - DownLeftTeeVector: "\u295E", - DownLeftVectorBar: "\u2956", - DownLeftVector: "\u21BD", - DownRightTeeVector: "\u295F", - DownRightVectorBar: "\u2957", - DownRightVector: "\u21C1", - DownTeeArrow: "\u21A7", - DownTee: "\u22A4", - drbkarow: "\u2910", - drcorn: "\u231F", - drcrop: "\u230C", - Dscr: "\u{1D49F}", - dscr: "\u{1D4B9}", - DScy: "\u0405", - dscy: "\u0455", - dsol: "\u29F6", - Dstrok: "\u0110", - dstrok: "\u0111", - dtdot: "\u22F1", - dtri: "\u25BF", - dtrif: "\u25BE", - duarr: "\u21F5", - duhar: "\u296F", - dwangle: "\u29A6", - DZcy: "\u040F", - dzcy: "\u045F", - dzigrarr: "\u27FF", - Eacute: "\xC9", - eacute: "\xE9", - easter: "\u2A6E", - Ecaron: "\u011A", - ecaron: "\u011B", - Ecirc: "\xCA", - ecirc: "\xEA", - ecir: "\u2256", - ecolon: "\u2255", - Ecy: "\u042D", - ecy: "\u044D", - eDDot: "\u2A77", - Edot: "\u0116", - edot: "\u0117", - eDot: "\u2251", - ee: "\u2147", - efDot: "\u2252", - Efr: "\u{1D508}", - efr: "\u{1D522}", - eg: "\u2A9A", - Egrave: "\xC8", - egrave: "\xE8", - egs: "\u2A96", - egsdot: "\u2A98", - el: "\u2A99", - Element: "\u2208", - elinters: "\u23E7", - ell: "\u2113", - els: "\u2A95", - elsdot: "\u2A97", - Emacr: "\u0112", - emacr: "\u0113", - empty: "\u2205", - emptyset: "\u2205", - EmptySmallSquare: "\u25FB", - emptyv: "\u2205", - EmptyVerySmallSquare: "\u25AB", - emsp13: "\u2004", - emsp14: "\u2005", - emsp: "\u2003", - ENG: "\u014A", - eng: "\u014B", - ensp: "\u2002", - Eogon: "\u0118", - eogon: "\u0119", - Eopf: "\u{1D53C}", - eopf: "\u{1D556}", - epar: "\u22D5", - eparsl: "\u29E3", - eplus: "\u2A71", - epsi: "\u03B5", - Epsilon: "\u0395", - epsilon: "\u03B5", - epsiv: "\u03F5", - eqcirc: "\u2256", - eqcolon: "\u2255", - eqsim: "\u2242", - eqslantgtr: "\u2A96", - eqslantless: "\u2A95", - Equal: "\u2A75", - equals: "=", - EqualTilde: "\u2242", - equest: "\u225F", - Equilibrium: "\u21CC", - equiv: "\u2261", - equivDD: "\u2A78", - eqvparsl: "\u29E5", - erarr: "\u2971", - erDot: "\u2253", - escr: "\u212F", - Escr: "\u2130", - esdot: "\u2250", - Esim: "\u2A73", - esim: "\u2242", - Eta: "\u0397", - eta: "\u03B7", - ETH: "\xD0", - eth: "\xF0", - Euml: "\xCB", - euml: "\xEB", - euro: "\u20AC", - excl: "!", - exist: "\u2203", - Exists: "\u2203", - expectation: "\u2130", - exponentiale: "\u2147", - ExponentialE: "\u2147", - fallingdotseq: "\u2252", - Fcy: "\u0424", - fcy: "\u0444", - female: "\u2640", - ffilig: "\uFB03", - fflig: "\uFB00", - ffllig: "\uFB04", - Ffr: "\u{1D509}", - ffr: "\u{1D523}", - filig: "\uFB01", - FilledSmallSquare: "\u25FC", - FilledVerySmallSquare: "\u25AA", - fjlig: "fj", - flat: "\u266D", - fllig: "\uFB02", - fltns: "\u25B1", - fnof: "\u0192", - Fopf: "\u{1D53D}", - fopf: "\u{1D557}", - forall: "\u2200", - ForAll: "\u2200", - fork: "\u22D4", - forkv: "\u2AD9", - Fouriertrf: "\u2131", - fpartint: "\u2A0D", - frac12: "\xBD", - frac13: "\u2153", - frac14: "\xBC", - frac15: "\u2155", - frac16: "\u2159", - frac18: "\u215B", - frac23: "\u2154", - frac25: "\u2156", - frac34: "\xBE", - frac35: "\u2157", - frac38: "\u215C", - frac45: "\u2158", - frac56: "\u215A", - frac58: "\u215D", - frac78: "\u215E", - frasl: "\u2044", - frown: "\u2322", - fscr: "\u{1D4BB}", - Fscr: "\u2131", - gacute: "\u01F5", - Gamma: "\u0393", - gamma: "\u03B3", - Gammad: "\u03DC", - gammad: "\u03DD", - gap: "\u2A86", - Gbreve: "\u011E", - gbreve: "\u011F", - Gcedil: "\u0122", - Gcirc: "\u011C", - gcirc: "\u011D", - Gcy: "\u0413", - gcy: "\u0433", - Gdot: "\u0120", - gdot: "\u0121", - ge: "\u2265", - gE: "\u2267", - gEl: "\u2A8C", - gel: "\u22DB", - geq: "\u2265", - geqq: "\u2267", - geqslant: "\u2A7E", - gescc: "\u2AA9", - ges: "\u2A7E", - gesdot: "\u2A80", - gesdoto: "\u2A82", - gesdotol: "\u2A84", - gesl: "\u22DB\uFE00", - gesles: "\u2A94", - Gfr: "\u{1D50A}", - gfr: "\u{1D524}", - gg: "\u226B", - Gg: "\u22D9", - ggg: "\u22D9", - gimel: "\u2137", - GJcy: "\u0403", - gjcy: "\u0453", - gla: "\u2AA5", - gl: "\u2277", - glE: "\u2A92", - glj: "\u2AA4", - gnap: "\u2A8A", - gnapprox: "\u2A8A", - gne: "\u2A88", - gnE: "\u2269", - gneq: "\u2A88", - gneqq: "\u2269", - gnsim: "\u22E7", - Gopf: "\u{1D53E}", - gopf: "\u{1D558}", - grave: "`", - GreaterEqual: "\u2265", - GreaterEqualLess: "\u22DB", - GreaterFullEqual: "\u2267", - GreaterGreater: "\u2AA2", - GreaterLess: "\u2277", - GreaterSlantEqual: "\u2A7E", - GreaterTilde: "\u2273", - Gscr: "\u{1D4A2}", - gscr: "\u210A", - gsim: "\u2273", - gsime: "\u2A8E", - gsiml: "\u2A90", - gtcc: "\u2AA7", - gtcir: "\u2A7A", - gt: ">", - GT: ">", - Gt: "\u226B", - gtdot: "\u22D7", - gtlPar: "\u2995", - gtquest: "\u2A7C", - gtrapprox: "\u2A86", - gtrarr: "\u2978", - gtrdot: "\u22D7", - gtreqless: "\u22DB", - gtreqqless: "\u2A8C", - gtrless: "\u2277", - gtrsim: "\u2273", - gvertneqq: "\u2269\uFE00", - gvnE: "\u2269\uFE00", - Hacek: "\u02C7", - hairsp: "\u200A", - half: "\xBD", - hamilt: "\u210B", - HARDcy: "\u042A", - hardcy: "\u044A", - harrcir: "\u2948", - harr: "\u2194", - hArr: "\u21D4", - harrw: "\u21AD", - Hat: "^", - hbar: "\u210F", - Hcirc: "\u0124", - hcirc: "\u0125", - hearts: "\u2665", - heartsuit: "\u2665", - hellip: "\u2026", - hercon: "\u22B9", - hfr: "\u{1D525}", - Hfr: "\u210C", - HilbertSpace: "\u210B", - hksearow: "\u2925", - hkswarow: "\u2926", - hoarr: "\u21FF", - homtht: "\u223B", - hookleftarrow: "\u21A9", - hookrightarrow: "\u21AA", - hopf: "\u{1D559}", - Hopf: "\u210D", - horbar: "\u2015", - HorizontalLine: "\u2500", - hscr: "\u{1D4BD}", - Hscr: "\u210B", - hslash: "\u210F", - Hstrok: "\u0126", - hstrok: "\u0127", - HumpDownHump: "\u224E", - HumpEqual: "\u224F", - hybull: "\u2043", - hyphen: "\u2010", - Iacute: "\xCD", - iacute: "\xED", - ic: "\u2063", - Icirc: "\xCE", - icirc: "\xEE", - Icy: "\u0418", - icy: "\u0438", - Idot: "\u0130", - IEcy: "\u0415", - iecy: "\u0435", - iexcl: "\xA1", - iff: "\u21D4", - ifr: "\u{1D526}", - Ifr: "\u2111", - Igrave: "\xCC", - igrave: "\xEC", - ii: "\u2148", - iiiint: "\u2A0C", - iiint: "\u222D", - iinfin: "\u29DC", - iiota: "\u2129", - IJlig: "\u0132", - ijlig: "\u0133", - Imacr: "\u012A", - imacr: "\u012B", - image: "\u2111", - ImaginaryI: "\u2148", - imagline: "\u2110", - imagpart: "\u2111", - imath: "\u0131", - Im: "\u2111", - imof: "\u22B7", - imped: "\u01B5", - Implies: "\u21D2", - incare: "\u2105", - in: "\u2208", - infin: "\u221E", - infintie: "\u29DD", - inodot: "\u0131", - intcal: "\u22BA", - int: "\u222B", - Int: "\u222C", - integers: "\u2124", - Integral: "\u222B", - intercal: "\u22BA", - Intersection: "\u22C2", - intlarhk: "\u2A17", - intprod: "\u2A3C", - InvisibleComma: "\u2063", - InvisibleTimes: "\u2062", - IOcy: "\u0401", - iocy: "\u0451", - Iogon: "\u012E", - iogon: "\u012F", - Iopf: "\u{1D540}", - iopf: "\u{1D55A}", - Iota: "\u0399", - iota: "\u03B9", - iprod: "\u2A3C", - iquest: "\xBF", - iscr: "\u{1D4BE}", - Iscr: "\u2110", - isin: "\u2208", - isindot: "\u22F5", - isinE: "\u22F9", - isins: "\u22F4", - isinsv: "\u22F3", - isinv: "\u2208", - it: "\u2062", - Itilde: "\u0128", - itilde: "\u0129", - Iukcy: "\u0406", - iukcy: "\u0456", - Iuml: "\xCF", - iuml: "\xEF", - Jcirc: "\u0134", - jcirc: "\u0135", - Jcy: "\u0419", - jcy: "\u0439", - Jfr: "\u{1D50D}", - jfr: "\u{1D527}", - jmath: "\u0237", - Jopf: "\u{1D541}", - jopf: "\u{1D55B}", - Jscr: "\u{1D4A5}", - jscr: "\u{1D4BF}", - Jsercy: "\u0408", - jsercy: "\u0458", - Jukcy: "\u0404", - jukcy: "\u0454", - Kappa: "\u039A", - kappa: "\u03BA", - kappav: "\u03F0", - Kcedil: "\u0136", - kcedil: "\u0137", - Kcy: "\u041A", - kcy: "\u043A", - Kfr: "\u{1D50E}", - kfr: "\u{1D528}", - kgreen: "\u0138", - KHcy: "\u0425", - khcy: "\u0445", - KJcy: "\u040C", - kjcy: "\u045C", - Kopf: "\u{1D542}", - kopf: "\u{1D55C}", - Kscr: "\u{1D4A6}", - kscr: "\u{1D4C0}", - lAarr: "\u21DA", - Lacute: "\u0139", - lacute: "\u013A", - laemptyv: "\u29B4", - lagran: "\u2112", - Lambda: "\u039B", - lambda: "\u03BB", - lang: "\u27E8", - Lang: "\u27EA", - langd: "\u2991", - langle: "\u27E8", - lap: "\u2A85", - Laplacetrf: "\u2112", - laquo: "\xAB", - larrb: "\u21E4", - larrbfs: "\u291F", - larr: "\u2190", - Larr: "\u219E", - lArr: "\u21D0", - larrfs: "\u291D", - larrhk: "\u21A9", - larrlp: "\u21AB", - larrpl: "\u2939", - larrsim: "\u2973", - larrtl: "\u21A2", - latail: "\u2919", - lAtail: "\u291B", - lat: "\u2AAB", - late: "\u2AAD", - lates: "\u2AAD\uFE00", - lbarr: "\u290C", - lBarr: "\u290E", - lbbrk: "\u2772", - lbrace: "{", - lbrack: "[", - lbrke: "\u298B", - lbrksld: "\u298F", - lbrkslu: "\u298D", - Lcaron: "\u013D", - lcaron: "\u013E", - Lcedil: "\u013B", - lcedil: "\u013C", - lceil: "\u2308", - lcub: "{", - Lcy: "\u041B", - lcy: "\u043B", - ldca: "\u2936", - ldquo: "\u201C", - ldquor: "\u201E", - ldrdhar: "\u2967", - ldrushar: "\u294B", - ldsh: "\u21B2", - le: "\u2264", - lE: "\u2266", - LeftAngleBracket: "\u27E8", - LeftArrowBar: "\u21E4", - leftarrow: "\u2190", - LeftArrow: "\u2190", - Leftarrow: "\u21D0", - LeftArrowRightArrow: "\u21C6", - leftarrowtail: "\u21A2", - LeftCeiling: "\u2308", - LeftDoubleBracket: "\u27E6", - LeftDownTeeVector: "\u2961", - LeftDownVectorBar: "\u2959", - LeftDownVector: "\u21C3", - LeftFloor: "\u230A", - leftharpoondown: "\u21BD", - leftharpoonup: "\u21BC", - leftleftarrows: "\u21C7", - leftrightarrow: "\u2194", - LeftRightArrow: "\u2194", - Leftrightarrow: "\u21D4", - leftrightarrows: "\u21C6", - leftrightharpoons: "\u21CB", - leftrightsquigarrow: "\u21AD", - LeftRightVector: "\u294E", - LeftTeeArrow: "\u21A4", - LeftTee: "\u22A3", - LeftTeeVector: "\u295A", - leftthreetimes: "\u22CB", - LeftTriangleBar: "\u29CF", - LeftTriangle: "\u22B2", - LeftTriangleEqual: "\u22B4", - LeftUpDownVector: "\u2951", - LeftUpTeeVector: "\u2960", - LeftUpVectorBar: "\u2958", - LeftUpVector: "\u21BF", - LeftVectorBar: "\u2952", - LeftVector: "\u21BC", - lEg: "\u2A8B", - leg: "\u22DA", - leq: "\u2264", - leqq: "\u2266", - leqslant: "\u2A7D", - lescc: "\u2AA8", - les: "\u2A7D", - lesdot: "\u2A7F", - lesdoto: "\u2A81", - lesdotor: "\u2A83", - lesg: "\u22DA\uFE00", - lesges: "\u2A93", - lessapprox: "\u2A85", - lessdot: "\u22D6", - lesseqgtr: "\u22DA", - lesseqqgtr: "\u2A8B", - LessEqualGreater: "\u22DA", - LessFullEqual: "\u2266", - LessGreater: "\u2276", - lessgtr: "\u2276", - LessLess: "\u2AA1", - lesssim: "\u2272", - LessSlantEqual: "\u2A7D", - LessTilde: "\u2272", - lfisht: "\u297C", - lfloor: "\u230A", - Lfr: "\u{1D50F}", - lfr: "\u{1D529}", - lg: "\u2276", - lgE: "\u2A91", - lHar: "\u2962", - lhard: "\u21BD", - lharu: "\u21BC", - lharul: "\u296A", - lhblk: "\u2584", - LJcy: "\u0409", - ljcy: "\u0459", - llarr: "\u21C7", - ll: "\u226A", - Ll: "\u22D8", - llcorner: "\u231E", - Lleftarrow: "\u21DA", - llhard: "\u296B", - lltri: "\u25FA", - Lmidot: "\u013F", - lmidot: "\u0140", - lmoustache: "\u23B0", - lmoust: "\u23B0", - lnap: "\u2A89", - lnapprox: "\u2A89", - lne: "\u2A87", - lnE: "\u2268", - lneq: "\u2A87", - lneqq: "\u2268", - lnsim: "\u22E6", - loang: "\u27EC", - loarr: "\u21FD", - lobrk: "\u27E6", - longleftarrow: "\u27F5", - LongLeftArrow: "\u27F5", - Longleftarrow: "\u27F8", - longleftrightarrow: "\u27F7", - LongLeftRightArrow: "\u27F7", - Longleftrightarrow: "\u27FA", - longmapsto: "\u27FC", - longrightarrow: "\u27F6", - LongRightArrow: "\u27F6", - Longrightarrow: "\u27F9", - looparrowleft: "\u21AB", - looparrowright: "\u21AC", - lopar: "\u2985", - Lopf: "\u{1D543}", - lopf: "\u{1D55D}", - loplus: "\u2A2D", - lotimes: "\u2A34", - lowast: "\u2217", - lowbar: "_", - LowerLeftArrow: "\u2199", - LowerRightArrow: "\u2198", - loz: "\u25CA", - lozenge: "\u25CA", - lozf: "\u29EB", - lpar: "(", - lparlt: "\u2993", - lrarr: "\u21C6", - lrcorner: "\u231F", - lrhar: "\u21CB", - lrhard: "\u296D", - lrm: "\u200E", - lrtri: "\u22BF", - lsaquo: "\u2039", - lscr: "\u{1D4C1}", - Lscr: "\u2112", - lsh: "\u21B0", - Lsh: "\u21B0", - lsim: "\u2272", - lsime: "\u2A8D", - lsimg: "\u2A8F", - lsqb: "[", - lsquo: "\u2018", - lsquor: "\u201A", - Lstrok: "\u0141", - lstrok: "\u0142", - ltcc: "\u2AA6", - ltcir: "\u2A79", - lt: "<", - LT: "<", - Lt: "\u226A", - ltdot: "\u22D6", - lthree: "\u22CB", - ltimes: "\u22C9", - ltlarr: "\u2976", - ltquest: "\u2A7B", - ltri: "\u25C3", - ltrie: "\u22B4", - ltrif: "\u25C2", - ltrPar: "\u2996", - lurdshar: "\u294A", - luruhar: "\u2966", - lvertneqq: "\u2268\uFE00", - lvnE: "\u2268\uFE00", - macr: "\xAF", - male: "\u2642", - malt: "\u2720", - maltese: "\u2720", - Map: "\u2905", - map: "\u21A6", - mapsto: "\u21A6", - mapstodown: "\u21A7", - mapstoleft: "\u21A4", - mapstoup: "\u21A5", - marker: "\u25AE", - mcomma: "\u2A29", - Mcy: "\u041C", - mcy: "\u043C", - mdash: "\u2014", - mDDot: "\u223A", - measuredangle: "\u2221", - MediumSpace: "\u205F", - Mellintrf: "\u2133", - Mfr: "\u{1D510}", - mfr: "\u{1D52A}", - mho: "\u2127", - micro: "\xB5", - midast: "*", - midcir: "\u2AF0", - mid: "\u2223", - middot: "\xB7", - minusb: "\u229F", - minus: "\u2212", - minusd: "\u2238", - minusdu: "\u2A2A", - MinusPlus: "\u2213", - mlcp: "\u2ADB", - mldr: "\u2026", - mnplus: "\u2213", - models: "\u22A7", - Mopf: "\u{1D544}", - mopf: "\u{1D55E}", - mp: "\u2213", - mscr: "\u{1D4C2}", - Mscr: "\u2133", - mstpos: "\u223E", - Mu: "\u039C", - mu: "\u03BC", - multimap: "\u22B8", - mumap: "\u22B8", - nabla: "\u2207", - Nacute: "\u0143", - nacute: "\u0144", - nang: "\u2220\u20D2", - nap: "\u2249", - napE: "\u2A70\u0338", - napid: "\u224B\u0338", - napos: "\u0149", - napprox: "\u2249", - natural: "\u266E", - naturals: "\u2115", - natur: "\u266E", - nbsp: "\xA0", - nbump: "\u224E\u0338", - nbumpe: "\u224F\u0338", - ncap: "\u2A43", - Ncaron: "\u0147", - ncaron: "\u0148", - Ncedil: "\u0145", - ncedil: "\u0146", - ncong: "\u2247", - ncongdot: "\u2A6D\u0338", - ncup: "\u2A42", - Ncy: "\u041D", - ncy: "\u043D", - ndash: "\u2013", - nearhk: "\u2924", - nearr: "\u2197", - neArr: "\u21D7", - nearrow: "\u2197", - ne: "\u2260", - nedot: "\u2250\u0338", - NegativeMediumSpace: "\u200B", - NegativeThickSpace: "\u200B", - NegativeThinSpace: "\u200B", - NegativeVeryThinSpace: "\u200B", - nequiv: "\u2262", - nesear: "\u2928", - nesim: "\u2242\u0338", - NestedGreaterGreater: "\u226B", - NestedLessLess: "\u226A", - NewLine: ` -`, - nexist: "\u2204", - nexists: "\u2204", - Nfr: "\u{1D511}", - nfr: "\u{1D52B}", - ngE: "\u2267\u0338", - nge: "\u2271", - ngeq: "\u2271", - ngeqq: "\u2267\u0338", - ngeqslant: "\u2A7E\u0338", - nges: "\u2A7E\u0338", - nGg: "\u22D9\u0338", - ngsim: "\u2275", - nGt: "\u226B\u20D2", - ngt: "\u226F", - ngtr: "\u226F", - nGtv: "\u226B\u0338", - nharr: "\u21AE", - nhArr: "\u21CE", - nhpar: "\u2AF2", - ni: "\u220B", - nis: "\u22FC", - nisd: "\u22FA", - niv: "\u220B", - NJcy: "\u040A", - njcy: "\u045A", - nlarr: "\u219A", - nlArr: "\u21CD", - nldr: "\u2025", - nlE: "\u2266\u0338", - nle: "\u2270", - nleftarrow: "\u219A", - nLeftarrow: "\u21CD", - nleftrightarrow: "\u21AE", - nLeftrightarrow: "\u21CE", - nleq: "\u2270", - nleqq: "\u2266\u0338", - nleqslant: "\u2A7D\u0338", - nles: "\u2A7D\u0338", - nless: "\u226E", - nLl: "\u22D8\u0338", - nlsim: "\u2274", - nLt: "\u226A\u20D2", - nlt: "\u226E", - nltri: "\u22EA", - nltrie: "\u22EC", - nLtv: "\u226A\u0338", - nmid: "\u2224", - NoBreak: "\u2060", - NonBreakingSpace: "\xA0", - nopf: "\u{1D55F}", - Nopf: "\u2115", - Not: "\u2AEC", - not: "\xAC", - NotCongruent: "\u2262", - NotCupCap: "\u226D", - NotDoubleVerticalBar: "\u2226", - NotElement: "\u2209", - NotEqual: "\u2260", - NotEqualTilde: "\u2242\u0338", - NotExists: "\u2204", - NotGreater: "\u226F", - NotGreaterEqual: "\u2271", - NotGreaterFullEqual: "\u2267\u0338", - NotGreaterGreater: "\u226B\u0338", - NotGreaterLess: "\u2279", - NotGreaterSlantEqual: "\u2A7E\u0338", - NotGreaterTilde: "\u2275", - NotHumpDownHump: "\u224E\u0338", - NotHumpEqual: "\u224F\u0338", - notin: "\u2209", - notindot: "\u22F5\u0338", - notinE: "\u22F9\u0338", - notinva: "\u2209", - notinvb: "\u22F7", - notinvc: "\u22F6", - NotLeftTriangleBar: "\u29CF\u0338", - NotLeftTriangle: "\u22EA", - NotLeftTriangleEqual: "\u22EC", - NotLess: "\u226E", - NotLessEqual: "\u2270", - NotLessGreater: "\u2278", - NotLessLess: "\u226A\u0338", - NotLessSlantEqual: "\u2A7D\u0338", - NotLessTilde: "\u2274", - NotNestedGreaterGreater: "\u2AA2\u0338", - NotNestedLessLess: "\u2AA1\u0338", - notni: "\u220C", - notniva: "\u220C", - notnivb: "\u22FE", - notnivc: "\u22FD", - NotPrecedes: "\u2280", - NotPrecedesEqual: "\u2AAF\u0338", - NotPrecedesSlantEqual: "\u22E0", - NotReverseElement: "\u220C", - NotRightTriangleBar: "\u29D0\u0338", - NotRightTriangle: "\u22EB", - NotRightTriangleEqual: "\u22ED", - NotSquareSubset: "\u228F\u0338", - NotSquareSubsetEqual: "\u22E2", - NotSquareSuperset: "\u2290\u0338", - NotSquareSupersetEqual: "\u22E3", - NotSubset: "\u2282\u20D2", - NotSubsetEqual: "\u2288", - NotSucceeds: "\u2281", - NotSucceedsEqual: "\u2AB0\u0338", - NotSucceedsSlantEqual: "\u22E1", - NotSucceedsTilde: "\u227F\u0338", - NotSuperset: "\u2283\u20D2", - NotSupersetEqual: "\u2289", - NotTilde: "\u2241", - NotTildeEqual: "\u2244", - NotTildeFullEqual: "\u2247", - NotTildeTilde: "\u2249", - NotVerticalBar: "\u2224", - nparallel: "\u2226", - npar: "\u2226", - nparsl: "\u2AFD\u20E5", - npart: "\u2202\u0338", - npolint: "\u2A14", - npr: "\u2280", - nprcue: "\u22E0", - nprec: "\u2280", - npreceq: "\u2AAF\u0338", - npre: "\u2AAF\u0338", - nrarrc: "\u2933\u0338", - nrarr: "\u219B", - nrArr: "\u21CF", - nrarrw: "\u219D\u0338", - nrightarrow: "\u219B", - nRightarrow: "\u21CF", - nrtri: "\u22EB", - nrtrie: "\u22ED", - nsc: "\u2281", - nsccue: "\u22E1", - nsce: "\u2AB0\u0338", - Nscr: "\u{1D4A9}", - nscr: "\u{1D4C3}", - nshortmid: "\u2224", - nshortparallel: "\u2226", - nsim: "\u2241", - nsime: "\u2244", - nsimeq: "\u2244", - nsmid: "\u2224", - nspar: "\u2226", - nsqsube: "\u22E2", - nsqsupe: "\u22E3", - nsub: "\u2284", - nsubE: "\u2AC5\u0338", - nsube: "\u2288", - nsubset: "\u2282\u20D2", - nsubseteq: "\u2288", - nsubseteqq: "\u2AC5\u0338", - nsucc: "\u2281", - nsucceq: "\u2AB0\u0338", - nsup: "\u2285", - nsupE: "\u2AC6\u0338", - nsupe: "\u2289", - nsupset: "\u2283\u20D2", - nsupseteq: "\u2289", - nsupseteqq: "\u2AC6\u0338", - ntgl: "\u2279", - Ntilde: "\xD1", - ntilde: "\xF1", - ntlg: "\u2278", - ntriangleleft: "\u22EA", - ntrianglelefteq: "\u22EC", - ntriangleright: "\u22EB", - ntrianglerighteq: "\u22ED", - Nu: "\u039D", - nu: "\u03BD", - num: "#", - numero: "\u2116", - numsp: "\u2007", - nvap: "\u224D\u20D2", - nvdash: "\u22AC", - nvDash: "\u22AD", - nVdash: "\u22AE", - nVDash: "\u22AF", - nvge: "\u2265\u20D2", - nvgt: ">\u20D2", - nvHarr: "\u2904", - nvinfin: "\u29DE", - nvlArr: "\u2902", - nvle: "\u2264\u20D2", - nvlt: "<\u20D2", - nvltrie: "\u22B4\u20D2", - nvrArr: "\u2903", - nvrtrie: "\u22B5\u20D2", - nvsim: "\u223C\u20D2", - nwarhk: "\u2923", - nwarr: "\u2196", - nwArr: "\u21D6", - nwarrow: "\u2196", - nwnear: "\u2927", - Oacute: "\xD3", - oacute: "\xF3", - oast: "\u229B", - Ocirc: "\xD4", - ocirc: "\xF4", - ocir: "\u229A", - Ocy: "\u041E", - ocy: "\u043E", - odash: "\u229D", - Odblac: "\u0150", - odblac: "\u0151", - odiv: "\u2A38", - odot: "\u2299", - odsold: "\u29BC", - OElig: "\u0152", - oelig: "\u0153", - ofcir: "\u29BF", - Ofr: "\u{1D512}", - ofr: "\u{1D52C}", - ogon: "\u02DB", - Ograve: "\xD2", - ograve: "\xF2", - ogt: "\u29C1", - ohbar: "\u29B5", - ohm: "\u03A9", - oint: "\u222E", - olarr: "\u21BA", - olcir: "\u29BE", - olcross: "\u29BB", - oline: "\u203E", - olt: "\u29C0", - Omacr: "\u014C", - omacr: "\u014D", - Omega: "\u03A9", - omega: "\u03C9", - Omicron: "\u039F", - omicron: "\u03BF", - omid: "\u29B6", - ominus: "\u2296", - Oopf: "\u{1D546}", - oopf: "\u{1D560}", - opar: "\u29B7", - OpenCurlyDoubleQuote: "\u201C", - OpenCurlyQuote: "\u2018", - operp: "\u29B9", - oplus: "\u2295", - orarr: "\u21BB", - Or: "\u2A54", - or: "\u2228", - ord: "\u2A5D", - order: "\u2134", - orderof: "\u2134", - ordf: "\xAA", - ordm: "\xBA", - origof: "\u22B6", - oror: "\u2A56", - orslope: "\u2A57", - orv: "\u2A5B", - oS: "\u24C8", - Oscr: "\u{1D4AA}", - oscr: "\u2134", - Oslash: "\xD8", - oslash: "\xF8", - osol: "\u2298", - Otilde: "\xD5", - otilde: "\xF5", - otimesas: "\u2A36", - Otimes: "\u2A37", - otimes: "\u2297", - Ouml: "\xD6", - ouml: "\xF6", - ovbar: "\u233D", - OverBar: "\u203E", - OverBrace: "\u23DE", - OverBracket: "\u23B4", - OverParenthesis: "\u23DC", - para: "\xB6", - parallel: "\u2225", - par: "\u2225", - parsim: "\u2AF3", - parsl: "\u2AFD", - part: "\u2202", - PartialD: "\u2202", - Pcy: "\u041F", - pcy: "\u043F", - percnt: "%", - period: ".", - permil: "\u2030", - perp: "\u22A5", - pertenk: "\u2031", - Pfr: "\u{1D513}", - pfr: "\u{1D52D}", - Phi: "\u03A6", - phi: "\u03C6", - phiv: "\u03D5", - phmmat: "\u2133", - phone: "\u260E", - Pi: "\u03A0", - pi: "\u03C0", - pitchfork: "\u22D4", - piv: "\u03D6", - planck: "\u210F", - planckh: "\u210E", - plankv: "\u210F", - plusacir: "\u2A23", - plusb: "\u229E", - pluscir: "\u2A22", - plus: "+", - plusdo: "\u2214", - plusdu: "\u2A25", - pluse: "\u2A72", - PlusMinus: "\xB1", - plusmn: "\xB1", - plussim: "\u2A26", - plustwo: "\u2A27", - pm: "\xB1", - Poincareplane: "\u210C", - pointint: "\u2A15", - popf: "\u{1D561}", - Popf: "\u2119", - pound: "\xA3", - prap: "\u2AB7", - Pr: "\u2ABB", - pr: "\u227A", - prcue: "\u227C", - precapprox: "\u2AB7", - prec: "\u227A", - preccurlyeq: "\u227C", - Precedes: "\u227A", - PrecedesEqual: "\u2AAF", - PrecedesSlantEqual: "\u227C", - PrecedesTilde: "\u227E", - preceq: "\u2AAF", - precnapprox: "\u2AB9", - precneqq: "\u2AB5", - precnsim: "\u22E8", - pre: "\u2AAF", - prE: "\u2AB3", - precsim: "\u227E", - prime: "\u2032", - Prime: "\u2033", - primes: "\u2119", - prnap: "\u2AB9", - prnE: "\u2AB5", - prnsim: "\u22E8", - prod: "\u220F", - Product: "\u220F", - profalar: "\u232E", - profline: "\u2312", - profsurf: "\u2313", - prop: "\u221D", - Proportional: "\u221D", - Proportion: "\u2237", - propto: "\u221D", - prsim: "\u227E", - prurel: "\u22B0", - Pscr: "\u{1D4AB}", - pscr: "\u{1D4C5}", - Psi: "\u03A8", - psi: "\u03C8", - puncsp: "\u2008", - Qfr: "\u{1D514}", - qfr: "\u{1D52E}", - qint: "\u2A0C", - qopf: "\u{1D562}", - Qopf: "\u211A", - qprime: "\u2057", - Qscr: "\u{1D4AC}", - qscr: "\u{1D4C6}", - quaternions: "\u210D", - quatint: "\u2A16", - quest: "?", - questeq: "\u225F", - quot: '"', - QUOT: '"', - rAarr: "\u21DB", - race: "\u223D\u0331", - Racute: "\u0154", - racute: "\u0155", - radic: "\u221A", - raemptyv: "\u29B3", - rang: "\u27E9", - Rang: "\u27EB", - rangd: "\u2992", - range: "\u29A5", - rangle: "\u27E9", - raquo: "\xBB", - rarrap: "\u2975", - rarrb: "\u21E5", - rarrbfs: "\u2920", - rarrc: "\u2933", - rarr: "\u2192", - Rarr: "\u21A0", - rArr: "\u21D2", - rarrfs: "\u291E", - rarrhk: "\u21AA", - rarrlp: "\u21AC", - rarrpl: "\u2945", - rarrsim: "\u2974", - Rarrtl: "\u2916", - rarrtl: "\u21A3", - rarrw: "\u219D", - ratail: "\u291A", - rAtail: "\u291C", - ratio: "\u2236", - rationals: "\u211A", - rbarr: "\u290D", - rBarr: "\u290F", - RBarr: "\u2910", - rbbrk: "\u2773", - rbrace: "}", - rbrack: "]", - rbrke: "\u298C", - rbrksld: "\u298E", - rbrkslu: "\u2990", - Rcaron: "\u0158", - rcaron: "\u0159", - Rcedil: "\u0156", - rcedil: "\u0157", - rceil: "\u2309", - rcub: "}", - Rcy: "\u0420", - rcy: "\u0440", - rdca: "\u2937", - rdldhar: "\u2969", - rdquo: "\u201D", - rdquor: "\u201D", - rdsh: "\u21B3", - real: "\u211C", - realine: "\u211B", - realpart: "\u211C", - reals: "\u211D", - Re: "\u211C", - rect: "\u25AD", - reg: "\xAE", - REG: "\xAE", - ReverseElement: "\u220B", - ReverseEquilibrium: "\u21CB", - ReverseUpEquilibrium: "\u296F", - rfisht: "\u297D", - rfloor: "\u230B", - rfr: "\u{1D52F}", - Rfr: "\u211C", - rHar: "\u2964", - rhard: "\u21C1", - rharu: "\u21C0", - rharul: "\u296C", - Rho: "\u03A1", - rho: "\u03C1", - rhov: "\u03F1", - RightAngleBracket: "\u27E9", - RightArrowBar: "\u21E5", - rightarrow: "\u2192", - RightArrow: "\u2192", - Rightarrow: "\u21D2", - RightArrowLeftArrow: "\u21C4", - rightarrowtail: "\u21A3", - RightCeiling: "\u2309", - RightDoubleBracket: "\u27E7", - RightDownTeeVector: "\u295D", - RightDownVectorBar: "\u2955", - RightDownVector: "\u21C2", - RightFloor: "\u230B", - rightharpoondown: "\u21C1", - rightharpoonup: "\u21C0", - rightleftarrows: "\u21C4", - rightleftharpoons: "\u21CC", - rightrightarrows: "\u21C9", - rightsquigarrow: "\u219D", - RightTeeArrow: "\u21A6", - RightTee: "\u22A2", - RightTeeVector: "\u295B", - rightthreetimes: "\u22CC", - RightTriangleBar: "\u29D0", - RightTriangle: "\u22B3", - RightTriangleEqual: "\u22B5", - RightUpDownVector: "\u294F", - RightUpTeeVector: "\u295C", - RightUpVectorBar: "\u2954", - RightUpVector: "\u21BE", - RightVectorBar: "\u2953", - RightVector: "\u21C0", - ring: "\u02DA", - risingdotseq: "\u2253", - rlarr: "\u21C4", - rlhar: "\u21CC", - rlm: "\u200F", - rmoustache: "\u23B1", - rmoust: "\u23B1", - rnmid: "\u2AEE", - roang: "\u27ED", - roarr: "\u21FE", - robrk: "\u27E7", - ropar: "\u2986", - ropf: "\u{1D563}", - Ropf: "\u211D", - roplus: "\u2A2E", - rotimes: "\u2A35", - RoundImplies: "\u2970", - rpar: ")", - rpargt: "\u2994", - rppolint: "\u2A12", - rrarr: "\u21C9", - Rrightarrow: "\u21DB", - rsaquo: "\u203A", - rscr: "\u{1D4C7}", - Rscr: "\u211B", - rsh: "\u21B1", - Rsh: "\u21B1", - rsqb: "]", - rsquo: "\u2019", - rsquor: "\u2019", - rthree: "\u22CC", - rtimes: "\u22CA", - rtri: "\u25B9", - rtrie: "\u22B5", - rtrif: "\u25B8", - rtriltri: "\u29CE", - RuleDelayed: "\u29F4", - ruluhar: "\u2968", - rx: "\u211E", - Sacute: "\u015A", - sacute: "\u015B", - sbquo: "\u201A", - scap: "\u2AB8", - Scaron: "\u0160", - scaron: "\u0161", - Sc: "\u2ABC", - sc: "\u227B", - sccue: "\u227D", - sce: "\u2AB0", - scE: "\u2AB4", - Scedil: "\u015E", - scedil: "\u015F", - Scirc: "\u015C", - scirc: "\u015D", - scnap: "\u2ABA", - scnE: "\u2AB6", - scnsim: "\u22E9", - scpolint: "\u2A13", - scsim: "\u227F", - Scy: "\u0421", - scy: "\u0441", - sdotb: "\u22A1", - sdot: "\u22C5", - sdote: "\u2A66", - searhk: "\u2925", - searr: "\u2198", - seArr: "\u21D8", - searrow: "\u2198", - sect: "\xA7", - semi: ";", - seswar: "\u2929", - setminus: "\u2216", - setmn: "\u2216", - sext: "\u2736", - Sfr: "\u{1D516}", - sfr: "\u{1D530}", - sfrown: "\u2322", - sharp: "\u266F", - SHCHcy: "\u0429", - shchcy: "\u0449", - SHcy: "\u0428", - shcy: "\u0448", - ShortDownArrow: "\u2193", - ShortLeftArrow: "\u2190", - shortmid: "\u2223", - shortparallel: "\u2225", - ShortRightArrow: "\u2192", - ShortUpArrow: "\u2191", - shy: "\xAD", - Sigma: "\u03A3", - sigma: "\u03C3", - sigmaf: "\u03C2", - sigmav: "\u03C2", - sim: "\u223C", - simdot: "\u2A6A", - sime: "\u2243", - simeq: "\u2243", - simg: "\u2A9E", - simgE: "\u2AA0", - siml: "\u2A9D", - simlE: "\u2A9F", - simne: "\u2246", - simplus: "\u2A24", - simrarr: "\u2972", - slarr: "\u2190", - SmallCircle: "\u2218", - smallsetminus: "\u2216", - smashp: "\u2A33", - smeparsl: "\u29E4", - smid: "\u2223", - smile: "\u2323", - smt: "\u2AAA", - smte: "\u2AAC", - smtes: "\u2AAC\uFE00", - SOFTcy: "\u042C", - softcy: "\u044C", - solbar: "\u233F", - solb: "\u29C4", - sol: "/", - Sopf: "\u{1D54A}", - sopf: "\u{1D564}", - spades: "\u2660", - spadesuit: "\u2660", - spar: "\u2225", - sqcap: "\u2293", - sqcaps: "\u2293\uFE00", - sqcup: "\u2294", - sqcups: "\u2294\uFE00", - Sqrt: "\u221A", - sqsub: "\u228F", - sqsube: "\u2291", - sqsubset: "\u228F", - sqsubseteq: "\u2291", - sqsup: "\u2290", - sqsupe: "\u2292", - sqsupset: "\u2290", - sqsupseteq: "\u2292", - square: "\u25A1", - Square: "\u25A1", - SquareIntersection: "\u2293", - SquareSubset: "\u228F", - SquareSubsetEqual: "\u2291", - SquareSuperset: "\u2290", - SquareSupersetEqual: "\u2292", - SquareUnion: "\u2294", - squarf: "\u25AA", - squ: "\u25A1", - squf: "\u25AA", - srarr: "\u2192", - Sscr: "\u{1D4AE}", - sscr: "\u{1D4C8}", - ssetmn: "\u2216", - ssmile: "\u2323", - sstarf: "\u22C6", - Star: "\u22C6", - star: "\u2606", - starf: "\u2605", - straightepsilon: "\u03F5", - straightphi: "\u03D5", - strns: "\xAF", - sub: "\u2282", - Sub: "\u22D0", - subdot: "\u2ABD", - subE: "\u2AC5", - sube: "\u2286", - subedot: "\u2AC3", - submult: "\u2AC1", - subnE: "\u2ACB", - subne: "\u228A", - subplus: "\u2ABF", - subrarr: "\u2979", - subset: "\u2282", - Subset: "\u22D0", - subseteq: "\u2286", - subseteqq: "\u2AC5", - SubsetEqual: "\u2286", - subsetneq: "\u228A", - subsetneqq: "\u2ACB", - subsim: "\u2AC7", - subsub: "\u2AD5", - subsup: "\u2AD3", - succapprox: "\u2AB8", - succ: "\u227B", - succcurlyeq: "\u227D", - Succeeds: "\u227B", - SucceedsEqual: "\u2AB0", - SucceedsSlantEqual: "\u227D", - SucceedsTilde: "\u227F", - succeq: "\u2AB0", - succnapprox: "\u2ABA", - succneqq: "\u2AB6", - succnsim: "\u22E9", - succsim: "\u227F", - SuchThat: "\u220B", - sum: "\u2211", - Sum: "\u2211", - sung: "\u266A", - sup1: "\xB9", - sup2: "\xB2", - sup3: "\xB3", - sup: "\u2283", - Sup: "\u22D1", - supdot: "\u2ABE", - supdsub: "\u2AD8", - supE: "\u2AC6", - supe: "\u2287", - supedot: "\u2AC4", - Superset: "\u2283", - SupersetEqual: "\u2287", - suphsol: "\u27C9", - suphsub: "\u2AD7", - suplarr: "\u297B", - supmult: "\u2AC2", - supnE: "\u2ACC", - supne: "\u228B", - supplus: "\u2AC0", - supset: "\u2283", - Supset: "\u22D1", - supseteq: "\u2287", - supseteqq: "\u2AC6", - supsetneq: "\u228B", - supsetneqq: "\u2ACC", - supsim: "\u2AC8", - supsub: "\u2AD4", - supsup: "\u2AD6", - swarhk: "\u2926", - swarr: "\u2199", - swArr: "\u21D9", - swarrow: "\u2199", - swnwar: "\u292A", - szlig: "\xDF", - Tab: " ", - target: "\u2316", - Tau: "\u03A4", - tau: "\u03C4", - tbrk: "\u23B4", - Tcaron: "\u0164", - tcaron: "\u0165", - Tcedil: "\u0162", - tcedil: "\u0163", - Tcy: "\u0422", - tcy: "\u0442", - tdot: "\u20DB", - telrec: "\u2315", - Tfr: "\u{1D517}", - tfr: "\u{1D531}", - there4: "\u2234", - therefore: "\u2234", - Therefore: "\u2234", - Theta: "\u0398", - theta: "\u03B8", - thetasym: "\u03D1", - thetav: "\u03D1", - thickapprox: "\u2248", - thicksim: "\u223C", - ThickSpace: "\u205F\u200A", - ThinSpace: "\u2009", - thinsp: "\u2009", - thkap: "\u2248", - thksim: "\u223C", - THORN: "\xDE", - thorn: "\xFE", - tilde: "\u02DC", - Tilde: "\u223C", - TildeEqual: "\u2243", - TildeFullEqual: "\u2245", - TildeTilde: "\u2248", - timesbar: "\u2A31", - timesb: "\u22A0", - times: "\xD7", - timesd: "\u2A30", - tint: "\u222D", - toea: "\u2928", - topbot: "\u2336", - topcir: "\u2AF1", - top: "\u22A4", - Topf: "\u{1D54B}", - topf: "\u{1D565}", - topfork: "\u2ADA", - tosa: "\u2929", - tprime: "\u2034", - trade: "\u2122", - TRADE: "\u2122", - triangle: "\u25B5", - triangledown: "\u25BF", - triangleleft: "\u25C3", - trianglelefteq: "\u22B4", - triangleq: "\u225C", - triangleright: "\u25B9", - trianglerighteq: "\u22B5", - tridot: "\u25EC", - trie: "\u225C", - triminus: "\u2A3A", - TripleDot: "\u20DB", - triplus: "\u2A39", - trisb: "\u29CD", - tritime: "\u2A3B", - trpezium: "\u23E2", - Tscr: "\u{1D4AF}", - tscr: "\u{1D4C9}", - TScy: "\u0426", - tscy: "\u0446", - TSHcy: "\u040B", - tshcy: "\u045B", - Tstrok: "\u0166", - tstrok: "\u0167", - twixt: "\u226C", - twoheadleftarrow: "\u219E", - twoheadrightarrow: "\u21A0", - Uacute: "\xDA", - uacute: "\xFA", - uarr: "\u2191", - Uarr: "\u219F", - uArr: "\u21D1", - Uarrocir: "\u2949", - Ubrcy: "\u040E", - ubrcy: "\u045E", - Ubreve: "\u016C", - ubreve: "\u016D", - Ucirc: "\xDB", - ucirc: "\xFB", - Ucy: "\u0423", - ucy: "\u0443", - udarr: "\u21C5", - Udblac: "\u0170", - udblac: "\u0171", - udhar: "\u296E", - ufisht: "\u297E", - Ufr: "\u{1D518}", - ufr: "\u{1D532}", - Ugrave: "\xD9", - ugrave: "\xF9", - uHar: "\u2963", - uharl: "\u21BF", - uharr: "\u21BE", - uhblk: "\u2580", - ulcorn: "\u231C", - ulcorner: "\u231C", - ulcrop: "\u230F", - ultri: "\u25F8", - Umacr: "\u016A", - umacr: "\u016B", - uml: "\xA8", - UnderBar: "_", - UnderBrace: "\u23DF", - UnderBracket: "\u23B5", - UnderParenthesis: "\u23DD", - Union: "\u22C3", - UnionPlus: "\u228E", - Uogon: "\u0172", - uogon: "\u0173", - Uopf: "\u{1D54C}", - uopf: "\u{1D566}", - UpArrowBar: "\u2912", - uparrow: "\u2191", - UpArrow: "\u2191", - Uparrow: "\u21D1", - UpArrowDownArrow: "\u21C5", - updownarrow: "\u2195", - UpDownArrow: "\u2195", - Updownarrow: "\u21D5", - UpEquilibrium: "\u296E", - upharpoonleft: "\u21BF", - upharpoonright: "\u21BE", - uplus: "\u228E", - UpperLeftArrow: "\u2196", - UpperRightArrow: "\u2197", - upsi: "\u03C5", - Upsi: "\u03D2", - upsih: "\u03D2", - Upsilon: "\u03A5", - upsilon: "\u03C5", - UpTeeArrow: "\u21A5", - UpTee: "\u22A5", - upuparrows: "\u21C8", - urcorn: "\u231D", - urcorner: "\u231D", - urcrop: "\u230E", - Uring: "\u016E", - uring: "\u016F", - urtri: "\u25F9", - Uscr: "\u{1D4B0}", - uscr: "\u{1D4CA}", - utdot: "\u22F0", - Utilde: "\u0168", - utilde: "\u0169", - utri: "\u25B5", - utrif: "\u25B4", - uuarr: "\u21C8", - Uuml: "\xDC", - uuml: "\xFC", - uwangle: "\u29A7", - vangrt: "\u299C", - varepsilon: "\u03F5", - varkappa: "\u03F0", - varnothing: "\u2205", - varphi: "\u03D5", - varpi: "\u03D6", - varpropto: "\u221D", - varr: "\u2195", - vArr: "\u21D5", - varrho: "\u03F1", - varsigma: "\u03C2", - varsubsetneq: "\u228A\uFE00", - varsubsetneqq: "\u2ACB\uFE00", - varsupsetneq: "\u228B\uFE00", - varsupsetneqq: "\u2ACC\uFE00", - vartheta: "\u03D1", - vartriangleleft: "\u22B2", - vartriangleright: "\u22B3", - vBar: "\u2AE8", - Vbar: "\u2AEB", - vBarv: "\u2AE9", - Vcy: "\u0412", - vcy: "\u0432", - vdash: "\u22A2", - vDash: "\u22A8", - Vdash: "\u22A9", - VDash: "\u22AB", - Vdashl: "\u2AE6", - veebar: "\u22BB", - vee: "\u2228", - Vee: "\u22C1", - veeeq: "\u225A", - vellip: "\u22EE", - verbar: "|", - Verbar: "\u2016", - vert: "|", - Vert: "\u2016", - VerticalBar: "\u2223", - VerticalLine: "|", - VerticalSeparator: "\u2758", - VerticalTilde: "\u2240", - VeryThinSpace: "\u200A", - Vfr: "\u{1D519}", - vfr: "\u{1D533}", - vltri: "\u22B2", - vnsub: "\u2282\u20D2", - vnsup: "\u2283\u20D2", - Vopf: "\u{1D54D}", - vopf: "\u{1D567}", - vprop: "\u221D", - vrtri: "\u22B3", - Vscr: "\u{1D4B1}", - vscr: "\u{1D4CB}", - vsubnE: "\u2ACB\uFE00", - vsubne: "\u228A\uFE00", - vsupnE: "\u2ACC\uFE00", - vsupne: "\u228B\uFE00", - Vvdash: "\u22AA", - vzigzag: "\u299A", - Wcirc: "\u0174", - wcirc: "\u0175", - wedbar: "\u2A5F", - wedge: "\u2227", - Wedge: "\u22C0", - wedgeq: "\u2259", - weierp: "\u2118", - Wfr: "\u{1D51A}", - wfr: "\u{1D534}", - Wopf: "\u{1D54E}", - wopf: "\u{1D568}", - wp: "\u2118", - wr: "\u2240", - wreath: "\u2240", - Wscr: "\u{1D4B2}", - wscr: "\u{1D4CC}", - xcap: "\u22C2", - xcirc: "\u25EF", - xcup: "\u22C3", - xdtri: "\u25BD", - Xfr: "\u{1D51B}", - xfr: "\u{1D535}", - xharr: "\u27F7", - xhArr: "\u27FA", - Xi: "\u039E", - xi: "\u03BE", - xlarr: "\u27F5", - xlArr: "\u27F8", - xmap: "\u27FC", - xnis: "\u22FB", - xodot: "\u2A00", - Xopf: "\u{1D54F}", - xopf: "\u{1D569}", - xoplus: "\u2A01", - xotime: "\u2A02", - xrarr: "\u27F6", - xrArr: "\u27F9", - Xscr: "\u{1D4B3}", - xscr: "\u{1D4CD}", - xsqcup: "\u2A06", - xuplus: "\u2A04", - xutri: "\u25B3", - xvee: "\u22C1", - xwedge: "\u22C0", - Yacute: "\xDD", - yacute: "\xFD", - YAcy: "\u042F", - yacy: "\u044F", - Ycirc: "\u0176", - ycirc: "\u0177", - Ycy: "\u042B", - ycy: "\u044B", - yen: "\xA5", - Yfr: "\u{1D51C}", - yfr: "\u{1D536}", - YIcy: "\u0407", - yicy: "\u0457", - Yopf: "\u{1D550}", - yopf: "\u{1D56A}", - Yscr: "\u{1D4B4}", - yscr: "\u{1D4CE}", - YUcy: "\u042E", - yucy: "\u044E", - yuml: "\xFF", - Yuml: "\u0178", - Zacute: "\u0179", - zacute: "\u017A", - Zcaron: "\u017D", - zcaron: "\u017E", - Zcy: "\u0417", - zcy: "\u0437", - Zdot: "\u017B", - zdot: "\u017C", - zeetrf: "\u2128", - ZeroWidthSpace: "\u200B", - Zeta: "\u0396", - zeta: "\u03B6", - zfr: "\u{1D537}", - Zfr: "\u2128", - ZHcy: "\u0416", - zhcy: "\u0436", - zigrarr: "\u21DD", - zopf: "\u{1D56B}", - Zopf: "\u2124", - Zscr: "\u{1D4B5}", - zscr: "\u{1D4CF}", - zwj: "\u200D", - zwnj: "\u200C", - }; - }), - Zf = we((e, t) => { - t.exports = { - Aacute: "\xC1", - aacute: "\xE1", - Acirc: "\xC2", - acirc: "\xE2", - acute: "\xB4", - AElig: "\xC6", - aelig: "\xE6", - Agrave: "\xC0", - agrave: "\xE0", - amp: "&", - AMP: "&", - Aring: "\xC5", - aring: "\xE5", - Atilde: "\xC3", - atilde: "\xE3", - Auml: "\xC4", - auml: "\xE4", - brvbar: "\xA6", - Ccedil: "\xC7", - ccedil: "\xE7", - cedil: "\xB8", - cent: "\xA2", - copy: "\xA9", - COPY: "\xA9", - curren: "\xA4", - deg: "\xB0", - divide: "\xF7", - Eacute: "\xC9", - eacute: "\xE9", - Ecirc: "\xCA", - ecirc: "\xEA", - Egrave: "\xC8", - egrave: "\xE8", - ETH: "\xD0", - eth: "\xF0", - Euml: "\xCB", - euml: "\xEB", - frac12: "\xBD", - frac14: "\xBC", - frac34: "\xBE", - gt: ">", - GT: ">", - Iacute: "\xCD", - iacute: "\xED", - Icirc: "\xCE", - icirc: "\xEE", - iexcl: "\xA1", - Igrave: "\xCC", - igrave: "\xEC", - iquest: "\xBF", - Iuml: "\xCF", - iuml: "\xEF", - laquo: "\xAB", - lt: "<", - LT: "<", - macr: "\xAF", - micro: "\xB5", - middot: "\xB7", - nbsp: "\xA0", - not: "\xAC", - Ntilde: "\xD1", - ntilde: "\xF1", - Oacute: "\xD3", - oacute: "\xF3", - Ocirc: "\xD4", - ocirc: "\xF4", - Ograve: "\xD2", - ograve: "\xF2", - ordf: "\xAA", - ordm: "\xBA", - Oslash: "\xD8", - oslash: "\xF8", - Otilde: "\xD5", - otilde: "\xF5", - Ouml: "\xD6", - ouml: "\xF6", - para: "\xB6", - plusmn: "\xB1", - pound: "\xA3", - quot: '"', - QUOT: '"', - raquo: "\xBB", - reg: "\xAE", - REG: "\xAE", - sect: "\xA7", - shy: "\xAD", - sup1: "\xB9", - sup2: "\xB2", - sup3: "\xB3", - szlig: "\xDF", - THORN: "\xDE", - thorn: "\xFE", - times: "\xD7", - Uacute: "\xDA", - uacute: "\xFA", - Ucirc: "\xDB", - ucirc: "\xFB", - Ugrave: "\xD9", - ugrave: "\xF9", - uml: "\xA8", - Uuml: "\xDC", - uuml: "\xFC", - Yacute: "\xDD", - yacute: "\xFD", - yen: "\xA5", - yuml: "\xFF", - }; - }), - Ws = we((e, t) => { - t.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' }; - }), - eh = we((e, t) => { - t.exports = { - 0: 65533, - 128: 8364, - 130: 8218, - 131: 402, - 132: 8222, - 133: 8230, - 134: 8224, - 135: 8225, - 136: 710, - 137: 8240, - 138: 352, - 139: 8249, - 140: 338, - 142: 381, - 145: 8216, - 146: 8217, - 147: 8220, - 148: 8221, - 149: 8226, - 150: 8211, - 151: 8212, - 152: 732, - 153: 8482, - 154: 353, - 155: 8250, - 156: 339, - 158: 382, - 159: 376, - }; - }), - th = we((e) => { - "use strict"; - var t = - (e && e.__importDefault) || - function (a) { - return a && a.__esModule ? a : { default: a }; - }; - Object.defineProperty(e, "__esModule", { value: !0 }); - var r = t(eh()), - n = - String.fromCodePoint || - function (a) { - var i = ""; - return ( - a > 65535 && - ((a -= 65536), - (i += String.fromCharCode(((a >>> 10) & 1023) | 55296)), - (a = 56320 | (a & 1023))), - (i += String.fromCharCode(a)), - i - ); - }; - function o(a) { - return (a >= 55296 && a <= 57343) || a > 1114111 - ? "\uFFFD" - : (a in r.default && (a = r.default[a]), n(a)); - } - E(o, "decodeCodePoint"), (e.default = o); - }), - Os = we((e) => { - "use strict"; - var t = - (e && e.__importDefault) || - function (d) { - return d && d.__esModule ? d : { default: d }; - }; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.decodeHTML = e.decodeHTMLStrict = e.decodeXML = void 0); - var r = t(Gs()), - n = t(Zf()), - o = t(Ws()), - a = t(th()), - i = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g; - (e.decodeXML = l(o.default)), (e.decodeHTMLStrict = l(r.default)); - function l(d) { - var p = c(d); - return function (h) { - return String(h).replace(i, p); - }; - } - E(l, "getStrictDecoder"); - var s = E(function (d, p) { - return d < p ? 1 : -1; - }, "sorter"); - e.decodeHTML = (function () { - for ( - var d = Object.keys(n.default).sort(s), - p = Object.keys(r.default).sort(s), - h = 0, - f = 0; - h < p.length; - h++ - ) - d[f] === p[h] ? ((p[h] += ";?"), f++) : (p[h] += ";"); - var b = new RegExp( - "&(?:" + p.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", - "g", - ), - g = c(r.default); - function x(S) { - return S.substr(-1) !== ";" && (S += ";"), g(S); - } - return ( - E(x, "replacer"), - function (S) { - return String(S).replace(b, x); - } - ); - })(); - function c(d) { - return E(function (p) { - if (p.charAt(1) === "#") { - var h = p.charAt(2); - return h === "X" || h === "x" - ? a.default(parseInt(p.substr(3), 16)) - : a.default(parseInt(p.substr(2), 10)); - } - return d[p.slice(1, -1)] || p; - }, "replace"); - } - E(c, "getReplacer"); - }), - Ds = we((e) => { - "use strict"; - var t = - (e && e.__importDefault) || - function (A) { - return A && A.__esModule ? A : { default: A }; - }; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.escapeUTF8 = - e.escape = - e.encodeNonAsciiHTML = - e.encodeHTML = - e.encodeXML = - void 0); - var r = t(Ws()), - n = s(r.default), - o = c(n); - e.encodeXML = S(n); - var a = t(Gs()), - i = s(a.default), - l = c(i); - (e.encodeHTML = f(i, l)), (e.encodeNonAsciiHTML = S(i)); - function s(A) { - return Object.keys(A) - .sort() - .reduce(function (k, T) { - return (k[A[T]] = "&" + T + ";"), k; - }, {}); - } - E(s, "getInverseObj"); - function c(A) { - for ( - var k = [], T = [], I = 0, D = Object.keys(A); - I < D.length; - I++ - ) { - var F = D[I]; - F.length === 1 ? k.push("\\" + F) : T.push(F); - } - k.sort(); - for (var P = 0; P < k.length - 1; P++) { - for ( - var L = P; - L < k.length - 1 && - k[L].charCodeAt(1) + 1 === k[L + 1].charCodeAt(1); - - ) - L += 1; - var B = 1 + L - P; - B < 3 || k.splice(P, B, k[P] + "-" + k[L]); - } - return ( - T.unshift("[" + k.join("") + "]"), new RegExp(T.join("|"), "g") - ); - } - E(c, "getInverseReplacer"); - var d = - /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, - p = - String.prototype.codePointAt != null - ? function (A) { - return A.codePointAt(0); - } - : function (A) { - return ( - (A.charCodeAt(0) - 55296) * 1024 + - A.charCodeAt(1) - - 56320 + - 65536 - ); - }; - function h(A) { - return ( - "&#x" + - (A.length > 1 ? p(A) : A.charCodeAt(0)).toString(16).toUpperCase() + - ";" - ); - } - E(h, "singleCharReplacer"); - function f(A, k) { - return function (T) { - return T.replace(k, function (I) { - return A[I]; - }).replace(d, h); - }; - } - E(f, "getInverse"); - var b = new RegExp(o.source + "|" + d.source, "g"); - function g(A) { - return A.replace(b, h); - } - E(g, "escape"), (e.escape = g); - function x(A) { - return A.replace(o, h); - } - E(x, "escapeUTF8"), (e.escapeUTF8 = x); - function S(A) { - return function (k) { - return k.replace(b, function (T) { - return A[T] || h(T); - }); - }; - } - E(S, "getASCIIEncoder"); - }), - rh = we((e) => { - "use strict"; - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.decodeXMLStrict = - e.decodeHTML5Strict = - e.decodeHTML4Strict = - e.decodeHTML5 = - e.decodeHTML4 = - e.decodeHTMLStrict = - e.decodeHTML = - e.decodeXML = - e.encodeHTML5 = - e.encodeHTML4 = - e.escapeUTF8 = - e.escape = - e.encodeNonAsciiHTML = - e.encodeHTML = - e.encodeXML = - e.encode = - e.decodeStrict = - e.decode = - void 0); - var t = Os(), - r = Ds(); - function n(s, c) { - return (!c || c <= 0 ? t.decodeXML : t.decodeHTML)(s); - } - E(n, "decode"), (e.decode = n); - function o(s, c) { - return (!c || c <= 0 ? t.decodeXML : t.decodeHTMLStrict)(s); - } - E(o, "decodeStrict"), (e.decodeStrict = o); - function a(s, c) { - return (!c || c <= 0 ? r.encodeXML : r.encodeHTML)(s); - } - E(a, "encode"), (e.encode = a); - var i = Ds(); - Object.defineProperty(e, "encodeXML", { - enumerable: !0, - get: E(function () { - return i.encodeXML; - }, "get"), - }), - Object.defineProperty(e, "encodeHTML", { - enumerable: !0, - get: E(function () { - return i.encodeHTML; - }, "get"), - }), - Object.defineProperty(e, "encodeNonAsciiHTML", { - enumerable: !0, - get: E(function () { - return i.encodeNonAsciiHTML; - }, "get"), - }), - Object.defineProperty(e, "escape", { - enumerable: !0, - get: E(function () { - return i.escape; - }, "get"), - }), - Object.defineProperty(e, "escapeUTF8", { - enumerable: !0, - get: E(function () { - return i.escapeUTF8; - }, "get"), - }), - Object.defineProperty(e, "encodeHTML4", { - enumerable: !0, - get: E(function () { - return i.encodeHTML; - }, "get"), - }), - Object.defineProperty(e, "encodeHTML5", { - enumerable: !0, - get: E(function () { - return i.encodeHTML; - }, "get"), - }); - var l = Os(); - Object.defineProperty(e, "decodeXML", { - enumerable: !0, - get: E(function () { - return l.decodeXML; - }, "get"), - }), - Object.defineProperty(e, "decodeHTML", { - enumerable: !0, - get: E(function () { - return l.decodeHTML; - }, "get"), - }), - Object.defineProperty(e, "decodeHTMLStrict", { - enumerable: !0, - get: E(function () { - return l.decodeHTMLStrict; - }, "get"), - }), - Object.defineProperty(e, "decodeHTML4", { - enumerable: !0, - get: E(function () { - return l.decodeHTML; - }, "get"), - }), - Object.defineProperty(e, "decodeHTML5", { - enumerable: !0, - get: E(function () { - return l.decodeHTML; - }, "get"), - }), - Object.defineProperty(e, "decodeHTML4Strict", { - enumerable: !0, - get: E(function () { - return l.decodeHTMLStrict; - }, "get"), - }), - Object.defineProperty(e, "decodeHTML5Strict", { - enumerable: !0, - get: E(function () { - return l.decodeHTMLStrict; - }, "get"), - }), - Object.defineProperty(e, "decodeXMLStrict", { - enumerable: !0, - get: E(function () { - return l.decodeXML; - }, "get"), - }); - }), - nh = we((e, t) => { - "use strict"; - function r(w, C) { - if (!(w instanceof C)) - throw new TypeError("Cannot call a class as a function"); - } - E(r, "_classCallCheck"); - function n(w, C) { - for (var _ = 0; _ < C.length; _++) { - var M = C[_]; - (M.enumerable = M.enumerable || !1), - (M.configurable = !0), - "value" in M && (M.writable = !0), - Object.defineProperty(w, M.key, M); - } - } - E(n, "_defineProperties"); - function o(w, C, _) { - return C && n(w.prototype, C), _ && n(w, _), w; - } - E(o, "_createClass"); - function a(w, C) { - var _ = - (typeof Symbol < "u" && w[Symbol.iterator]) || w["@@iterator"]; - if (!_) { - if ( - Array.isArray(w) || - (_ = i(w)) || - (C && w && typeof w.length == "number") - ) { - _ && (w = _); - var M = 0, - U = E(function () {}, "F"); - return { - s: U, - n: E(function () { - return M >= w.length - ? { done: !0 } - : { done: !1, value: w[M++] }; - }, "n"), - e: E(function (Y) { - throw Y; - }, "e"), - f: U, - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - var K = !0, - re = !1, - Z; - return { - s: E(function () { - _ = _.call(w); - }, "s"), - n: E(function () { - var Y = _.next(); - return (K = Y.done), Y; - }, "n"), - e: E(function (Y) { - (re = !0), (Z = Y); - }, "e"), - f: E(function () { - try { - !K && _.return != null && _.return(); - } finally { - if (re) throw Z; - } - }, "f"), - }; - } - E(a, "_createForOfIteratorHelper"); - function i(w, C) { - if (w) { - if (typeof w == "string") return l(w, C); - var _ = Object.prototype.toString.call(w).slice(8, -1); - if ( - (_ === "Object" && w.constructor && (_ = w.constructor.name), - _ === "Map" || _ === "Set") - ) - return Array.from(w); - if ( - _ === "Arguments" || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_) - ) - return l(w, C); - } - } - E(i, "_unsupportedIterableToArray"); - function l(w, C) { - (C == null || C > w.length) && (C = w.length); - for (var _ = 0, M = new Array(C); _ < C; _++) M[_] = w[_]; - return M; - } - E(l, "_arrayLikeToArray"); - var s = rh(), - c = { - fg: "#FFF", - bg: "#000", - newline: !1, - escapeXML: !1, - stream: !1, - colors: d(), - }; - function d() { - var w = { - 0: "#000", - 1: "#A00", - 2: "#0A0", - 3: "#A50", - 4: "#00A", - 5: "#A0A", - 6: "#0AA", - 7: "#AAA", - 8: "#555", - 9: "#F55", - 10: "#5F5", - 11: "#FF5", - 12: "#55F", - 13: "#F5F", - 14: "#5FF", - 15: "#FFF", - }; - return ( - A(0, 5).forEach(function (C) { - A(0, 5).forEach(function (_) { - A(0, 5).forEach(function (M) { - return p(C, _, M, w); - }); - }); - }), - A(0, 23).forEach(function (C) { - var _ = C + 232, - M = h(C * 10 + 8); - w[_] = "#" + M + M + M; - }), - w - ); - } - E(d, "getDefaultColors"); - function p(w, C, _, M) { - var U = 16 + w * 36 + C * 6 + _, - K = w > 0 ? w * 40 + 55 : 0, - re = C > 0 ? C * 40 + 55 : 0, - Z = _ > 0 ? _ * 40 + 55 : 0; - M[U] = f([K, re, Z]); - } - E(p, "setStyleColor"); - function h(w) { - for (var C = w.toString(16); C.length < 2; ) C = "0" + C; - return C; - } - E(h, "toHexString"); - function f(w) { - var C = [], - _ = a(w), - M; - try { - for (_.s(); !(M = _.n()).done; ) { - var U = M.value; - C.push(h(U)); - } - } catch (K) { - _.e(K); - } finally { - _.f(); - } - return "#" + C.join(""); - } - E(f, "toColorHexString"); - function b(w, C, _, M) { - var U; - return ( - C === "text" - ? (U = I(_, M)) - : C === "display" - ? (U = x(w, _, M)) - : C === "xterm256Foreground" - ? (U = P(w, M.colors[_])) - : C === "xterm256Background" - ? (U = L(w, M.colors[_])) - : C === "rgb" && (U = g(w, _)), - U - ); - } - E(b, "generateOutput"); - function g(w, C) { - C = C.substring(2).slice(0, -1); - var _ = +C.substr(0, 2), - M = C.substring(5).split(";"), - U = M.map(function (K) { - return ("0" + Number(K).toString(16)).substr(-2); - }).join(""); - return F(w, (_ === 38 ? "color:#" : "background-color:#") + U); - } - E(g, "handleRgb"); - function x(w, C, _) { - C = parseInt(C, 10); - var M = { - "-1": E(function () { - return "
"; - }, "_"), - 0: E(function () { - return w.length && S(w); - }, "_"), - 1: E(function () { - return D(w, "b"); - }, "_"), - 3: E(function () { - return D(w, "i"); - }, "_"), - 4: E(function () { - return D(w, "u"); - }, "_"), - 8: E(function () { - return F(w, "display:none"); - }, "_"), - 9: E(function () { - return D(w, "strike"); - }, "_"), - 22: E(function () { - return F( - w, - "font-weight:normal;text-decoration:none;font-style:normal", - ); - }, "_"), - 23: E(function () { - return B(w, "i"); - }, "_"), - 24: E(function () { - return B(w, "u"); - }, "_"), - 39: E(function () { - return P(w, _.fg); - }, "_"), - 49: E(function () { - return L(w, _.bg); - }, "_"), - 53: E(function () { - return F(w, "text-decoration:overline"); - }, "_"), - }, - U; - return ( - M[C] - ? (U = M[C]()) - : 4 < C && C < 7 - ? (U = D(w, "blink")) - : 29 < C && C < 38 - ? (U = P(w, _.colors[C - 30])) - : 39 < C && C < 48 - ? (U = L(w, _.colors[C - 40])) - : 89 < C && C < 98 - ? (U = P(w, _.colors[8 + (C - 90)])) - : 99 < C && - C < 108 && - (U = L(w, _.colors[8 + (C - 100)])), - U - ); - } - E(x, "handleDisplay"); - function S(w) { - var C = w.slice(0); - return ( - (w.length = 0), - C.reverse() - .map(function (_) { - return ""; - }) - .join("") - ); - } - E(S, "resetStyles"); - function A(w, C) { - for (var _ = [], M = w; M <= C; M++) _.push(M); - return _; - } - E(A, "range"); - function k(w) { - return function (C) { - return (w === null || C.category !== w) && w !== "all"; - }; - } - E(k, "notCategory"); - function T(w) { - w = parseInt(w, 10); - var C = null; - return ( - w === 0 - ? (C = "all") - : w === 1 - ? (C = "bold") - : 2 < w && w < 5 - ? (C = "underline") - : 4 < w && w < 7 - ? (C = "blink") - : w === 8 - ? (C = "hide") - : w === 9 - ? (C = "strike") - : (29 < w && w < 38) || w === 39 || (89 < w && w < 98) - ? (C = "foreground-color") - : ((39 < w && w < 48) || - w === 49 || - (99 < w && w < 108)) && - (C = "background-color"), - C - ); - } - E(T, "categoryForCode"); - function I(w, C) { - return C.escapeXML ? s.encodeXML(w) : w; - } - E(I, "pushText"); - function D(w, C, _) { - return ( - _ || (_ = ""), - w.push(C), - "<".concat(C).concat(_ ? ' style="'.concat(_, '"') : "", ">") - ); - } - E(D, "pushTag"); - function F(w, C) { - return D(w, "span", C); - } - E(F, "pushStyle"); - function P(w, C) { - return D(w, "span", "color:" + C); - } - E(P, "pushForegroundColor"); - function L(w, C) { - return D(w, "span", "background-color:" + C); - } - E(L, "pushBackgroundColor"); - function B(w, C) { - var _; - if ((w.slice(-1)[0] === C && (_ = w.pop()), _)) return ""; - } - E(B, "closeTag"); - function G(w, C, _) { - var M = !1, - U = 3; - function K() { - return ""; - } - E(K, "remove"); - function re(_e, De) { - return _("xterm256Foreground", De), ""; - } - E(re, "removeXterm256Foreground"); - function Z(_e, De) { - return _("xterm256Background", De), ""; - } - E(Z, "removeXterm256Background"); - function Y(_e) { - return C.newline ? _("display", -1) : _("text", _e), ""; - } - E(Y, "newline"); - function ee(_e, De) { - (M = !0), - De.trim().length === 0 && (De = "0"), - (De = De.trimRight(";").split(";")); - var nt = a(De), - Nt; - try { - for (nt.s(); !(Nt = nt.n()).done; ) { - var Ir = Nt.value; - _("display", Ir); - } - } catch (An) { - nt.e(An); - } finally { - nt.f(); - } - return ""; - } - E(ee, "ansiMess"); - function ye(_e) { - return _("text", _e), ""; - } - E(ye, "realText"); - function le(_e) { - return _("rgb", _e), ""; - } - E(le, "rgb"); - var Ae = [ - { pattern: /^\x08+/, sub: K }, - { pattern: /^\x1b\[[012]?K/, sub: K }, - { pattern: /^\x1b\[\(B/, sub: K }, - { pattern: /^\x1b\[[34]8;2;\d+;\d+;\d+m/, sub: le }, - { pattern: /^\x1b\[38;5;(\d+)m/, sub: re }, - { pattern: /^\x1b\[48;5;(\d+)m/, sub: Z }, - { pattern: /^\n/, sub: Y }, - { pattern: /^\r+\n/, sub: Y }, - { pattern: /^\r/, sub: Y }, - { pattern: /^\x1b\[((?:\d{1,3};?)+|)m/, sub: ee }, - { pattern: /^\x1b\[\d?J/, sub: K }, - { pattern: /^\x1b\[\d{0,3};\d{0,3}f/, sub: K }, - { pattern: /^\x1b\[?[\d;]{0,3}/, sub: K }, - { pattern: /^(([^\x1b\x08\r\n])+)/, sub: ye }, - ]; - function ne(_e, De) { - (De > U && M) || ((M = !1), (w = w.replace(_e.pattern, _e.sub))); - } - E(ne, "process"); - var qe = [], - Be = w, - Ye = Be.length; - e: for (; Ye > 0; ) { - for (var nr = 0, Ft = 0, or = Ae.length; Ft < or; nr = ++Ft) { - var kr = Ae[nr]; - if ((ne(kr, nr), w.length !== Ye)) { - Ye = w.length; - continue e; - } - } - if (w.length === Ye) break; - qe.push(0), (Ye = w.length); - } - return qe; - } - E(G, "tokenize"); - function $(w, C, _) { - return ( - C !== "text" && - ((w = w.filter(k(T(_)))), - w.push({ token: C, data: _, category: T(_) })), - w - ); - } - E($, "updateStickyStack"); - var H = (function () { - function w(C) { - r(this, w), - (C = C || {}), - C.colors && (C.colors = Object.assign({}, c.colors, C.colors)), - (this.options = Object.assign({}, c, C)), - (this.stack = []), - (this.stickyStack = []); - } - return ( - E(w, "Filter"), - o(w, [ - { - key: "toHtml", - value: E(function (C) { - var _ = this; - C = typeof C == "string" ? [C] : C; - var M = this.stack, - U = this.options, - K = []; - return ( - this.stickyStack.forEach(function (re) { - var Z = b(M, re.token, re.data, U); - Z && K.push(Z); - }), - G(C.join(""), U, function (re, Z) { - var Y = b(M, re, Z, U); - Y && K.push(Y), - U.stream && (_.stickyStack = $(_.stickyStack, re, Z)); - }), - M.length && K.push(S(M)), - K.join("") - ); - }, "toHtml"), - }, - ]), - w - ); - })(); - t.exports = H; - }), - be = (() => { - let e; - return ( - typeof window < "u" - ? (e = window) - : typeof globalThis < "u" - ? (e = globalThis) - : typeof window < "u" - ? (e = window) - : typeof self < "u" - ? (e = self) - : (e = {}), - e - ); - })(); - function Ks() { - let e = { - setHandler: E(() => {}, "setHandler"), - send: E(() => {}, "send"), - }; - return new Hi({ transport: e }); - } - E(Ks, "mockChannel"); - var Ys = class { - constructor() { - (this.getChannel = E(() => { - if (!this.channel) { - let t = Ks(); - return this.setChannel(t), t; - } - return this.channel; - }, "getChannel")), - (this.ready = E(() => this.promise, "ready")), - (this.hasChannel = E(() => !!this.channel, "hasChannel")), - (this.setChannel = E((t) => { - (this.channel = t), this.resolve(); - }, "setChannel")), - (this.promise = new Promise((t) => { - this.resolve = () => t(this.getChannel()); - })); - } - }; - E(Ys, "AddonStore"); - var oh = Ys, - ao = "__STORYBOOK_ADDONS_PREVIEW"; - function Xs() { - return be[ao] || (be[ao] = new oh()), be[ao]; - } - E(Xs, "getAddonsStore"); - var Ct = Xs(), - Qs = class { - constructor() { - (this.hookListsMap = void 0), - (this.mountedDecorators = void 0), - (this.prevMountedDecorators = void 0), - (this.currentHooks = void 0), - (this.nextHookIndex = void 0), - (this.currentPhase = void 0), - (this.currentEffects = void 0), - (this.prevEffects = void 0), - (this.currentDecoratorName = void 0), - (this.hasUpdates = void 0), - (this.currentContext = void 0), - (this.renderListener = E((t) => { - t === this.currentContext?.id && - (this.triggerEffects(), - (this.currentContext = null), - this.removeRenderListeners()); - }, "renderListener")), - this.init(); - } - init() { - (this.hookListsMap = new WeakMap()), - (this.mountedDecorators = new Set()), - (this.prevMountedDecorators = new Set()), - (this.currentHooks = []), - (this.nextHookIndex = 0), - (this.currentPhase = "NONE"), - (this.currentEffects = []), - (this.prevEffects = []), - (this.currentDecoratorName = null), - (this.hasUpdates = !1), - (this.currentContext = null); - } - clean() { - this.prevEffects.forEach((t) => { - t.destroy && t.destroy(); - }), - this.init(), - this.removeRenderListeners(); - } - getNextHook() { - let t = this.currentHooks[this.nextHookIndex]; - return (this.nextHookIndex += 1), t; - } - triggerEffects() { - this.prevEffects.forEach((t) => { - !this.currentEffects.includes(t) && t.destroy && t.destroy(); - }), - this.currentEffects.forEach((t) => { - this.prevEffects.includes(t) || (t.destroy = t.create()); - }), - (this.prevEffects = this.currentEffects), - (this.currentEffects = []); - } - addRenderListeners() { - this.removeRenderListeners(), - Ct.getChannel().on(cr, this.renderListener); - } - removeRenderListeners() { - Ct.getChannel().removeListener(cr, this.renderListener); - } - }; - E(Qs, "HooksContext"); - var Zs = Qs; - function fo(e) { - let t = E((...r) => { - let { hooks: n } = typeof r[0] == "function" ? r[1] : r[0], - o = n.currentPhase, - a = n.currentHooks, - i = n.nextHookIndex, - l = n.currentDecoratorName; - (n.currentDecoratorName = e.name), - n.prevMountedDecorators.has(e) - ? ((n.currentPhase = "UPDATE"), - (n.currentHooks = n.hookListsMap.get(e) || [])) - : ((n.currentPhase = "MOUNT"), - (n.currentHooks = []), - n.hookListsMap.set(e, n.currentHooks), - n.prevMountedDecorators.add(e)), - (n.nextHookIndex = 0); - let s = be.STORYBOOK_HOOKS_CONTEXT; - be.STORYBOOK_HOOKS_CONTEXT = n; - let c = e(...r); - if ( - ((be.STORYBOOK_HOOKS_CONTEXT = s), - n.currentPhase === "UPDATE" && n.getNextHook() != null) - ) - throw new Error( - "Rendered fewer hooks than expected. This may be caused by an accidental early return statement.", - ); - return ( - (n.currentPhase = o), - (n.currentHooks = a), - (n.nextHookIndex = i), - (n.currentDecoratorName = l), - c - ); - }, "hookified"); - return (t.originalFn = e), t; - } - E(fo, "hookify"); - var io = 0, - ah = 25, - ih = E( - (e) => (t, r) => { - let n = e( - fo(t), - r.map((o) => fo(o)), - ); - return (o) => { - let { hooks: a } = o; - (a.prevMountedDecorators ??= new Set()), - (a.mountedDecorators = new Set([t, ...r])), - (a.currentContext = o), - (a.hasUpdates = !1); - let i = n(o); - for (io = 1; a.hasUpdates; ) - if ( - ((a.hasUpdates = !1), - (a.currentEffects = []), - (i = n(o)), - (io += 1), - io > ah) - ) - throw new Error( - "Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.", - ); - return a.addRenderListeners(), i; - }; - }, - "applyHooks", - ), - sh = E( - (e, t) => e.length === t.length && e.every((r, n) => r === t[n]), - "areDepsEqual", - ), - Do = E( - () => - new Error( - "Storybook preview hooks can only be called inside decorators and story functions.", - ), - "invalidHooksError", - ); - function Ro() { - return be.STORYBOOK_HOOKS_CONTEXT || null; - } - E(Ro, "getHooksContextOrNull"); - function Zr() { - let e = Ro(); - if (e == null) throw Do(); - return e; - } - E(Zr, "getHooksContextOrThrow"); - function el(e, t, r) { - let n = Zr(); - if (n.currentPhase === "MOUNT") { - r != null && - !Array.isArray(r) && - Q.warn( - `${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`, - ); - let o = { name: e, deps: r }; - return n.currentHooks.push(o), t(o), o; - } - if (n.currentPhase === "UPDATE") { - let o = n.getNextHook(); - if (o == null) - throw new Error( - "Rendered more hooks than during the previous render.", - ); - return ( - o.name !== e && - Q.warn( - `Storybook has detected a change in the order of Hooks${n.currentDecoratorName ? ` called by ${n.currentDecoratorName}` : ""}. This will lead to bugs and errors if not fixed.`, - ), - r != null && - o.deps == null && - Q.warn( - `${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`, - ), - r != null && - o.deps != null && - r.length !== o.deps.length && - Q.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. -Previous: ${o.deps} -Incoming: ${r}`), - (r == null || o.deps == null || !sh(r, o.deps)) && - (t(o), (o.deps = r)), - o - ); - } - throw Do(); - } - E(el, "useHook"); - function mr(e, t, r) { - let { memoizedState: n } = el( - e, - (o) => { - o.memoizedState = t(); - }, - r, - ); - return n; - } - E(mr, "useMemoLike"); - function lh(e, t) { - return mr("useMemo", e, t); - } - E(lh, "useMemo"); - function fr(e, t) { - return mr("useCallback", () => e, t); - } - E(fr, "useCallback"); - function _o(e, t) { - return mr(e, () => ({ current: t }), []); - } - E(_o, "useRefLike"); - function uh(e) { - return _o("useRef", e); - } - E(uh, "useRef"); - function tl() { - let e = Ro(); - if (e != null && e.currentPhase !== "NONE") e.hasUpdates = !0; - else - try { - Ct.getChannel().emit(Nr); - } catch { - Q.warn( - "State updates of Storybook preview hooks work only in browser", - ); - } - } - E(tl, "triggerUpdate"); - function Po(e, t) { - let r = _o(e, typeof t == "function" ? t() : t), - n = E((o) => { - (r.current = typeof o == "function" ? o(r.current) : o), tl(); - }, "setState"); - return [r.current, n]; - } - E(Po, "useStateLike"); - function ch(e) { - return Po("useState", e); - } - E(ch, "useState"); - function dh(e, t, r) { - let n = r != null ? () => r(t) : t, - [o, a] = Po("useReducer", n); - return [o, E((i) => a((l) => e(l, i)), "dispatch")]; - } - E(dh, "useReducer"); - function rl(e, t) { - let r = Zr(), - n = mr("useEffect", () => ({ create: e }), t); - r.currentEffects.includes(n) || r.currentEffects.push(n); - } - E(rl, "useEffect"); - function ph(e, t = []) { - let r = Ct.getChannel(); - return ( - rl( - () => ( - Object.entries(e).forEach(([n, o]) => r.on(n, o)), - () => { - Object.entries(e).forEach(([n, o]) => r.removeListener(n, o)); - } - ), - [...Object.keys(e), ...t], - ), - fr(r.emit.bind(r), [r]) - ); - } - E(ph, "useChannel"); - function en() { - let { currentContext: e } = Zr(); - if (e == null) throw Do(); - return e; - } - E(en, "useStoryContext"); - function fh(e, t) { - let { parameters: r } = en(); - if (e) return r[e] ?? t; - } - E(fh, "useParameter"); - function hh() { - let e = Ct.getChannel(), - { id: t, args: r } = en(), - n = fr((a) => e.emit(Mr, { storyId: t, updatedArgs: a }), [e, t]), - o = fr((a) => e.emit(Br, { storyId: t, argNames: a }), [e, t]); - return [r, n, o]; - } - E(hh, "useArgs"); - function mh() { - let e = Ct.getChannel(), - { globals: t } = en(), - r = fr((n) => e.emit(Lr, { globals: n }), [e]); - return [t, r]; - } - E(mh, "useGlobals"); - var yk = E( - ({ - name: e, - parameterName: t, - wrapper: r, - skipIfNoParametersOrOptions: n = !1, - }) => { - let o = E( - (a) => (i, l) => { - let s = l.parameters && l.parameters[t]; - return (s && s.disable) || (n && !a && !s) - ? i(l) - : r(i, l, { options: a, parameters: s }); - }, - "decorator", - ); - return (...a) => - typeof a[0] == "function" - ? o()(...a) - : (...i) => { - if (i.length > 1) - return a.length > 1 ? o(a)(...i) : o(...a)(...i); - throw new Error(`Passing stories directly into ${e}() is not allowed, - instead use addDecorator(${e}) and pass options with the '${t}' parameter`); - }; - }, - "makeDecorator", - ); - function nl(e, t) { - let r = {}, - n = Object.entries(e); - for (let o = 0; o < n.length; o++) { - let [a, i] = n[o]; - t(i, a) || (r[a] = i); - } - return r; - } - E(nl, "omitBy"); - function ol(e, t) { - let r = {}; - for (let n = 0; n < t.length; n++) { - let o = t[n]; - Object.prototype.hasOwnProperty.call(e, o) && (r[o] = e[o]); - } - return r; - } - E(ol, "pick"); - function al(e, t) { - let r = {}, - n = Object.entries(e); - for (let o = 0; o < n.length; o++) { - let [a, i] = n[o]; - t(i, a) && (r[a] = i); - } - return r; - } - E(al, "pickBy"); - function Je(e) { - if (typeof e != "object" || e == null) return !1; - if (Object.getPrototypeOf(e) === null) return !0; - if (e.toString() !== "[object Object]") return !1; - let t = e; - for (; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t); - return Object.getPrototypeOf(e) === t; - } - E(Je, "isPlainObject"); - function kt(e, t) { - let r = {}, - n = Object.keys(e); - for (let o = 0; o < n.length; o++) { - let a = n[o], - i = e[a]; - r[a] = t(i, a, e); - } - return r; - } - E(kt, "mapValues"); - var yh = "[object RegExp]", - gh = "[object String]", - bh = "[object Number]", - Eh = "[object Boolean]", - Rs = "[object Arguments]", - vh = "[object Symbol]", - xh = "[object Date]", - Sh = "[object Map]", - wh = "[object Set]", - Ah = "[object Array]", - Th = "[object Function]", - Ch = "[object ArrayBuffer]", - so = "[object Object]", - kh = "[object Error]", - Ih = "[object DataView]", - Oh = "[object Uint8Array]", - Dh = "[object Uint8ClampedArray]", - Rh = "[object Uint16Array]", - _h = "[object Uint32Array]", - Ph = "[object BigUint64Array]", - Fh = "[object Int8Array]", - Nh = "[object Int16Array]", - Bh = "[object Int32Array]", - jh = "[object BigInt64Array]", - Lh = "[object Float32Array]", - Mh = "[object Float64Array]"; - function ho(e) { - return Object.getOwnPropertySymbols(e).filter((t) => - Object.prototype.propertyIsEnumerable.call(e, t), - ); - } - E(ho, "getSymbols"); - function mo(e) { - return e == null - ? e === void 0 - ? "[object Undefined]" - : "[object Null]" - : Object.prototype.toString.call(e); - } - E(mo, "getTag"); - function il(e, t) { - if (typeof e == typeof t) - switch (typeof e) { - case "bigint": - case "string": - case "boolean": - case "symbol": - case "undefined": - return e === t; - case "number": - return e === t || Object.is(e, t); - case "function": - return e === t; - case "object": - return Ge(e, t); - } - return Ge(e, t); - } - E(il, "isEqual"); - function Ge(e, t, r) { - if (Object.is(e, t)) return !0; - let n = mo(e), - o = mo(t); - if ((n === Rs && (n = so), o === Rs && (o = so), n !== o)) return !1; - switch (n) { - case gh: - return e.toString() === t.toString(); - case bh: { - let l = e.valueOf(), - s = t.valueOf(); - return l === s || (Number.isNaN(l) && Number.isNaN(s)); - } - case Eh: - case xh: - case vh: - return Object.is(e.valueOf(), t.valueOf()); - case yh: - return e.source === t.source && e.flags === t.flags; - case Th: - return e === t; - } - r = r ?? new Map(); - let a = r.get(e), - i = r.get(t); - if (a != null && i != null) return a === t; - r.set(e, t), r.set(t, e); - try { - switch (n) { - case Sh: { - if (e.size !== t.size) return !1; - for (let [l, s] of e.entries()) - if (!t.has(l) || !Ge(s, t.get(l), r)) return !1; - return !0; - } - case wh: { - if (e.size !== t.size) return !1; - let l = Array.from(e.values()), - s = Array.from(t.values()); - for (let c = 0; c < l.length; c++) { - let d = l[c], - p = s.findIndex((h) => Ge(d, h, r)); - if (p === -1) return !1; - s.splice(p, 1); - } - return !0; - } - case Ah: - case Oh: - case Dh: - case Rh: - case _h: - case Ph: - case Fh: - case Nh: - case Bh: - case jh: - case Lh: - case Mh: { - if ( - (typeof Buffer < "u" && - Buffer.isBuffer(e) !== Buffer.isBuffer(t)) || - e.length !== t.length - ) - return !1; - for (let l = 0; l < e.length; l++) - if (!Ge(e[l], t[l], r)) return !1; - return !0; - } - case Ch: - return e.byteLength !== t.byteLength - ? !1 - : Ge(new Uint8Array(e), new Uint8Array(t), r); - case Ih: - return e.byteLength !== t.byteLength || - e.byteOffset !== t.byteOffset - ? !1 - : Ge(e.buffer, t.buffer, r); - case kh: - return e.name === t.name && e.message === t.message; - case so: { - if (!(Ge(e.constructor, t.constructor, r) || (Je(e) && Je(t)))) - return !1; - let l = [...Object.keys(e), ...ho(e)], - s = [...Object.keys(t), ...ho(t)]; - if (l.length !== s.length) return !1; - for (let c = 0; c < l.length; c++) { - let d = l[c], - p = e[d]; - if (!Object.prototype.hasOwnProperty.call(t, d)) return !1; - let h = t[d]; - if (!Ge(p, h, r)) return !1; - } - return !0; - } - default: - return !1; - } - } finally { - r.delete(e), r.delete(t); - } - } - E(Ge, "areObjectsEqual"); - var lo = Ht(Js(), 1); - function Me(e) { - for (var t = [], r = 1; r < arguments.length; r++) - t[r - 1] = arguments[r]; - var n = Array.from(typeof e == "string" ? [e] : e); - n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, ""); - var o = n.reduce(function (l, s) { - var c = s.match(/\n([\t ]+|(?!\s).)/g); - return c - ? l.concat( - c.map(function (d) { - var p, h; - return (h = - (p = d.match(/[\t ]/g)) === null || p === void 0 - ? void 0 - : p.length) !== null && h !== void 0 - ? h - : 0; - }), - ) - : l; - }, []); - if (o.length) { - var a = new RegExp( - ` -[ ]{` + - Math.min.apply(Math, o) + - "}", - "g", - ); - n = n.map(function (l) { - return l.replace( - a, - ` -`, - ); - }); - } - n[0] = n[0].replace(/^\r?\n/, ""); - var i = n[0]; - return ( - t.forEach(function (l, s) { - var c = i.match(/(?:^|\n)( *)$/), - d = c ? c[1] : "", - p = l; - typeof l == "string" && - l.includes(` -`) && - (p = String(l) - .split( - ` -`, - ) - .map(function (h, f) { - return f === 0 ? h : "" + d + h; - }).join(` -`)), - (i += p + n[s + 1]); - }), - i - ); - } - E(Me, "dedent"); - var Vt = Symbol("incompatible"), - yo = E((e, t) => { - let r = t.type; - if (e == null || !r || t.mapping) return e; - switch (r.name) { - case "string": - return String(e); - case "enum": - return e; - case "number": - return Number(e); - case "boolean": - return String(e) === "true"; - case "array": - return !r.value || !Array.isArray(e) - ? Vt - : e.reduce((n, o, a) => { - let i = yo(o, { type: r.value }); - return i !== Vt && (n[a] = i), n; - }, new Array(e.length)); - case "object": - return typeof e == "string" || typeof e == "number" - ? e - : !r.value || typeof e != "object" - ? Vt - : Object.entries(e).reduce((n, [o, a]) => { - let i = yo(a, { type: r.value[o] }); - return i === Vt ? n : Object.assign(n, { [o]: i }); - }, {}); - default: - return Vt; - } - }, "map"), - Uh = E( - (e, t) => - Object.entries(e).reduce((r, [n, o]) => { - if (!t[n]) return r; - let a = yo(o, t[n]); - return a === Vt ? r : Object.assign(r, { [n]: a }); - }, {}), - "mapArgsToTypes", - ), - go = E( - (e, t) => - Array.isArray(e) && Array.isArray(t) - ? t - .reduce((r, n, o) => ((r[o] = go(e[o], t[o])), r), [...e]) - .filter((r) => r !== void 0) - : !Je(e) || !Je(t) - ? t - : Object.keys({ ...e, ...t }).reduce((r, n) => { - if (n in t) { - let o = go(e[n], t[n]); - o !== void 0 && (r[n] = o); - } else r[n] = e[n]; - return r; - }, {}), - "combineArgs", - ), - $h = E( - (e, t) => - Object.entries(t).reduce((r, [n, { options: o }]) => { - function a() { - return n in e && (r[n] = e[n]), r; - } - if ((E(a, "allowArg"), !o)) return a(); - if (!Array.isArray(o)) - return ( - ct.error(Me` - Invalid argType: '${n}.options' should be an array. - - More info: https://storybook.js.org/docs/api/arg-types - `), - a() - ); - if (o.some((p) => p && ["object", "function"].includes(typeof p))) - return ( - ct.error(Me` - Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. - - More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - `), - a() - ); - let i = Array.isArray(e[n]), - l = i && e[n].findIndex((p) => !o.includes(p)), - s = i && l === -1; - if (e[n] === void 0 || o.includes(e[n]) || s) return a(); - let c = i ? `${n}[${l}]` : n, - d = o - .map((p) => (typeof p == "string" ? `'${p}'` : String(p))) - .join(", "); - return ( - ct.warn( - `Received illegal value for '${c}'. Supported options: ${d}`, - ), - r - ); - }, {}), - "validateOptions", - ), - dr = Symbol("Deeply equal"), - Yr = E((e, t) => { - if (typeof e != typeof t) return t; - if (il(e, t)) return dr; - if (Array.isArray(e) && Array.isArray(t)) { - let r = t.reduce((n, o, a) => { - let i = Yr(e[a], o); - return i !== dr && (n[a] = i), n; - }, new Array(t.length)); - return t.length >= e.length - ? r - : r.concat(new Array(e.length - t.length).fill(void 0)); - } - return Je(e) && Je(t) - ? Object.keys({ ...e, ...t }).reduce((r, n) => { - let o = Yr(e?.[n], t?.[n]); - return o === dr ? r : Object.assign(r, { [n]: o }); - }, {}) - : t; - }, "deepDiff"), - sl = "UNTARGETED"; - function ll({ args: e, argTypes: t }) { - let r = {}; - return ( - Object.entries(e).forEach(([n, o]) => { - let { target: a = sl } = t[n] || {}; - (r[a] = r[a] || {}), (r[a][n] = o); - }), - r - ); - } - E(ll, "groupArgsByTarget"); - function ul(e) { - return Object.keys(e).forEach((t) => e[t] === void 0 && delete e[t]), e; - } - E(ul, "deleteUndefined"); - var cl = class { - constructor() { - (this.initialArgsByStoryId = {}), (this.argsByStoryId = {}); - } - get(t) { - if (!(t in this.argsByStoryId)) - throw new Error( - `No args known for ${t} -- has it been rendered yet?`, - ); - return this.argsByStoryId[t]; - } - setInitial(t) { - if (!this.initialArgsByStoryId[t.id]) - (this.initialArgsByStoryId[t.id] = t.initialArgs), - (this.argsByStoryId[t.id] = t.initialArgs); - else if (this.initialArgsByStoryId[t.id] !== t.initialArgs) { - let r = Yr(this.initialArgsByStoryId[t.id], this.argsByStoryId[t.id]); - (this.initialArgsByStoryId[t.id] = t.initialArgs), - (this.argsByStoryId[t.id] = t.initialArgs), - r !== dr && this.updateFromDelta(t, r); - } - } - updateFromDelta(t, r) { - let n = $h(r, t.argTypes); - this.argsByStoryId[t.id] = go(this.argsByStoryId[t.id], n); - } - updateFromPersisted(t, r) { - let n = Uh(r, t.argTypes); - return this.updateFromDelta(t, n); - } - update(t, r) { - if (!(t in this.argsByStoryId)) - throw new Error( - `No args known for ${t} -- has it been rendered yet?`, - ); - this.argsByStoryId[t] = ul({ ...this.argsByStoryId[t], ...r }); - } - }; - E(cl, "ArgsStore"); - var qh = cl, - dl = E( - (e = {}) => - Object.entries(e).reduce( - (t, [r, { defaultValue: n }]) => (typeof n < "u" && (t[r] = n), t), - {}, - ), - "getValuesFromArgTypes", - ), - pl = class { - constructor({ globals: t = {}, globalTypes: r = {} }) { - this.set({ globals: t, globalTypes: r }); - } - set({ globals: t = {}, globalTypes: r = {} }) { - let n = this.initialGlobals && Yr(this.initialGlobals, this.globals); - this.allowedGlobalNames = new Set([ - ...Object.keys(t), - ...Object.keys(r), - ]); - let o = dl(r); - (this.initialGlobals = { ...o, ...t }), - (this.globals = this.initialGlobals), - n && n !== dr && this.updateFromPersisted(n); - } - filterAllowedGlobals(t) { - return Object.entries(t).reduce( - (r, [n, o]) => ( - this.allowedGlobalNames.has(n) - ? (r[n] = o) - : Q.warn( - `Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`, - ), - r - ), - {}, - ); - } - updateFromPersisted(t) { - let r = this.filterAllowedGlobals(t); - this.globals = { ...this.globals, ...r }; - } - get() { - return this.globals; - } - update(t) { - this.globals = { ...this.globals, ...this.filterAllowedGlobals(t) }; - } - }; - E(pl, "GlobalsStore"); - var Vh = pl, - Jh = Ht(Js(), 1), - zh = (0, Jh.default)(1)((e) => - Object.values(e).reduce( - (t, r) => ((t[r.importPath] = t[r.importPath] || r), t), - {}, - ), - ), - fl = class { - constructor({ entries: t } = { v: 5, entries: {} }) { - this.entries = t; - } - entryFromSpecifier(t) { - let r = Object.values(this.entries); - if (t === "*") return r[0]; - if (typeof t == "string") - return this.entries[t] - ? this.entries[t] - : r.find((a) => a.id.startsWith(t)); - let { name: n, title: o } = t; - return r.find((a) => a.name === n && a.title === o); - } - storyIdToEntry(t) { - let r = this.entries[t]; - if (!r) throw new Yi({ storyId: t }); - return r; - } - importPathToEntry(t) { - return zh(this.entries)[t]; - } - }; - E(fl, "StoryIndexStore"); - var Hh = fl, - Gh = E((e) => (typeof e == "string" ? { name: e } : e), "normalizeType"), - Wh = E( - (e) => (typeof e == "string" ? { type: e } : e), - "normalizeControl", - ), - Kh = E((e, t) => { - let { type: r, control: n, ...o } = e, - a = { name: t, ...o }; - return ( - r && (a.type = Gh(r)), - n ? (a.control = Wh(n)) : n === !1 && (a.control = { disable: !0 }), - a - ); - }, "normalizeInputType"), - Xr = E((e) => kt(e, Kh), "normalizeInputTypes"), - pe = E((e) => (Array.isArray(e) ? e : e ? [e] : []), "normalizeArrays"), - Yh = Me` -CSF .story annotations deprecated; annotate story functions directly: -- StoryFn.story.name => StoryFn.storyName -- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) -See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`; - function Fo(e, t, r) { - let n = t, - o = typeof t == "function" ? t : null, - { story: a } = n; - a && (Q.debug("deprecated story", a), Ze(Yh)); - let i = ks(e), - l = (typeof n != "function" && n.name) || n.storyName || a?.name || i, - s = [...pe(n.decorators), ...pe(a?.decorators)], - c = { ...a?.parameters, ...n.parameters }, - d = { ...a?.args, ...n.args }, - p = { ...a?.argTypes, ...n.argTypes }, - h = [...pe(n.loaders), ...pe(a?.loaders)], - f = [...pe(n.beforeEach), ...pe(a?.beforeEach)], - { render: b, play: g, tags: x = [], globals: S = {} } = n, - A = c.__id || Cs(r.id, i); - return { - moduleExport: t, - id: A, - name: l, - tags: x, - decorators: s, - parameters: c, - args: d, - argTypes: Xr(p), - loaders: h, - beforeEach: f, - globals: S, - ...(b && { render: b }), - ...(o && { userStoryFn: o }), - ...(g && { play: g }), - }; - } - E(Fo, "normalizeStory"); - function No(e, t = e.title, r) { - let { id: n, argTypes: o } = e; - return { - id: oo(n || t), - ...e, - title: t, - ...(o && { argTypes: Xr(o) }), - parameters: { fileName: r, ...e.parameters }, - }; - } - E(No, "normalizeComponentAnnotations"); - var Xh = E((e) => { - let { globals: t, globalTypes: r } = e; - (t || r) && - Q.error( - "Global args/argTypes can only be set globally", - JSON.stringify({ globals: t, globalTypes: r }), - ); - }, "checkGlobals"), - Qh = E((e) => { - let { options: t } = e; - t?.storySort && - Q.error("The storySort option parameter can only be set globally"); - }, "checkStorySort"), - _s = E((e) => { - e && (Xh(e), Qh(e)); - }, "checkDisallowedParameters"); - function hl(e, t, r) { - let { default: n, __namedExportsOrder: o, ...a } = e, - i = No(n, r, t); - _s(i.parameters); - let l = { meta: i, stories: {}, moduleExports: e }; - return ( - Object.keys(a).forEach((s) => { - if (Hr(s, i)) { - let c = Fo(s, a[s], i); - _s(c.parameters), (l.stories[c.id] = c); - } - }), - l - ); - } - E(hl, "processCSFFile"); - function ml(e) { - return e != null && yl(e).includes("mount"); - } - E(ml, "mountDestructured"); - function yl(e) { - let t = e.toString().match(/[^(]*\(([^)]*)/); - if (!t) return []; - let r = bo(t[1]); - if (!r.length) return []; - let n = r[0]; - return n.startsWith("{") && n.endsWith("}") - ? bo(n.slice(1, -1).replace(/\s/g, "")).map((o) => - o.replace(/:.*|=.*/g, ""), - ) - : []; - } - E(yl, "getUsedProps"); - function bo(e) { - let t = [], - r = [], - n = 0; - for (let a = 0; a < e.length; a++) - if (e[a] === "{" || e[a] === "[") r.push(e[a] === "{" ? "}" : "]"); - else if (e[a] === r[r.length - 1]) r.pop(); - else if (!r.length && e[a] === ",") { - let i = e.substring(n, a).trim(); - i && t.push(i), (n = a + 1); - } - let o = e.substring(n).trim(); - return o && t.push(o), t; - } - E(bo, "splitByComma"); - function gl(e, t, r) { - let n = r(e); - return (o) => t(n, o); - } - E(gl, "decorateStory"); - function bl({ - componentId: e, - title: t, - kind: r, - id: n, - name: o, - story: a, - parameters: i, - initialArgs: l, - argTypes: s, - ...c - } = {}) { - return c; - } - E(bl, "sanitizeStoryContextUpdate"); - function El(e, t) { - let r = {}, - n = E( - (a) => (i) => { - if (!r.value) - throw new Error("Decorated function called without init"); - return (r.value = { ...r.value, ...bl(i) }), a(r.value); - }, - "bindWithContext", - ), - o = t.reduce((a, i) => gl(a, i, n), e); - return (a) => ((r.value = a), o(a)); - } - E(El, "defaultDecorateStory"); - var et = E((...e) => { - let t = {}, - r = e.filter(Boolean), - n = r.reduce( - (o, a) => ( - Object.entries(a).forEach(([i, l]) => { - let s = o[i]; - Array.isArray(l) || typeof s > "u" - ? (o[i] = l) - : Je(l) && Je(s) - ? (t[i] = !0) - : typeof l < "u" && (o[i] = l); - }), - o - ), - {}, - ); - return ( - Object.keys(t).forEach((o) => { - let a = r - .filter(Boolean) - .map((i) => i[o]) - .filter((i) => typeof i < "u"); - a.every((i) => Je(i)) ? (n[o] = et(...a)) : (n[o] = a[a.length - 1]); - }), - n - ); - }, "combineParameters"); - function Bo(e, t, r) { - let { moduleExport: n, id: o, name: a } = e || {}, - i = jo(e, t, r), - l = E(async (I) => { - let D = {}; - for (let F of [ - ...("__STORYBOOK_TEST_LOADERS__" in be && - Array.isArray(be.__STORYBOOK_TEST_LOADERS__) - ? [be.__STORYBOOK_TEST_LOADERS__] - : []), - pe(r.loaders), - pe(t.loaders), - pe(e.loaders), - ]) { - if (I.abortSignal.aborted) return D; - let P = await Promise.all(F.map((L) => L(I))); - Object.assign(D, ...P); - } - return D; - }, "applyLoaders"), - s = E(async (I) => { - let D = new Array(); - for (let F of [ - ...pe(r.beforeEach), - ...pe(t.beforeEach), - ...pe(e.beforeEach), - ]) { - if (I.abortSignal.aborted) return D; - let P = await F(I); - P && D.push(P); - } - return D; - }, "applyBeforeEach"), - c = E((I) => I.originalStoryFn(I.args, I), "undecoratedStoryFn"), - { applyDecorators: d = El, runStep: p } = r, - h = [...pe(e?.decorators), ...pe(t?.decorators), ...pe(r?.decorators)], - f = e?.userStoryFn || e?.render || t.render || r.render, - b = ih(d)(c, h), - g = E((I) => b(I), "unboundStoryFn"), - x = e?.play ?? t?.play, - S = ml(x); - if (!f && !S) throw new ys({ id: o }); - let A = E( - (I) => async () => (await I.renderToCanvas(), I.canvas), - "defaultMount", - ), - k = e.mount ?? t.mount ?? r.mount ?? A, - T = r.testingLibraryRender; - return { - storyGlobals: {}, - ...i, - moduleExport: n, - id: o, - name: a, - story: a, - originalStoryFn: f, - undecoratedStoryFn: c, - unboundStoryFn: g, - applyLoaders: l, - applyBeforeEach: s, - playFunction: x, - runStep: p, - mount: k, - testingLibraryRender: T, - renderToCanvas: r.renderToCanvas, - usesMount: S, - }; - } - E(Bo, "prepareStory"); - function vl(e, t, r) { - return { ...jo(void 0, e, t), moduleExport: r }; - } - E(vl, "prepareMeta"); - function jo(e, t, r) { - let n = ["dev", "test"], - o = be.DOCS_OPTIONS?.autodocs === !0 ? ["autodocs"] : [], - a = Is( - ...n, - ...o, - ...(r.tags ?? []), - ...(t.tags ?? []), - ...(e?.tags ?? []), - ), - i = et(r.parameters, t.parameters, e?.parameters), - { argTypesEnhancers: l = [], argsEnhancers: s = [] } = r, - c = et(r.argTypes, t.argTypes, e?.argTypes); - if (e) { - let S = e?.userStoryFn || e?.render || t.render || r.render; - i.__isArgsStory = S && S.length > 0; - } - let d = { ...r.args, ...t.args, ...e?.args }, - p = { ...t.globals, ...e?.globals }, - h = { - componentId: t.id, - title: t.title, - kind: t.title, - id: e?.id || t.id, - name: e?.name || "__meta", - story: e?.name || "__meta", - component: t.component, - subcomponents: t.subcomponents, - tags: a, - parameters: i, - initialArgs: d, - argTypes: c, - storyGlobals: p, - }; - h.argTypes = l.reduce((S, A) => A({ ...h, argTypes: S }), h.argTypes); - let f = { ...d }; - h.initialArgs = s.reduce( - (S, A) => ({ ...S, ...A({ ...h, initialArgs: S }) }), - f, - ); - let { name: b, story: g, ...x } = h; - return x; - } - E(jo, "preparePartialAnnotations"); - function Lo(e) { - let { args: t } = e, - r = { ...e, allArgs: void 0, argsByTarget: void 0 }; - if (be.FEATURES?.argTypeTargetsV7) { - let a = ll(e); - r = { ...e, allArgs: e.args, argsByTarget: a, args: a[sl] || {} }; - } - let n = Object.entries(r.args).reduce((a, [i, l]) => { - if (!r.argTypes[i]?.mapping) return (a[i] = l), a; - let s = E((c) => { - let d = r.argTypes[i].mapping; - return d && c in d ? d[c] : c; - }, "mappingFn"); - return (a[i] = Array.isArray(l) ? l.map(s) : s(l)), a; - }, {}), - o = Object.entries(n).reduce((a, [i, l]) => { - let s = r.argTypes[i] || {}; - return Ts(s, n, r.globals) && (a[i] = l), a; - }, {}); - return { ...r, unmappedArgs: t, args: o }; - } - E(Lo, "prepareContext"); - var Eo = E((e, t, r) => { - let n = typeof e; - switch (n) { - case "boolean": - case "string": - case "number": - case "function": - case "symbol": - return { name: n }; - default: - break; - } - return e - ? r.has(e) - ? (Q.warn(Me` - We've detected a cycle in arg '${t}'. Args should be JSON-serializable. - - Consider using the mapping feature or fully custom args: - - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args - `), - { name: "other", value: "cyclic object" }) - : (r.add(e), - Array.isArray(e) - ? { - name: "array", - value: - e.length > 0 - ? Eo(e[0], t, new Set(r)) - : { name: "other", value: "unknown" }, - } - : { name: "object", value: kt(e, (o) => Eo(o, t, new Set(r))) }) - : { name: "object", value: {} }; - }, "inferType"), - xl = E((e) => { - let { id: t, argTypes: r = {}, initialArgs: n = {} } = e, - o = kt(n, (i, l) => ({ - name: l, - type: Eo(i, `${t}.${l}`, new Set()), - })), - a = kt(r, (i, l) => ({ name: l })); - return et(o, a, r); - }, "inferArgTypes"); - xl.secondPass = !0; - var Ps = E( - (e, t) => (Array.isArray(t) ? t.includes(e) : e.match(t)), - "matches", - ), - Zh = E( - (e, t, r) => - !t && !r - ? e - : e && - al(e, (n, o) => { - let a = n.name || o.toString(); - return !!(!t || Ps(a, t)) && (!r || !Ps(a, r)); - }), - "filterArgTypes", - ), - em = E((e, t, r) => { - let { type: n, options: o } = e; - if (n) { - if (r.color && r.color.test(t)) { - let a = n.name; - if (a === "string") return { control: { type: "color" } }; - a !== "enum" && - Q.warn( - `Addon controls: Control of type color only supports string, received "${a}" instead`, - ); - } - if (r.date && r.date.test(t)) return { control: { type: "date" } }; - switch (n.name) { - case "array": - return { control: { type: "object" } }; - case "boolean": - return { control: { type: "boolean" } }; - case "string": - return { control: { type: "text" } }; - case "number": - return { control: { type: "number" } }; - case "enum": { - let { value: a } = n; - return { - control: { type: a?.length <= 5 ? "radio" : "select" }, - options: a, - }; - } - case "function": - case "symbol": - return null; - default: - return { control: { type: o ? "select" : "object" } }; - } - } - }, "inferControl"), - Sl = E((e) => { - let { - argTypes: t, - parameters: { - __isArgsStory: r, - controls: { - include: n = null, - exclude: o = null, - matchers: a = {}, - } = {}, - }, - } = e; - if (!r) return t; - let i = Zh(t, n, o), - l = kt(i, (s, c) => s?.type && em(s, c.toString(), a)); - return et(l, i); - }, "inferControls"); - Sl.secondPass = !0; - function Qr({ - argTypes: e, - globalTypes: t, - argTypesEnhancers: r, - decorators: n, - loaders: o, - beforeEach: a, - globals: i, - initialGlobals: l, - ...s - }) { - return ( - i && - Object.keys(i).length > 0 && - Ze(Me` - The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. - Please use 'initialGlobals' instead. Learn more: - - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals - `), - { - ...(e && { argTypes: Xr(e) }), - ...(t && { globalTypes: Xr(t) }), - decorators: pe(n), - loaders: pe(o), - beforeEach: pe(a), - argTypesEnhancers: [...(r || []), xl, Sl], - initialGlobals: et(l, i), - ...s, - } - ); - } - E(Qr, "normalizeProjectAnnotations"); - var tm = E( - (e) => async () => { - let t = []; - for (let r of e) { - let n = await r(); - n && t.unshift(n); - } - return async () => { - for (let r of t) await r(); - }; - }, - "composeBeforeAllHooks", - ); - function wl(e) { - return async (t, r, n) => { - await e.reduceRight( - (o, a) => async () => a(t, o, n), - async () => r(n), - )(); - }; - } - E(wl, "composeStepRunners"); - function zt(e, t) { - return e.map((r) => r.default?.[t] ?? r[t]).filter(Boolean); - } - E(zt, "getField"); - function dt(e, t, r = {}) { - return zt(e, t).reduce((n, o) => { - let a = pe(o); - return r.reverseFileOrder ? [...a, ...n] : [...n, ...a]; - }, []); - } - E(dt, "getArrayField"); - function Jt(e, t) { - return Object.assign({}, ...zt(e, t)); - } - E(Jt, "getObjectField"); - function At(e, t) { - return zt(e, t).pop(); - } - E(At, "getSingletonField"); - function hr(e) { - let t = dt(e, "argTypesEnhancers"), - r = zt(e, "runStep"), - n = dt(e, "beforeAll"); - return { - parameters: et(...zt(e, "parameters")), - decorators: dt(e, "decorators", { - reverseFileOrder: !(be.FEATURES?.legacyDecoratorFileOrder ?? !1), - }), - args: Jt(e, "args"), - argsEnhancers: dt(e, "argsEnhancers"), - argTypes: Jt(e, "argTypes"), - argTypesEnhancers: [ - ...t.filter((o) => !o.secondPass), - ...t.filter((o) => o.secondPass), - ], - globals: Jt(e, "globals"), - initialGlobals: Jt(e, "initialGlobals"), - globalTypes: Jt(e, "globalTypes"), - loaders: dt(e, "loaders"), - beforeAll: tm(n), - beforeEach: dt(e, "beforeEach"), - render: At(e, "render"), - renderToCanvas: At(e, "renderToCanvas"), - renderToDOM: At(e, "renderToDOM"), - applyDecorators: At(e, "applyDecorators"), - runStep: wl(r), - tags: dt(e, "tags"), - mount: At(e, "mount"), - testingLibraryRender: At(e, "testingLibraryRender"), - }; - } - E(hr, "composeConfigs"); - function rm(e) { - globalThis.defaultProjectAnnotations = e; - } - E(rm, "setDefaultProjectAnnotations"); - var nm = "ComposedStory", - om = "Unnamed Story"; - function Al(e) { - return e ? hr([e]) : {}; - } - E(Al, "extractAnnotation"); - function am(e) { - let t = Array.isArray(e) ? e : [e]; - return ( - (globalThis.globalProjectAnnotations = hr(t.map(Al))), - hr([ - globalThis.defaultProjectAnnotations ?? {}, - globalThis.globalProjectAnnotations ?? {}, - ]) - ); - } - E(am, "setProjectAnnotations"); - var pt = []; - function Tl(e, t, r, n, o) { - if (e === void 0) - throw new Error("Expected a story but received undefined."); - t.title = t.title ?? nm; - let a = No(t), - i = o || e.storyName || e.story?.name || e.name || om, - l = Fo(i, e, a), - s = Qr( - hr([ - n && Object.keys(n).length > 0 - ? n - : (globalThis.defaultProjectAnnotations ?? {}), - globalThis.globalProjectAnnotations ?? {}, - r ?? {}, - ]), - ), - c = Bo(l, a, s), - d = { ...dl(s.globalTypes), ...s.initialGlobals, ...c.storyGlobals }, - p = E(() => { - let x = Lo({ - hooks: new Zs(), - globals: d, - args: { ...c.initialArgs }, - viewMode: "story", - loaded: {}, - abortSignal: new AbortController().signal, - step: E((S, A) => c.runStep(S, A, x), "step"), - canvasElement: null, - canvas: {}, - globalTypes: s.globalTypes, - ...c, - context: null, - mount: null, - }); - return ( - (x.context = x), - c.renderToCanvas && - (x.renderToCanvas = async () => { - let S = await c.renderToCanvas?.( - { - componentId: c.componentId, - title: c.title, - id: c.id, - name: c.name, - tags: c.tags, - showMain: E(() => {}, "showMain"), - showError: E((A) => { - throw new Error(`${A.title} -${A.description}`); - }, "showError"), - showException: E((A) => { - throw A; - }, "showException"), - forceRemount: !0, - storyContext: x, - storyFn: E(() => c.unboundStoryFn(x), "storyFn"), - unboundStoryFn: c.unboundStoryFn, - }, - x.canvasElement, - ); - S && pt.push(S); - }), - (x.mount = c.mount(x)), - x - ); - }, "initializeContext"), - h, - f = E(async (x) => { - let S = p(); - return ( - (S.canvasElement ??= globalThis?.document?.body), - h && (S.loaded = h.loaded), - Object.assign(S, x), - c.playFunction(S) - ); - }, "play"), - b = E((x) => { - let S = p(); - return Object.assign(S, x), Cl(c, S); - }, "run"), - g = c.playFunction ? f : void 0; - return Object.assign( - E(function (x) { - let S = p(); - return ( - h && (S.loaded = h.loaded), - (S.args = { ...S.initialArgs, ...x }), - c.unboundStoryFn(S) - ); - }, "storyFn"), - { - id: c.id, - storyName: i, - load: E(async () => { - for (let S of [...pt].reverse()) await S(); - pt.length = 0; - let x = p(); - (x.loaded = await c.applyLoaders(x)), - pt.push(...(await c.applyBeforeEach(x)).filter(Boolean)), - (h = x); - }, "load"), - globals: d, - args: c.initialArgs, - parameters: c.parameters, - argTypes: c.argTypes, - play: g, - run: b, - tags: c.tags, - }, - ); - } - E(Tl, "composeStory"); - var im = E((e, t, r, n) => Tl(e, t, r, {}, n), "defaultComposeStory"); - function sm(e, t, r = im) { - let { default: n, __esModule: o, __namedExportsOrder: a, ...i } = e; - return Object.entries(i).reduce( - (l, [s, c]) => - Hr(s, n) ? Object.assign(l, { [s]: r(c, n, t, s) }) : l, - {}, - ); - } - E(sm, "composeStories"); - function lm(e) { - return e.extend({ - mount: E(async ({ mount: t, page: r }, n) => { - await n(async (o, ...a) => { - if ( - !("__pw_type" in o) || - ("__pw_type" in o && o.__pw_type !== "jsx") - ) - throw new Error(Me` - Portable stories in Playwright CT only work when referencing JSX elements. - Please use JSX format for your components such as: - - instead of: - await mount(MyComponent, { props: { foo: 'bar' } }) - - do: - await mount() - - More info: https://storybook.js.org/docs/api/portable-stories-playwright - `); - await r.evaluate(async (l) => { - let s = await globalThis.__pwUnwrapObject?.(l); - return ("__pw_type" in s ? s.type : s)?.load?.(); - }, o); - let i = await t(o, ...a); - return ( - await r.evaluate(async (l) => { - let s = await globalThis.__pwUnwrapObject?.(l), - c = "__pw_type" in s ? s.type : s, - d = document.querySelector("#root"); - return c?.play?.({ canvasElement: d }); - }, o), - i - ); - }); - }, "mount"), - }); - } - E(lm, "createPlaywrightTest"); - async function Cl(e, t) { - for (let o of [...pt].reverse()) await o(); - if (((pt.length = 0), !t.canvasElement)) { - let o = document.createElement("div"); - globalThis?.document?.body?.appendChild(o), - (t.canvasElement = o), - pt.push(() => { - globalThis?.document?.body?.contains(o) && - globalThis?.document?.body?.removeChild(o); - }); - } - if (((t.loaded = await e.applyLoaders(t)), t.abortSignal.aborted)) return; - pt.push(...(await e.applyBeforeEach(t)).filter(Boolean)); - let r = e.playFunction, - n = e.usesMount; - n || (await t.mount()), - !t.abortSignal.aborted && - r && - (n || - (t.mount = async () => { - throw new Jr({ playFunction: r.toString() }); - }), - await r(t)); - } - E(Cl, "runStory"); - function vo(e, t) { - return nl(ol(e, t), (r) => r === void 0); - } - E(vo, "picky"); - var Fs = 1e3, - um = 1e4, - kl = class { - constructor(t, r, n) { - (this.importFn = r), - (this.getStoriesJsonData = E(() => { - let i = this.getSetStoriesPayload(), - l = [ - "fileName", - "docsOnly", - "framework", - "__id", - "__isArgsStory", - ]; - return { - v: 3, - stories: kt(i.stories, (s) => { - let { importPath: c } = this.storyIndex.entries[s.id]; - return { - ...vo(s, ["id", "name", "title"]), - importPath: c, - kind: s.title, - story: s.name, - parameters: { ...vo(s.parameters, l), fileName: c }, - }; - }), - }; - }, "getStoriesJsonData")), - (this.storyIndex = new Hh(t)), - (this.projectAnnotations = Qr(n)); - let { initialGlobals: o, globalTypes: a } = this.projectAnnotations; - (this.args = new qh()), - (this.userGlobals = new Vh({ globals: o, globalTypes: a })), - (this.hooks = {}), - (this.cleanupCallbacks = {}), - (this.processCSFFileWithCache = (0, lo.default)(Fs)(hl)), - (this.prepareMetaWithCache = (0, lo.default)(Fs)(vl)), - (this.prepareStoryWithCache = (0, lo.default)(um)(Bo)); - } - setProjectAnnotations(t) { - this.projectAnnotations = Qr(t); - let { initialGlobals: r, globalTypes: n } = t; - this.userGlobals.set({ globals: r, globalTypes: n }); - } - async onStoriesChanged({ importFn: t, storyIndex: r }) { - t && (this.importFn = t), - r && (this.storyIndex.entries = r.entries), - this.cachedCSFFiles && (await this.cacheAllCSFFiles()); - } - async storyIdToEntry(t) { - return this.storyIndex.storyIdToEntry(t); - } - async loadCSFFileByStoryId(t) { - let { importPath: r, title: n } = this.storyIndex.storyIdToEntry(t), - o = await this.importFn(r); - return this.processCSFFileWithCache(o, r, n); - } - async loadAllCSFFiles() { - let t = {}; - return ( - Object.entries(this.storyIndex.entries).forEach( - ([r, { importPath: n }]) => { - t[n] = r; - }, - ), - ( - await Promise.all( - Object.entries(t).map(async ([r, n]) => ({ - importPath: r, - csfFile: await this.loadCSFFileByStoryId(n), - })), - ) - ).reduce((r, { importPath: n, csfFile: o }) => ((r[n] = o), r), {}) - ); - } - async cacheAllCSFFiles() { - this.cachedCSFFiles = await this.loadAllCSFFiles(); - } - preparedMetaFromCSFFile({ csfFile: t }) { - let r = t.meta; - return this.prepareMetaWithCache( - r, - this.projectAnnotations, - t.moduleExports.default, - ); - } - async loadStory({ storyId: t }) { - let r = await this.loadCSFFileByStoryId(t); - return this.storyFromCSFFile({ storyId: t, csfFile: r }); - } - storyFromCSFFile({ storyId: t, csfFile: r }) { - let n = r.stories[t]; - if (!n) throw new ds({ storyId: t }); - let o = r.meta, - a = this.prepareStoryWithCache(n, o, this.projectAnnotations); - return ( - this.args.setInitial(a), - (this.hooks[a.id] = this.hooks[a.id] || new Zs()), - a - ); - } - componentStoriesFromCSFFile({ csfFile: t }) { - return Object.keys(this.storyIndex.entries) - .filter((r) => !!t.stories[r]) - .map((r) => this.storyFromCSFFile({ storyId: r, csfFile: t })); - } - async loadEntry(t) { - let r = await this.storyIdToEntry(t), - n = r.type === "docs" ? r.storiesImports : [], - [o, ...a] = await Promise.all([ - this.importFn(r.importPath), - ...n.map((i) => { - let l = this.storyIndex.importPathToEntry(i); - return this.loadCSFFileByStoryId(l.id); - }), - ]); - return { entryExports: o, csfFiles: a }; - } - getStoryContext(t, { forceInitialArgs: r = !1 } = {}) { - let n = this.userGlobals.get(), - { initialGlobals: o } = this.userGlobals; - return Lo({ - ...t, - args: r ? t.initialArgs : this.args.get(t.id), - initialGlobals: o, - globalTypes: this.projectAnnotations.globalTypes, - userGlobals: n, - globals: { ...n, ...t.storyGlobals }, - hooks: this.hooks[t.id], - }); - } - addCleanupCallbacks(t, r) { - this.cleanupCallbacks[t.id] = r; - } - async cleanupStory(t) { - this.hooks[t.id].clean(); - let r = this.cleanupCallbacks[t.id]; - if (r) for (let n of [...r].reverse()) await n(); - delete this.cleanupCallbacks[t.id]; - } - extract(t = { includeDocsOnly: !1 }) { - let { cachedCSFFiles: r } = this; - if (!r) throw new Qi(); - return Object.entries(this.storyIndex.entries).reduce( - (n, [o, { type: a, importPath: i }]) => { - if (a === "docs") return n; - let l = r[i], - s = this.storyFromCSFFile({ storyId: o, csfFile: l }); - return ( - (!t.includeDocsOnly && s.parameters.docsOnly) || - (n[o] = Object.entries(s).reduce( - (c, [d, p]) => - d === "moduleExport" || typeof p == "function" - ? c - : Array.isArray(p) - ? Object.assign(c, { [d]: p.slice().sort() }) - : Object.assign(c, { [d]: p }), - { args: s.initialArgs }, - )), - n - ); - }, - {}, - ); - } - getSetStoriesPayload() { - let t = this.extract({ includeDocsOnly: !0 }), - r = Object.values(t).reduce( - (n, { title: o }) => ((n[o] = {}), n), - {}, - ); - return { - v: 2, - globals: this.userGlobals.get(), - globalParameters: {}, - kindParameters: r, - stories: t, - }; - } - raw() { - return ( - Ze( - "StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead", - ), - Object.values(this.extract()) - .map(({ id: t }) => this.fromId(t)) - .filter(Boolean) - ); - } - fromId(t) { - if ( - (Ze( - "StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead", - ), - !this.cachedCSFFiles) - ) - throw new Error( - "Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.", - ); - let r; - try { - ({ importPath: r } = this.storyIndex.storyIdToEntry(t)); - } catch { - return null; - } - let n = this.cachedCSFFiles[r], - o = this.storyFromCSFFile({ storyId: t, csfFile: n }); - return { - ...o, - storyFn: E((a) => { - let i = { - ...this.getStoryContext(o), - abortSignal: new AbortController().signal, - canvasElement: null, - loaded: {}, - step: E((l, s) => o.runStep(l, s, i), "step"), - context: null, - mount: null, - canvas: {}, - viewMode: "story", - }; - return o.unboundStoryFn({ ...i, ...a }); - }, "storyFn"), - }; - } - }; - E(kl, "StoryStore"); - var cm = kl; - function Il(e) { - return e.startsWith("\\\\?\\") ? e : e.replace(/\\/g, "/"); - } - E(Il, "slash"); - var dm = E((e) => { - if (e.length === 0) return e; - let t = e[e.length - 1], - r = t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i, ""); - if (e.length === 1) return [r]; - let n = e[e.length - 2]; - return r && n && r.toLowerCase() === n.toLowerCase() - ? [...e.slice(0, -2), r] - : r && (/^(story|stories)([.][^.]+)$/i.test(t) || /^index$/i.test(r)) - ? e.slice(0, -1) - : [...e.slice(0, -1), r]; - }, "sanitize"); - function xo(e) { - return e - .flatMap((t) => t.split("/")) - .filter(Boolean) - .join("/"); - } - E(xo, "pathJoin"); - var pm = E((e, t, r) => { - let { - directory: n, - importPathMatcher: o, - titlePrefix: a = "", - } = t || {}; - typeof e == "number" && - ct.warn(Me` - CSF Auto-title received a numeric fileName. This typically happens when - webpack is mis-configured in production mode. To force webpack to produce - filenames, set optimization.moduleIds = "named" in your webpack config. - `); - let i = Il(String(e)); - if (o.exec(i)) { - if (!r) { - let l = i.replace(n, ""), - s = xo([a, l]).split("/"); - return (s = dm(s)), s.join("/"); - } - return a ? xo([a, r]) : r; - } - }, "userOrAutoTitleFromSpecifier"), - Mk = E((e, t, r) => { - for (let n = 0; n < t.length; n += 1) { - let o = pm(e, t[n], r); - if (o) return o; - } - return r || void 0; - }, "userOrAutoTitle"), - Ns = /\s*\/\s*/, - fm = E( - (e = {}) => - (t, r) => { - if (t.title === r.title && !e.includeNames) return 0; - let n = e.method || "configure", - o = e.order || [], - a = t.title.trim().split(Ns), - i = r.title.trim().split(Ns); - e.includeNames && (a.push(t.name), i.push(r.name)); - let l = 0; - for (; a[l] || i[l]; ) { - if (!a[l]) return -1; - if (!i[l]) return 1; - let s = a[l], - c = i[l]; - if (s !== c) { - let p = o.indexOf(s), - h = o.indexOf(c), - f = o.indexOf("*"); - return p !== -1 || h !== -1 - ? (p === -1 && (f !== -1 ? (p = f) : (p = o.length)), - h === -1 && (f !== -1 ? (h = f) : (h = o.length)), - p - h) - : n === "configure" - ? 0 - : s.localeCompare(c, e.locales ? e.locales : void 0, { - numeric: !0, - sensitivity: "accent", - }); - } - let d = o.indexOf(s); - d === -1 && (d = o.indexOf("*")), - (o = d !== -1 && Array.isArray(o[d + 1]) ? o[d + 1] : []), - (l += 1); - } - return 0; - }, - "storySort", - ), - hm = E((e, t, r) => { - if (t) { - let n; - typeof t == "function" ? (n = t) : (n = fm(t)), e.sort(n); - } else - e.sort((n, o) => r.indexOf(n.importPath) - r.indexOf(o.importPath)); - return e; - }, "sortStoriesCommon"), - Uk = E((e, t, r) => { - try { - return hm(e, t, r); - } catch (n) { - throw new Error(Me` - Error sorting stories with sort parameter ${t}: - - > ${n.message} - - Are you using a V6-style sort function in V7 mode? - - More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort - `); - } - }, "sortStoriesV7"), - tn = new Error("prepareAborted"), - { AbortController: Bs } = globalThis; - function So(e) { - try { - let { name: t = "Error", message: r = String(e), stack: n } = e; - return { name: t, message: r, stack: n }; - } catch { - return { name: "Error", message: String(e) }; - } - } - E(So, "serializeError"); - var Ol = class { - constructor( - t, - r, - n, - o, - a, - i, - l = { autoplay: !0, forceInitialArgs: !1 }, - s, - ) { - (this.channel = t), - (this.store = r), - (this.renderToScreen = n), - (this.callbacks = o), - (this.id = a), - (this.viewMode = i), - (this.renderOptions = l), - (this.type = "story"), - (this.notYetRendered = !0), - (this.rerenderEnqueued = !1), - (this.disableKeyListeners = !1), - (this.teardownRender = E(() => {}, "teardownRender")), - (this.torndown = !1), - (this.abortController = new Bs()), - s && ((this.story = s), (this.phase = "preparing")); - } - async runPhase(t, r, n) { - (this.phase = r), - this.channel.emit(qt, { newPhase: this.phase, storyId: this.id }), - n && (await n(), this.checkIfAborted(t)); - } - checkIfAborted(t) { - return t.aborted - ? ((this.phase = "aborted"), - this.channel.emit(qt, { newPhase: this.phase, storyId: this.id }), - !0) - : !1; - } - async prepare() { - if ( - (await this.runPhase( - this.abortController.signal, - "preparing", - async () => { - this.story = await this.store.loadStory({ storyId: this.id }); - }, - ), - this.abortController.signal.aborted) - ) - throw (await this.store.cleanupStory(this.story), tn); - } - isEqual(t) { - return !!(this.id === t.id && this.story && this.story === t.story); - } - isPreparing() { - return ["preparing"].includes(this.phase); - } - isPending() { - return ["loading", "beforeEach", "rendering", "playing"].includes( - this.phase, - ); - } - async renderToElement(t) { - return ( - (this.canvasElement = t), - this.render({ initial: !0, forceRemount: !0 }) - ); - } - storyContext() { - if (!this.story) - throw new Error("Cannot call storyContext before preparing"); - let { forceInitialArgs: t } = this.renderOptions; - return this.store.getStoryContext(this.story, { forceInitialArgs: t }); - } - async render({ initial: t = !1, forceRemount: r = !1 } = {}) { - let { canvasElement: n } = this; - if (!this.story) throw new Error("cannot render when not prepared"); - let o = this.story; - if (!n) throw new Error("cannot render when canvasElement is unset"); - let { - id: a, - componentId: i, - title: l, - name: s, - tags: c, - applyLoaders: d, - applyBeforeEach: p, - unboundStoryFn: h, - playFunction: f, - runStep: b, - } = o; - r && !t && (this.cancelRender(), (this.abortController = new Bs())); - let g = this.abortController.signal, - x = !1, - S = o.usesMount; - try { - let A = { - ...this.storyContext(), - viewMode: this.viewMode, - abortSignal: g, - canvasElement: n, - loaded: {}, - step: E((P, L) => b(P, L, A), "step"), - context: null, - canvas: {}, - renderToCanvas: E(async () => { - let P = await this.renderToScreen(k, n); - (this.teardownRender = P || (() => {})), (x = !0); - }, "renderToCanvas"), - mount: E(async (...P) => { - this.callbacks.showStoryDuringRender?.(); - let L = null; - return ( - await this.runPhase(g, "rendering", async () => { - L = await o.mount(A)(...P); - }), - S && (await this.runPhase(g, "playing")), - L - ); - }, "mount"), - }; - A.context = A; - let k = { - componentId: i, - title: l, - kind: l, - id: a, - name: s, - story: s, - tags: c, - ...this.callbacks, - showError: E( - (P) => ((this.phase = "errored"), this.callbacks.showError(P)), - "showError", - ), - showException: E( - (P) => ( - (this.phase = "errored"), this.callbacks.showException(P) - ), - "showException", - ), - forceRemount: r || this.notYetRendered, - storyContext: A, - storyFn: E(() => h(A), "storyFn"), - unboundStoryFn: h, - }; - if ( - (await this.runPhase(g, "loading", async () => { - A.loaded = await d(A); - }), - g.aborted) - ) - return; - let T = await p(A); - if ( - (this.store.addCleanupCallbacks(o, T), - this.checkIfAborted(g) || - (!x && !S && (await A.mount()), - (this.notYetRendered = !1), - g.aborted)) - ) - return; - let I = - this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors === - !0, - D = new Set(), - F = E((P) => D.add("error" in P ? P.error : P.reason), "onError"); - if ( - this.renderOptions.autoplay && - r && - f && - this.phase !== "errored" - ) { - window.addEventListener("error", F), - window.addEventListener("unhandledrejection", F), - (this.disableKeyListeners = !0); - try { - if ( - (S - ? await f(A) - : ((A.mount = async () => { - throw new Jr({ playFunction: f.toString() }); - }), - await this.runPhase(g, "playing", async () => f(A))), - !x) - ) - throw new bs(); - this.checkIfAborted(g), - !I && D.size > 0 - ? await this.runPhase(g, "errored") - : await this.runPhase(g, "played"); - } catch (P) { - if ( - (this.callbacks.showStoryDuringRender?.(), - await this.runPhase(g, "errored", async () => { - this.channel.emit(si, So(P)); - }), - this.story.parameters.throwPlayFunctionExceptions !== !1) - ) - throw P; - console.error(P); - } - if ( - (!I && D.size > 0 && this.channel.emit(vi, Array.from(D).map(So)), - (this.disableKeyListeners = !1), - window.removeEventListener("unhandledrejection", F), - window.removeEventListener("error", F), - g.aborted) - ) - return; - } - await this.runPhase(g, "completed", async () => - this.channel.emit(cr, a), - ); - } catch (A) { - (this.phase = "errored"), this.callbacks.showException(A); - } - this.rerenderEnqueued && ((this.rerenderEnqueued = !1), this.render()); - } - async rerender() { - if (this.isPending() && this.phase !== "playing") - this.rerenderEnqueued = !0; - else return this.render(); - } - async remount() { - return await this.teardown(), this.render({ forceRemount: !0 }); - } - cancelRender() { - this.abortController?.abort(); - } - async teardown() { - (this.torndown = !0), - this.cancelRender(), - this.story && (await this.store.cleanupStory(this.story)); - for (let t = 0; t < 3; t += 1) { - if (!this.isPending()) { - await this.teardownRender(); - return; - } - await new Promise((r) => setTimeout(r, 0)); - } - window.location.reload(), await new Promise(() => {}); - } - }; - E(Ol, "StoryRender"); - var wo = Ol, - { fetch: mm } = be, - ym = "./index.json", - Dl = class { - constructor(t, r, n = Ct.getChannel(), o = !0) { - (this.importFn = t), - (this.getProjectAnnotations = r), - (this.channel = n), - (this.storyRenders = []), - (this.storeInitializationPromise = new Promise((a, i) => { - (this.resolveStoreInitializationPromise = a), - (this.rejectStoreInitializationPromise = i); - })), - o && this.initialize(); - } - get storyStore() { - return new Proxy( - {}, - { - get: E((t, r) => { - if (this.storyStoreValue) - return ( - Ze( - "Accessing the Story Store is deprecated and will be removed in 9.0", - ), - this.storyStoreValue[r] - ); - throw new fs(); - }, "get"), - }, - ); - } - async initialize() { - this.setupListeners(); - try { - let t = await this.getProjectAnnotationsOrRenderError(); - await this.runBeforeAllHook(t), - await this.initializeWithProjectAnnotations(t); - } catch (t) { - this.rejectStoreInitializationPromise(t); - } - } - ready() { - return this.storeInitializationPromise; - } - setupListeners() { - this.channel.on(mi, this.onStoryIndexChanged.bind(this)), - this.channel.on(Lr, this.onUpdateGlobals.bind(this)), - this.channel.on(Mr, this.onUpdateArgs.bind(this)), - this.channel.on(ri, this.onRequestArgTypesInfo.bind(this)), - this.channel.on(Br, this.onResetArgs.bind(this)), - this.channel.on(Nr, this.onForceReRender.bind(this)), - this.channel.on(ai, this.onForceRemount.bind(this)); - } - async getProjectAnnotationsOrRenderError() { - try { - let t = await this.getProjectAnnotations(); - if ( - ((this.renderToCanvas = t.renderToCanvas), !this.renderToCanvas) - ) - throw new es(); - return t; - } catch (t) { - throw ( - (this.renderPreviewEntryError("Error reading preview.js:", t), t) - ); - } - } - async initializeWithProjectAnnotations(t) { - this.projectAnnotationsBeforeInitialization = t; - try { - let r = await this.getStoryIndexFromServer(); - return this.initializeWithStoryIndex(r); - } catch (r) { - throw ( - (this.renderPreviewEntryError("Error loading story index:", r), r) - ); - } - } - async runBeforeAllHook(t) { - try { - await this.beforeAllCleanup?.(), - (this.beforeAllCleanup = await t.beforeAll?.()); - } catch (r) { - throw ( - (this.renderPreviewEntryError("Error in beforeAll hook:", r), r) - ); - } - } - async getStoryIndexFromServer() { - let t = await mm(ym); - if (t.status === 200) return t.json(); - throw new ns({ text: await t.text() }); - } - initializeWithStoryIndex(t) { - if (!this.projectAnnotationsBeforeInitialization) - throw new Error( - "Cannot call initializeWithStoryIndex until project annotations resolve", - ); - (this.storyStoreValue = new cm( - t, - this.importFn, - this.projectAnnotationsBeforeInitialization, - )), - delete this.projectAnnotationsBeforeInitialization, - this.setInitialGlobals(), - this.resolveStoreInitializationPromise(); - } - async setInitialGlobals() { - this.emitGlobals(); - } - emitGlobals() { - if (!this.storyStoreValue) - throw new Ne({ methodName: "emitGlobals" }); - let t = { - globals: this.storyStoreValue.userGlobals.get() || {}, - globalTypes: - this.storyStoreValue.projectAnnotations.globalTypes || {}, - }; - this.channel.emit(di, t); - } - async onGetProjectAnnotationsChanged({ getProjectAnnotations: t }) { - delete this.previewEntryError, (this.getProjectAnnotations = t); - let r = await this.getProjectAnnotationsOrRenderError(); - if ((await this.runBeforeAllHook(r), !this.storyStoreValue)) { - await this.initializeWithProjectAnnotations(r); - return; - } - this.storyStoreValue.setProjectAnnotations(r), this.emitGlobals(); - } - async onStoryIndexChanged() { - if ( - (delete this.previewEntryError, - !( - !this.storyStoreValue && - !this.projectAnnotationsBeforeInitialization - )) - ) - try { - let t = await this.getStoryIndexFromServer(); - if (this.projectAnnotationsBeforeInitialization) { - this.initializeWithStoryIndex(t); - return; - } - await this.onStoriesChanged({ storyIndex: t }); - } catch (t) { - throw ( - (this.renderPreviewEntryError("Error loading story index:", t), - t) - ); - } - } - async onStoriesChanged({ importFn: t, storyIndex: r }) { - if (!this.storyStoreValue) - throw new Ne({ methodName: "onStoriesChanged" }); - await this.storyStoreValue.onStoriesChanged({ - importFn: t, - storyIndex: r, - }); - } - async onUpdateGlobals({ globals: t, currentStory: r }) { - if ( - (this.storyStoreValue || (await this.storeInitializationPromise), - !this.storyStoreValue) - ) - throw new Ne({ methodName: "onUpdateGlobals" }); - if ((this.storyStoreValue.userGlobals.update(t), r)) { - let { - initialGlobals: n, - storyGlobals: o, - userGlobals: a, - globals: i, - } = this.storyStoreValue.getStoryContext(r); - this.channel.emit($t, { - initialGlobals: n, - userGlobals: a, - storyGlobals: o, - globals: i, - }); - } else { - let { initialGlobals: n, globals: o } = - this.storyStoreValue.userGlobals; - this.channel.emit($t, { - initialGlobals: n, - userGlobals: o, - storyGlobals: {}, - globals: o, - }); - } - await Promise.all(this.storyRenders.map((n) => n.rerender())); - } - async onUpdateArgs({ storyId: t, updatedArgs: r }) { - if (!this.storyStoreValue) - throw new Ne({ methodName: "onUpdateArgs" }); - this.storyStoreValue.args.update(t, r), - await Promise.all( - this.storyRenders - .filter((n) => n.id === t && !n.renderOptions.forceInitialArgs) - .map((n) => - n.story && n.story.usesMount ? n.remount() : n.rerender(), - ), - ), - this.channel.emit(pi, { - storyId: t, - args: this.storyStoreValue.args.get(t), - }); - } - async onRequestArgTypesInfo({ id: t, payload: r }) { - try { - await this.storeInitializationPromise; - let n = await this.storyStoreValue?.loadStory(r); - this.channel.emit(Vn, { - id: t, - success: !0, - payload: { argTypes: n?.argTypes || {} }, - error: null, - }); - } catch (n) { - this.channel.emit(Vn, { id: t, success: !1, error: n?.message }); - } - } - async onResetArgs({ storyId: t, argNames: r }) { - if (!this.storyStoreValue) - throw new Ne({ methodName: "onResetArgs" }); - let n = - this.storyRenders.find((a) => a.id === t)?.story || - (await this.storyStoreValue.loadStory({ storyId: t })), - o = ( - r || [ - ...new Set([ - ...Object.keys(n.initialArgs), - ...Object.keys(this.storyStoreValue.args.get(t)), - ]), - ] - ).reduce((a, i) => ((a[i] = n.initialArgs[i]), a), {}); - await this.onUpdateArgs({ storyId: t, updatedArgs: o }); - } - async onForceReRender() { - await Promise.all(this.storyRenders.map((t) => t.rerender())); - } - async onForceRemount({ storyId: t }) { - await Promise.all( - this.storyRenders.filter((r) => r.id === t).map((r) => r.remount()), - ); - } - renderStoryToElement(t, r, n, o) { - if (!this.renderToCanvas || !this.storyStoreValue) - throw new Ne({ methodName: "renderStoryToElement" }); - let a = new wo( - this.channel, - this.storyStoreValue, - this.renderToCanvas, - n, - t.id, - "docs", - o, - t, - ); - return ( - a.renderToElement(r), - this.storyRenders.push(a), - async () => { - await this.teardownRender(a); - } - ); - } - async teardownRender(t, { viewModeChanged: r } = {}) { - (this.storyRenders = this.storyRenders.filter((n) => n !== t)), - await t?.teardown?.({ viewModeChanged: r }); - } - async loadStory({ storyId: t }) { - if (!this.storyStoreValue) throw new Ne({ methodName: "loadStory" }); - return this.storyStoreValue.loadStory({ storyId: t }); - } - getStoryContext(t, { forceInitialArgs: r = !1 } = {}) { - if (!this.storyStoreValue) - throw new Ne({ methodName: "getStoryContext" }); - return this.storyStoreValue.getStoryContext(t, { - forceInitialArgs: r, - }); - } - async extract(t) { - if (!this.storyStoreValue) throw new Ne({ methodName: "extract" }); - if (this.previewEntryError) throw this.previewEntryError; - return ( - await this.storyStoreValue.cacheAllCSFFiles(), - this.storyStoreValue.extract(t) - ); - } - renderPreviewEntryError(t, r) { - (this.previewEntryError = r), - Q.error(t), - Q.error(r), - this.channel.emit(ni, r); - } - }; - E(Dl, "Preview"); - var gm = Dl, - bm = !1, - uo = "Invariant failed"; - function Wr(e, t) { - if (!e) { - if (bm) throw new Error(uo); - var r = typeof t == "function" ? t() : t, - n = r ? "".concat(uo, ": ").concat(r) : uo; - throw new Error(n); - } - } - E(Wr, "invariant"); - var Rl = class { - constructor(t, r, n, o) { - (this.channel = t), - (this.store = r), - (this.renderStoryToElement = n), - (this.storyIdByName = E((a) => { - let i = this.nameToStoryId.get(a); - if (i) return i; - throw new Error(`No story found with that name: ${a}`); - }, "storyIdByName")), - (this.componentStories = E( - () => this.componentStoriesValue, - "componentStories", - )), - (this.componentStoriesFromCSFFile = E( - (a) => this.store.componentStoriesFromCSFFile({ csfFile: a }), - "componentStoriesFromCSFFile", - )), - (this.storyById = E((a) => { - if (!a) { - if (!this.primaryStory) - throw new Error( - "No primary story defined for docs entry. Did you forget to use ``?", - ); - return this.primaryStory; - } - let i = this.storyIdToCSFFile.get(a); - if (!i) - throw new Error( - `Called \`storyById\` for story that was never loaded: ${a}`, - ); - return this.store.storyFromCSFFile({ storyId: a, csfFile: i }); - }, "storyById")), - (this.getStoryContext = E( - (a) => ({ - ...this.store.getStoryContext(a), - loaded: {}, - viewMode: "docs", - }), - "getStoryContext", - )), - (this.loadStory = E( - (a) => this.store.loadStory({ storyId: a }), - "loadStory", - )), - (this.componentStoriesValue = []), - (this.storyIdToCSFFile = new Map()), - (this.exportToStory = new Map()), - (this.exportsToCSFFile = new Map()), - (this.nameToStoryId = new Map()), - (this.attachedCSFFiles = new Set()), - o.forEach((a, i) => { - this.referenceCSFFile(a); - }); - } - referenceCSFFile(t) { - this.exportsToCSFFile.set(t.moduleExports, t), - this.exportsToCSFFile.set(t.moduleExports.default, t), - this.store - .componentStoriesFromCSFFile({ csfFile: t }) - .forEach((r) => { - let n = t.stories[r.id]; - this.storyIdToCSFFile.set(n.id, t), - this.exportToStory.set(n.moduleExport, r); - }); - } - attachCSFFile(t) { - if (!this.exportsToCSFFile.has(t.moduleExports)) - throw new Error( - "Cannot attach a CSF file that has not been referenced", - ); - this.attachedCSFFiles.has(t) || - (this.attachedCSFFiles.add(t), - this.store - .componentStoriesFromCSFFile({ csfFile: t }) - .forEach((r) => { - this.nameToStoryId.set(r.name, r.id), - this.componentStoriesValue.push(r), - this.primaryStory || (this.primaryStory = r); - })); - } - referenceMeta(t, r) { - let n = this.resolveModuleExport(t); - if (n.type !== "meta") - throw new Error( - " must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?", - ); - r && this.attachCSFFile(n.csfFile); - } - get projectAnnotations() { - let { projectAnnotations: t } = this.store; - if (!t) - throw new Error( - "Can't get projectAnnotations from DocsContext before they are initialized", - ); - return t; - } - resolveAttachedModuleExportType(t) { - if (t === "story") { - if (!this.primaryStory) - throw new Error( - "No primary story attached to this docs file, did you forget to use ?", - ); - return { type: "story", story: this.primaryStory }; - } - if (this.attachedCSFFiles.size === 0) - throw new Error( - "No CSF file attached to this docs file, did you forget to use ?", - ); - let r = Array.from(this.attachedCSFFiles)[0]; - if (t === "meta") return { type: "meta", csfFile: r }; - let { component: n } = r.meta; - if (!n) - throw new Error( - "Attached CSF file does not defined a component, did you forget to export one?", - ); - return { type: "component", component: n }; - } - resolveModuleExport(t) { - let r = this.exportsToCSFFile.get(t); - if (r) return { type: "meta", csfFile: r }; - let n = this.exportToStory.get(t); - return n - ? { type: "story", story: n } - : { type: "component", component: t }; - } - resolveOf(t, r = []) { - let n; - if (["component", "meta", "story"].includes(t)) { - let o = t; - n = this.resolveAttachedModuleExportType(o); - } else n = this.resolveModuleExport(t); - if (r.length && !r.includes(n.type)) { - let o = n.type === "component" ? "component or unknown" : n.type; - throw new Error(Me`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. - - Did you pass a component to the 'of' prop when the block only supports a story or a meta? - - ... or vice versa? - - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`); - } - switch (n.type) { - case "component": - return { ...n, projectAnnotations: this.projectAnnotations }; - case "meta": - return { - ...n, - preparedMeta: this.store.preparedMetaFromCSFFile({ - csfFile: n.csfFile, - }), - }; - case "story": - default: - return n; - } - } - }; - E(Rl, "DocsContext"); - var _l = Rl, - Pl = class { - constructor(t, r, n, o) { - (this.channel = t), - (this.store = r), - (this.entry = n), - (this.callbacks = o), - (this.type = "docs"), - (this.subtype = "csf"), - (this.torndown = !1), - (this.disableKeyListeners = !1), - (this.preparing = !1), - (this.id = n.id); - } - isPreparing() { - return this.preparing; - } - async prepare() { - this.preparing = !0; - let { entryExports: t, csfFiles: r = [] } = - await this.store.loadEntry(this.id); - if (this.torndown) throw tn; - let { importPath: n, title: o } = this.entry, - a = this.store.processCSFFileWithCache(t, n, o), - i = Object.keys(a.stories)[0]; - (this.story = this.store.storyFromCSFFile({ - storyId: i, - csfFile: a, - })), - (this.csfFiles = [a, ...r]), - (this.preparing = !1); - } - isEqual(t) { - return !!(this.id === t.id && this.story && this.story === t.story); - } - docsContext(t) { - if (!this.csfFiles) - throw new Error("Cannot render docs before preparing"); - let r = new _l(this.channel, this.store, t, this.csfFiles); - return this.csfFiles.forEach((n) => r.attachCSFFile(n)), r; - } - async renderToElement(t, r) { - if (!this.story || !this.csfFiles) - throw new Error("Cannot render docs before preparing"); - let n = this.docsContext(r), - { docs: o } = this.story.parameters || {}; - if (!o) - throw new Error( - "Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed", - ); - let a = await o.renderer(), - { render: i } = a, - l = E(async () => { - try { - await i(n, o, t), this.channel.emit(Fr, this.id); - } catch (s) { - this.callbacks.showException(s); - } - }, "renderDocs"); - return ( - (this.rerender = async () => l()), - (this.teardownRender = async ({ viewModeChanged: s }) => { - !s || !t || a.unmount(t); - }), - l() - ); - } - async teardown({ viewModeChanged: t } = {}) { - this.teardownRender?.({ viewModeChanged: t }), (this.torndown = !0); - } - }; - E(Pl, "CsfDocsRender"); - var js = Pl, - Fl = class { - constructor(t, r, n, o) { - (this.channel = t), - (this.store = r), - (this.entry = n), - (this.callbacks = o), - (this.type = "docs"), - (this.subtype = "mdx"), - (this.torndown = !1), - (this.disableKeyListeners = !1), - (this.preparing = !1), - (this.id = n.id); - } - isPreparing() { - return this.preparing; - } - async prepare() { - this.preparing = !0; - let { entryExports: t, csfFiles: r = [] } = - await this.store.loadEntry(this.id); - if (this.torndown) throw tn; - (this.csfFiles = r), (this.exports = t), (this.preparing = !1); - } - isEqual(t) { - return !!( - this.id === t.id && - this.exports && - this.exports === t.exports - ); - } - docsContext(t) { - if (!this.csfFiles) - throw new Error("Cannot render docs before preparing"); - return new _l(this.channel, this.store, t, this.csfFiles); - } - async renderToElement(t, r) { - if (!this.exports || !this.csfFiles || !this.store.projectAnnotations) - throw new Error("Cannot render docs before preparing"); - let n = this.docsContext(r), - { docs: o } = this.store.projectAnnotations.parameters || {}; - if (!o) - throw new Error( - "Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed", - ); - let a = { ...o, page: this.exports.default }, - i = await o.renderer(), - { render: l } = i, - s = E(async () => { - try { - await l(n, a, t), this.channel.emit(Fr, this.id); - } catch (c) { - this.callbacks.showException(c); - } - }, "renderDocs"); - return ( - (this.rerender = async () => s()), - (this.teardownRender = async ({ viewModeChanged: c } = {}) => { - !c || !t || (i.unmount(t), (this.torndown = !0)); - }), - s() - ); - } - async teardown({ viewModeChanged: t } = {}) { - this.teardownRender?.({ viewModeChanged: t }), (this.torndown = !0); - } - }; - E(Fl, "MdxDocsRender"); - var Ls = Fl, - Em = globalThis; - function Nl(e) { - let t = (e.composedPath && e.composedPath()[0]) || e.target; - return ( - /input|textarea/i.test(t.tagName) || - t.getAttribute("contenteditable") !== null - ); - } - E(Nl, "focusInInput"); - var Bl = "attached-mdx", - vm = "unattached-mdx"; - function jl({ tags: e }) { - return e?.includes(vm) || e?.includes(Bl); - } - E(jl, "isMdxEntry"); - function Kr(e) { - return e.type === "story"; - } - E(Kr, "isStoryRender"); - function Ll(e) { - return e.type === "docs"; - } - E(Ll, "isDocsRender"); - function Ml(e) { - return Ll(e) && e.subtype === "csf"; - } - E(Ml, "isCsfDocsRender"); - var Ul = class extends gm { - constructor(t, r, n, o) { - super(t, r, void 0, !1), - (this.importFn = t), - (this.getProjectAnnotations = r), - (this.selectionStore = n), - (this.view = o), - this.initialize(); - } - setupListeners() { - super.setupListeners(), - (Em.onkeydown = this.onKeydown.bind(this)), - this.channel.on(ci, this.onSetCurrentStory.bind(this)), - this.channel.on(xi, this.onUpdateQueryParams.bind(this)), - this.channel.on(li, this.onPreloadStories.bind(this)); - } - async setInitialGlobals() { - if (!this.storyStoreValue) - throw new Ne({ methodName: "setInitialGlobals" }); - let { globals: t } = this.selectionStore.selectionSpecifier || {}; - t && this.storyStoreValue.userGlobals.updateFromPersisted(t), - this.emitGlobals(); - } - async initializeWithStoryIndex(t) { - return ( - await super.initializeWithStoryIndex(t), this.selectSpecifiedStory() - ); - } - async selectSpecifiedStory() { - if (!this.storyStoreValue) - throw new Ne({ methodName: "selectSpecifiedStory" }); - if (this.selectionStore.selection) { - await this.renderSelection(); - return; - } - if (!this.selectionStore.selectionSpecifier) { - this.renderMissingStory(); - return; - } - let { storySpecifier: t, args: r } = - this.selectionStore.selectionSpecifier, - n = this.storyStoreValue.storyIndex.entryFromSpecifier(t); - if (!n) { - t === "*" - ? this.renderStoryLoadingException(t, new ss()) - : this.renderStoryLoadingException( - t, - new us({ storySpecifier: t.toString() }), - ); - return; - } - let { id: o, type: a } = n; - this.selectionStore.setSelection({ storyId: o, viewMode: a }), - this.channel.emit(gi, this.selectionStore.selection), - this.channel.emit(Jn, this.selectionStore.selection), - await this.renderSelection({ persistedArgs: r }); - } - async onGetProjectAnnotationsChanged({ getProjectAnnotations: t }) { - await super.onGetProjectAnnotationsChanged({ - getProjectAnnotations: t, - }), - this.selectionStore.selection && this.renderSelection(); - } - async onStoriesChanged({ importFn: t, storyIndex: r }) { - await super.onStoriesChanged({ importFn: t, storyIndex: r }), - this.selectionStore.selection - ? await this.renderSelection() - : await this.selectSpecifiedStory(); - } - onKeydown(t) { - if (!this.storyRenders.find((r) => r.disableKeyListeners) && !Nl(t)) { - let { - altKey: r, - ctrlKey: n, - metaKey: o, - shiftKey: a, - key: i, - code: l, - keyCode: s, - } = t; - this.channel.emit(ui, { - event: { - altKey: r, - ctrlKey: n, - metaKey: o, - shiftKey: a, - key: i, - code: l, - keyCode: s, - }, - }); - } - } - async onSetCurrentStory(t) { - this.selectionStore.setSelection({ viewMode: "story", ...t }), - await this.storeInitializationPromise, - this.channel.emit(Jn, this.selectionStore.selection), - this.renderSelection(); - } - onUpdateQueryParams(t) { - this.selectionStore.setQueryParams(t); - } - async onUpdateGlobals({ globals: t }) { - let r = - (this.currentRender instanceof wo && this.currentRender.story) || - void 0; - super.onUpdateGlobals({ globals: t, currentStory: r }), - (this.currentRender instanceof Ls || - this.currentRender instanceof js) && - (await this.currentRender.rerender?.()); - } - async onUpdateArgs({ storyId: t, updatedArgs: r }) { - super.onUpdateArgs({ storyId: t, updatedArgs: r }); - } - async onPreloadStories({ ids: t }) { - await this.storeInitializationPromise, - this.storyStoreValue && - (await Promise.allSettled( - t.map((r) => this.storyStoreValue?.loadEntry(r)), - )); - } - async renderSelection({ persistedArgs: t } = {}) { - let { renderToCanvas: r } = this; - if (!this.storyStoreValue || !r) - throw new Ne({ methodName: "renderSelection" }); - let { selection: n } = this.selectionStore; - if (!n) - throw new Error( - "Cannot call renderSelection as no selection was made", - ); - let { storyId: o } = n, - a; - try { - a = await this.storyStoreValue.storyIdToEntry(o); - } catch (h) { - this.currentRender && (await this.teardownRender(this.currentRender)), - this.renderStoryLoadingException(o, h); - return; - } - let i = this.currentSelection?.storyId !== o, - l = this.currentRender?.type !== a.type; - a.type === "story" - ? this.view.showPreparingStory({ immediate: l }) - : this.view.showPreparingDocs({ immediate: l }), - this.currentRender?.isPreparing() && - (await this.teardownRender(this.currentRender)); - let s; - a.type === "story" - ? (s = new wo( - this.channel, - this.storyStoreValue, - r, - this.mainStoryCallbacks(o), - o, - "story", - )) - : jl(a) - ? (s = new Ls( - this.channel, - this.storyStoreValue, - a, - this.mainStoryCallbacks(o), - )) - : (s = new js( - this.channel, - this.storyStoreValue, - a, - this.mainStoryCallbacks(o), - )); - let c = this.currentSelection; - this.currentSelection = n; - let d = this.currentRender; - this.currentRender = s; - try { - await s.prepare(); - } catch (h) { - d && (await this.teardownRender(d)), - h !== tn && this.renderStoryLoadingException(o, h); - return; - } - let p = !i && d && !s.isEqual(d); - if ( - (t && - Kr(s) && - (Wr(!!s.story), - this.storyStoreValue.args.updateFromPersisted(s.story, t)), - d && !d.torndown && !i && !p && !l) - ) { - (this.currentRender = d), - this.channel.emit(Ei, o), - this.view.showMain(); - return; - } - if ( - (d && (await this.teardownRender(d, { viewModeChanged: l })), - c && (i || l) && this.channel.emit(fi, o), - Kr(s)) - ) { - Wr(!!s.story); - let { - parameters: h, - initialArgs: f, - argTypes: b, - unmappedArgs: g, - initialGlobals: x, - userGlobals: S, - storyGlobals: A, - globals: k, - } = this.storyStoreValue.getStoryContext(s.story); - this.channel.emit(yi, { - id: o, - parameters: h, - initialArgs: f, - argTypes: b, - args: g, - }), - this.channel.emit($t, { - userGlobals: S, - storyGlobals: A, - globals: k, - initialGlobals: x, - }); - } else { - let { parameters: h } = this.storyStoreValue.projectAnnotations, - { initialGlobals: f, globals: b } = - this.storyStoreValue.userGlobals; - if ( - (this.channel.emit($t, { - globals: b, - initialGlobals: f, - storyGlobals: {}, - userGlobals: b, - }), - Ml(s) || s.entry.tags?.includes(Bl)) - ) { - if (!s.csfFiles) throw new as({ storyId: o }); - ({ parameters: h } = this.storyStoreValue.preparedMetaFromCSFFile({ - csfFile: s.csfFiles[0], - })); - } - this.channel.emit(oi, { id: o, parameters: h }); - } - Kr(s) - ? (Wr(!!s.story), - this.storyRenders.push(s), - this.currentRender.renderToElement( - this.view.prepareForStory(s.story), - )) - : this.currentRender.renderToElement( - this.view.prepareForDocs(), - this.renderStoryToElement.bind(this), - ); - } - async teardownRender(t, { viewModeChanged: r = !1 } = {}) { - (this.storyRenders = this.storyRenders.filter((n) => n !== t)), - await t?.teardown?.({ viewModeChanged: r }); - } - mainStoryCallbacks(t) { - return { - showStoryDuringRender: E( - () => this.view.showStoryDuringRender(), - "showStoryDuringRender", - ), - showMain: E(() => this.view.showMain(), "showMain"), - showError: E((r) => this.renderError(t, r), "showError"), - showException: E((r) => this.renderException(t, r), "showException"), - }; - } - renderPreviewEntryError(t, r) { - super.renderPreviewEntryError(t, r), this.view.showErrorDisplay(r); - } - renderMissingStory() { - this.view.showNoPreview(), this.channel.emit(Hn); - } - renderStoryLoadingException(t, r) { - Q.error(r), this.view.showErrorDisplay(r), this.channel.emit(Hn, t); - } - renderException(t, r) { - let { name: n = "Error", message: o = String(r), stack: a } = r; - this.channel.emit(bi, { name: n, message: o, stack: a }), - this.channel.emit(qt, { newPhase: "errored", storyId: t }), - this.view.showErrorDisplay(r), - Q.error(`Error rendering story '${t}':`), - Q.error(r); - } - renderError(t, { title: r, description: n }) { - Q.error(`Error rendering story ${r}: ${n}`), - this.channel.emit(hi, { title: r, description: n }), - this.channel.emit(qt, { newPhase: "errored", storyId: t }), - this.view.showErrorDisplay({ message: r, stack: n }); - } - }; - E(Ul, "PreviewWithSelection"); - var xm = Ul, - Ao = Ht(Oo(), 1), - Sm = Ht(Oo(), 1), - Ms = /^[a-zA-Z0-9 _-]*$/, - $l = /^-?[0-9]+(\.[0-9]+)?$/, - wm = /^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i, - ql = - /^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i, - To = E( - (e = "", t) => - e === null || e === "" || !Ms.test(e) - ? !1 - : t == null || - t instanceof Date || - typeof t == "number" || - typeof t == "boolean" - ? !0 - : typeof t == "string" - ? Ms.test(t) || $l.test(t) || wm.test(t) || ql.test(t) - : Array.isArray(t) - ? t.every((r) => To(e, r)) - : Je(t) - ? Object.entries(t).every(([r, n]) => To(r, n)) - : !1, - "validateArgs", - ), - Am = { - delimiter: ";", - nesting: !0, - arrayRepeat: !0, - arrayRepeatSyntax: "bracket", - nestingSyntax: "js", - valueDeserializer(e) { - if (e.startsWith("!")) { - if (e === "!undefined") return; - if (e === "!null") return null; - if (e === "!true") return !0; - if (e === "!false") return !1; - if (e.startsWith("!date(") && e.endsWith(")")) - return new Date(e.replaceAll(" ", "+").slice(6, -1)); - if (e.startsWith("!hex(") && e.endsWith(")")) - return `#${e.slice(5, -1)}`; - let t = e.slice(1).match(ql); - if (t) - return e.startsWith("!rgba") || e.startsWith("!RGBA") - ? `${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})` - : e.startsWith("!hsla") || e.startsWith("!HSLA") - ? `${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})` - : e.startsWith("!rgb") || e.startsWith("!RGB") - ? `${t[1]}(${t[2]}, ${t[3]}, ${t[4]})` - : `${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`; - } - return $l.test(e) ? Number(e) : e; - }, - }, - Us = E((e) => { - let t = e.split(";").map((r) => r.replace("=", "~").replace(":", "=")); - return Object.entries((0, Sm.parse)(t.join(";"), Am)).reduce( - (r, [n, o]) => - To(n, o) - ? Object.assign(r, { [n]: o }) - : (ct.warn(Me` - Omitted potentially unsafe URL args. - - More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url - `), - r), - {}, - ); - }, "parseArgsParam"), - { history: Vl, document: ft } = be; - function Jl(e) { - let t = (e || "").match(/^\/story\/(.+)/); - if (!t) - throw new Error(`Invalid path '${e}', must start with '/story/'`); - return t[1]; - } - E(Jl, "pathToId"); - var zl = E(({ selection: e, extraParams: t }) => { - let r = ft?.location.search.slice(1), - { - path: n, - selectedKind: o, - selectedStory: a, - ...i - } = (0, Ao.parse)(r); - return `?${(0, Ao.stringify)({ ...i, ...t, ...(e && { id: e.storyId, viewMode: e.viewMode }) })}`; - }, "getQueryString"), - Tm = E((e) => { - if (!e) return; - let t = zl({ selection: e }), - { hash: r = "" } = ft.location; - (ft.title = e.storyId), - Vl.replaceState({}, "", `${ft.location.pathname}${t}${r}`); - }, "setPath"), - Cm = E( - (e) => e != null && typeof e == "object" && Array.isArray(e) === !1, - "isObject", - ), - pr = E((e) => { - if (e !== void 0) { - if (typeof e == "string") return e; - if (Array.isArray(e)) return pr(e[0]); - if (Cm(e)) return pr(Object.values(e).filter(Boolean)); - } - }, "getFirstString"), - km = E(() => { - if (typeof ft < "u") { - let e = ft.location.search.slice(1), - t = (0, Ao.parse)(e), - r = typeof t.args == "string" ? Us(t.args) : void 0, - n = typeof t.globals == "string" ? Us(t.globals) : void 0, - o = pr(t.viewMode); - (typeof o != "string" || !o.match(/docs|story/)) && (o = "story"); - let a = pr(t.path), - i = a ? Jl(a) : pr(t.id); - if (i) return { storySpecifier: i, args: r, globals: n, viewMode: o }; - } - return null; - }, "getSelectionSpecifierFromPath"), - Hl = class { - constructor() { - this.selectionSpecifier = km(); - } - setSelection(t) { - (this.selection = t), Tm(this.selection); - } - setQueryParams(t) { - let r = zl({ extraParams: t }), - { hash: n = "" } = ft.location; - Vl.replaceState({}, "", `${ft.location.pathname}${r}${n}`); - } - }; - E(Hl, "UrlStore"); - var Im = Hl, - Om = Ht(nh(), 1), - Dm = Ht(Oo(), 1), - { document: ke } = be, - $s = 100, - Gl = ((e) => ( - (e.MAIN = "MAIN"), - (e.NOPREVIEW = "NOPREVIEW"), - (e.PREPARING_STORY = "PREPARING_STORY"), - (e.PREPARING_DOCS = "PREPARING_DOCS"), - (e.ERROR = "ERROR"), - e - ))(Gl || {}), - co = { - PREPARING_STORY: "sb-show-preparing-story", - PREPARING_DOCS: "sb-show-preparing-docs", - MAIN: "sb-show-main", - NOPREVIEW: "sb-show-nopreview", - ERROR: "sb-show-errordisplay", - }, - po = { - centered: "sb-main-centered", - fullscreen: "sb-main-fullscreen", - padded: "sb-main-padded", - }, - qs = new Om.default({ escapeXML: !0 }), - Wl = class { - constructor() { - if (((this.testing = !1), typeof ke < "u")) { - let { __SPECIAL_TEST_PARAMETER__: t } = (0, Dm.parse)( - ke.location.search.slice(1), - ); - switch (t) { - case "preparing-story": { - this.showPreparingStory(), (this.testing = !0); - break; - } - case "preparing-docs": { - this.showPreparingDocs(), (this.testing = !0); - break; - } - default: - } - } - } - prepareForStory(t) { - return ( - this.showStory(), - this.applyLayout(t.parameters.layout), - (ke.documentElement.scrollTop = 0), - (ke.documentElement.scrollLeft = 0), - this.storyRoot() - ); - } - storyRoot() { - return ke.getElementById("storybook-root"); - } - prepareForDocs() { - return ( - this.showMain(), - this.showDocs(), - this.applyLayout("fullscreen"), - (ke.documentElement.scrollTop = 0), - (ke.documentElement.scrollLeft = 0), - this.docsRoot() - ); - } - docsRoot() { - return ke.getElementById("storybook-docs"); - } - applyLayout(t = "padded") { - if (t === "none") { - ke.body.classList.remove(this.currentLayoutClass), - (this.currentLayoutClass = null); - return; - } - this.checkIfLayoutExists(t); - let r = po[t]; - ke.body.classList.remove(this.currentLayoutClass), - ke.body.classList.add(r), - (this.currentLayoutClass = r); - } - checkIfLayoutExists(t) { - po[t] || - Q.warn(Me` - The desired layout: ${t} is not a valid option. - The possible options are: ${Object.keys(po).join(", ")}, none. - `); - } - showMode(t) { - clearTimeout(this.preparingTimeout), - Object.keys(Gl).forEach((r) => { - r === t - ? ke.body.classList.add(co[r]) - : ke.body.classList.remove(co[r]); - }); - } - showErrorDisplay({ message: t = "", stack: r = "" }) { - let n = t, - o = r, - a = t.split(` -`); - a.length > 1 && - (([n] = a), - (o = a - .slice(1) - .join( - ` -`, - ) - .replace(/^\n/, ""))), - (ke.getElementById("error-message").innerHTML = qs.toHtml(n)), - (ke.getElementById("error-stack").innerHTML = qs.toHtml(o)), - this.showMode("ERROR"); - } - showNoPreview() { - this.testing || - (this.showMode("NOPREVIEW"), - this.storyRoot()?.setAttribute("hidden", "true"), - this.docsRoot()?.setAttribute("hidden", "true")); - } - showPreparingStory({ immediate: t = !1 } = {}) { - clearTimeout(this.preparingTimeout), - t - ? this.showMode("PREPARING_STORY") - : (this.preparingTimeout = setTimeout( - () => this.showMode("PREPARING_STORY"), - $s, - )); - } - showPreparingDocs({ immediate: t = !1 } = {}) { - clearTimeout(this.preparingTimeout), - t - ? this.showMode("PREPARING_DOCS") - : (this.preparingTimeout = setTimeout( - () => this.showMode("PREPARING_DOCS"), - $s, - )); - } - showMain() { - this.showMode("MAIN"); - } - showDocs() { - this.storyRoot().setAttribute("hidden", "true"), - this.docsRoot().removeAttribute("hidden"); - } - showStory() { - this.docsRoot().setAttribute("hidden", "true"), - this.storyRoot().removeAttribute("hidden"); - } - showStoryDuringRender() { - ke.body.classList.add(co.MAIN); - } - }; - E(Wl, "WebView"); - var Rm = Wl, - _m = class extends xm { - constructor(t, r) { - super(t, r, new Im(), new Rm()), - (this.importFn = t), - (this.getProjectAnnotations = r), - (be.__STORYBOOK_PREVIEW__ = this); - } - }; - E(_m, "PreviewWeb"); - var { document: Tt } = be, - Pm = [ - "application/javascript", - "application/ecmascript", - "application/x-ecmascript", - "application/x-javascript", - "text/ecmascript", - "text/javascript", - "text/javascript1.0", - "text/javascript1.1", - "text/javascript1.2", - "text/javascript1.3", - "text/javascript1.4", - "text/javascript1.5", - "text/jscript", - "text/livescript", - "text/x-ecmascript", - "text/x-javascript", - "module", - ], - Fm = "script", - Vs = "scripts-root"; - function Co() { - let e = Tt.createEvent("Event"); - e.initEvent("DOMContentLoaded", !0, !0), Tt.dispatchEvent(e); - } - E(Co, "simulateDOMContentLoaded"); - function Kl(e, t, r) { - let n = Tt.createElement("script"); - (n.type = e.type === "module" ? "module" : "text/javascript"), - e.src - ? ((n.onload = t), (n.onerror = t), (n.src = e.src)) - : (n.textContent = e.innerText), - r ? r.appendChild(n) : Tt.head.appendChild(n), - e.parentNode.removeChild(e), - e.src || t(); - } - E(Kl, "insertScript"); - function Mo(e, t, r = 0) { - e[r](() => { - r++, r === e.length ? t() : Mo(e, t, r); - }); - } - E(Mo, "insertScriptsSequentially"); - function Nm(e) { - let t = Tt.getElementById(Vs); - t - ? (t.innerHTML = "") - : ((t = Tt.createElement("div")), (t.id = Vs), Tt.body.appendChild(t)); - let r = Array.from(e.querySelectorAll(Fm)); - if (r.length) { - let n = []; - r.forEach((o) => { - let a = o.getAttribute("type"); - (!a || Pm.includes(a)) && n.push((i) => Kl(o, i, t)); - }), - n.length && Mo(n, Co, void 0); - } else Co(); - } - E(Nm, "simulatePageLoad"); - V(); - J(); - z(); - V(); - J(); - z(); - var Gt = vp(Xl(), 1); - var Bm = Object.defineProperty, - N = (e, t) => Bm(e, "name", { value: t, configurable: !0 }), - jm = N((e) => e.name === "literal", "isLiteral"), - Lm = N((e) => e.value.replace(/['|"]/g, ""), "toEnumOption"), - Mm = N((e) => { - switch (e.type) { - case "function": - return { name: "function" }; - case "object": - let t = {}; - return ( - e.signature.properties.forEach((r) => { - t[r.key] = gr(r.value); - }), - { name: "object", value: t } - ); - default: - throw new zr({ type: e, language: "Flow" }); - } - }, "convertSig"), - gr = N((e) => { - let { name: t, raw: r } = e, - n = {}; - switch ((typeof r < "u" && (n.raw = r), e.name)) { - case "literal": - return { ...n, name: "other", value: e.value }; - case "string": - case "number": - case "symbol": - case "boolean": - return { ...n, name: t }; - case "Array": - return { ...n, name: "array", value: e.elements.map(gr) }; - case "signature": - return { ...n, ...Mm(e) }; - case "union": - return e.elements?.every(jm) - ? { ...n, name: "enum", value: e.elements?.map(Lm) } - : { ...n, name: t, value: e.elements?.map(gr) }; - case "intersection": - return { ...n, name: t, value: e.elements?.map(gr) }; - default: - return { ...n, name: "other", value: t }; - } - }, "convert"); - function Ql(e, t) { - let r = {}, - n = Object.keys(e); - for (let o = 0; o < n.length; o++) { - let a = n[o], - i = e[a]; - r[a] = t(i, a, e); - } - return r; - } - N(Ql, "mapValues"); - var Zl = /^['"]|['"]$/g, - Um = N((e) => e.replace(Zl, ""), "trimQuotes"), - $m = N((e) => Zl.test(e), "includesQuotes"), - eu = N((e) => { - let t = Um(e); - return $m(e) || Number.isNaN(Number(t)) ? t : Number(t); - }, "parseLiteral"), - qm = /^\(.*\) => /, - yr = N((e) => { - let { name: t, raw: r, computed: n, value: o } = e, - a = {}; - switch ((typeof r < "u" && (a.raw = r), t)) { - case "enum": { - let l = n ? o : o.map((s) => eu(s.value)); - return { ...a, name: t, value: l }; - } - case "string": - case "number": - case "symbol": - return { ...a, name: t }; - case "func": - return { ...a, name: "function" }; - case "bool": - case "boolean": - return { ...a, name: "boolean" }; - case "arrayOf": - case "array": - return { ...a, name: "array", value: o && yr(o) }; - case "object": - return { ...a, name: t }; - case "objectOf": - return { ...a, name: t, value: yr(o) }; - case "shape": - case "exact": - let i = Ql(o, (l) => yr(l)); - return { ...a, name: "object", value: i }; - case "union": - return { ...a, name: "union", value: o.map((l) => yr(l)) }; - case "instanceOf": - case "element": - case "elementType": - default: { - if (t?.indexOf("|") > 0) - try { - let c = t.split("|").map((d) => JSON.parse(d)); - return { ...a, name: "enum", value: c }; - } catch {} - let l = o ? `${t}(${o})` : t, - s = qm.test(t) ? "function" : "other"; - return { ...a, name: s, value: l }; - } - } - }, "convert"), - Vm = N((e) => { - switch (e.type) { - case "function": - return { name: "function" }; - case "object": - let t = {}; - return ( - e.signature.properties.forEach((r) => { - t[r.key] = br(r.value); - }), - { name: "object", value: t } - ); - default: - throw new zr({ type: e, language: "Typescript" }); - } - }, "convertSig"), - br = N((e) => { - let { name: t, raw: r } = e, - n = {}; - switch ((typeof r < "u" && (n.raw = r), e.name)) { - case "string": - case "number": - case "symbol": - case "boolean": - return { ...n, name: t }; - case "Array": - return { ...n, name: "array", value: e.elements.map(br) }; - case "signature": - return { ...n, ...Vm(e) }; - case "union": - let o; - return ( - e.elements?.every((a) => a.name === "literal") - ? (o = { - ...n, - name: "enum", - value: e.elements?.map((a) => eu(a.value)), - }) - : (o = { ...n, name: t, value: e.elements?.map(br) }), - o - ); - case "intersection": - return { ...n, name: t, value: e.elements?.map(br) }; - default: - return { ...n, name: "other", value: t }; - } - }, "convert"), - Uo = N((e) => { - let { type: t, tsType: r, flowType: n } = e; - try { - if (t != null) return yr(t); - if (r != null) return br(r); - if (n != null) return gr(n); - } catch (o) { - console.error(o); - } - return null; - }, "convert"), - Jm = ((e) => ( - (e.JAVASCRIPT = "JavaScript"), - (e.FLOW = "Flow"), - (e.TYPESCRIPT = "TypeScript"), - (e.UNKNOWN = "Unknown"), - e - ))(Jm || {}), - zm = ["null", "undefined"]; - function nn(e) { - return zm.some((t) => t === e); - } - N(nn, "isDefaultValueBlacklisted"); - var Hm = N((e) => { - if (!e) return ""; - if (typeof e == "string") return e; - throw new Error( - `Description: expected string, got: ${JSON.stringify(e)}`, - ); - }, "str"); - function $o(e) { - return !!e.__docgenInfo; - } - N($o, "hasDocgen"); - function tu(e) { - return e != null && Object.keys(e).length > 0; - } - N(tu, "isValidDocgenSection"); - function ru(e, t) { - return $o(e) ? e.__docgenInfo[t] : null; - } - N(ru, "getDocgenSection"); - function nu(e) { - return $o(e) ? Hm(e.__docgenInfo.description) : ""; - } - N(nu, "getDocgenDescription"); - var ht; - (function (e) { - (e.start = "/**"), (e.nostart = "/***"), (e.delim = "*"), (e.end = "*/"); - })((ht = ht || (ht = {}))); - function ou(e) { - return /^\s+$/.test(e); - } - N(ou, "isSpace"); - function au(e) { - let t = e.match(/\r+$/); - return t == null - ? ["", e] - : [e.slice(-t[0].length), e.slice(0, -t[0].length)]; - } - N(au, "splitCR"); - function It(e) { - let t = e.match(/^\s+/); - return t == null - ? ["", e] - : [e.slice(0, t[0].length), e.slice(t[0].length)]; - } - N(It, "splitSpace"); - function iu(e) { - return e.split(/\n/); - } - N(iu, "splitLines"); - function su(e = {}) { - return Object.assign( - { - tag: "", - name: "", - type: "", - optional: !1, - description: "", - problems: [], - source: [], - }, - e, - ); - } - N(su, "seedSpec"); - function lu(e = {}) { - return Object.assign( - { - start: "", - delimiter: "", - postDelimiter: "", - tag: "", - postTag: "", - name: "", - postName: "", - type: "", - postType: "", - description: "", - end: "", - lineEnd: "", - }, - e, - ); - } - N(lu, "seedTokens"); - var Gm = /^@\S+/; - function uu({ fence: e = "```" } = {}) { - let t = cu(e), - r = N((n, o) => (t(n) ? !o : o), "toggleFence"); - return N(function (n) { - let o = [[]], - a = !1; - for (let i of n) - Gm.test(i.tokens.description) && !a - ? o.push([i]) - : o[o.length - 1].push(i), - (a = r(i.tokens.description, a)); - return o; - }, "parseBlock"); - } - N(uu, "getParser"); - function cu(e) { - return typeof e == "string" ? (t) => t.split(e).length % 2 === 0 : e; - } - N(cu, "getFencer"); - function du({ startLine: e = 0, markers: t = ht } = {}) { - let r = null, - n = e; - return N(function (o) { - let a = o, - i = lu(); - if ( - (([i.lineEnd, a] = au(a)), - ([i.start, a] = It(a)), - r === null && - a.startsWith(t.start) && - !a.startsWith(t.nostart) && - ((r = []), - (i.delimiter = a.slice(0, t.start.length)), - (a = a.slice(t.start.length)), - ([i.postDelimiter, a] = It(a))), - r === null) - ) - return n++, null; - let l = a.trimRight().endsWith(t.end); - if ( - (i.delimiter === "" && - a.startsWith(t.delim) && - !a.startsWith(t.end) && - ((i.delimiter = t.delim), - (a = a.slice(t.delim.length)), - ([i.postDelimiter, a] = It(a))), - l) - ) { - let s = a.trimRight(); - (i.end = a.slice(s.length - t.end.length)), - (a = s.slice(0, -t.end.length)); - } - if ( - ((i.description = a), - r.push({ number: n, source: o, tokens: i }), - n++, - l) - ) { - let s = r.slice(); - return (r = null), s; - } - return null; - }, "parseSource"); - } - N(du, "getParser"); - function pu({ tokenizers: e }) { - return N(function (t) { - var r; - let n = su({ source: t }); - for (let o of e) - if ( - ((n = o(n)), - !( - (r = n.problems[n.problems.length - 1]) === null || r === void 0 - ) && r.critical) - ) - break; - return n; - }, "parseSpec"); - } - N(pu, "getParser"); - function fu() { - return (e) => { - let { tokens: t } = e.source[0], - r = t.description.match(/\s*(@(\S+))(\s*)/); - return r === null - ? (e.problems.push({ - code: "spec:tag:prefix", - message: 'tag should start with "@" symbol', - line: e.source[0].number, - critical: !0, - }), - e) - : ((t.tag = r[1]), - (t.postTag = r[3]), - (t.description = t.description.slice(r[0].length)), - (e.tag = r[2]), - e); - }; - } - N(fu, "tagTokenizer"); - function hu(e = "compact") { - let t = mu(e); - return (r) => { - let n = 0, - o = []; - for (let [l, { tokens: s }] of r.source.entries()) { - let c = ""; - if (l === 0 && s.description[0] !== "{") return r; - for (let d of s.description) - if ((d === "{" && n++, d === "}" && n--, (c += d), n === 0)) break; - if ((o.push([s, c]), n === 0)) break; - } - if (n !== 0) - return ( - r.problems.push({ - code: "spec:type:unpaired-curlies", - message: "unpaired curlies", - line: r.source[0].number, - critical: !0, - }), - r - ); - let a = [], - i = o[0][0].postDelimiter.length; - for (let [l, [s, c]] of o.entries()) - (s.type = c), - l > 0 && - ((s.type = s.postDelimiter.slice(i) + c), - (s.postDelimiter = s.postDelimiter.slice(0, i))), - ([s.postType, s.description] = It(s.description.slice(c.length))), - a.push(s.type); - return ( - (a[0] = a[0].slice(1)), - (a[a.length - 1] = a[a.length - 1].slice(0, -1)), - (r.type = t(a)), - r - ); - }; - } - N(hu, "typeTokenizer"); - var Wm = N((e) => e.trim(), "trim"); - function mu(e) { - return e === "compact" - ? (t) => t.map(Wm).join("") - : e === "preserve" - ? (t) => - t.join(` -`) - : e; - } - N(mu, "getJoiner"); - var Km = N((e) => e && e.startsWith('"') && e.endsWith('"'), "isQuoted"); - function yu() { - let e = N((t, { tokens: r }, n) => (r.type === "" ? t : n), "typeEnd"); - return (t) => { - let { tokens: r } = t.source[t.source.reduce(e, 0)], - n = r.description.trimLeft(), - o = n.split('"'); - if (o.length > 1 && o[0] === "" && o.length % 2 === 1) - return ( - (t.name = o[1]), - (r.name = `"${o[1]}"`), - ([r.postName, r.description] = It(n.slice(r.name.length))), - t - ); - let a = 0, - i = "", - l = !1, - s; - for (let d of n) { - if (a === 0 && ou(d)) break; - d === "[" && a++, d === "]" && a--, (i += d); - } - if (a !== 0) - return ( - t.problems.push({ - code: "spec:name:unpaired-brackets", - message: "unpaired brackets", - line: t.source[0].number, - critical: !0, - }), - t - ); - let c = i; - if (i[0] === "[" && i[i.length - 1] === "]") { - (l = !0), (i = i.slice(1, -1)); - let d = i.split("="); - if ( - ((i = d[0].trim()), - d[1] !== void 0 && (s = d.slice(1).join("=").trim()), - i === "") - ) - return ( - t.problems.push({ - code: "spec:name:empty-name", - message: "empty name", - line: t.source[0].number, - critical: !0, - }), - t - ); - if (s === "") - return ( - t.problems.push({ - code: "spec:name:empty-default", - message: "empty default value", - line: t.source[0].number, - critical: !0, - }), - t - ); - if (!Km(s) && /=(?!>)/.test(s)) - return ( - t.problems.push({ - code: "spec:name:invalid-default", - message: "invalid default value syntax", - line: t.source[0].number, - critical: !0, - }), - t - ); - } - return ( - (t.optional = l), - (t.name = i), - (r.name = c), - s !== void 0 && (t.default = s), - ([r.postName, r.description] = It(n.slice(r.name.length))), - t - ); - }; - } - N(yu, "nameTokenizer"); - function gu(e = "compact", t = ht) { - let r = qo(e); - return (n) => ((n.description = r(n.source, t)), n); - } - N(gu, "descriptionTokenizer"); - function qo(e) { - return e === "compact" ? bu : e === "preserve" ? Eu : e; - } - N(qo, "getJoiner"); - function bu(e, t = ht) { - return e - .map(({ tokens: { description: r } }) => r.trim()) - .filter((r) => r !== "") - .join(" "); - } - N(bu, "compactJoiner"); - var Ym = N((e, { tokens: t }, r) => (t.type === "" ? e : r), "lineNo"), - Xm = N( - ({ tokens: e }) => - (e.delimiter === "" ? e.start : e.postDelimiter.slice(1)) + - e.description, - "getDescription", - ); - function Eu(e, t = ht) { - if (e.length === 0) return ""; - e[0].tokens.description === "" && - e[0].tokens.delimiter === t.start && - (e = e.slice(1)); - let r = e[e.length - 1]; - return ( - r !== void 0 && - r.tokens.description === "" && - r.tokens.end.endsWith(t.end) && - (e = e.slice(0, -1)), - (e = e.slice(e.reduce(Ym, 0))), - e.map(Xm).join(` -`) - ); - } - N(Eu, "preserveJoiner"); - function vu({ - startLine: e = 0, - fence: t = "```", - spacing: r = "compact", - markers: n = ht, - tokenizers: o = [fu(), hu(r), yu(), gu(r)], - } = {}) { - if (e < 0 || e % 1 > 0) throw new Error("Invalid startLine"); - let a = du({ startLine: e, markers: n }), - i = uu({ fence: t }), - l = pu({ tokenizers: o }), - s = qo(r); - return function (c) { - let d = []; - for (let p of iu(c)) { - let h = a(p); - if (h === null) continue; - let f = i(h), - b = f.slice(1).map(l); - d.push({ - description: s(f[0], n), - tags: b, - source: h, - problems: b.reduce((g, x) => g.concat(x.problems), []), - }); - } - return d; - }; - } - N(vu, "getParser"); - function xu(e) { - return ( - e.start + - e.delimiter + - e.postDelimiter + - e.tag + - e.postTag + - e.type + - e.postType + - e.name + - e.postName + - e.description + - e.end + - e.lineEnd - ); - } - N(xu, "join"); - function Su() { - return (e) => - e.source.map(({ tokens: t }) => xu(t)).join(` -`); - } - N(Su, "getStringifier"); - var Qm = { - line: 0, - start: 0, - delimiter: 0, - postDelimiter: 0, - tag: 0, - postTag: 0, - name: 0, - postName: 0, - type: 0, - postType: 0, - description: 0, - end: 0, - lineEnd: 0, - }, - wI = Object.keys(Qm); - function wu(e, t = {}) { - return vu(t)(e); - } - N(wu, "parse"); - var AI = Su(); - function Au(e) { - return e != null && e.includes("@"); - } - N(Au, "containsJsDoc"); - function Tu(e) { - let t = - `/** -` + - (e ?? "") - .split( - ` -`, - ) - .map((n) => ` * ${n}`).join(` -`) + - ` -*/`, - r = wu(t, { spacing: "preserve" }); - if (!r || r.length === 0) throw new Error("Cannot parse JSDoc tags."); - return r[0]; - } - N(Tu, "parse"); - var Zm = { - tags: ["param", "arg", "argument", "returns", "ignore", "deprecated"], - }, - ey = N((e, t = Zm) => { - if (!Au(e)) return { includesJsDoc: !1, ignore: !1 }; - let r = Tu(e), - n = Cu(r, t.tags); - return n.ignore - ? { includesJsDoc: !0, ignore: !0 } - : { - includesJsDoc: !0, - ignore: !1, - description: r.description.trim(), - extractedTags: n, - }; - }, "parseJsDoc"); - function Cu(e, t) { - let r = { params: null, deprecated: null, returns: null, ignore: !1 }; - for (let n of e.tags) - if (!(t !== void 0 && !t.includes(n.tag))) - if (n.tag === "ignore") { - r.ignore = !0; - break; - } else - switch (n.tag) { - case "param": - case "arg": - case "argument": { - let o = Iu(n); - o != null && - (r.params == null && (r.params = []), r.params.push(o)); - break; - } - case "deprecated": { - let o = Ou(n); - o != null && (r.deprecated = o); - break; - } - case "returns": { - let o = Du(n); - o != null && (r.returns = o); - break; - } - default: - break; - } - return r; - } - N(Cu, "extractJsDocTags"); - function ku(e) { - return e.replace(/[\.-]$/, ""); - } - N(ku, "normaliseParamName"); - function Iu(e) { - if (!e.name || e.name === "-") return null; - let t = zo(e.type); - return { - name: e.name, - type: t, - description: Jo(e.description), - getPrettyName: N(() => ku(e.name), "getPrettyName"), - getTypeName: N(() => (t ? Ho(t) : null), "getTypeName"), - }; - } - N(Iu, "extractParam"); - function Ou(e) { - return e.name ? Vo(e.name, e.description) : null; - } - N(Ou, "extractDeprecated"); - function Vo(e, t) { - let r = e === "" ? t : `${e} ${t}`; - return Jo(r); - } - N(Vo, "joinNameAndDescription"); - function Jo(e) { - let t = e.replace(/^- /g, "").trim(); - return t === "" ? null : t; - } - N(Jo, "normaliseDescription"); - function Du(e) { - let t = zo(e.type); - return t - ? { - type: t, - description: Vo(e.name, e.description), - getTypeName: N(() => Ho(t), "getTypeName"), - } - : null; - } - N(Du, "extractReturns"); - var mt = (0, Gt.stringifyRules)(), - ty = mt.JsdocTypeObject; - mt.JsdocTypeAny = () => "any"; - mt.JsdocTypeObject = (e, t) => `(${ty(e, t)})`; - mt.JsdocTypeOptional = (e, t) => t(e.element); - mt.JsdocTypeNullable = (e, t) => t(e.element); - mt.JsdocTypeNotNullable = (e, t) => t(e.element); - mt.JsdocTypeUnion = (e, t) => e.elements.map(t).join("|"); - function zo(e) { - try { - return (0, Gt.parse)(e, "typescript"); - } catch { - return null; - } - } - N(zo, "extractType"); - function Ho(e) { - return (0, Gt.transform)(mt, e); - } - N(Ho, "extractTypeName"); - function Go(e) { - return e.length > 90; - } - N(Go, "isTooLongForTypeSummary"); - function Ru(e) { - return e.length > 50; - } - N(Ru, "isTooLongForDefaultValueSummary"); - function fe(e, t) { - return e === t ? { summary: e } : { summary: e, detail: t }; - } - N(fe, "createSummaryValue"); - var TI = N((e) => e.replace(/\\r\\n/g, "\\n"), "normalizeNewlines"); - function _u(e, t) { - if (e != null) { - let { value: r } = e; - if (!nn(r)) return Ru(r) ? fe(t?.name, r) : fe(r); - } - return null; - } - N(_u, "createDefaultValue"); - function Wo({ name: e, value: t, elements: r, raw: n }) { - return t ?? (r != null ? r.map(Wo).join(" | ") : (n ?? e)); - } - N(Wo, "generateUnionElement"); - function Pu({ name: e, raw: t, elements: r }) { - return r != null - ? fe(r.map(Wo).join(" | ")) - : t != null - ? fe(t.replace(/^\|\s*/, "")) - : fe(e); - } - N(Pu, "generateUnion"); - function Fu({ type: e, raw: t }) { - return t != null ? fe(t) : fe(e); - } - N(Fu, "generateFuncSignature"); - function Nu({ type: e, raw: t }) { - return t != null ? (Go(t) ? fe(e, t) : fe(t)) : fe(e); - } - N(Nu, "generateObjectSignature"); - function Bu(e) { - let { type: t } = e; - return t === "object" ? Nu(e) : Fu(e); - } - N(Bu, "generateSignature"); - function ju({ name: e, raw: t }) { - return t != null ? (Go(t) ? fe(e, t) : fe(t)) : fe(e); - } - N(ju, "generateDefault"); - function Lu(e) { - if (e == null) return null; - switch (e.name) { - case "union": - return Pu(e); - case "signature": - return Bu(e); - default: - return ju(e); - } - } - N(Lu, "createType"); - var ry = N((e, t) => { - let { flowType: r, description: n, required: o, defaultValue: a } = t; - return { - name: e, - type: Lu(r), - required: o, - description: n, - defaultValue: _u(a ?? null, r ?? null), - }; - }, "createFlowPropDef"); - function Mu({ defaultValue: e }) { - if (e != null) { - let { value: t } = e; - if (!nn(t)) return fe(t); - } - return null; - } - N(Mu, "createDefaultValue"); - function Uu({ tsType: e, required: t }) { - if (e == null) return null; - let r = e.name; - return ( - t || (r = r.replace(" | undefined", "")), - fe(["Array", "Record", "signature"].includes(e.name) ? e.raw : r) - ); - } - N(Uu, "createType"); - var ny = N((e, t) => { - let { description: r, required: n } = t; - return { - name: e, - type: Uu(t), - required: n, - description: r, - defaultValue: Mu(t), - }; - }, "createTsPropDef"); - function $u(e) { - return e != null ? fe(e.name) : null; - } - N($u, "createType"); - function qu(e) { - let { computed: t, func: r } = e; - return typeof t > "u" && typeof r > "u"; - } - N(qu, "isReactDocgenTypescript"); - function Vu(e) { - return e - ? e.name === "string" - ? !0 - : e.name === "enum" - ? Array.isArray(e.value) && - e.value.every( - ({ value: t }) => - typeof t == "string" && - t[0] === '"' && - t[t.length - 1] === '"', - ) - : !1 - : !1; - } - N(Vu, "isStringValued"); - function Ju(e, t) { - if (e != null) { - let { value: r } = e; - if (!nn(r)) return qu(e) && Vu(t) ? fe(JSON.stringify(r)) : fe(r); - } - return null; - } - N(Ju, "createDefaultValue"); - function Ko(e, t, r) { - let { description: n, required: o, defaultValue: a } = r; - return { - name: e, - type: $u(t), - required: o, - description: n, - defaultValue: Ju(a, t), - }; - } - N(Ko, "createBasicPropDef"); - function Er(e, t) { - if (t?.includesJsDoc) { - let { description: r, extractedTags: n } = t; - r != null && (e.description = t.description); - let o = { - ...n, - params: n?.params?.map((a) => ({ - name: a.getPrettyName(), - description: a.description, - })), - }; - Object.values(o).filter(Boolean).length > 0 && (e.jsDocTags = o); - } - return e; - } - N(Er, "applyJsDocResult"); - var oy = N((e, t, r) => { - let n = Ko(e, t.type, t); - return (n.sbType = Uo(t)), Er(n, r); - }, "javaScriptFactory"), - ay = N((e, t, r) => { - let n = ny(e, t); - return (n.sbType = Uo(t)), Er(n, r); - }, "tsFactory"), - iy = N((e, t, r) => { - let n = ry(e, t); - return (n.sbType = Uo(t)), Er(n, r); - }, "flowFactory"), - sy = N((e, t, r) => { - let n = Ko(e, { name: "unknown" }, t); - return Er(n, r); - }, "unknownFactory"), - zu = N((e) => { - switch (e) { - case "JavaScript": - return oy; - case "TypeScript": - return ay; - case "Flow": - return iy; - default: - return sy; - } - }, "getPropDefFactory"), - Hu = N( - (e) => - e.type != null - ? "JavaScript" - : e.flowType != null - ? "Flow" - : e.tsType != null - ? "TypeScript" - : "Unknown", - "getTypeSystem", - ), - ly = N((e) => { - let t = Hu(e[0]), - r = zu(t); - return e.map((n) => { - let o = n; - return ( - n.type?.elements && - (o = { ...n, type: { ...n.type, value: n.type.elements } }), - Yo(o.name, o, t, r) - ); - }); - }, "extractComponentSectionArray"), - uy = N((e) => { - let t = Object.keys(e), - r = Hu(e[t[0]]), - n = zu(r); - return t - .map((o) => { - let a = e[o]; - return a != null ? Yo(o, a, r, n) : null; - }) - .filter(Boolean); - }, "extractComponentSectionObject"), - CI = N((e, t) => { - let r = ru(e, t); - return tu(r) ? (Array.isArray(r) ? ly(r) : uy(r)) : []; - }, "extractComponentProps"); - function Yo(e, t, r, n) { - let o = ey(t.description); - return o.includesJsDoc && o.ignore - ? null - : { - propDef: n(e, t, o), - jsDocTags: o.extractedTags, - docgenInfo: t, - typeSystem: r, - }; - } - N(Yo, "extractProp"); - function cy(e) { - return e != null ? nu(e) : ""; - } - N(cy, "extractComponentDescription"); - var II = N((e) => { - let { - component: t, - argTypes: r, - parameters: { docs: n = {} }, - } = e, - { extractArgTypes: o } = n, - a = o && t ? o(t) : {}; - return a ? et(a, r) : r; - }, "enhanceArgTypes"), - Gu = "storybook/docs", - OI = `${Gu}/panel`; - var DI = `${Gu}/snippet-rendered`, - dy = ((e) => ( - (e.AUTO = "auto"), (e.CODE = "code"), (e.DYNAMIC = "dynamic"), e - ))(dy || {}), - py = /(addons\/|addon-|addon-essentials\/)(docs|controls)/, - RI = N( - (e) => e.presetsList?.some((t) => py.test(t.name)), - "hasDocsOrControls", - ); - V(); - J(); - z(); - V(); - J(); - z(); - var zI = __STORYBOOK_CHANNELS__, - { - Channel: HI, - PostMessageTransport: GI, - WebsocketTransport: WI, - createBrowserChannel: KI, - } = __STORYBOOK_CHANNELS__; - V(); - J(); - z(); - var Wu = (() => { - let e; - return ( - typeof window < "u" - ? (e = window) - : typeof globalThis < "u" - ? (e = globalThis) - : typeof window < "u" - ? (e = window) - : typeof self < "u" - ? (e = self) - : (e = {}), - e - ); - })(); - var Zy = Object.create, - zc = Object.defineProperty, - eg = Object.getOwnPropertyDescriptor, - tg = Object.getOwnPropertyNames, - rg = Object.getPrototypeOf, - ng = Object.prototype.hasOwnProperty, - og = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ), - ag = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let o of tg(t)) - !ng.call(e, o) && - o !== r && - zc(e, o, { - get: () => t[o], - enumerable: !(n = eg(t, o)) || n.enumerable, - }); - return e; - }, - ig = (e, t, r) => ( - (r = e != null ? Zy(rg(e)) : {}), - ag( - t || !e || !e.__esModule - ? zc(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) - ), - sg = og((e) => { - Object.defineProperty(e, "__esModule", { value: !0 }), - (e.isEqual = (function () { - var t = Object.prototype.toString, - r = Object.getPrototypeOf, - n = Object.getOwnPropertySymbols - ? function (o) { - return Object.keys(o).concat( - Object.getOwnPropertySymbols(o), - ); - } - : Object.keys; - return function (o, a) { - return (function i(l, s, c) { - var d, - p, - h, - f = t.call(l), - b = t.call(s); - if (l === s) return !0; - if (l == null || s == null) return !1; - if (c.indexOf(l) > -1 && c.indexOf(s) > -1) return !0; - if ( - (c.push(l, s), - f != b || - ((d = n(l)), - (p = n(s)), - d.length != p.length || - d.some(function (g) { - return !i(l[g], s[g], c); - }))) - ) - return !1; - switch (f.slice(8, -1)) { - case "Symbol": - return l.valueOf() == s.valueOf(); - case "Date": - case "Number": - return +l == +s || (+l != +l && +s != +s); - case "RegExp": - case "Function": - case "String": - case "Boolean": - return "" + l == "" + s; - case "Set": - case "Map": - (d = l.entries()), (p = s.entries()); - do - if (!i((h = d.next()).value, p.next().value, c)) - return !1; - while (!h.done); - return !0; - case "ArrayBuffer": - (l = new Uint8Array(l)), (s = new Uint8Array(s)); - case "DataView": - (l = new Uint8Array(l.buffer)), - (s = new Uint8Array(s.buffer)); - case "Float32Array": - case "Float64Array": - case "Int8Array": - case "Int16Array": - case "Int32Array": - case "Uint8Array": - case "Uint16Array": - case "Uint32Array": - case "Uint8ClampedArray": - case "Arguments": - case "Array": - if (l.length != s.length) return !1; - for (h = 0; h < l.length; h++) - if ( - (h in l || h in s) && - (h in l != h in s || !i(l[h], s[h], c)) - ) - return !1; - return !0; - case "Object": - return i(r(l), r(s), c); - default: - return !1; - } - })(o, a, []); - }; - })()); - }), - mc = ig(sg()), - Hc = (e) => e.map((t) => typeof t < "u").filter(Boolean).length, - lg = (e, t) => { - let { exists: r, eq: n, neq: o, truthy: a } = e; - if (Hc([r, n, o, a]) > 1) - throw new Error( - `Invalid conditional test ${JSON.stringify({ exists: r, eq: n, neq: o })}`, - ); - if (typeof n < "u") return (0, mc.isEqual)(t, n); - if (typeof o < "u") return !(0, mc.isEqual)(t, o); - if (typeof r < "u") { - let i = typeof t < "u"; - return r ? i : !i; - } - return typeof a > "u" || a ? !!t : !t; - }, - ug = (e, t, r) => { - if (!e.if) return !0; - let { arg: n, global: o } = e.if; - if (Hc([n, o]) !== 1) - throw new Error( - `Invalid conditional value ${JSON.stringify({ arg: n, global: o })}`, - ); - let a = n ? t[n] : r[o]; - return lg(e.if, a); - }, - Gc = je({ - "../../node_modules/memoizerific/memoizerific.js"(e, t) { - (function (r) { - if (typeof e == "object" && typeof t < "u") t.exports = r(); - else if (typeof define == "function" && define.amd) define([], r); - else { - var n; - typeof window < "u" || typeof window < "u" - ? (n = window) - : typeof self < "u" - ? (n = self) - : (n = this), - (n.memoizerific = r()); - } - })(function () { - return (function r(n, o, a) { - function i(c, d) { - if (!o[c]) { - if (!n[c]) { - var p = typeof sr == "function" && sr; - if (!d && p) return p(c, !0); - if (l) return l(c, !0); - var h = new Error("Cannot find module '" + c + "'"); - throw ((h.code = "MODULE_NOT_FOUND"), h); - } - var f = (o[c] = { exports: {} }); - n[c][0].call( - f.exports, - function (b) { - var g = n[c][1][b]; - return i(g || b); - }, - f, - f.exports, - r, - n, - o, - a, - ); - } - return o[c].exports; - } - for ( - var l = typeof sr == "function" && sr, s = 0; - s < a.length; - s++ - ) - i(a[s]); - return i; - })( - { - 1: [ - function (r, n, o) { - n.exports = function (a) { - if (typeof Map != "function" || a) { - var i = r("./similar"); - return new i(); - } else return new Map(); - }; - }, - { "./similar": 2 }, - ], - 2: [ - function (r, n, o) { - function a() { - return ( - (this.list = []), - (this.lastItem = void 0), - (this.size = 0), - this - ); - } - (a.prototype.get = function (i) { - var l; - if (this.lastItem && this.isEqual(this.lastItem.key, i)) - return this.lastItem.val; - if (((l = this.indexOf(i)), l >= 0)) - return (this.lastItem = this.list[l]), this.list[l].val; - }), - (a.prototype.set = function (i, l) { - var s; - return this.lastItem && - this.isEqual(this.lastItem.key, i) - ? ((this.lastItem.val = l), this) - : ((s = this.indexOf(i)), - s >= 0 - ? ((this.lastItem = this.list[s]), - (this.list[s].val = l), - this) - : ((this.lastItem = { key: i, val: l }), - this.list.push(this.lastItem), - this.size++, - this)); - }), - (a.prototype.delete = function (i) { - var l; - if ( - (this.lastItem && - this.isEqual(this.lastItem.key, i) && - (this.lastItem = void 0), - (l = this.indexOf(i)), - l >= 0) - ) - return this.size--, this.list.splice(l, 1)[0]; - }), - (a.prototype.has = function (i) { - var l; - return this.lastItem && - this.isEqual(this.lastItem.key, i) - ? !0 - : ((l = this.indexOf(i)), - l >= 0 ? ((this.lastItem = this.list[l]), !0) : !1); - }), - (a.prototype.forEach = function (i, l) { - var s; - for (s = 0; s < this.size; s++) - i.call( - l || this, - this.list[s].val, - this.list[s].key, - this, - ); - }), - (a.prototype.indexOf = function (i) { - var l; - for (l = 0; l < this.size; l++) - if (this.isEqual(this.list[l].key, i)) return l; - return -1; - }), - (a.prototype.isEqual = function (i, l) { - return i === l || (i !== i && l !== l); - }), - (n.exports = a); - }, - {}, - ], - 3: [ - function (r, n, o) { - var a = r("map-or-similar"); - n.exports = function (c) { - var d = new a(!1), - p = []; - return function (h) { - var f = function () { - var b = d, - g, - x, - S = arguments.length - 1, - A = Array(S + 1), - k = !0, - T; - if ( - (f.numArgs || f.numArgs === 0) && - f.numArgs !== S + 1 - ) - throw new Error( - "Memoizerific functions should always be called with the same number of arguments", - ); - for (T = 0; T < S; T++) { - if ( - ((A[T] = { cacheItem: b, arg: arguments[T] }), - b.has(arguments[T])) - ) { - b = b.get(arguments[T]); - continue; - } - (k = !1), - (g = new a(!1)), - b.set(arguments[T], g), - (b = g); - } - return ( - k && - (b.has(arguments[S]) - ? (x = b.get(arguments[S])) - : (k = !1)), - k || - ((x = h.apply(null, arguments)), - b.set(arguments[S], x)), - c > 0 && - ((A[S] = { cacheItem: b, arg: arguments[S] }), - k ? i(p, A) : p.push(A), - p.length > c && l(p.shift())), - (f.wasMemoized = k), - (f.numArgs = S + 1), - x - ); - }; - return ( - (f.limit = c), - (f.wasMemoized = !1), - (f.cache = d), - (f.lru = p), - f - ); - }; - }; - function i(c, d) { - var p = c.length, - h = d.length, - f, - b, - g; - for (b = 0; b < p; b++) { - for (f = !0, g = 0; g < h; g++) - if (!s(c[b][g].arg, d[g].arg)) { - f = !1; - break; - } - if (f) break; - } - c.push(c.splice(b, 1)[0]); - } - function l(c) { - var d = c.length, - p = c[d - 1], - h, - f; - for ( - p.cacheItem.delete(p.arg), f = d - 2; - f >= 0 && - ((p = c[f]), - (h = p.cacheItem.get(p.arg)), - !h || !h.size); - f-- - ) - p.cacheItem.delete(p.arg); - } - function s(c, d) { - return c === d || (c !== c && d !== d); - } - }, - { "map-or-similar": 1 }, - ], - }, - {}, - [3], - )(3); - }); - }, - }), - cg = je({ - "../../node_modules/tocbot/src/js/default-options.js"(e, t) { - t.exports = { - tocSelector: ".js-toc", - contentSelector: ".js-toc-content", - headingSelector: "h1, h2, h3", - ignoreSelector: ".js-toc-ignore", - hasInnerContainers: !1, - linkClass: "toc-link", - extraLinkClasses: "", - activeLinkClass: "is-active-link", - listClass: "toc-list", - extraListClasses: "", - isCollapsedClass: "is-collapsed", - collapsibleClass: "is-collapsible", - listItemClass: "toc-list-item", - activeListItemClass: "is-active-li", - collapseDepth: 0, - scrollSmooth: !0, - scrollSmoothDuration: 420, - scrollSmoothOffset: 0, - scrollEndCallback: function (r) {}, - headingsOffset: 1, - throttleTimeout: 50, - positionFixedSelector: null, - positionFixedClass: "is-position-fixed", - fixedSidebarOffset: "auto", - includeHtml: !1, - includeTitleTags: !1, - onClick: function (r) {}, - orderedList: !0, - scrollContainer: null, - skipRendering: !1, - headingLabelCallback: !1, - ignoreHiddenElements: !1, - headingObjectCallback: null, - basePath: "", - disableTocScrollSync: !1, - tocScrollOffset: 0, - }; - }, - }), - dg = je({ - "../../node_modules/tocbot/src/js/build-html.js"(e, t) { - t.exports = function (r) { - var n = [].forEach, - o = [].some, - a = document.body, - i, - l = !0, - s = " "; - function c(T, I) { - var D = I.appendChild(p(T)); - if (T.children.length) { - var F = h(T.isCollapsed); - T.children.forEach(function (P) { - c(P, F); - }), - D.appendChild(F); - } - } - function d(T, I) { - var D = !1, - F = h(D); - if ( - (I.forEach(function (P) { - c(P, F); - }), - (i = T || i), - i !== null) - ) - return ( - i.firstChild && i.removeChild(i.firstChild), - I.length === 0 ? i : i.appendChild(F) - ); - } - function p(T) { - var I = document.createElement("li"), - D = document.createElement("a"); - return ( - r.listItemClass && I.setAttribute("class", r.listItemClass), - r.onClick && (D.onclick = r.onClick), - r.includeTitleTags && D.setAttribute("title", T.textContent), - r.includeHtml && T.childNodes.length - ? n.call(T.childNodes, function (F) { - D.appendChild(F.cloneNode(!0)); - }) - : (D.textContent = T.textContent), - D.setAttribute("href", r.basePath + "#" + T.id), - D.setAttribute( - "class", - r.linkClass + - s + - "node-name--" + - T.nodeName + - s + - r.extraLinkClasses, - ), - I.appendChild(D), - I - ); - } - function h(T) { - var I = r.orderedList ? "ol" : "ul", - D = document.createElement(I), - F = r.listClass + s + r.extraListClasses; - return ( - T && - ((F = F + s + r.collapsibleClass), - (F = F + s + r.isCollapsedClass)), - D.setAttribute("class", F), - D - ); - } - function f() { - if ( - r.scrollContainer && - document.querySelector(r.scrollContainer) - ) { - var T; - T = document.querySelector(r.scrollContainer).scrollTop; - } else T = document.documentElement.scrollTop || a.scrollTop; - var I = document.querySelector(r.positionFixedSelector); - r.fixedSidebarOffset === "auto" && - (r.fixedSidebarOffset = i.offsetTop), - T > r.fixedSidebarOffset - ? I.className.indexOf(r.positionFixedClass) === -1 && - (I.className += s + r.positionFixedClass) - : (I.className = I.className.replace( - s + r.positionFixedClass, - "", - )); - } - function b(T) { - var I = 0; - return ( - T !== null && - ((I = T.offsetTop), - r.hasInnerContainers && (I += b(T.offsetParent))), - I - ); - } - function g(T, I) { - return T && T.className !== I && (T.className = I), T; - } - function x(T) { - if ( - r.scrollContainer && - document.querySelector(r.scrollContainer) - ) { - var I; - I = document.querySelector(r.scrollContainer).scrollTop; - } else I = document.documentElement.scrollTop || a.scrollTop; - r.positionFixedSelector && f(); - var D = T, - F; - if (l && i !== null && D.length > 0) { - o.call(D, function (w, C) { - if (b(w) > I + r.headingsOffset + 10) { - var _ = C === 0 ? C : C - 1; - return (F = D[_]), !0; - } else if (C === D.length - 1) - return (F = D[D.length - 1]), !0; - }); - var P = i.querySelector("." + r.activeLinkClass), - L = i.querySelector( - "." + - r.linkClass + - ".node-name--" + - F.nodeName + - '[href="' + - r.basePath + - "#" + - F.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g, "\\$1") + - '"]', - ); - if (P === L) return; - var B = i.querySelectorAll("." + r.linkClass); - n.call(B, function (w) { - g(w, w.className.replace(s + r.activeLinkClass, "")); - }); - var G = i.querySelectorAll("." + r.listItemClass); - n.call(G, function (w) { - g(w, w.className.replace(s + r.activeListItemClass, "")); - }), - L && - L.className.indexOf(r.activeLinkClass) === -1 && - (L.className += s + r.activeLinkClass); - var $ = L && L.parentNode; - $ && - $.className.indexOf(r.activeListItemClass) === -1 && - ($.className += s + r.activeListItemClass); - var H = i.querySelectorAll( - "." + r.listClass + "." + r.collapsibleClass, - ); - n.call(H, function (w) { - w.className.indexOf(r.isCollapsedClass) === -1 && - (w.className += s + r.isCollapsedClass); - }), - L && - L.nextSibling && - L.nextSibling.className.indexOf(r.isCollapsedClass) !== - -1 && - g( - L.nextSibling, - L.nextSibling.className.replace( - s + r.isCollapsedClass, - "", - ), - ), - S(L && L.parentNode.parentNode); - } - } - function S(T) { - return T && - T.className.indexOf(r.collapsibleClass) !== -1 && - T.className.indexOf(r.isCollapsedClass) !== -1 - ? (g(T, T.className.replace(s + r.isCollapsedClass, "")), - S(T.parentNode.parentNode)) - : T; - } - function A(T) { - var I = T.target || T.srcElement; - typeof I.className != "string" || - I.className.indexOf(r.linkClass) === -1 || - (l = !1); - } - function k() { - l = !0; - } - return { - enableTocAnimation: k, - disableTocAnimation: A, - render: d, - updateToc: x, - }; - }; - }, - }), - pg = je({ - "../../node_modules/tocbot/src/js/parse-content.js"(e, t) { - t.exports = function (r) { - var n = [].reduce; - function o(p) { - return p[p.length - 1]; - } - function a(p) { - return +p.nodeName.toUpperCase().replace("H", ""); - } - function i(p) { - try { - return ( - p instanceof window.HTMLElement || - p instanceof window.parent.HTMLElement - ); - } catch { - return p instanceof window.HTMLElement; - } - } - function l(p) { - if (!i(p)) return p; - if ( - r.ignoreHiddenElements && - (!p.offsetHeight || !p.offsetParent) - ) - return null; - let h = - p.getAttribute("data-heading-label") || - (r.headingLabelCallback - ? String(r.headingLabelCallback(p.innerText)) - : (p.innerText || p.textContent).trim()); - var f = { - id: p.id, - children: [], - nodeName: p.nodeName, - headingLevel: a(p), - textContent: h, - }; - return ( - r.includeHtml && (f.childNodes = p.childNodes), - r.headingObjectCallback ? r.headingObjectCallback(f, p) : f - ); - } - function s(p, h) { - for ( - var f = l(p), - b = f.headingLevel, - g = h, - x = o(g), - S = x ? x.headingLevel : 0, - A = b - S; - A > 0 && ((x = o(g)), !(x && b === x.headingLevel)); - - ) - x && x.children !== void 0 && (g = x.children), A--; - return b >= r.collapseDepth && (f.isCollapsed = !0), g.push(f), g; - } - function c(p, h) { - var f = h; - r.ignoreSelector && - (f = h.split(",").map(function (b) { - return b.trim() + ":not(" + r.ignoreSelector + ")"; - })); - try { - return p.querySelectorAll(f); - } catch { - return ( - console.warn("Headers not found with selector: " + f), null - ); - } - } - function d(p) { - return n.call( - p, - function (h, f) { - var b = l(f); - return b && s(b, h.nest), h; - }, - { nest: [] }, - ); - } - return { nestHeadingsArray: d, selectHeadings: c }; - }; - }, - }), - fg = je({ - "../../node_modules/tocbot/src/js/update-toc-scroll.js"(e, t) { - t.exports = function (r) { - var n = r.tocElement || document.querySelector(r.tocSelector); - if (n && n.scrollHeight > n.clientHeight) { - var o = n.querySelector("." + r.activeListItemClass); - o && (n.scrollTop = o.offsetTop - r.tocScrollOffset); - } - }; - }, - }), - hg = je({ - "../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e) { - e.initSmoothScrolling = t; - function t(n) { - var o = n.duration, - a = n.offset, - i = location.hash ? c(location.href) : location.href; - l(); - function l() { - document.body.addEventListener("click", p, !1); - function p(h) { - !s(h.target) || - h.target.className.indexOf("no-smooth-scroll") > -1 || - (h.target.href.charAt(h.target.href.length - 2) === "#" && - h.target.href.charAt(h.target.href.length - 1) === "!") || - h.target.className.indexOf(n.linkClass) === -1 || - r(h.target.hash, { - duration: o, - offset: a, - callback: function () { - d(h.target.hash); - }, - }); - } - } - function s(p) { - return ( - p.tagName.toLowerCase() === "a" && - (p.hash.length > 0 || - p.href.charAt(p.href.length - 1) === "#") && - (c(p.href) === i || c(p.href) + "#" === i) - ); - } - function c(p) { - return p.slice(0, p.lastIndexOf("#")); - } - function d(p) { - var h = document.getElementById(p.substring(1)); - h && - (/^(?:a|select|input|button|textarea)$/i.test(h.tagName) || - (h.tabIndex = -1), - h.focus()); - } - } - function r(n, o) { - var a = window.pageYOffset, - i = { - duration: o.duration, - offset: o.offset || 0, - callback: o.callback, - easing: o.easing || b, - }, - l = - document.querySelector( - '[id="' + decodeURI(n).split("#").join("") + '"]', - ) || - document.querySelector('[id="' + n.split("#").join("") + '"]'), - s = - typeof n == "string" - ? i.offset + - (n - ? (l && l.getBoundingClientRect().top) || 0 - : -( - document.documentElement.scrollTop || - document.body.scrollTop - )) - : n, - c = typeof i.duration == "function" ? i.duration(s) : i.duration, - d, - p; - requestAnimationFrame(function (g) { - (d = g), h(g); - }); - function h(g) { - (p = g - d), - window.scrollTo(0, i.easing(p, a, s, c)), - p < c ? requestAnimationFrame(h) : f(); - } - function f() { - window.scrollTo(0, a + s), - typeof i.callback == "function" && i.callback(); - } - function b(g, x, S, A) { - return ( - (g /= A / 2), - g < 1 - ? (S / 2) * g * g + x - : (g--, (-S / 2) * (g * (g - 2) - 1) + x) - ); - } - } - }, - }), - mg = je({ - "../../node_modules/tocbot/src/js/index.js"(e, t) { - (function (r, n) { - typeof define == "function" && define.amd - ? define([], n(r)) - : typeof e == "object" - ? (t.exports = n(r)) - : (r.tocbot = n(r)); - })(typeof window < "u" ? window : window || window, function (r) { - var n = cg(), - o = {}, - a = {}, - i = dg(), - l = pg(), - s = fg(), - c, - d, - p = - !!r && - !!r.document && - !!r.document.querySelector && - !!r.addEventListener; - if (typeof window > "u" && !p) return; - var h, - f = Object.prototype.hasOwnProperty; - function b() { - for (var A = {}, k = 0; k < arguments.length; k++) { - var T = arguments[k]; - for (var I in T) f.call(T, I) && (A[I] = T[I]); - } - return A; - } - function g(A, k, T) { - k || (k = 250); - var I, D; - return function () { - var F = T || this, - P = +new Date(), - L = arguments; - I && P < I + k - ? (clearTimeout(D), - (D = setTimeout(function () { - (I = P), A.apply(F, L); - }, k))) - : ((I = P), A.apply(F, L)); - }; - } - function x(A) { - try { - return ( - A.contentElement || document.querySelector(A.contentSelector) - ); - } catch { - return ( - console.warn( - "Contents element not found: " + A.contentSelector, - ), - null - ); - } - } - function S(A) { - try { - return A.tocElement || document.querySelector(A.tocSelector); - } catch { - return ( - console.warn("TOC element not found: " + A.tocSelector), null - ); - } - } - return ( - (a.destroy = function () { - var A = S(o); - A !== null && - (o.skipRendering || (A && (A.innerHTML = "")), - o.scrollContainer && document.querySelector(o.scrollContainer) - ? (document - .querySelector(o.scrollContainer) - .removeEventListener( - "scroll", - this._scrollListener, - !1, - ), - document - .querySelector(o.scrollContainer) - .removeEventListener( - "resize", - this._scrollListener, - !1, - ), - c && - document - .querySelector(o.scrollContainer) - .removeEventListener( - "click", - this._clickListener, - !1, - )) - : (document.removeEventListener( - "scroll", - this._scrollListener, - !1, - ), - document.removeEventListener( - "resize", - this._scrollListener, - !1, - ), - c && - document.removeEventListener( - "click", - this._clickListener, - !1, - ))); - }), - (a.init = function (A) { - if (p) { - (o = b(n, A || {})), - (this.options = o), - (this.state = {}), - o.scrollSmooth && - ((o.duration = o.scrollSmoothDuration), - (o.offset = o.scrollSmoothOffset), - (a.scrollSmooth = hg().initSmoothScrolling(o))), - (c = i(o)), - (d = l(o)), - (this._buildHtml = c), - (this._parseContent = d), - (this._headingsArray = h), - a.destroy(); - var k = x(o); - if (k !== null) { - var T = S(o); - if ( - T !== null && - ((h = d.selectHeadings(k, o.headingSelector)), h !== null) - ) { - var I = d.nestHeadingsArray(h), - D = I.nest; - if (!o.skipRendering) c.render(T, D); - else return this; - (this._scrollListener = g(function (P) { - c.updateToc(h), !o.disableTocScrollSync && s(o); - var L = - P && - P.target && - P.target.scrollingElement && - P.target.scrollingElement.scrollTop === 0; - ((P && - (P.eventPhase === 0 || P.currentTarget === null)) || - L) && - (c.updateToc(h), - o.scrollEndCallback && o.scrollEndCallback(P)); - }, o.throttleTimeout)), - this._scrollListener(), - o.scrollContainer && - document.querySelector(o.scrollContainer) - ? (document - .querySelector(o.scrollContainer) - .addEventListener( - "scroll", - this._scrollListener, - !1, - ), - document - .querySelector(o.scrollContainer) - .addEventListener( - "resize", - this._scrollListener, - !1, - )) - : (document.addEventListener( - "scroll", - this._scrollListener, - !1, - ), - document.addEventListener( - "resize", - this._scrollListener, - !1, - )); - var F = null; - return ( - (this._clickListener = g(function (P) { - o.scrollSmooth && c.disableTocAnimation(P), - c.updateToc(h), - F && clearTimeout(F), - (F = setTimeout(function () { - c.enableTocAnimation(); - }, o.scrollSmoothDuration)); - }, o.throttleTimeout)), - o.scrollContainer && - document.querySelector(o.scrollContainer) - ? document - .querySelector(o.scrollContainer) - .addEventListener( - "click", - this._clickListener, - !1, - ) - : document.addEventListener( - "click", - this._clickListener, - !1, - ), - this - ); - } - } - } - }), - (a.refresh = function (A) { - a.destroy(), a.init(A || this.options); - }), - (r.tocbot = a), - a - ); - }); - }, - }); - function Qt() { - return ( - (Qt = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var r = arguments[t]; - for (var n in r) - ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]); - } - return e; - }), - Qt.apply(null, arguments) - ); - } - function yg(e) { - if (e === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return e; - } - function Ar(e, t) { - return ( - (Ar = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (r, n) { - return (r.__proto__ = n), r; - }), - Ar(e, t) - ); - } - function gg(e, t) { - (e.prototype = Object.create(t.prototype)), - (e.prototype.constructor = e), - Ar(e, t); - } - function ga(e) { - return ( - (ga = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (t) { - return t.__proto__ || Object.getPrototypeOf(t); - }), - ga(e) - ); - } - function bg(e) { - try { - return Function.toString.call(e).indexOf("[native code]") !== -1; - } catch { - return typeof e == "function"; - } - } - function Wc() { - try { - var e = !Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ); - } catch {} - return (Wc = function () { - return !!e; - })(); - } - function Eg(e, t, r) { - if (Wc()) return Reflect.construct.apply(null, arguments); - var n = [null]; - n.push.apply(n, t); - var o = new (e.bind.apply(e, n))(); - return r && Ar(o, r.prototype), o; - } - function ba(e) { - var t = typeof Map == "function" ? new Map() : void 0; - return ( - (ba = function (r) { - if (r === null || !bg(r)) return r; - if (typeof r != "function") - throw new TypeError( - "Super expression must either be null or a function", - ); - if (t !== void 0) { - if (t.has(r)) return t.get(r); - t.set(r, n); - } - function n() { - return Eg(r, arguments, ga(this).constructor); - } - return ( - (n.prototype = Object.create(r.prototype, { - constructor: { - value: n, - enumerable: !1, - writable: !0, - configurable: !0, - }, - })), - Ar(n, r) - ); - }), - ba(e) - ); - } - var vg = { - 1: `Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`, - 2: `Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`, - 3: `Passed an incorrect argument to a color function, please pass a string representation of a color. - -`, - 4: `Couldn't generate valid rgb string from %s, it returned %s. - -`, - 5: `Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`, - 6: `Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`, - 7: `Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`, - 8: `Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`, - 9: `Please provide a number of steps to the modularScale helper. - -`, - 10: `Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`, - 11: `Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`, - 12: `Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`, - 13: `Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`, - 14: `Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`, - 15: `Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`, - 16: `You must provide a template to this method. - -`, - 17: `You passed an unsupported selector state to this method. - -`, - 18: `minScreen and maxScreen must be provided as stringified numbers with the same units. - -`, - 19: `fromSize and toSize must be provided as stringified numbers with the same units. - -`, - 20: `expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`, - 21: "expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n", - 22: "expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n", - 23: `fontFace expects a name of a font-family. - -`, - 24: `fontFace expects either the path to the font file(s) or a name of a local copy. - -`, - 25: `fontFace expects localFonts to be an array. - -`, - 26: `fontFace expects fileFormats to be an array. - -`, - 27: `radialGradient requries at least 2 color-stops to properly render. - -`, - 28: `Please supply a filename to retinaImage() as the first argument. - -`, - 29: `Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`, - 30: "Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n", - 31: `The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`, - 32: `To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`, - 33: `The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`, - 34: `borderRadius expects a radius value as a string or number as the second argument. - -`, - 35: `borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`, - 36: `Property must be a string value. - -`, - 37: `Syntax Error at %s. - -`, - 38: `Formula contains a function that needs parentheses at %s. - -`, - 39: `Formula is missing closing parenthesis at %s. - -`, - 40: `Formula has too many closing parentheses at %s. - -`, - 41: `All values in a formula must have the same unit or be unitless. - -`, - 42: `Please provide a number of steps to the modularScale helper. - -`, - 43: `Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`, - 44: `Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`, - 45: `Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`, - 46: `Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`, - 47: `minScreen and maxScreen must be provided as stringified numbers with the same units. - -`, - 48: `fromSize and toSize must be provided as stringified numbers with the same units. - -`, - 49: `Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`, - 50: `Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`, - 51: `Expects the first argument object to have the properties prop, fromSize, and toSize. - -`, - 52: `fontFace expects either the path to the font file(s) or a name of a local copy. - -`, - 53: `fontFace expects localFonts to be an array. - -`, - 54: `fontFace expects fileFormats to be an array. - -`, - 55: `fontFace expects a name of a font-family. - -`, - 56: `linearGradient requries at least 2 color-stops to properly render. - -`, - 57: `radialGradient requries at least 2 color-stops to properly render. - -`, - 58: `Please supply a filename to retinaImage() as the first argument. - -`, - 59: `Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`, - 60: "Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n", - 61: `Property must be a string value. - -`, - 62: `borderRadius expects a radius value as a string or number as the second argument. - -`, - 63: `borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`, - 64: `The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`, - 65: `To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`, - 66: `The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`, - 67: `You must provide a template to this method. - -`, - 68: `You passed an unsupported selector state to this method. - -`, - 69: `Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`, - 70: `Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`, - 71: `Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`, - 72: `Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`, - 73: `Please provide a valid CSS variable. - -`, - 74: `CSS variable not found and no default was provided. - -`, - 75: `important requires a valid style object, got a %s instead. - -`, - 76: `fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`, - 77: `remToPx expects a value in "rem" but you provided it in "%s". - -`, - 78: `base must be set in "px" or "%" but you set it in "%s". -`, - }; - function xg() { - for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) - t[r] = arguments[r]; - var n = t[0], - o = [], - a; - for (a = 1; a < t.length; a += 1) o.push(t[a]); - return ( - o.forEach(function (i) { - n = n.replace(/%[a-z]/, i); - }), - n - ); - } - var Ke = (function (e) { - gg(t, e); - function t(r) { - for ( - var n, o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), i = 1; - i < o; - i++ - ) - a[i - 1] = arguments[i]; - return ( - (n = e.call(this, xg.apply(void 0, [vg[r]].concat(a))) || this), yg(n) - ); - } - return t; - })(ba(Error)); - function aa(e) { - return Math.round(e * 255); - } - function Sg(e, t, r) { - return aa(e) + "," + aa(t) + "," + aa(r); - } - function Tr(e, t, r, n) { - if ((n === void 0 && (n = Sg), t === 0)) return n(r, r, r); - var o = (((e % 360) + 360) % 360) / 60, - a = (1 - Math.abs(2 * r - 1)) * t, - i = a * (1 - Math.abs((o % 2) - 1)), - l = 0, - s = 0, - c = 0; - o >= 0 && o < 1 - ? ((l = a), (s = i)) - : o >= 1 && o < 2 - ? ((l = i), (s = a)) - : o >= 2 && o < 3 - ? ((s = a), (c = i)) - : o >= 3 && o < 4 - ? ((s = i), (c = a)) - : o >= 4 && o < 5 - ? ((l = i), (c = a)) - : o >= 5 && o < 6 && ((l = a), (c = i)); - var d = r - a / 2, - p = l + d, - h = s + d, - f = c + d; - return n(p, h, f); - } - var yc = { - 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 wg(e) { - if (typeof e != "string") return e; - var t = e.toLowerCase(); - return yc[t] ? "#" + yc[t] : e; - } - var Ag = /^#[a-fA-F0-9]{6}$/, - Tg = /^#[a-fA-F0-9]{8}$/, - Cg = /^#[a-fA-F0-9]{3}$/, - kg = /^#[a-fA-F0-9]{4}$/, - ia = - /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, - Ig = - /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, - Og = - /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, - Dg = - /^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 yn(e) { - if (typeof e != "string") throw new Ke(3); - var t = wg(e); - if (t.match(Ag)) - 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(Tg)) { - var r = parseFloat((parseInt("" + t[7] + t[8], 16) / 255).toFixed(2)); - return { - red: parseInt("" + t[1] + t[2], 16), - green: parseInt("" + t[3] + t[4], 16), - blue: parseInt("" + t[5] + t[6], 16), - alpha: r, - }; - } - if (t.match(Cg)) - 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(kg)) { - var n = parseFloat((parseInt("" + t[4] + t[4], 16) / 255).toFixed(2)); - return { - red: parseInt("" + t[1] + t[1], 16), - green: parseInt("" + t[2] + t[2], 16), - blue: parseInt("" + t[3] + t[3], 16), - alpha: n, - }; - } - var o = ia.exec(t); - if (o) - return { - red: parseInt("" + o[1], 10), - green: parseInt("" + o[2], 10), - blue: parseInt("" + o[3], 10), - }; - var a = Ig.exec(t.substring(0, 50)); - if (a) - return { - red: parseInt("" + a[1], 10), - green: parseInt("" + a[2], 10), - blue: parseInt("" + a[3], 10), - alpha: - parseFloat("" + a[4]) > 1 - ? parseFloat("" + a[4]) / 100 - : parseFloat("" + a[4]), - }; - var i = Og.exec(t); - if (i) { - var l = parseInt("" + i[1], 10), - s = parseInt("" + i[2], 10) / 100, - c = parseInt("" + i[3], 10) / 100, - d = "rgb(" + Tr(l, s, c) + ")", - p = ia.exec(d); - if (!p) throw new Ke(4, t, d); - return { - red: parseInt("" + p[1], 10), - green: parseInt("" + p[2], 10), - blue: parseInt("" + p[3], 10), - }; - } - var h = Dg.exec(t.substring(0, 50)); - if (h) { - var f = parseInt("" + h[1], 10), - b = parseInt("" + h[2], 10) / 100, - g = parseInt("" + h[3], 10) / 100, - x = "rgb(" + Tr(f, b, g) + ")", - S = ia.exec(x); - if (!S) throw new Ke(4, t, x); - return { - red: parseInt("" + S[1], 10), - green: parseInt("" + S[2], 10), - blue: parseInt("" + S[3], 10), - alpha: - parseFloat("" + h[4]) > 1 - ? parseFloat("" + h[4]) / 100 - : parseFloat("" + h[4]), - }; - } - throw new Ke(5); - } - function Rg(e) { - var t = e.red / 255, - r = e.green / 255, - n = e.blue / 255, - o = Math.max(t, r, n), - a = Math.min(t, r, n), - i = (o + a) / 2; - if (o === a) - return e.alpha !== void 0 - ? { hue: 0, saturation: 0, lightness: i, alpha: e.alpha } - : { hue: 0, saturation: 0, lightness: i }; - var l, - s = o - a, - c = i > 0.5 ? s / (2 - o - a) : s / (o + a); - switch (o) { - case t: - l = (r - n) / s + (r < n ? 6 : 0); - break; - case r: - l = (n - t) / s + 2; - break; - default: - l = (t - r) / s + 4; - break; - } - return ( - (l *= 60), - e.alpha !== void 0 - ? { hue: l, saturation: c, lightness: i, alpha: e.alpha } - : { hue: l, saturation: c, lightness: i } - ); - } - function Kc(e) { - return Rg(yn(e)); - } - var _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; - }, - Ea = _g; - function Dt(e) { - var t = e.toString(16); - return t.length === 1 ? "0" + t : t; - } - function sa(e) { - return Dt(Math.round(e * 255)); - } - function Pg(e, t, r) { - return Ea("#" + sa(e) + sa(t) + sa(r)); - } - function mn(e, t, r) { - return Tr(e, t, r, Pg); - } - function Fg(e, t, r) { - if (typeof e == "number" && typeof t == "number" && typeof r == "number") - return mn(e, t, r); - if (typeof e == "object" && t === void 0 && r === void 0) - return mn(e.hue, e.saturation, e.lightness); - throw new Ke(1); - } - function Ng(e, t, r, n) { - if ( - typeof e == "number" && - typeof t == "number" && - typeof r == "number" && - typeof n == "number" - ) - return n >= 1 ? mn(e, t, r) : "rgba(" + Tr(e, t, r) + "," + n + ")"; - if (typeof e == "object" && t === void 0 && r === void 0 && n === void 0) - return e.alpha >= 1 - ? mn(e.hue, e.saturation, e.lightness) - : "rgba(" + - Tr(e.hue, e.saturation, e.lightness) + - "," + - e.alpha + - ")"; - throw new Ke(2); - } - function va(e, t, r) { - if (typeof e == "number" && typeof t == "number" && typeof r == "number") - return Ea("#" + Dt(e) + Dt(t) + Dt(r)); - if (typeof e == "object" && t === void 0 && r === void 0) - return Ea("#" + Dt(e.red) + Dt(e.green) + Dt(e.blue)); - throw new Ke(6); - } - function rt(e, t, r, n) { - if (typeof e == "string" && typeof t == "number") { - var o = yn(e); - return "rgba(" + o.red + "," + o.green + "," + o.blue + "," + t + ")"; - } else { - if ( - typeof e == "number" && - typeof t == "number" && - typeof r == "number" && - typeof n == "number" - ) - return n >= 1 - ? va(e, t, r) - : "rgba(" + e + "," + t + "," + r + "," + n + ")"; - if ( - typeof e == "object" && - t === void 0 && - r === void 0 && - n === void 0 - ) - return e.alpha >= 1 - ? va(e.red, e.green, e.blue) - : "rgba(" + - e.red + - "," + - e.green + - "," + - e.blue + - "," + - e.alpha + - ")"; - } - throw new Ke(7); - } - var Bg = function (e) { - return ( - typeof e.red == "number" && - typeof e.green == "number" && - typeof e.blue == "number" && - (typeof e.alpha != "number" || typeof e.alpha > "u") - ); - }, - jg = function (e) { - return ( - typeof e.red == "number" && - typeof e.green == "number" && - typeof e.blue == "number" && - typeof e.alpha == "number" - ); - }, - Lg = function (e) { - return ( - typeof e.hue == "number" && - typeof e.saturation == "number" && - typeof e.lightness == "number" && - (typeof e.alpha != "number" || typeof e.alpha > "u") - ); - }, - Mg = function (e) { - return ( - typeof e.hue == "number" && - typeof e.saturation == "number" && - typeof e.lightness == "number" && - typeof e.alpha == "number" - ); - }; - function Yc(e) { - if (typeof e != "object") throw new Ke(8); - if (jg(e)) return rt(e); - if (Bg(e)) return va(e); - if (Mg(e)) return Ng(e); - if (Lg(e)) return Fg(e); - throw new Ke(8); - } - function Xc(e, t, r) { - return function () { - var n = r.concat(Array.prototype.slice.call(arguments)); - return n.length >= t ? e.apply(this, n) : Xc(e, t, n); - }; - } - function gn(e) { - return Xc(e, e.length, []); - } - function bn(e, t, r) { - return Math.max(e, Math.min(t, r)); - } - function Ug(e, t) { - if (t === "transparent") return t; - var r = Kc(t); - return Yc( - Qt({}, r, { lightness: bn(0, 1, r.lightness - parseFloat(e)) }), - ); - } - var $g = gn(Ug), - We = $g; - function qg(e, t) { - if (t === "transparent") return t; - var r = Kc(t); - return Yc( - Qt({}, r, { lightness: bn(0, 1, r.lightness + parseFloat(e)) }), - ); - } - var Vg = gn(qg), - Rt = Vg; - function Jg(e, t) { - if (t === "transparent") return t; - var r = yn(t), - n = typeof r.alpha == "number" ? r.alpha : 1, - o = Qt({}, r, { - alpha: bn(0, 1, (n * 100 + parseFloat(e) * 100) / 100), - }); - return rt(o); - } - var zg = gn(Jg), - cn = zg; - function Hg(e, t) { - if (t === "transparent") return t; - var r = yn(t), - n = typeof r.alpha == "number" ? r.alpha : 1, - o = Qt({}, r, { - alpha: bn(0, 1, +(n * 100 - parseFloat(e) * 100).toFixed(2) / 100), - }); - return rt(o); - } - var Gg = gn(Hg), - se = Gg, - Wg = R.div(Ut, ({ theme: e }) => ({ - backgroundColor: - e.base === "light" ? "rgba(0,0,0,.01)" : "rgba(255,255,255,.01)", - borderRadius: e.appBorderRadius, - border: `1px dashed ${e.appBorderColor}`, - display: "flex", - alignItems: "center", - justifyContent: "center", - padding: 20, - margin: "25px 0 40px", - color: se(0.3, e.color.defaultText), - fontSize: e.typography.size.s2, - })), - Qc = (e) => - m.createElement(Wg, { - ...e, - className: "docblock-emptyblock sb-unstyled", - }), - Kg = R(_r)(({ theme: e }) => ({ - fontSize: `${e.typography.size.s2 - 1}px`, - lineHeight: "19px", - margin: "25px 0 40px", - borderRadius: e.appBorderRadius, - boxShadow: - e.base === "light" - ? "rgba(0, 0, 0, 0.10) 0 1px 3px 0" - : "rgba(0, 0, 0, 0.20) 0 2px 5px 0", - "pre.prismjs": { padding: 20, background: "inherit" }, - })), - Yg = R.div(({ theme: e }) => ({ - background: e.background.content, - borderRadius: e.appBorderRadius, - border: `1px solid ${e.appBorderColor}`, - boxShadow: - e.base === "light" - ? "rgba(0, 0, 0, 0.10) 0 1px 3px 0" - : "rgba(0, 0, 0, 0.20) 0 2px 5px 0", - margin: "25px 0 40px", - padding: "20px 20px 20px 22px", - })), - dn = R.div(({ theme: e }) => ({ - animation: `${e.animation.glow} 1.5s ease-in-out infinite`, - background: e.appBorderColor, - height: 17, - marginTop: 1, - width: "60%", - [`&:first-child${Oi}`]: { margin: 0 }, - })), - Xg = () => - m.createElement( - Yg, - null, - m.createElement(dn, null), - m.createElement(dn, { style: { width: "80%" } }), - m.createElement(dn, { style: { width: "30%" } }), - m.createElement(dn, { style: { width: "80%" } }), - ), - Qg = ({ - isLoading: e, - error: t, - language: r, - code: n, - dark: o, - format: a = !1, - ...i - }) => { - let { typography: l } = Xn(); - if (e) return m.createElement(Xg, null); - if (t) return m.createElement(Qc, null, t); - let s = m.createElement( - Kg, - { - bordered: !0, - copyable: !0, - format: a, - language: r, - className: "docblock-source sb-unstyled", - ...i, - }, - n, - ); - if (typeof o > "u") return s; - let c = o ? Yn.dark : Yn.light; - return m.createElement( - ki, - { - theme: Ii({ ...c, fontCode: l.fonts.mono, fontBase: l.fonts.base }), - }, - s, - ); - }, - he = (e) => - `& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`, - Ca = 600; - R.h1(Ut, ({ theme: e }) => ({ - color: e.color.defaultText, - fontSize: e.typography.size.m3, - fontWeight: e.typography.weight.bold, - lineHeight: "32px", - [`@media (min-width: ${Ca}px)`]: { - fontSize: e.typography.size.l1, - lineHeight: "36px", - marginBottom: "16px", - }, - })); - R.h2(Ut, ({ theme: e }) => ({ - fontWeight: e.typography.weight.regular, - fontSize: e.typography.size.s3, - lineHeight: "20px", - borderBottom: "none", - marginBottom: 15, - [`@media (min-width: ${Ca}px)`]: { - fontSize: e.typography.size.m1, - lineHeight: "28px", - marginBottom: 24, - }, - color: se(0.25, e.color.defaultText), - })); - R.div(({ theme: e }) => { - let t = { - fontFamily: e.typography.fonts.base, - fontSize: e.typography.size.s3, - margin: 0, - WebkitFontSmoothing: "antialiased", - MozOsxFontSmoothing: "grayscale", - WebkitTapHighlightColor: "rgba(0, 0, 0, 0)", - WebkitOverflowScrolling: "touch", - }, - r = { - margin: "20px 0 8px", - padding: 0, - cursor: "text", - position: "relative", - color: e.color.defaultText, - "&:first-of-type": { marginTop: 0, paddingTop: 0 }, - "&:hover a.anchor": { textDecoration: "none" }, - "& code": { fontSize: "inherit" }, - }, - n = { - lineHeight: 1, - margin: "0 2px", - padding: "3px 5px", - whiteSpace: "nowrap", - borderRadius: 3, - fontSize: e.typography.size.s2 - 1, - border: - e.base === "light" - ? `1px solid ${e.color.mediumlight}` - : `1px solid ${e.color.darker}`, - color: - e.base === "light" - ? se(0.1, e.color.defaultText) - : se(0.3, e.color.defaultText), - backgroundColor: - e.base === "light" ? e.color.lighter : e.color.border, - }; - return { - maxWidth: 1e3, - width: "100%", - [he("a")]: { - ...t, - fontSize: "inherit", - lineHeight: "24px", - color: e.color.secondary, - textDecoration: "none", - "&.absent": { color: "#cc0000" }, - "&.anchor": { - display: "block", - paddingLeft: 30, - marginLeft: -30, - cursor: "pointer", - position: "absolute", - top: 0, - left: 0, - bottom: 0, - }, - }, - [he("blockquote")]: { - ...t, - margin: "16px 0", - borderLeft: `4px solid ${e.color.medium}`, - padding: "0 15px", - color: e.color.dark, - "& > :first-of-type": { marginTop: 0 }, - "& > :last-child": { marginBottom: 0 }, - }, - [he("div")]: t, - [he("dl")]: { - ...t, - margin: "16px 0", - padding: 0, - "& dt": { - fontSize: "14px", - fontWeight: "bold", - fontStyle: "italic", - padding: 0, - margin: "16px 0 4px", - }, - "& dt:first-of-type": { padding: 0 }, - "& dt > :first-of-type": { marginTop: 0 }, - "& dt > :last-child": { marginBottom: 0 }, - "& dd": { margin: "0 0 16px", padding: "0 15px" }, - "& dd > :first-of-type": { marginTop: 0 }, - "& dd > :last-child": { marginBottom: 0 }, - }, - [he("h1")]: { - ...t, - ...r, - fontSize: `${e.typography.size.l1}px`, - fontWeight: e.typography.weight.bold, - }, - [he("h2")]: { - ...t, - ...r, - fontSize: `${e.typography.size.m2}px`, - paddingBottom: 4, - borderBottom: `1px solid ${e.appBorderColor}`, - }, - [he("h3")]: { - ...t, - ...r, - fontSize: `${e.typography.size.m1}px`, - fontWeight: e.typography.weight.bold, - }, - [he("h4")]: { ...t, ...r, fontSize: `${e.typography.size.s3}px` }, - [he("h5")]: { ...t, ...r, fontSize: `${e.typography.size.s2}px` }, - [he("h6")]: { - ...t, - ...r, - fontSize: `${e.typography.size.s2}px`, - color: e.color.dark, - }, - [he("hr")]: { - border: "0 none", - borderTop: `1px solid ${e.appBorderColor}`, - height: 4, - padding: 0, - }, - [he("img")]: { maxWidth: "100%" }, - [he("li")]: { - ...t, - fontSize: e.typography.size.s2, - color: e.color.defaultText, - lineHeight: "24px", - "& + li": { marginTop: ".25em" }, - "& ul, & ol": { marginTop: ".25em", marginBottom: 0 }, - "& code": n, - }, - [he("ol")]: { - ...t, - margin: "16px 0", - paddingLeft: 30, - "& :first-of-type": { marginTop: 0 }, - "& :last-child": { marginBottom: 0 }, - }, - [he("p")]: { - ...t, - margin: "16px 0", - fontSize: e.typography.size.s2, - lineHeight: "24px", - color: e.color.defaultText, - "& code": n, - }, - [he("pre")]: { - ...t, - fontFamily: e.typography.fonts.mono, - WebkitFontSmoothing: "antialiased", - MozOsxFontSmoothing: "grayscale", - lineHeight: "18px", - padding: "11px 1rem", - whiteSpace: "pre-wrap", - color: "inherit", - borderRadius: 3, - margin: "1rem 0", - "&:not(.prismjs)": { - background: "transparent", - border: "none", - borderRadius: 0, - padding: 0, - margin: 0, - }, - "& pre, &.prismjs": { - padding: 15, - margin: 0, - whiteSpace: "pre-wrap", - color: "inherit", - fontSize: "13px", - lineHeight: "19px", - code: { color: "inherit", fontSize: "inherit" }, - }, - "& code": { whiteSpace: "pre" }, - "& code, & tt": { border: "none" }, - }, - [he("span")]: { - ...t, - "&.frame": { - display: "block", - overflow: "hidden", - "& > span": { - border: `1px solid ${e.color.medium}`, - display: "block", - float: "left", - overflow: "hidden", - margin: "13px 0 0", - padding: 7, - width: "auto", - }, - "& span img": { display: "block", float: "left" }, - "& span span": { - clear: "both", - color: e.color.darkest, - display: "block", - padding: "5px 0 0", - }, - }, - "&.align-center": { - display: "block", - overflow: "hidden", - clear: "both", - "& > span": { - display: "block", - overflow: "hidden", - margin: "13px auto 0", - textAlign: "center", - }, - "& span img": { margin: "0 auto", textAlign: "center" }, - }, - "&.align-right": { - display: "block", - overflow: "hidden", - clear: "both", - "& > span": { - display: "block", - overflow: "hidden", - margin: "13px 0 0", - textAlign: "right", - }, - "& span img": { margin: 0, textAlign: "right" }, - }, - "&.float-left": { - display: "block", - marginRight: 13, - overflow: "hidden", - float: "left", - "& span": { margin: "13px 0 0" }, - }, - "&.float-right": { - display: "block", - marginLeft: 13, - overflow: "hidden", - float: "right", - "& > span": { - display: "block", - overflow: "hidden", - margin: "13px auto 0", - textAlign: "right", - }, - }, - }, - [he("table")]: { - ...t, - margin: "16px 0", - fontSize: e.typography.size.s2, - lineHeight: "24px", - padding: 0, - borderCollapse: "collapse", - "& tr": { - borderTop: `1px solid ${e.appBorderColor}`, - backgroundColor: e.appContentBg, - margin: 0, - padding: 0, - }, - "& tr:nth-of-type(2n)": { - backgroundColor: - e.base === "dark" ? e.color.darker : e.color.lighter, - }, - "& tr th": { - fontWeight: "bold", - color: e.color.defaultText, - border: `1px solid ${e.appBorderColor}`, - margin: 0, - padding: "6px 13px", - }, - "& tr td": { - border: `1px solid ${e.appBorderColor}`, - color: e.color.defaultText, - margin: 0, - padding: "6px 13px", - }, - "& tr th :first-of-type, & tr td :first-of-type": { marginTop: 0 }, - "& tr th :last-child, & tr td :last-child": { marginBottom: 0 }, - }, - [he("ul")]: { - ...t, - margin: "16px 0", - paddingLeft: 30, - "& :first-of-type": { marginTop: 0 }, - "& :last-child": { marginBottom: 0 }, - listStyle: "disc", - }, - }; - }); - R.div(({ theme: e }) => ({ - background: e.background.content, - display: "flex", - justifyContent: "center", - padding: "4rem 20px", - minHeight: "100vh", - boxSizing: "border-box", - gap: "3rem", - [`@media (min-width: ${Ca}px)`]: {}, - })); - var En = (e) => ({ - borderRadius: e.appBorderRadius, - background: e.background.content, - boxShadow: - e.base === "light" - ? "rgba(0, 0, 0, 0.10) 0 1px 3px 0" - : "rgba(0, 0, 0, 0.20) 0 2px 5px 0", - border: `1px solid ${e.appBorderColor}`, - }), - Zg = ur({ scale: 1 }); - R.strong(({ theme: e }) => ({ color: e.color.orange })); - var e0 = R(Nn)({ - position: "absolute", - left: 0, - right: 0, - top: 0, - transition: "transform .2s linear", - }), - t0 = R.div({ display: "flex", alignItems: "center", gap: 4 }), - r0 = R.div(({ theme: e }) => ({ - width: 14, - height: 14, - borderRadius: 2, - margin: "0 7px", - backgroundColor: e.appBorderColor, - animation: `${e.animation.glow} 1.5s ease-in-out infinite`, - })), - n0 = ({ - isLoading: e, - storyId: t, - baseUrl: r, - zoom: n, - resetZoom: o, - ...a - }) => - m.createElement( - e0, - { ...a }, - m.createElement( - t0, - { key: "left" }, - e - ? [1, 2, 3].map((i) => m.createElement(r0, { key: i })) - : m.createElement( - m.Fragment, - null, - m.createElement( - ze, - { - key: "zoomin", - onClick: (i) => { - i.preventDefault(), n(0.8); - }, - title: "Zoom in", - }, - m.createElement(qi, null), - ), - m.createElement( - ze, - { - key: "zoomout", - onClick: (i) => { - i.preventDefault(), n(1.25); - }, - title: "Zoom out", - }, - m.createElement(Vi, null), - ), - m.createElement( - ze, - { - key: "zoomreset", - onClick: (i) => { - i.preventDefault(), o(); - }, - title: "Reset zoom", - }, - m.createElement(Ji, null), - ), - ), - ), - ), - o0 = R.div( - ({ isColumn: e, columns: t, layout: r }) => ({ - display: e || !t ? "block" : "flex", - position: "relative", - flexWrap: "wrap", - overflow: "auto", - flexDirection: e ? "column" : "row", - "& .innerZoomElementWrapper > *": e - ? { - width: r !== "fullscreen" ? "calc(100% - 20px)" : "100%", - display: "block", - } - : { - maxWidth: r !== "fullscreen" ? "calc(100% - 20px)" : "100%", - display: "inline-block", - }, - }), - ({ layout: e = "padded" }) => - e === "centered" || e === "padded" - ? { - padding: "30px 20px", - "& .innerZoomElementWrapper > *": { - width: "auto", - border: "10px solid transparent!important", - }, - } - : {}, - ({ layout: e = "padded" }) => - e === "centered" - ? { - display: "flex", - justifyContent: "center", - justifyItems: "center", - alignContent: "center", - alignItems: "center", - } - : {}, - ({ columns: e }) => - e && e > 1 - ? { - ".innerZoomElementWrapper > *": { - minWidth: `calc(100% / ${e} - 20px)`, - }, - } - : {}, - ), - gc = R(Qg)(({ theme: e }) => ({ - margin: 0, - borderTopLeftRadius: 0, - borderTopRightRadius: 0, - borderBottomLeftRadius: e.appBorderRadius, - borderBottomRightRadius: e.appBorderRadius, - border: "none", - background: - e.base === "light" - ? "rgba(0, 0, 0, 0.85)" - : We(0.05, e.background.content), - color: e.color.lightest, - button: { - background: - e.base === "light" - ? "rgba(0, 0, 0, 0.85)" - : We(0.05, e.background.content), - }, - })), - a0 = R.div( - ({ theme: e, withSource: t, isExpanded: r }) => ({ - position: "relative", - overflow: "hidden", - margin: "25px 0 40px", - ...En(e), - borderBottomLeftRadius: t && r && 0, - borderBottomRightRadius: t && r && 0, - borderBottomWidth: r && 0, - "h3 + &": { marginTop: "16px" }, - }), - ({ withToolbar: e }) => e && { paddingTop: 40 }, - ), - i0 = (e, t, r) => { - switch (!0) { - case !!(e && e.error): - return { - source: null, - actionItem: { - title: "No code available", - className: - "docblock-code-toggle docblock-code-toggle--disabled", - disabled: !0, - onClick: () => r(!1), - }, - }; - case t: - return { - source: m.createElement(gc, { ...e, dark: !0 }), - actionItem: { - title: "Hide code", - className: - "docblock-code-toggle docblock-code-toggle--expanded", - onClick: () => r(!1), - }, - }; - default: - return { - source: m.createElement(gc, { ...e, dark: !0 }), - actionItem: { - title: "Show code", - className: "docblock-code-toggle", - onClick: () => r(!0), - }, - }; - } - }; - function s0(e) { - if (Ya.count(e) === 1) { - let t = e; - if (t.props) return t.props.id; - } - return null; - } - var l0 = R(n0)({ - position: "absolute", - top: 0, - left: 0, - right: 0, - height: 40, - }), - u0 = R.div({ overflow: "hidden", position: "relative" }), - c0 = ({ - isLoading: e, - isColumn: t, - columns: r, - children: n, - withSource: o, - withToolbar: a = !1, - isExpanded: i = !1, - additionalActions: l, - className: s, - layout: c = "padded", - ...d - }) => { - let [p, h] = X(i), - { source: f, actionItem: b } = i0(o, p, h), - [g, x] = X(1), - S = [s].concat(["sbdocs", "sbdocs-preview", "sb-unstyled"]), - A = o ? [b] : [], - [k, T] = X(l ? [...l] : []), - I = [...A, ...k], - { window: D } = globalThis, - F = xe(async (L) => { - let { createCopyToClipboardFunction: B } = - await Promise.resolve().then(() => (Pr(), ti)); - B(); - }, []), - P = (L) => { - let B = D.getSelection(); - (B && B.type === "Range") || - (L.preventDefault(), - k.filter((G) => G.title === "Copied").length === 0 && - F(f.props.code).then(() => { - T([...k, { title: "Copied", onClick: () => {} }]), - D.setTimeout( - () => T(k.filter((G) => G.title !== "Copied")), - 1500, - ); - })); - }; - return m.createElement( - a0, - { withSource: o, withToolbar: a, ...d, className: S.join(" ") }, - a && - m.createElement(l0, { - isLoading: e, - border: !0, - zoom: (L) => x(g * L), - resetZoom: () => x(1), - storyId: s0(n), - baseUrl: "./iframe.html", - }), - m.createElement( - Zg.Provider, - { value: { scale: g } }, - m.createElement( - u0, - { className: "docs-story", onCopyCapture: o && P }, - m.createElement( - o0, - { isColumn: t || !Array.isArray(n), columns: r, layout: c }, - m.createElement( - Un.Element, - { scale: g }, - Array.isArray(n) - ? n.map((L, B) => m.createElement("div", { key: B }, L)) - : m.createElement("div", null, n), - ), - ), - m.createElement(Dn, { actionItems: I }), - ), - ), - o && p && f, - ); - }; - R(c0)(() => ({ ".docs-story": { paddingTop: 32, paddingBottom: 40 } })); - function _t() { - return ( - (_t = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var r = arguments[t]; - for (var n in r) - Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]); - } - return e; - }), - _t.apply(this, arguments) - ); - } - var d0 = ["children", "options"], - bc, - Ec; - (function (e) { - (e.blockQuote = "0"), - (e.breakLine = "1"), - (e.breakThematic = "2"), - (e.codeBlock = "3"), - (e.codeFenced = "4"), - (e.codeInline = "5"), - (e.footnote = "6"), - (e.footnoteReference = "7"), - (e.gfmTask = "8"), - (e.heading = "9"), - (e.headingSetext = "10"), - (e.htmlBlock = "11"), - (e.htmlComment = "12"), - (e.htmlSelfClosing = "13"), - (e.image = "14"), - (e.link = "15"), - (e.linkAngleBraceStyleDetector = "16"), - (e.linkBareUrlDetector = "17"), - (e.linkMailtoDetector = "18"), - (e.newlineCoalescer = "19"), - (e.orderedList = "20"), - (e.paragraph = "21"), - (e.ref = "22"), - (e.refImage = "23"), - (e.refLink = "24"), - (e.table = "25"), - (e.tableSeparator = "26"), - (e.text = "27"), - (e.textBolded = "28"), - (e.textEmphasized = "29"), - (e.textEscaped = "30"), - (e.textMarked = "31"), - (e.textStrikethroughed = "32"), - (e.unorderedList = "33"); - })(bc || (bc = {})), - (function (e) { - (e[(e.MAX = 0)] = "MAX"), - (e[(e.HIGH = 1)] = "HIGH"), - (e[(e.MED = 2)] = "MED"), - (e[(e.LOW = 3)] = "LOW"), - (e[(e.MIN = 4)] = "MIN"); - })(Ec || (Ec = {})); - var vc = [ - "allowFullScreen", - "allowTransparency", - "autoComplete", - "autoFocus", - "autoPlay", - "cellPadding", - "cellSpacing", - "charSet", - "className", - "classId", - "colSpan", - "contentEditable", - "contextMenu", - "crossOrigin", - "encType", - "formAction", - "formEncType", - "formMethod", - "formNoValidate", - "formTarget", - "frameBorder", - "hrefLang", - "inputMode", - "keyParams", - "keyType", - "marginHeight", - "marginWidth", - "maxLength", - "mediaGroup", - "minLength", - "noValidate", - "radioGroup", - "readOnly", - "rowSpan", - "spellCheck", - "srcDoc", - "srcLang", - "srcSet", - "tabIndex", - "useMap", - ].reduce((e, t) => ((e[t.toLowerCase()] = t), e), { for: "htmlFor" }), - xc = { - amp: "&", - apos: "'", - gt: ">", - lt: "<", - nbsp: "\xA0", - quot: "\u201C", - }, - p0 = ["style", "script"], - f0 = - /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, - h0 = /mailto:/i, - m0 = /\n{2,}$/, - Zc = /^(\s*>[\s\S]*?)(?=\n{2,})/, - y0 = /^ *> ?/gm, - g0 = /^ {2,}\n/, - b0 = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, - ed = /^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/, - td = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, - E0 = /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/, - v0 = /^(?:\n *)*\n/, - x0 = /\r\n?/g, - S0 = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, - w0 = /^\[\^([^\]]+)]/, - A0 = /\f/g, - T0 = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, - C0 = /^\s*?\[(x|\s)\]/, - rd = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, - nd = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, - od = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, - xa = - /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, - k0 = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, - ad = /^)/, - I0 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, - Sa = - /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, - O0 = /^\{.*\}$/, - D0 = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, - R0 = /^<([^ >]+@[^ >]+)>/, - _0 = /^<([^ >]+:\/[^ >]+)>/, - P0 = /-([a-z])?/gi, - id = /^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/, - F0 = /^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/, - N0 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, - B0 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, - j0 = /(\[|\])/g, - L0 = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, - M0 = /\t/g, - U0 = /^ *\| */, - $0 = /(^ *\||\| *$)/g, - q0 = / *$/, - V0 = /^ *:-+: *$/, - J0 = /^ *:-+ *$/, - z0 = /^ *-+: *$/, - vn = - "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)", - H0 = new RegExp(`^([*_])\\1${vn}\\1\\1(?!\\1)`), - G0 = new RegExp(`^([*_])${vn}\\1(?!\\1|\\w)`), - W0 = new RegExp(`^==${vn}==`), - K0 = new RegExp(`^~~${vn}~~`), - Y0 = /^\\([^0-9A-Za-z\s])/, - X0 = - /^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i, - Q0 = /^\n+/, - Z0 = /^([ \t]*)/, - e2 = /\\([^\\])/g, - Sc = / *\n+$/, - t2 = /(?:^|\n)( *)$/, - ka = "(?:\\d+\\.)", - Ia = "(?:[*+-])"; - function sd(e) { - return "( *)(" + (e === 1 ? ka : Ia) + ") +"; - } - var ld = sd(1), - ud = sd(2); - function cd(e) { - return new RegExp("^" + (e === 1 ? ld : ud)); - } - var r2 = cd(1), - n2 = cd(2); - function dd(e) { - return new RegExp( - "^" + - (e === 1 ? ld : ud) + - "[^\\n]*(?:\\n(?!\\1" + - (e === 1 ? ka : Ia) + - " )[^\\n]*)*(\\n|$)", - "gm", - ); - } - var pd = dd(1), - fd = dd(2); - function hd(e) { - let t = e === 1 ? ka : Ia; - return new RegExp( - "^( *)(" + - t + - ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + - t + - " (?!" + - t + - " ))\\n*|\\s*\\n*$)", - ); - } - var md = hd(1), - yd = hd(2); - function wc(e, t) { - let r = t === 1, - n = r ? md : yd, - o = r ? pd : fd, - a = r ? r2 : n2; - return { - match(i, l, s) { - let c = t2.exec(s); - return c && (l.list || (!l.inline && !l.simple)) - ? n.exec((i = c[1] + i)) - : null; - }, - order: 1, - parse(i, l, s) { - let c = r ? +i[2] : void 0, - d = i[0] - .replace( - m0, - ` -`, - ) - .match(o), - p = !1; - return { - items: d.map(function (h, f) { - let b = a.exec(h)[0].length, - g = new RegExp("^ {1," + b + "}", "gm"), - x = h.replace(g, "").replace(a, ""), - S = f === d.length - 1, - A = - x.indexOf(` - -`) !== -1 || - (S && p); - p = A; - let k = s.inline, - T = s.list, - I; - (s.list = !0), - A - ? ((s.inline = !1), - (I = x.replace( - Sc, - ` - -`, - ))) - : ((s.inline = !0), (I = x.replace(Sc, ""))); - let D = l(I, s); - return (s.inline = k), (s.list = T), D; - }), - ordered: r, - start: c, - }; - }, - render: (i, l, s) => - e( - i.ordered ? "ol" : "ul", - { key: s.key, start: i.type === "20" ? i.start : void 0 }, - i.items.map(function (c, d) { - return e("li", { key: d }, l(c, s)); - }), - ), - }; - } - var o2 = new RegExp( - `^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`, - ), - a2 = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, - gd = [Zc, ed, td, rd, od, nd, ad, id, pd, md, fd, yd], - i2 = [...gd, /^[^\n]+(?: \n|\n{2,})/, xa, Sa]; - function s2(e) { - return e - .replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g, "a") - .replace(/[çÇ]/g, "c") - .replace(/[ðÐ]/g, "d") - .replace(/[ÈÉÊËéèêë]/g, "e") - .replace(/[ÏïÎîÍíÌì]/g, "i") - .replace(/[Ññ]/g, "n") - .replace(/[øØœŒÕõÔôÓóÒò]/g, "o") - .replace(/[ÜüÛûÚúÙù]/g, "u") - .replace(/[ŸÿÝý]/g, "y") - .replace(/[^a-z0-9- ]/gi, "") - .replace(/ /gi, "-") - .toLowerCase(); - } - function l2(e) { - return z0.test(e) - ? "right" - : V0.test(e) - ? "center" - : J0.test(e) - ? "left" - : null; - } - function Ac(e, t, r) { - let n = r.inTable; - r.inTable = !0; - let o = t(e.trim(), r); - r.inTable = n; - let a = [[]]; - return ( - o.forEach(function (i, l) { - i.type === "26" - ? l !== 0 && l !== o.length - 1 && a.push([]) - : (i.type !== "27" || - (o[l + 1] != null && o[l + 1].type !== "26") || - (i.text = i.text.replace(q0, "")), - a[a.length - 1].push(i)); - }), - a - ); - } - function u2(e, t, r) { - r.inline = !0; - let n = Ac(e[1], t, r), - o = e[2].replace($0, "").split("|").map(l2), - a = (function (i, l, s) { - return i - .trim() - .split( - ` -`, - ) - .map(function (c) { - return Ac(c, l, s); - }); - })(e[3], t, r); - return (r.inline = !1), { align: o, cells: a, header: n, type: "25" }; - } - function Tc(e, t) { - return e.align[t] == null ? {} : { textAlign: e.align[t] }; - } - function yt(e) { - return function (t, r) { - return r.inline ? e.exec(t) : null; - }; - } - function gt(e) { - return function (t, r) { - return r.inline || r.simple ? e.exec(t) : null; - }; - } - function tt(e) { - return function (t, r) { - return r.inline || r.simple ? null : e.exec(t); - }; - } - function Sr(e) { - return function (t) { - return e.exec(t); - }; - } - function c2(e, t, r) { - if ( - t.inline || - t.simple || - (r && - !r.endsWith(` -`)) - ) - return null; - let n = ""; - e.split( - ` -`, - ).every( - (a) => - !gd.some((i) => i.test(a)) && - ((n += - a + - ` -`), - a.trim()), - ); - let o = n.trimEnd(); - return o == "" ? null : [n, o]; - } - function Yt(e) { - try { - if ( - decodeURIComponent(e) - .replace(/[^A-Za-z0-9/:]/g, "") - .match(/^\s*(javascript|vbscript|data(?!:image)):/i) - ) - return; - } catch { - return null; - } - return e; - } - function Cc(e) { - return e.replace(e2, "$1"); - } - function hn(e, t, r) { - let n = r.inline || !1, - o = r.simple || !1; - (r.inline = !0), (r.simple = !0); - let a = e(t, r); - return (r.inline = n), (r.simple = o), a; - } - function d2(e, t, r) { - let n = r.inline || !1, - o = r.simple || !1; - (r.inline = !1), (r.simple = !0); - let a = e(t, r); - return (r.inline = n), (r.simple = o), a; - } - function p2(e, t, r) { - return (r.inline = !1), e(t, r); - } - var la = (e, t, r) => ({ children: hn(t, e[1], r) }); - function ua() { - return {}; - } - function ca() { - return null; - } - function f2(...e) { - return e.filter(Boolean).join(" "); - } - function da(e, t, r) { - let n = e, - o = t.split("."); - for (; o.length && ((n = n[o[0]]), n !== void 0); ) o.shift(); - return n || r; - } - function h2(e = "", t = {}) { - (t.overrides = t.overrides || {}), - (t.slugify = t.slugify || s2), - (t.namedCodesToUnicode = t.namedCodesToUnicode - ? _t({}, xc, t.namedCodesToUnicode) - : xc); - let r = t.createElement || On; - function n(f, b, ...g) { - let x = da(t.overrides, `${f}.props`, {}); - return r( - (function (S, A) { - let k = da(A, S); - return k - ? typeof k == "function" || - (typeof k == "object" && "render" in k) - ? k - : da(A, `${S}.component`, S) - : S; - })(f, t.overrides), - _t({}, b, x, { className: f2(b?.className, x.className) || void 0 }), - ...g, - ); - } - function o(f) { - f = f.replace(T0, ""); - let b = !1; - t.forceInline ? (b = !0) : t.forceBlock || (b = L0.test(f) === !1); - let g = d( - c( - b - ? f - : `${f.trimEnd().replace(Q0, "")} - -`, - { inline: b }, - ), - ); - for (; typeof g[g.length - 1] == "string" && !g[g.length - 1].trim(); ) - g.pop(); - if (t.wrapper === null) return g; - let x = t.wrapper || (b ? "span" : "div"), - S; - if (g.length > 1 || t.forceWrapper) S = g; - else { - if (g.length === 1) - return ( - (S = g[0]), - typeof S == "string" ? n("span", { key: "outer" }, S) : S - ); - S = null; - } - return On(x, { key: "outer" }, S); - } - function a(f) { - let b = f.match(f0); - return b - ? b.reduce(function (g, x, S) { - let A = x.indexOf("="); - if (A !== -1) { - let k = (function (F) { - return ( - F.indexOf("-") !== -1 && - F.match(I0) === null && - (F = F.replace(P0, function (P, L) { - return L.toUpperCase(); - })), - F - ); - })(x.slice(0, A)).trim(), - T = (function (F) { - let P = F[0]; - return (P === '"' || P === "'") && - F.length >= 2 && - F[F.length - 1] === P - ? F.slice(1, -1) - : F; - })(x.slice(A + 1).trim()), - I = vc[k] || k, - D = (g[I] = (function (F, P) { - return F === "style" - ? P.split(/;\s?/).reduce(function (L, B) { - let G = B.slice(0, B.indexOf(":")); - return ( - (L[ - G.trim().replace(/(-[a-z])/g, ($) => - $[1].toUpperCase(), - ) - ] = B.slice(G.length + 1).trim()), - L - ); - }, {}) - : F === "href" || F === "src" - ? Yt(P) - : (P.match(O0) && (P = P.slice(1, P.length - 1)), - P === "true" || (P !== "false" && P)); - })(k, T)); - typeof D == "string" && - (xa.test(D) || Sa.test(D)) && - (g[I] = ue(o(D.trim()), { key: S })); - } else x !== "style" && (g[vc[x] || x] = !0); - return g; - }, {}) - : null; - } - let i = [], - l = {}, - s = { - 0: { - match: tt(Zc), - order: 1, - parse: (f, b, g) => ({ children: b(f[0].replace(y0, ""), g) }), - render: (f, b, g) => - n("blockquote", { key: g.key }, b(f.children, g)), - }, - 1: { - match: Sr(g0), - order: 1, - parse: ua, - render: (f, b, g) => n("br", { key: g.key }), - }, - 2: { - match: tt(b0), - order: 1, - parse: ua, - render: (f, b, g) => n("hr", { key: g.key }), - }, - 3: { - match: tt(td), - order: 0, - parse: (f) => ({ - lang: void 0, - text: f[0].replace(/^ {4}/gm, "").replace(/\n+$/, ""), - }), - render: (f, b, g) => - n( - "pre", - { key: g.key }, - n( - "code", - _t({}, f.attrs, { - className: f.lang ? `lang-${f.lang}` : "", - }), - f.text, - ), - ), - }, - 4: { - match: tt(ed), - order: 0, - parse: (f) => ({ - attrs: a(f[3] || ""), - lang: f[2] || void 0, - text: f[4], - type: "3", - }), - }, - 5: { - match: gt(E0), - order: 3, - parse: (f) => ({ text: f[2] }), - render: (f, b, g) => n("code", { key: g.key }, f.text), - }, - 6: { - match: tt(S0), - order: 0, - parse: (f) => (i.push({ footnote: f[2], identifier: f[1] }), {}), - render: ca, - }, - 7: { - match: yt(w0), - order: 1, - parse: (f) => ({ target: `#${t.slugify(f[1])}`, text: f[1] }), - render: (f, b, g) => - n( - "a", - { key: g.key, href: Yt(f.target) }, - n("sup", { key: g.key }, f.text), - ), - }, - 8: { - match: yt(C0), - order: 1, - parse: (f) => ({ completed: f[1].toLowerCase() === "x" }), - render: (f, b, g) => - n("input", { - checked: f.completed, - key: g.key, - readOnly: !0, - type: "checkbox", - }), - }, - 9: { - match: tt(t.enforceAtxHeadings ? nd : rd), - order: 1, - parse: (f, b, g) => ({ - children: hn(b, f[2], g), - id: t.slugify(f[2]), - level: f[1].length, - }), - render: (f, b, g) => - n(`h${f.level}`, { id: f.id, key: g.key }, b(f.children, g)), - }, - 10: { - match: tt(od), - order: 0, - parse: (f, b, g) => ({ - children: hn(b, f[1], g), - level: f[2] === "=" ? 1 : 2, - type: "9", - }), - }, - 11: { - match: Sr(xa), - order: 1, - parse(f, b, g) { - let [, x] = f[3].match(Z0), - S = new RegExp(`^${x}`, "gm"), - A = f[3].replace(S, ""), - k = ((T = A), i2.some((P) => P.test(T)) ? p2 : hn); - var T; - let I = f[1].toLowerCase(), - D = p0.indexOf(I) !== -1, - F = { - attrs: a(f[2]), - noInnerParse: D, - tag: (D ? I : f[1]).trim(), - }; - return ( - (g.inAnchor = g.inAnchor || I === "a"), - D ? (F.text = f[3]) : (F.children = k(b, A, g)), - (g.inAnchor = !1), - F - ); - }, - render: (f, b, g) => - n(f.tag, _t({ key: g.key }, f.attrs), f.text || b(f.children, g)), - }, - 13: { - match: Sr(Sa), - order: 1, - parse: (f) => ({ attrs: a(f[2] || ""), tag: f[1].trim() }), - render: (f, b, g) => n(f.tag, _t({}, f.attrs, { key: g.key })), - }, - 12: { match: Sr(ad), order: 1, parse: () => ({}), render: ca }, - 14: { - match: gt(a2), - order: 1, - parse: (f) => ({ alt: f[1], target: Cc(f[2]), title: f[3] }), - render: (f, b, g) => - n("img", { - key: g.key, - alt: f.alt || void 0, - title: f.title || void 0, - src: Yt(f.target), - }), - }, - 15: { - match: yt(o2), - order: 3, - parse: (f, b, g) => ({ - children: d2(b, f[1], g), - target: Cc(f[2]), - title: f[3], - }), - render: (f, b, g) => - n( - "a", - { key: g.key, href: Yt(f.target), title: f.title }, - b(f.children, g), - ), - }, - 16: { - match: yt(_0), - order: 0, - parse: (f) => ({ - children: [{ text: f[1], type: "27" }], - target: f[1], - type: "15", - }), - }, - 17: { - match: (f, b) => (b.inAnchor ? null : yt(D0)(f, b)), - order: 0, - parse: (f) => ({ - children: [{ text: f[1], type: "27" }], - target: f[1], - title: void 0, - type: "15", - }), - }, - 18: { - match: yt(R0), - order: 0, - parse(f) { - let b = f[1], - g = f[1]; - return ( - h0.test(g) || (g = "mailto:" + g), - { - children: [{ text: b.replace("mailto:", ""), type: "27" }], - target: g, - type: "15", - } - ); - }, - }, - 20: wc(n, 1), - 33: wc(n, 2), - 19: { - match: tt(v0), - order: 3, - parse: ua, - render: () => ` -`, - }, - 21: { - match: c2, - order: 3, - parse: la, - render: (f, b, g) => n("p", { key: g.key }, b(f.children, g)), - }, - 22: { - match: yt(F0), - order: 0, - parse: (f) => ((l[f[1]] = { target: f[2], title: f[4] }), {}), - render: ca, - }, - 23: { - match: gt(N0), - order: 0, - parse: (f) => ({ alt: f[1] || void 0, ref: f[2] }), - render: (f, b, g) => - l[f.ref] - ? n("img", { - key: g.key, - alt: f.alt, - src: Yt(l[f.ref].target), - title: l[f.ref].title, - }) - : null, - }, - 24: { - match: yt(B0), - order: 0, - parse: (f, b, g) => ({ - children: b(f[1], g), - fallbackChildren: b(f[0].replace(j0, "\\$1"), g), - ref: f[2], - }), - render: (f, b, g) => - l[f.ref] - ? n( - "a", - { - key: g.key, - href: Yt(l[f.ref].target), - title: l[f.ref].title, - }, - b(f.children, g), - ) - : n("span", { key: g.key }, b(f.fallbackChildren, g)), - }, - 25: { - match: tt(id), - order: 1, - parse: u2, - render: (f, b, g) => - n( - "table", - { key: g.key }, - n( - "thead", - null, - n( - "tr", - null, - f.header.map(function (x, S) { - return n("th", { key: S, style: Tc(f, S) }, b(x, g)); - }), - ), - ), - n( - "tbody", - null, - f.cells.map(function (x, S) { - return n( - "tr", - { key: S }, - x.map(function (A, k) { - return n("td", { key: k, style: Tc(f, k) }, b(A, g)); - }), - ); - }), - ), - ), - }, - 26: { - match: function (f, b) { - return b.inTable ? ((b.inline = !0), U0.exec(f)) : null; - }, - order: 1, - parse: function () { - return { type: "26" }; - }, - render: () => " | ", - }, - 27: { - match: Sr(X0), - order: 4, - parse: (f) => ({ - text: f[0].replace(k0, (b, g) => - t.namedCodesToUnicode[g] ? t.namedCodesToUnicode[g] : b, - ), - }), - render: (f) => f.text, - }, - 28: { - match: gt(H0), - order: 2, - parse: (f, b, g) => ({ children: b(f[2], g) }), - render: (f, b, g) => n("strong", { key: g.key }, b(f.children, g)), - }, - 29: { - match: gt(G0), - order: 3, - parse: (f, b, g) => ({ children: b(f[2], g) }), - render: (f, b, g) => n("em", { key: g.key }, b(f.children, g)), - }, - 30: { - match: gt(Y0), - order: 1, - parse: (f) => ({ text: f[1], type: "27" }), - }, - 31: { - match: gt(W0), - order: 3, - parse: la, - render: (f, b, g) => n("mark", { key: g.key }, b(f.children, g)), - }, - 32: { - match: gt(K0), - order: 3, - parse: la, - render: (f, b, g) => n("del", { key: g.key }, b(f.children, g)), - }, - }; - t.disableParsingRawHTML === !0 && (delete s[11], delete s[13]); - let c = (function (f) { - let b = Object.keys(f); - function g(x, S) { - let A = [], - k = ""; - for (; x; ) { - let T = 0; - for (; T < b.length; ) { - let I = b[T], - D = f[I], - F = D.match(x, S, k); - if (F) { - let P = F[0]; - x = x.substring(P.length); - let L = D.parse(F, g, S); - L.type == null && (L.type = I), A.push(L), (k = P); - break; - } - T++; - } - } - return A; - } - return ( - b.sort(function (x, S) { - let A = f[x].order, - k = f[S].order; - return A !== k ? A - k : x < S ? -1 : 1; - }), - function (x, S) { - return g( - (function (A) { - return A.replace( - x0, - ` -`, - ) - .replace(A0, "") - .replace(M0, " "); - })(x), - S, - ); - } - ); - })(s), - d = - ((p = (function (f, b) { - return function (g, x, S) { - let A = f[g.type].render; - return b ? b(() => A(g, x, S), g, x, S) : A(g, x, S); - }; - })(s, t.renderRule)), - function f(b, g = {}) { - if (Array.isArray(b)) { - let x = g.key, - S = [], - A = !1; - for (let k = 0; k < b.length; k++) { - g.key = k; - let T = f(b[k], g), - I = typeof T == "string"; - I && A ? (S[S.length - 1] += T) : T !== null && S.push(T), - (A = I); - } - return (g.key = x), S; - } - return p(b, f, g); - }); - var p; - let h = o(e); - return i.length - ? n( - "div", - null, - h, - n( - "footer", - { key: "footer" }, - i.map(function (f) { - return n( - "div", - { id: t.slugify(f.identifier), key: f.identifier }, - f.identifier, - d(c(f.footnote, { inline: !0 })), - ); - }), - ), - ) - : h; - } - var m2 = (e) => { - let { children: t = "", options: r } = e, - n = (function (o, a) { - if (o == null) return {}; - var i, - l, - s = {}, - c = Object.keys(o); - for (l = 0; l < c.length; l++) - a.indexOf((i = c[l])) >= 0 || (s[i] = o[i]); - return s; - })(e, d0); - return ue(h2(t, r), n); - }, - y2 = R.label(({ theme: e }) => ({ - lineHeight: "18px", - alignItems: "center", - marginBottom: 8, - display: "inline-block", - position: "relative", - whiteSpace: "nowrap", - background: e.boolean.background, - borderRadius: "3em", - padding: 1, - '&[aria-disabled="true"]': { - opacity: 0.5, - input: { cursor: "not-allowed" }, - }, - input: { - appearance: "none", - width: "100%", - height: "100%", - position: "absolute", - left: 0, - top: 0, - margin: 0, - padding: 0, - border: "none", - background: "transparent", - cursor: "pointer", - borderRadius: "3em", - "&:focus": { - outline: "none", - boxShadow: `${e.color.secondary} 0 0 0 1px inset !important`, - }, - }, - span: { - textAlign: "center", - fontSize: e.typography.size.s1, - fontWeight: e.typography.weight.bold, - lineHeight: "1", - cursor: "pointer", - display: "inline-block", - padding: "7px 15px", - transition: "all 100ms ease-out", - userSelect: "none", - borderRadius: "3em", - color: se(0.5, e.color.defaultText), - background: "transparent", - "&:hover": { - boxShadow: `${cn(0.3, e.appBorderColor)} 0 0 0 1px inset`, - }, - "&:active": { - boxShadow: `${cn(0.05, e.appBorderColor)} 0 0 0 2px inset`, - color: cn(1, e.appBorderColor), - }, - "&:first-of-type": { paddingRight: 8 }, - "&:last-of-type": { paddingLeft: 8 }, - }, - "input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type": - { - background: e.boolean.selectedBackground, - boxShadow: - e.base === "light" - ? `${cn(0.1, e.appBorderColor)} 0 0 2px` - : `${e.appBorderColor} 0 0 0 1px`, - color: e.color.defaultText, - padding: "7px 15px", - }, - })), - g2 = (e) => e === "true", - b2 = ({ - name: e, - value: t, - onChange: r, - onBlur: n, - onFocus: o, - argType: a, - }) => { - let i = xe(() => r(!1), [r]), - l = !!a?.table?.readonly; - if (t === void 0) - return m.createElement( - lt, - { - variant: "outline", - size: "medium", - id: lr(e), - onClick: i, - disabled: l, - }, - "Set boolean", - ); - let s = Fe(e), - c = typeof t == "string" ? g2(t) : t; - return m.createElement( - y2, - { "aria-disabled": l, htmlFor: s, "aria-label": e }, - m.createElement("input", { - id: s, - type: "checkbox", - onChange: (d) => r(d.target.checked), - checked: c, - role: "switch", - disabled: l, - name: e, - onBlur: n, - onFocus: o, - }), - m.createElement("span", { "aria-hidden": "true" }, "False"), - m.createElement("span", { "aria-hidden": "true" }, "True"), - ); - }, - E2 = (e) => { - let [t, r, n] = e.split("-"), - o = new Date(); - return ( - o.setFullYear(parseInt(t, 10), parseInt(r, 10) - 1, parseInt(n, 10)), - o - ); - }, - v2 = (e) => { - let [t, r] = e.split(":"), - n = new Date(); - return n.setHours(parseInt(t, 10)), n.setMinutes(parseInt(r, 10)), n; - }, - x2 = (e) => { - let t = new Date(e), - r = `000${t.getFullYear()}`.slice(-4), - n = `0${t.getMonth() + 1}`.slice(-2), - o = `0${t.getDate()}`.slice(-2); - return `${r}-${n}-${o}`; - }, - S2 = (e) => { - let t = new Date(e), - r = `0${t.getHours()}`.slice(-2), - n = `0${t.getMinutes()}`.slice(-2); - return `${r}:${n}`; - }, - kc = R(Ve.Input)(({ readOnly: e }) => ({ opacity: e ? 0.5 : 1 })), - w2 = R.div(({ theme: e }) => ({ - flex: 1, - display: "flex", - input: { - marginLeft: 10, - flex: 1, - height: 32, - "&::-webkit-calendar-picker-indicator": { - opacity: 0.5, - height: 12, - filter: e.base === "light" ? void 0 : "invert(1)", - }, - }, - "input:first-of-type": { marginLeft: 0, flexGrow: 4 }, - "input:last-of-type": { flexGrow: 3 }, - })), - A2 = ({ - name: e, - value: t, - onChange: r, - onFocus: n, - onBlur: o, - argType: a, - }) => { - let [i, l] = X(!0), - s = Re(), - c = Re(), - d = !!a?.table?.readonly; - Se(() => { - i !== !1 && - (s && s.current && (s.current.value = t ? x2(t) : ""), - c && c.current && (c.current.value = t ? S2(t) : "")); - }, [t]); - let p = (b) => { - if (!b.target.value) return r(); - let g = E2(b.target.value), - x = new Date(t); - x.setFullYear(g.getFullYear(), g.getMonth(), g.getDate()); - let S = x.getTime(); - S && r(S), l(!!S); - }, - h = (b) => { - if (!b.target.value) return r(); - let g = v2(b.target.value), - x = new Date(t); - x.setHours(g.getHours()), x.setMinutes(g.getMinutes()); - let S = x.getTime(); - S && r(S), l(!!S); - }, - f = Fe(e); - return m.createElement( - w2, - null, - m.createElement(kc, { - type: "date", - max: "9999-12-31", - ref: s, - id: `${f}-date`, - name: `${f}-date`, - readOnly: d, - onChange: p, - onFocus: n, - onBlur: o, - }), - m.createElement(kc, { - type: "time", - id: `${f}-time`, - name: `${f}-time`, - ref: c, - onChange: h, - readOnly: d, - onFocus: n, - onBlur: o, - }), - i ? null : m.createElement("div", null, "invalid"), - ); - }, - T2 = R.label({ display: "flex" }), - C2 = (e) => { - let t = parseFloat(e); - return Number.isNaN(t) ? void 0 : t; - }, - k2 = R(Ve.Input)(({ readOnly: e }) => ({ opacity: e ? 0.5 : 1 })), - I2 = ({ - name: e, - value: t, - onChange: r, - min: n, - max: o, - step: a, - onBlur: i, - onFocus: l, - argType: s, - }) => { - let [c, d] = X(typeof t == "number" ? t : ""), - [p, h] = X(!1), - [f, b] = X(null), - g = !!s?.table?.readonly, - x = xe( - (k) => { - d(k.target.value); - let T = parseFloat(k.target.value); - Number.isNaN(T) - ? b(new Error(`'${k.target.value}' is not a number`)) - : (r(T), b(null)); - }, - [r, b], - ), - S = xe(() => { - d("0"), r(0), h(!0); - }, [h]), - A = Re(null); - return ( - Se(() => { - p && A.current && A.current.select(); - }, [p]), - Se(() => { - c !== (typeof t == "number" ? t : "") && d(t); - }, [t]), - t === void 0 - ? m.createElement( - lt, - { - variant: "outline", - size: "medium", - id: lr(e), - onClick: S, - disabled: g, - }, - "Set number", - ) - : m.createElement( - T2, - null, - m.createElement(k2, { - ref: A, - id: Fe(e), - type: "number", - onChange: x, - size: "flex", - placeholder: "Edit number...", - value: c, - valid: f ? "error" : null, - autoFocus: p, - readOnly: g, - name: e, - min: n, - max: o, - step: a, - onFocus: l, - onBlur: i, - }), - ) - ); - }, - bd = (e, t) => { - let r = t && Object.entries(t).find(([n, o]) => o === e); - return r ? r[0] : void 0; - }, - wa = (e, t) => - e && t - ? Object.entries(t) - .filter((r) => e.includes(r[1])) - .map((r) => r[0]) - : [], - Ed = (e, t) => e && t && e.map((r) => t[r]), - O2 = R.div( - ({ isInline: e }) => - e - ? { - display: "flex", - flexWrap: "wrap", - alignItems: "flex-start", - label: { display: "inline-flex", marginRight: 15 }, - } - : { label: { display: "flex" } }, - (e) => { - if (e["aria-readonly"] === "true") - return { input: { cursor: "not-allowed" } }; - }, - ), - D2 = R.span({ "[aria-readonly=true] &": { opacity: 0.5 } }), - R2 = R.label({ - lineHeight: "20px", - alignItems: "center", - marginBottom: 8, - "&:last-child": { marginBottom: 0 }, - input: { margin: 0, marginRight: 6 }, - }), - Ic = ({ - name: e, - options: t, - value: r, - onChange: n, - isInline: o, - argType: a, - }) => { - if (!t) - return ( - Vr.warn(`Checkbox with no options: ${e}`), - m.createElement(m.Fragment, null, "-") - ); - let i = wa(r, t), - [l, s] = X(i), - c = !!a?.table?.readonly, - d = (h) => { - let f = h.target.value, - b = [...l]; - b.includes(f) ? b.splice(b.indexOf(f), 1) : b.push(f), - n(Ed(b, t)), - s(b); - }; - Se(() => { - s(wa(r, t)); - }, [r]); - let p = Fe(e); - return m.createElement( - O2, - { "aria-readonly": c, isInline: o }, - Object.keys(t).map((h, f) => { - let b = `${p}-${f}`; - return m.createElement( - R2, - { key: b, htmlFor: b }, - m.createElement("input", { - type: "checkbox", - disabled: c, - id: b, - name: b, - value: h, - onChange: d, - checked: l?.includes(h), - }), - m.createElement(D2, null, h), - ); - }), - ); - }, - _2 = R.div( - ({ isInline: e }) => - e - ? { - display: "flex", - flexWrap: "wrap", - alignItems: "flex-start", - label: { display: "inline-flex", marginRight: 15 }, - } - : { label: { display: "flex" } }, - (e) => { - if (e["aria-readonly"] === "true") - return { input: { cursor: "not-allowed" } }; - }, - ), - P2 = R.span({ "[aria-readonly=true] &": { opacity: 0.5 } }), - F2 = R.label({ - lineHeight: "20px", - alignItems: "center", - marginBottom: 8, - "&:last-child": { marginBottom: 0 }, - input: { margin: 0, marginRight: 6 }, - }), - Oc = ({ - name: e, - options: t, - value: r, - onChange: n, - isInline: o, - argType: a, - }) => { - if (!t) - return ( - Vr.warn(`Radio with no options: ${e}`), - m.createElement(m.Fragment, null, "-") - ); - let i = bd(r, t), - l = Fe(e), - s = !!a?.table?.readonly; - return m.createElement( - _2, - { "aria-readonly": s, isInline: o }, - Object.keys(t).map((c, d) => { - let p = `${l}-${d}`; - return m.createElement( - F2, - { key: p, htmlFor: p }, - m.createElement("input", { - type: "radio", - id: p, - name: l, - disabled: s, - value: c, - onChange: (h) => n(t[h.currentTarget.value]), - checked: c === i, - }), - m.createElement(P2, null, c), - ); - }), - ); - }, - N2 = { - appearance: "none", - border: "0 none", - boxSizing: "inherit", - display: " block", - margin: " 0", - background: "transparent", - padding: 0, - fontSize: "inherit", - position: "relative", - }, - vd = R.select(N2, ({ theme: e }) => ({ - boxSizing: "border-box", - position: "relative", - padding: "6px 10px", - width: "100%", - color: e.input.color || "inherit", - background: e.input.background, - borderRadius: e.input.borderRadius, - boxShadow: `${e.input.border} 0 0 0 1px inset`, - fontSize: e.typography.size.s2 - 1, - lineHeight: "20px", - "&:focus": { - boxShadow: `${e.color.secondary} 0 0 0 1px inset`, - outline: "none", - }, - "&[disabled]": { cursor: "not-allowed", opacity: 0.5 }, - "::placeholder": { color: e.textMutedColor }, - "&[multiple]": { - overflow: "auto", - padding: 0, - option: { - display: "block", - padding: "6px 10px", - marginLeft: 1, - marginRight: 1, - }, - }, - })), - xd = R.span(({ theme: e }) => ({ - display: "inline-block", - lineHeight: "normal", - overflow: "hidden", - position: "relative", - verticalAlign: "top", - width: "100%", - svg: { - position: "absolute", - zIndex: 1, - pointerEvents: "none", - height: "12px", - marginTop: "-6px", - right: "12px", - top: "50%", - fill: e.textMutedColor, - path: { fill: e.textMutedColor }, - }, - })), - Dc = "Choose option...", - B2 = ({ name: e, value: t, options: r, onChange: n, argType: o }) => { - let a = (c) => { - n(r[c.currentTarget.value]); - }, - i = bd(t, r) || Dc, - l = Fe(e), - s = !!o?.table?.readonly; - return m.createElement( - xd, - null, - m.createElement(eo, null), - m.createElement( - vd, - { disabled: s, id: l, value: i, onChange: a }, - m.createElement( - "option", - { key: "no-selection", disabled: !0 }, - Dc, - ), - Object.keys(r).map((c) => - m.createElement("option", { key: c, value: c }, c), - ), - ), - ); - }, - j2 = ({ name: e, value: t, options: r, onChange: n, argType: o }) => { - let a = (c) => { - let d = Array.from(c.currentTarget.options) - .filter((p) => p.selected) - .map((p) => p.value); - n(Ed(d, r)); - }, - i = wa(t, r), - l = Fe(e), - s = !!o?.table?.readonly; - return m.createElement( - xd, - null, - m.createElement( - vd, - { disabled: s, id: l, multiple: !0, value: i, onChange: a }, - Object.keys(r).map((c) => - m.createElement("option", { key: c, value: c }, c), - ), - ), - ); - }, - Rc = (e) => { - let { name: t, options: r } = e; - return r - ? e.isMulti - ? m.createElement(j2, { ...e }) - : m.createElement(B2, { ...e }) - : (Vr.warn(`Select with no options: ${t}`), - m.createElement(m.Fragment, null, "-")); - }, - L2 = (e, t) => - Array.isArray(e) - ? e.reduce((r, n) => ((r[t?.[n] || String(n)] = n), r), {}) - : e, - M2 = { - check: Ic, - "inline-check": Ic, - radio: Oc, - "inline-radio": Oc, - select: Rc, - "multi-select": Rc, - }, - Xt = (e) => { - let { type: t = "select", labels: r, argType: n } = e, - o = { - ...e, - argType: n, - options: n ? L2(n.options, r) : {}, - isInline: t.includes("inline"), - isMulti: t.includes("multi"), - }, - a = M2[t]; - if (a) return m.createElement(a, { ...o }); - throw new Error(`Unknown options type: ${t}`); - }, - U2 = "Error", - $2 = "Object", - q2 = "Array", - V2 = "String", - J2 = "Number", - z2 = "Boolean", - H2 = "Date", - G2 = "Null", - W2 = "Undefined", - K2 = "Function", - Y2 = "Symbol", - Sd = "ADD_DELTA_TYPE", - wd = "REMOVE_DELTA_TYPE", - Ad = "UPDATE_DELTA_TYPE", - Oa = "value", - X2 = "key"; - function Pt(e) { - return e !== null && - typeof e == "object" && - !Array.isArray(e) && - typeof e[Symbol.iterator] == "function" - ? "Iterable" - : Object.prototype.toString.call(e).slice(8, -1); - } - function Td(e, t) { - let r = Pt(e), - n = Pt(t); - return (r === "Function" || n === "Function") && n !== r; - } - var Da = class extends it { - constructor(e) { - super(e), - (this.state = { inputRefKey: null, inputRefValue: null }), - (this.refInputValue = this.refInputValue.bind(this)), - (this.refInputKey = this.refInputKey.bind(this)), - (this.onKeydown = this.onKeydown.bind(this)), - (this.onSubmit = this.onSubmit.bind(this)); - } - componentDidMount() { - let { inputRefKey: e, inputRefValue: t } = this.state, - { onlyValue: r } = this.props; - e && typeof e.focus == "function" && e.focus(), - r && t && typeof t.focus == "function" && t.focus(), - document.addEventListener("keydown", this.onKeydown); - } - componentWillUnmount() { - document.removeEventListener("keydown", this.onKeydown); - } - onKeydown(e) { - e.altKey || - e.ctrlKey || - e.metaKey || - e.shiftKey || - e.repeat || - ((e.code === "Enter" || e.key === "Enter") && - (e.preventDefault(), this.onSubmit()), - (e.code === "Escape" || e.key === "Escape") && - (e.preventDefault(), this.props.handleCancel())); - } - onSubmit() { - let { - handleAdd: e, - onlyValue: t, - onSubmitValueParser: r, - keyPath: n, - deep: o, - } = this.props, - { inputRefKey: a, inputRefValue: i } = this.state, - l = {}; - if (!t) { - if (!a.value) return; - l.key = a.value; - } - (l.newValue = r(!1, n, o, l.key, i.value)), e(l); - } - refInputKey(e) { - this.state.inputRefKey = e; - } - refInputValue(e) { - this.state.inputRefValue = e; - } - render() { - let { - handleCancel: e, - onlyValue: t, - addButtonElement: r, - cancelButtonElement: n, - inputElementGenerator: o, - keyPath: a, - deep: i, - } = this.props, - l = ue(r, { onClick: this.onSubmit }), - s = ue(n, { onClick: e }), - c = o(Oa, a, i), - d = ue(c, { placeholder: "Value", ref: this.refInputValue }), - p = null; - if (!t) { - let h = o(X2, a, i); - p = ue(h, { placeholder: "Key", ref: this.refInputKey }); - } - return m.createElement( - "span", - { className: "rejt-add-value-node" }, - p, - d, - s, - l, - ); - } - }; - Da.defaultProps = { - onlyValue: !1, - addButtonElement: m.createElement("button", null, "+"), - cancelButtonElement: m.createElement("button", null, "c"), - }; - var Cd = class extends it { - constructor(e) { - super(e); - let t = [...e.keyPath, e.name]; - (this.state = { - data: e.data, - name: e.name, - keyPath: t, - deep: e.deep, - nextDeep: e.deep + 1, - collapsed: e.isCollapsed(t, e.deep, e.data), - addFormVisible: !1, - }), - (this.handleCollapseMode = this.handleCollapseMode.bind(this)), - (this.handleRemoveItem = this.handleRemoveItem.bind(this)), - (this.handleAddMode = this.handleAddMode.bind(this)), - (this.handleAddValueAdd = this.handleAddValueAdd.bind(this)), - (this.handleAddValueCancel = this.handleAddValueCancel.bind(this)), - (this.handleEditValue = this.handleEditValue.bind(this)), - (this.onChildUpdate = this.onChildUpdate.bind(this)), - (this.renderCollapsed = this.renderCollapsed.bind(this)), - (this.renderNotCollapsed = this.renderNotCollapsed.bind(this)); - } - static getDerivedStateFromProps(e, t) { - return e.data !== t.data ? { data: e.data } : null; - } - onChildUpdate(e, t) { - let { data: r, keyPath: n } = this.state; - (r[e] = t), this.setState({ data: r }); - let { onUpdate: o } = this.props, - a = n.length; - o(n[a - 1], r); - } - handleAddMode() { - this.setState({ addFormVisible: !0 }); - } - handleCollapseMode() { - this.setState((e) => ({ collapsed: !e.collapsed })); - } - handleRemoveItem(e) { - return () => { - let { beforeRemoveAction: t, logger: r } = this.props, - { data: n, keyPath: o, nextDeep: a } = this.state, - i = n[e]; - t(e, o, a, i) - .then(() => { - let l = { keyPath: o, deep: a, key: e, oldValue: i, type: wd }; - n.splice(e, 1), this.setState({ data: n }); - let { onUpdate: s, onDeltaUpdate: c } = this.props; - s(o[o.length - 1], n), c(l); - }) - .catch(r.error); - }; - } - handleAddValueAdd({ newValue: e }) { - let { data: t, keyPath: r, nextDeep: n } = this.state, - { beforeAddAction: o, logger: a } = this.props; - o(t.length, r, n, e) - .then(() => { - let i = [...t, e]; - this.setState({ data: i }), this.handleAddValueCancel(); - let { onUpdate: l, onDeltaUpdate: s } = this.props; - l(r[r.length - 1], i), - s({ - type: Sd, - keyPath: r, - deep: n, - key: i.length - 1, - newValue: e, - }); - }) - .catch(a.error); - } - handleAddValueCancel() { - this.setState({ addFormVisible: !1 }); - } - handleEditValue({ key: e, value: t }) { - return new Promise((r, n) => { - let { beforeUpdateAction: o } = this.props, - { data: a, keyPath: i, nextDeep: l } = this.state, - s = a[e]; - o(e, i, l, s, t) - .then(() => { - (a[e] = t), this.setState({ data: a }); - let { onUpdate: c, onDeltaUpdate: d } = this.props; - c(i[i.length - 1], a), - d({ - type: Ad, - keyPath: i, - deep: l, - key: e, - newValue: t, - oldValue: s, - }), - r(void 0); - }) - .catch(n); - }); - } - renderCollapsed() { - let { name: e, data: t, keyPath: r, deep: n } = this.state, - { - handleRemove: o, - readOnly: a, - getStyle: i, - dataType: l, - minusMenuElement: s, - } = this.props, - { minus: c, collapsed: d } = i(e, t, r, n, l), - p = a(e, t, r, n, l), - h = ue(s, { onClick: o, className: "rejt-minus-menu", style: c }); - return m.createElement( - "span", - { className: "rejt-collapsed" }, - m.createElement( - "span", - { - className: "rejt-collapsed-text", - style: d, - onClick: this.handleCollapseMode, - }, - "[...] ", - t.length, - " ", - t.length === 1 ? "item" : "items", - ), - !p && h, - ); - } - renderNotCollapsed() { - let { - name: e, - data: t, - keyPath: r, - deep: n, - addFormVisible: o, - nextDeep: a, - } = this.state, - { - isCollapsed: i, - handleRemove: l, - onDeltaUpdate: s, - readOnly: c, - getStyle: d, - dataType: p, - addButtonElement: h, - cancelButtonElement: f, - editButtonElement: b, - inputElementGenerator: g, - textareaElementGenerator: x, - minusMenuElement: S, - plusMenuElement: A, - beforeRemoveAction: k, - beforeAddAction: T, - beforeUpdateAction: I, - logger: D, - onSubmitValueParser: F, - } = this.props, - { - minus: P, - plus: L, - delimiter: B, - ul: G, - addForm: $, - } = d(e, t, r, n, p), - H = c(e, t, r, n, p), - w = ue(A, { - onClick: this.handleAddMode, - className: "rejt-plus-menu", - style: L, - }), - C = ue(S, { onClick: l, className: "rejt-minus-menu", style: P }); - return m.createElement( - "span", - { className: "rejt-not-collapsed" }, - m.createElement( - "span", - { className: "rejt-not-collapsed-delimiter", style: B }, - "[", - ), - !o && w, - m.createElement( - "ul", - { className: "rejt-not-collapsed-list", style: G }, - t.map((_, M) => - m.createElement(xn, { - key: M, - name: M.toString(), - data: _, - keyPath: r, - deep: a, - isCollapsed: i, - handleRemove: this.handleRemoveItem(M), - handleUpdateValue: this.handleEditValue, - onUpdate: this.onChildUpdate, - onDeltaUpdate: s, - readOnly: c, - getStyle: d, - addButtonElement: h, - cancelButtonElement: f, - editButtonElement: b, - inputElementGenerator: g, - textareaElementGenerator: x, - minusMenuElement: S, - plusMenuElement: A, - beforeRemoveAction: k, - beforeAddAction: T, - beforeUpdateAction: I, - logger: D, - onSubmitValueParser: F, - }), - ), - ), - !H && - o && - m.createElement( - "div", - { className: "rejt-add-form", style: $ }, - m.createElement(Da, { - handleAdd: this.handleAddValueAdd, - handleCancel: this.handleAddValueCancel, - onlyValue: !0, - addButtonElement: h, - cancelButtonElement: f, - inputElementGenerator: g, - keyPath: r, - deep: n, - onSubmitValueParser: F, - }), - ), - m.createElement( - "span", - { className: "rejt-not-collapsed-delimiter", style: B }, - "]", - ), - !H && C, - ); - } - render() { - let { - name: e, - collapsed: t, - data: r, - keyPath: n, - deep: o, - } = this.state, - { dataType: a, getStyle: i } = this.props, - l = t ? this.renderCollapsed() : this.renderNotCollapsed(), - s = i(e, r, n, o, a); - return m.createElement( - "div", - { className: "rejt-array-node" }, - m.createElement( - "span", - { onClick: this.handleCollapseMode }, - m.createElement( - "span", - { className: "rejt-name", style: s.name }, - e, - " :", - " ", - ), - ), - l, - ); - } - }; - Cd.defaultProps = { - keyPath: [], - deep: 0, - minusMenuElement: m.createElement("span", null, " - "), - plusMenuElement: m.createElement("span", null, " + "), - }; - var kd = class extends it { - constructor(e) { - super(e); - let t = [...e.keyPath, e.name]; - (this.state = { - value: e.value, - name: e.name, - keyPath: t, - deep: e.deep, - editEnabled: !1, - inputRef: null, - }), - (this.handleEditMode = this.handleEditMode.bind(this)), - (this.refInput = this.refInput.bind(this)), - (this.handleCancelEdit = this.handleCancelEdit.bind(this)), - (this.handleEdit = this.handleEdit.bind(this)), - (this.onKeydown = this.onKeydown.bind(this)); - } - static getDerivedStateFromProps(e, t) { - return e.value !== t.value ? { value: e.value } : null; - } - componentDidUpdate() { - let { - editEnabled: e, - inputRef: t, - name: r, - value: n, - keyPath: o, - deep: a, - } = this.state, - { readOnly: i, dataType: l } = this.props, - s = i(r, n, o, a, l); - e && !s && typeof t.focus == "function" && t.focus(); - } - componentDidMount() { - document.addEventListener("keydown", this.onKeydown); - } - componentWillUnmount() { - document.removeEventListener("keydown", this.onKeydown); - } - onKeydown(e) { - e.altKey || - e.ctrlKey || - e.metaKey || - e.shiftKey || - e.repeat || - ((e.code === "Enter" || e.key === "Enter") && - (e.preventDefault(), this.handleEdit()), - (e.code === "Escape" || e.key === "Escape") && - (e.preventDefault(), this.handleCancelEdit())); - } - handleEdit() { - let { - handleUpdateValue: e, - originalValue: t, - logger: r, - onSubmitValueParser: n, - keyPath: o, - } = this.props, - { inputRef: a, name: i, deep: l } = this.state; - if (!a) return; - let s = n(!0, o, l, i, a.value); - e({ value: s, key: i }) - .then(() => { - Td(t, s) || this.handleCancelEdit(); - }) - .catch(r.error); - } - handleEditMode() { - this.setState({ editEnabled: !0 }); - } - refInput(e) { - this.state.inputRef = e; - } - handleCancelEdit() { - this.setState({ editEnabled: !1 }); - } - render() { - let { - name: e, - value: t, - editEnabled: r, - keyPath: n, - deep: o, - } = this.state, - { - handleRemove: a, - originalValue: i, - readOnly: l, - dataType: s, - getStyle: c, - editButtonElement: d, - cancelButtonElement: p, - textareaElementGenerator: h, - minusMenuElement: f, - keyPath: b, - } = this.props, - g = c(e, i, n, o, s), - x = null, - S = null, - A = l(e, i, n, o, s); - if (r && !A) { - let k = h(Oa, b, o, e, i, s), - T = ue(d, { onClick: this.handleEdit }), - I = ue(p, { onClick: this.handleCancelEdit }), - D = ue(k, { ref: this.refInput, defaultValue: i }); - (x = m.createElement( - "span", - { className: "rejt-edit-form", style: g.editForm }, - D, - " ", - I, - T, - )), - (S = null); - } else { - x = m.createElement( - "span", - { - className: "rejt-value", - style: g.value, - onClick: A ? null : this.handleEditMode, - }, - t, - ); - let k = ue(f, { - onClick: a, - className: "rejt-minus-menu", - style: g.minus, - }); - S = A ? null : k; - } - return m.createElement( - "li", - { className: "rejt-function-value-node", style: g.li }, - m.createElement( - "span", - { className: "rejt-name", style: g.name }, - e, - " :", - " ", - ), - x, - S, - ); - } - }; - kd.defaultProps = { - keyPath: [], - deep: 0, - handleUpdateValue: () => {}, - editButtonElement: m.createElement("button", null, "e"), - cancelButtonElement: m.createElement("button", null, "c"), - minusMenuElement: m.createElement("span", null, " - "), - }; - var xn = class extends it { - constructor(e) { - super(e), - (this.state = { - data: e.data, - name: e.name, - keyPath: e.keyPath, - deep: e.deep, - }); - } - static getDerivedStateFromProps(e, t) { - return e.data !== t.data ? { data: e.data } : null; - } - render() { - let { data: e, name: t, keyPath: r, deep: n } = this.state, - { - isCollapsed: o, - handleRemove: a, - handleUpdateValue: i, - onUpdate: l, - onDeltaUpdate: s, - readOnly: c, - getStyle: d, - addButtonElement: p, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - textareaElementGenerator: g, - minusMenuElement: x, - plusMenuElement: S, - beforeRemoveAction: A, - beforeAddAction: k, - beforeUpdateAction: T, - logger: I, - onSubmitValueParser: D, - } = this.props, - F = () => !0, - P = Pt(e); - switch (P) { - case U2: - return m.createElement(Aa, { - data: e, - name: t, - isCollapsed: o, - keyPath: r, - deep: n, - handleRemove: a, - onUpdate: l, - onDeltaUpdate: s, - readOnly: F, - dataType: P, - getStyle: d, - addButtonElement: p, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - textareaElementGenerator: g, - minusMenuElement: x, - plusMenuElement: S, - beforeRemoveAction: A, - beforeAddAction: k, - beforeUpdateAction: T, - logger: I, - onSubmitValueParser: D, - }); - case $2: - return m.createElement(Aa, { - data: e, - name: t, - isCollapsed: o, - keyPath: r, - deep: n, - handleRemove: a, - onUpdate: l, - onDeltaUpdate: s, - readOnly: c, - dataType: P, - getStyle: d, - addButtonElement: p, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - textareaElementGenerator: g, - minusMenuElement: x, - plusMenuElement: S, - beforeRemoveAction: A, - beforeAddAction: k, - beforeUpdateAction: T, - logger: I, - onSubmitValueParser: D, - }); - case q2: - return m.createElement(Cd, { - data: e, - name: t, - isCollapsed: o, - keyPath: r, - deep: n, - handleRemove: a, - onUpdate: l, - onDeltaUpdate: s, - readOnly: c, - dataType: P, - getStyle: d, - addButtonElement: p, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - textareaElementGenerator: g, - minusMenuElement: x, - plusMenuElement: S, - beforeRemoveAction: A, - beforeAddAction: k, - beforeUpdateAction: T, - logger: I, - onSubmitValueParser: D, - }); - case V2: - return m.createElement(bt, { - name: t, - value: `"${e}"`, - originalValue: e, - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: c, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - case J2: - return m.createElement(bt, { - name: t, - value: e, - originalValue: e, - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: c, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - case z2: - return m.createElement(bt, { - name: t, - value: e ? "true" : "false", - originalValue: e, - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: c, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - case H2: - return m.createElement(bt, { - name: t, - value: e.toISOString(), - originalValue: e, - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: F, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - case G2: - return m.createElement(bt, { - name: t, - value: "null", - originalValue: "null", - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: c, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - case W2: - return m.createElement(bt, { - name: t, - value: "undefined", - originalValue: "undefined", - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: c, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - case K2: - return m.createElement(kd, { - name: t, - value: e.toString(), - originalValue: e, - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: c, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - textareaElementGenerator: g, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - case Y2: - return m.createElement(bt, { - name: t, - value: e.toString(), - originalValue: e, - keyPath: r, - deep: n, - handleRemove: a, - handleUpdateValue: i, - readOnly: F, - dataType: P, - getStyle: d, - cancelButtonElement: h, - editButtonElement: f, - inputElementGenerator: b, - minusMenuElement: x, - logger: I, - onSubmitValueParser: D, - }); - default: - return null; - } - } - }; - xn.defaultProps = { keyPath: [], deep: 0 }; - var Aa = class extends it { - constructor(e) { - super(e); - let t = e.deep === -1 ? [] : [...e.keyPath, e.name]; - (this.state = { - name: e.name, - data: e.data, - keyPath: t, - deep: e.deep, - nextDeep: e.deep + 1, - collapsed: e.isCollapsed(t, e.deep, e.data), - addFormVisible: !1, - }), - (this.handleCollapseMode = this.handleCollapseMode.bind(this)), - (this.handleRemoveValue = this.handleRemoveValue.bind(this)), - (this.handleAddMode = this.handleAddMode.bind(this)), - (this.handleAddValueAdd = this.handleAddValueAdd.bind(this)), - (this.handleAddValueCancel = this.handleAddValueCancel.bind(this)), - (this.handleEditValue = this.handleEditValue.bind(this)), - (this.onChildUpdate = this.onChildUpdate.bind(this)), - (this.renderCollapsed = this.renderCollapsed.bind(this)), - (this.renderNotCollapsed = this.renderNotCollapsed.bind(this)); - } - static getDerivedStateFromProps(e, t) { - return e.data !== t.data ? { data: e.data } : null; - } - onChildUpdate(e, t) { - let { data: r, keyPath: n } = this.state; - (r[e] = t), this.setState({ data: r }); - let { onUpdate: o } = this.props, - a = n.length; - o(n[a - 1], r); - } - handleAddMode() { - this.setState({ addFormVisible: !0 }); - } - handleAddValueCancel() { - this.setState({ addFormVisible: !1 }); - } - handleAddValueAdd({ key: e, newValue: t }) { - let { data: r, keyPath: n, nextDeep: o } = this.state, - { beforeAddAction: a, logger: i } = this.props; - a(e, n, o, t) - .then(() => { - (r[e] = t), this.setState({ data: r }), this.handleAddValueCancel(); - let { onUpdate: l, onDeltaUpdate: s } = this.props; - l(n[n.length - 1], r), - s({ type: Sd, keyPath: n, deep: o, key: e, newValue: t }); - }) - .catch(i.error); - } - handleRemoveValue(e) { - return () => { - let { beforeRemoveAction: t, logger: r } = this.props, - { data: n, keyPath: o, nextDeep: a } = this.state, - i = n[e]; - t(e, o, a, i) - .then(() => { - let l = { keyPath: o, deep: a, key: e, oldValue: i, type: wd }; - delete n[e], this.setState({ data: n }); - let { onUpdate: s, onDeltaUpdate: c } = this.props; - s(o[o.length - 1], n), c(l); - }) - .catch(r.error); - }; - } - handleCollapseMode() { - this.setState((e) => ({ collapsed: !e.collapsed })); - } - handleEditValue({ key: e, value: t }) { - return new Promise((r, n) => { - let { beforeUpdateAction: o } = this.props, - { data: a, keyPath: i, nextDeep: l } = this.state, - s = a[e]; - o(e, i, l, s, t) - .then(() => { - (a[e] = t), this.setState({ data: a }); - let { onUpdate: c, onDeltaUpdate: d } = this.props; - c(i[i.length - 1], a), - d({ - type: Ad, - keyPath: i, - deep: l, - key: e, - newValue: t, - oldValue: s, - }), - r(); - }) - .catch(n); - }); - } - renderCollapsed() { - let { name: e, keyPath: t, deep: r, data: n } = this.state, - { - handleRemove: o, - readOnly: a, - dataType: i, - getStyle: l, - minusMenuElement: s, - } = this.props, - { minus: c, collapsed: d } = l(e, n, t, r, i), - p = Object.getOwnPropertyNames(n), - h = a(e, n, t, r, i), - f = ue(s, { onClick: o, className: "rejt-minus-menu", style: c }); - return m.createElement( - "span", - { className: "rejt-collapsed" }, - m.createElement( - "span", - { - className: "rejt-collapsed-text", - style: d, - onClick: this.handleCollapseMode, - }, - "{...}", - " ", - p.length, - " ", - p.length === 1 ? "key" : "keys", - ), - !h && f, - ); - } - renderNotCollapsed() { - let { - name: e, - data: t, - keyPath: r, - deep: n, - nextDeep: o, - addFormVisible: a, - } = this.state, - { - isCollapsed: i, - handleRemove: l, - onDeltaUpdate: s, - readOnly: c, - getStyle: d, - dataType: p, - addButtonElement: h, - cancelButtonElement: f, - editButtonElement: b, - inputElementGenerator: g, - textareaElementGenerator: x, - minusMenuElement: S, - plusMenuElement: A, - beforeRemoveAction: k, - beforeAddAction: T, - beforeUpdateAction: I, - logger: D, - onSubmitValueParser: F, - } = this.props, - { - minus: P, - plus: L, - addForm: B, - ul: G, - delimiter: $, - } = d(e, t, r, n, p), - H = Object.getOwnPropertyNames(t), - w = c(e, t, r, n, p), - C = ue(A, { - onClick: this.handleAddMode, - className: "rejt-plus-menu", - style: L, - }), - _ = ue(S, { onClick: l, className: "rejt-minus-menu", style: P }), - M = H.map((U) => - m.createElement(xn, { - key: U, - name: U, - data: t[U], - keyPath: r, - deep: o, - isCollapsed: i, - handleRemove: this.handleRemoveValue(U), - handleUpdateValue: this.handleEditValue, - onUpdate: this.onChildUpdate, - onDeltaUpdate: s, - readOnly: c, - getStyle: d, - addButtonElement: h, - cancelButtonElement: f, - editButtonElement: b, - inputElementGenerator: g, - textareaElementGenerator: x, - minusMenuElement: S, - plusMenuElement: A, - beforeRemoveAction: k, - beforeAddAction: T, - beforeUpdateAction: I, - logger: D, - onSubmitValueParser: F, - }), - ); - return m.createElement( - "span", - { className: "rejt-not-collapsed" }, - m.createElement( - "span", - { className: "rejt-not-collapsed-delimiter", style: $ }, - "{", - ), - !w && C, - m.createElement( - "ul", - { className: "rejt-not-collapsed-list", style: G }, - M, - ), - !w && - a && - m.createElement( - "div", - { className: "rejt-add-form", style: B }, - m.createElement(Da, { - handleAdd: this.handleAddValueAdd, - handleCancel: this.handleAddValueCancel, - addButtonElement: h, - cancelButtonElement: f, - inputElementGenerator: g, - keyPath: r, - deep: n, - onSubmitValueParser: F, - }), - ), - m.createElement( - "span", - { className: "rejt-not-collapsed-delimiter", style: $ }, - "}", - ), - !w && _, - ); - } - render() { - let { - name: e, - collapsed: t, - data: r, - keyPath: n, - deep: o, - } = this.state, - { getStyle: a, dataType: i } = this.props, - l = t ? this.renderCollapsed() : this.renderNotCollapsed(), - s = a(e, r, n, o, i); - return m.createElement( - "div", - { className: "rejt-object-node" }, - m.createElement( - "span", - { onClick: this.handleCollapseMode }, - m.createElement( - "span", - { className: "rejt-name", style: s.name }, - e, - " :", - " ", - ), - ), - l, - ); - } - }; - Aa.defaultProps = { - keyPath: [], - deep: 0, - minusMenuElement: m.createElement("span", null, " - "), - plusMenuElement: m.createElement("span", null, " + "), - }; - var bt = class extends it { - constructor(e) { - super(e); - let t = [...e.keyPath, e.name]; - (this.state = { - value: e.value, - name: e.name, - keyPath: t, - deep: e.deep, - editEnabled: !1, - inputRef: null, - }), - (this.handleEditMode = this.handleEditMode.bind(this)), - (this.refInput = this.refInput.bind(this)), - (this.handleCancelEdit = this.handleCancelEdit.bind(this)), - (this.handleEdit = this.handleEdit.bind(this)), - (this.onKeydown = this.onKeydown.bind(this)); - } - static getDerivedStateFromProps(e, t) { - return e.value !== t.value ? { value: e.value } : null; - } - componentDidUpdate() { - let { - editEnabled: e, - inputRef: t, - name: r, - value: n, - keyPath: o, - deep: a, - } = this.state, - { readOnly: i, dataType: l } = this.props, - s = i(r, n, o, a, l); - e && !s && typeof t.focus == "function" && t.focus(); - } - componentDidMount() { - document.addEventListener("keydown", this.onKeydown); - } - componentWillUnmount() { - document.removeEventListener("keydown", this.onKeydown); - } - onKeydown(e) { - e.altKey || - e.ctrlKey || - e.metaKey || - e.shiftKey || - e.repeat || - ((e.code === "Enter" || e.key === "Enter") && - (e.preventDefault(), this.handleEdit()), - (e.code === "Escape" || e.key === "Escape") && - (e.preventDefault(), this.handleCancelEdit())); - } - handleEdit() { - let { - handleUpdateValue: e, - originalValue: t, - logger: r, - onSubmitValueParser: n, - keyPath: o, - } = this.props, - { inputRef: a, name: i, deep: l } = this.state; - if (!a) return; - let s = n(!0, o, l, i, a.value); - e({ value: s, key: i }) - .then(() => { - Td(t, s) || this.handleCancelEdit(); - }) - .catch(r.error); - } - handleEditMode() { - this.setState({ editEnabled: !0 }); - } - refInput(e) { - this.state.inputRef = e; - } - handleCancelEdit() { - this.setState({ editEnabled: !1 }); - } - render() { - let { - name: e, - value: t, - editEnabled: r, - keyPath: n, - deep: o, - } = this.state, - { - handleRemove: a, - originalValue: i, - readOnly: l, - dataType: s, - getStyle: c, - editButtonElement: d, - cancelButtonElement: p, - inputElementGenerator: h, - minusMenuElement: f, - keyPath: b, - } = this.props, - g = c(e, i, n, o, s), - x = l(e, i, n, o, s), - S = r && !x, - A = h(Oa, b, o, e, i, s), - k = ue(d, { onClick: this.handleEdit }), - T = ue(p, { onClick: this.handleCancelEdit }), - I = ue(A, { ref: this.refInput, defaultValue: JSON.stringify(i) }), - D = ue(f, { - onClick: a, - className: "rejt-minus-menu", - style: g.minus, - }); - return m.createElement( - "li", - { className: "rejt-value-node", style: g.li }, - m.createElement( - "span", - { className: "rejt-name", style: g.name }, - e, - " : ", - ), - S - ? m.createElement( - "span", - { className: "rejt-edit-form", style: g.editForm }, - I, - " ", - T, - k, - ) - : m.createElement( - "span", - { - className: "rejt-value", - style: g.value, - onClick: x ? null : this.handleEditMode, - }, - String(t), - ), - !x && !S && D, - ); - } - }; - bt.defaultProps = { - keyPath: [], - deep: 0, - handleUpdateValue: () => Promise.resolve(), - editButtonElement: m.createElement("button", null, "e"), - cancelButtonElement: m.createElement("button", null, "c"), - minusMenuElement: m.createElement("span", null, " - "), - }; - function Q2(e) { - let t = e; - if (t.indexOf("function") === 0) return (0, eval)(`(${t})`); - try { - t = JSON.parse(e); - } catch {} - return t; - } - var Z2 = { - minus: { color: "red" }, - plus: { color: "green" }, - collapsed: { color: "grey" }, - delimiter: {}, - ul: { padding: "0px", margin: "0 0 0 25px", listStyle: "none" }, - name: { color: "#2287CD" }, - addForm: {}, - }, - eb = { - minus: { color: "red" }, - plus: { color: "green" }, - collapsed: { color: "grey" }, - delimiter: {}, - ul: { padding: "0px", margin: "0 0 0 25px", listStyle: "none" }, - name: { color: "#2287CD" }, - addForm: {}, - }, - tb = { - minus: { color: "red" }, - editForm: {}, - value: { color: "#7bba3d" }, - li: { minHeight: "22px", lineHeight: "22px", outline: "0px" }, - name: { color: "#2287CD" }, - }, - Id = class extends it { - constructor(e) { - super(e), - (this.state = { data: e.data, rootName: e.rootName }), - (this.onUpdate = this.onUpdate.bind(this)), - (this.removeRoot = this.removeRoot.bind(this)); - } - static getDerivedStateFromProps(e, t) { - return e.data !== t.data || e.rootName !== t.rootName - ? { data: e.data, rootName: e.rootName } - : null; - } - onUpdate(e, t) { - this.setState({ data: t }), this.props.onFullyUpdate(t); - } - removeRoot() { - this.onUpdate(null, null); - } - render() { - let { data: e, rootName: t } = this.state, - { - isCollapsed: r, - onDeltaUpdate: n, - readOnly: o, - getStyle: a, - addButtonElement: i, - cancelButtonElement: l, - editButtonElement: s, - inputElement: c, - textareaElement: d, - minusMenuElement: p, - plusMenuElement: h, - beforeRemoveAction: f, - beforeAddAction: b, - beforeUpdateAction: g, - logger: x, - onSubmitValueParser: S, - fallback: A = null, - } = this.props, - k = Pt(e), - T = o; - Pt(o) === "Boolean" && (T = () => o); - let I = c; - c && Pt(c) !== "Function" && (I = () => c); - let D = d; - return ( - d && Pt(d) !== "Function" && (D = () => d), - k === "Object" || k === "Array" - ? m.createElement( - "div", - { className: "rejt-tree" }, - m.createElement(xn, { - data: e, - name: t, - deep: -1, - isCollapsed: r, - onUpdate: this.onUpdate, - onDeltaUpdate: n, - readOnly: T, - getStyle: a, - addButtonElement: i, - cancelButtonElement: l, - editButtonElement: s, - inputElementGenerator: I, - textareaElementGenerator: D, - minusMenuElement: p, - plusMenuElement: h, - handleRemove: this.removeRoot, - beforeRemoveAction: f, - beforeAddAction: b, - beforeUpdateAction: g, - logger: x, - onSubmitValueParser: S, - }), - ) - : A - ); - } - }; - Id.defaultProps = { - rootName: "root", - isCollapsed: (e, t) => t !== -1, - getStyle: (e, t, r, n, o) => { - switch (o) { - case "Object": - case "Error": - return Z2; - case "Array": - return eb; - default: - return tb; - } - }, - readOnly: () => !1, - onFullyUpdate: () => {}, - onDeltaUpdate: () => {}, - beforeRemoveAction: () => Promise.resolve(), - beforeAddAction: () => Promise.resolve(), - beforeUpdateAction: () => Promise.resolve(), - logger: { error: () => {} }, - onSubmitValueParser: (e, t, r, n, o) => Q2(o), - inputElement: () => m.createElement("input", null), - textareaElement: () => m.createElement("textarea", null), - fallback: null, - }; - var { window: rb } = globalThis, - nb = R.div(({ theme: e }) => ({ - position: "relative", - display: "flex", - '&[aria-readonly="true"]': { opacity: 0.5 }, - ".rejt-tree": { marginLeft: "1rem", fontSize: "13px" }, - ".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed": - { "& > svg": { opacity: 0, transition: "opacity 0.2s" } }, - ".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed": - { "& > svg": { opacity: 1 } }, - ".rejt-edit-form button": { display: "none" }, - ".rejt-add-form": { marginLeft: 10 }, - ".rejt-add-value-node": { - display: "inline-flex", - alignItems: "center", - }, - ".rejt-name": { lineHeight: "22px" }, - ".rejt-not-collapsed-delimiter": { lineHeight: "22px" }, - ".rejt-plus-menu": { marginLeft: 5 }, - ".rejt-object-node > span > *, .rejt-array-node > span > *": { - position: "relative", - zIndex: 2, - }, - ".rejt-object-node, .rejt-array-node": { position: "relative" }, - ".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before": - { - content: '""', - position: "absolute", - top: 0, - display: "block", - width: "100%", - marginLeft: "-1rem", - padding: "0 4px 0 1rem", - height: 22, - }, - ".rejt-collapsed::before, .rejt-not-collapsed::before": { - zIndex: 1, - background: "transparent", - borderRadius: 4, - transition: "background 0.2s", - pointerEvents: "none", - opacity: 0.1, - }, - ".rejt-object-node:hover, .rejt-array-node:hover": { - "& > .rejt-collapsed::before, & > .rejt-not-collapsed::before": { - background: e.color.secondary, - }, - }, - ".rejt-collapsed::after, .rejt-not-collapsed::after": { - content: '""', - position: "absolute", - display: "inline-block", - pointerEvents: "none", - width: 0, - height: 0, - }, - ".rejt-collapsed::after": { - left: -8, - top: 8, - borderTop: "3px solid transparent", - borderBottom: "3px solid transparent", - borderLeft: "3px solid rgba(153,153,153,0.6)", - }, - ".rejt-not-collapsed::after": { - left: -10, - top: 10, - borderTop: "3px solid rgba(153,153,153,0.6)", - borderLeft: "3px solid transparent", - borderRight: "3px solid transparent", - }, - ".rejt-value": { - display: "inline-block", - border: "1px solid transparent", - borderRadius: 4, - margin: "1px 0", - padding: "0 4px", - cursor: "text", - color: e.color.defaultText, - }, - ".rejt-value-node:hover > .rejt-value": { - background: e.color.lighter, - borderColor: e.appBorderColor, - }, - })), - pa = R.button(({ theme: e, primary: t }) => ({ - border: 0, - height: 20, - margin: 1, - borderRadius: 4, - background: t ? e.color.secondary : "transparent", - color: t ? e.color.lightest : e.color.dark, - fontWeight: t ? "bold" : "normal", - cursor: "pointer", - order: t ? "initial" : 9, - })), - ob = R(Zn)(({ theme: e, disabled: t }) => ({ - display: "inline-block", - verticalAlign: "middle", - width: 15, - height: 15, - padding: 3, - marginLeft: 5, - cursor: t ? "not-allowed" : "pointer", - color: e.textMutedColor, - "&:hover": t ? {} : { color: e.color.ancillary }, - "svg + &": { marginLeft: 0 }, - })), - ab = R(Ui)(({ theme: e, disabled: t }) => ({ - display: "inline-block", - verticalAlign: "middle", - width: 15, - height: 15, - padding: 3, - marginLeft: 5, - cursor: t ? "not-allowed" : "pointer", - color: e.textMutedColor, - "&:hover": t ? {} : { color: e.color.negative }, - "svg + &": { marginLeft: 0 }, - })), - _c = R.input(({ theme: e, placeholder: t }) => ({ - outline: 0, - margin: t ? 1 : "1px 0", - padding: "3px 4px", - color: e.color.defaultText, - background: e.background.app, - border: `1px solid ${e.appBorderColor}`, - borderRadius: 4, - lineHeight: "14px", - width: t === "Key" ? 80 : 120, - "&:focus": { border: `1px solid ${e.color.secondary}` }, - })), - ib = R(ze)(({ theme: e }) => ({ - position: "absolute", - zIndex: 2, - top: 2, - right: 2, - height: 21, - padding: "0 3px", - background: e.background.bar, - border: `1px solid ${e.appBorderColor}`, - borderRadius: 3, - color: e.textMutedColor, - fontSize: "9px", - fontWeight: "bold", - textDecoration: "none", - span: { marginLeft: 3, marginTop: 1 }, - })), - sb = R(Ve.Textarea)(({ theme: e }) => ({ - flex: 1, - padding: "7px 6px", - fontFamily: e.typography.fonts.mono, - fontSize: "12px", - lineHeight: "18px", - "&::placeholder": { - fontFamily: e.typography.fonts.base, - fontSize: "13px", - }, - "&:placeholder-shown": { padding: "7px 10px" }, - })), - lb = { - bubbles: !0, - cancelable: !0, - key: "Enter", - code: "Enter", - keyCode: 13, - }, - ub = (e) => { - e.currentTarget.dispatchEvent(new rb.KeyboardEvent("keydown", lb)); - }, - cb = (e) => { - e.currentTarget.select(); - }, - db = (e) => () => ({ - name: { color: e.color.secondary }, - collapsed: { color: e.color.dark }, - ul: { listStyle: "none", margin: "0 0 0 1rem", padding: 0 }, - li: { outline: 0 }, - }), - Pc = ({ name: e, value: t, onChange: r, argType: n }) => { - let o = Xn(), - a = st(() => t && Ka(t), [t]), - i = a != null, - [l, s] = X(!i), - [c, d] = X(null), - p = !!n?.table?.readonly, - h = xe( - (k) => { - try { - k && r(JSON.parse(k)), d(void 0); - } catch (T) { - d(T); - } - }, - [r], - ), - [f, b] = X(!1), - g = xe(() => { - r({}), b(!0); - }, [b]), - x = Re(null); - if ( - (Se(() => { - f && x.current && x.current.select(); - }, [f]), - !i) - ) - return m.createElement( - lt, - { disabled: p, id: lr(e), onClick: g }, - "Set object", - ); - let S = m.createElement(sb, { - ref: x, - id: Fe(e), - name: e, - defaultValue: t === null ? "" : JSON.stringify(t, null, 2), - onBlur: (k) => h(k.target.value), - placeholder: "Edit JSON string...", - autoFocus: f, - valid: c ? "error" : null, - readOnly: p, - }), - A = - Array.isArray(t) || - (typeof t == "object" && t?.constructor === Object); - return m.createElement( - nb, - { "aria-readonly": p }, - A && - m.createElement( - ib, - { - onClick: (k) => { - k.preventDefault(), s((T) => !T); - }, - }, - l ? m.createElement(Bi, null) : m.createElement(ji, null), - m.createElement("span", null, "RAW"), - ), - l - ? S - : m.createElement(Id, { - readOnly: p || !A, - isCollapsed: A ? void 0 : () => !0, - data: a, - rootName: e, - onFullyUpdate: r, - getStyle: db(o), - cancelButtonElement: m.createElement( - pa, - { type: "button" }, - "Cancel", - ), - editButtonElement: m.createElement( - pa, - { type: "submit" }, - "Save", - ), - addButtonElement: m.createElement( - pa, - { type: "submit", primary: !0 }, - "Save", - ), - plusMenuElement: m.createElement(ob, null), - minusMenuElement: m.createElement(ab, null), - inputElement: (k, T, I, D) => - D - ? m.createElement(_c, { onFocus: cb, onBlur: ub }) - : m.createElement(_c, null), - fallback: S, - }), - ); - }, - pb = R.input(({ theme: e, min: t, max: r, value: n, disabled: o }) => ({ - "&": { - width: "100%", - backgroundColor: "transparent", - appearance: "none", - }, - "&::-webkit-slider-runnable-track": { - background: - e.base === "light" - ? `linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${((n - t) / (r - t)) * 100}%, - ${We(0.02, e.input.background)} ${((n - t) / (r - t)) * 100}%, - ${We(0.02, e.input.background)} 100%)` - : `linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${((n - t) / (r - t)) * 100}%, - ${Rt(0.02, e.input.background)} ${((n - t) / (r - t)) * 100}%, - ${Rt(0.02, e.input.background)} 100%)`, - boxShadow: `${e.appBorderColor} 0 0 0 1px inset`, - borderRadius: 6, - width: "100%", - height: 6, - cursor: o ? "not-allowed" : "pointer", - }, - "&::-webkit-slider-thumb": { - marginTop: "-6px", - width: 16, - height: 16, - border: `1px solid ${rt(e.appBorderColor, 0.2)}`, - borderRadius: "50px", - boxShadow: `0 1px 3px 0px ${rt(e.appBorderColor, 0.2)}`, - cursor: o ? "not-allowed" : "grab", - appearance: "none", - background: `${e.input.background}`, - transition: "all 150ms ease-out", - "&:hover": { - background: `${We(0.05, e.input.background)}`, - transform: "scale3d(1.1, 1.1, 1.1) translateY(-1px)", - transition: "all 50ms ease-out", - }, - "&:active": { - background: `${e.input.background}`, - transform: "scale3d(1, 1, 1) translateY(0px)", - cursor: o ? "not-allowed" : "grab", - }, - }, - "&:focus": { - outline: "none", - "&::-webkit-slider-runnable-track": { - borderColor: rt(e.color.secondary, 0.4), - }, - "&::-webkit-slider-thumb": { - borderColor: e.color.secondary, - boxShadow: `0 0px 5px 0px ${e.color.secondary}`, - }, - }, - "&::-moz-range-track": { - background: - e.base === "light" - ? `linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${((n - t) / (r - t)) * 100}%, - ${We(0.02, e.input.background)} ${((n - t) / (r - t)) * 100}%, - ${We(0.02, e.input.background)} 100%)` - : `linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${((n - t) / (r - t)) * 100}%, - ${Rt(0.02, e.input.background)} ${((n - t) / (r - t)) * 100}%, - ${Rt(0.02, e.input.background)} 100%)`, - boxShadow: `${e.appBorderColor} 0 0 0 1px inset`, - borderRadius: 6, - width: "100%", - height: 6, - cursor: o ? "not-allowed" : "pointer", - outline: "none", - }, - "&::-moz-range-thumb": { - width: 16, - height: 16, - border: `1px solid ${rt(e.appBorderColor, 0.2)}`, - borderRadius: "50px", - boxShadow: `0 1px 3px 0px ${rt(e.appBorderColor, 0.2)}`, - cursor: o ? "not-allowed" : "grap", - background: `${e.input.background}`, - transition: "all 150ms ease-out", - "&:hover": { - background: `${We(0.05, e.input.background)}`, - transform: "scale3d(1.1, 1.1, 1.1) translateY(-1px)", - transition: "all 50ms ease-out", - }, - "&:active": { - background: `${e.input.background}`, - transform: "scale3d(1, 1, 1) translateY(0px)", - cursor: "grabbing", - }, - }, - "&::-ms-track": { - background: - e.base === "light" - ? `linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${((n - t) / (r - t)) * 100}%, - ${We(0.02, e.input.background)} ${((n - t) / (r - t)) * 100}%, - ${We(0.02, e.input.background)} 100%)` - : `linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${((n - t) / (r - t)) * 100}%, - ${Rt(0.02, e.input.background)} ${((n - t) / (r - t)) * 100}%, - ${Rt(0.02, e.input.background)} 100%)`, - boxShadow: `${e.appBorderColor} 0 0 0 1px inset`, - color: "transparent", - width: "100%", - height: "6px", - cursor: "pointer", - }, - "&::-ms-fill-lower": { borderRadius: 6 }, - "&::-ms-fill-upper": { borderRadius: 6 }, - "&::-ms-thumb": { - width: 16, - height: 16, - background: `${e.input.background}`, - border: `1px solid ${rt(e.appBorderColor, 0.2)}`, - borderRadius: 50, - cursor: "grab", - marginTop: 0, - }, - "@supports (-ms-ime-align:auto)": { - "input[type=range]": { margin: "0" }, - }, - })), - Od = R.span({ - paddingLeft: 5, - paddingRight: 5, - fontSize: 12, - whiteSpace: "nowrap", - fontFeatureSettings: "tnum", - fontVariantNumeric: "tabular-nums", - "[aria-readonly=true] &": { opacity: 0.5 }, - }), - fb = R(Od)(({ numberOFDecimalsPlaces: e, max: t }) => ({ - width: `${e + t.toString().length * 2 + 3}ch`, - textAlign: "right", - flexShrink: 0, - })), - hb = R.div({ display: "flex", alignItems: "center", width: "100%" }); - function mb(e) { - let t = e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/); - return t ? Math.max(0, (t[1] ? t[1].length : 0) - (t[2] ? +t[2] : 0)) : 0; - } - var yb = ({ - name: e, - value: t, - onChange: r, - min: n = 0, - max: o = 100, - step: a = 1, - onBlur: i, - onFocus: l, - argType: s, - }) => { - let c = (f) => { - r(C2(f.target.value)); - }, - d = t !== void 0, - p = st(() => mb(a), [a]), - h = !!s?.table?.readonly; - return m.createElement( - hb, - { "aria-readonly": h }, - m.createElement(Od, null, n), - m.createElement(pb, { - id: Fe(e), - type: "range", - disabled: h, - onChange: c, - name: e, - value: t, - min: n, - max: o, - step: a, - onFocus: l, - onBlur: i, - }), - m.createElement( - fb, - { numberOFDecimalsPlaces: p, max: o }, - d ? t.toFixed(p) : "--", - " / ", - o, - ), - ); - }, - gb = R.label({ display: "flex" }), - bb = R.div(({ isMaxed: e }) => ({ - marginLeft: "0.75rem", - paddingTop: "0.35rem", - color: e ? "red" : void 0, - })), - Eb = ({ - name: e, - value: t, - onChange: r, - onFocus: n, - onBlur: o, - maxLength: a, - argType: i, - }) => { - let l = (f) => { - r(f.target.value); - }, - s = !!i?.table?.readonly, - [c, d] = X(!1), - p = xe(() => { - r(""), d(!0); - }, [d]); - if (t === void 0) - return m.createElement( - lt, - { - variant: "outline", - size: "medium", - disabled: s, - id: lr(e), - onClick: p, - }, - "Set string", - ); - let h = typeof t == "string"; - return m.createElement( - gb, - null, - m.createElement(Ve.Textarea, { - id: Fe(e), - maxLength: a, - onChange: l, - disabled: s, - size: "flex", - placeholder: "Edit string...", - autoFocus: c, - valid: h ? null : "error", - name: e, - value: h ? t : "", - onFocus: n, - onBlur: o, - }), - a && - m.createElement( - bb, - { isMaxed: t?.length === a }, - t?.length ?? 0, - " / ", - a, - ), - ); - }, - vb = R(Ve.Input)({ padding: 10 }); - function xb(e) { - e.forEach((t) => { - t.startsWith("blob:") && URL.revokeObjectURL(t); - }); - } - var Sb = ({ - onChange: e, - name: t, - accept: r = "image/*", - value: n, - argType: o, - }) => { - let a = Re(null), - i = o?.control?.readOnly; - function l(s) { - if (!s.target.files) return; - let c = Array.from(s.target.files).map((d) => URL.createObjectURL(d)); - e(c), xb(n); - } - return ( - Se(() => { - n == null && a.current && (a.current.value = null); - }, [n, t]), - m.createElement(vb, { - ref: a, - id: Fe(t), - type: "file", - name: t, - multiple: !0, - disabled: i, - onChange: l, - accept: r, - size: "flex", - }) - ); - }, - wb = Qa(() => Promise.resolve().then(() => (hc(), fc))), - Ab = (e) => - m.createElement( - Xa, - { fallback: m.createElement("div", null) }, - m.createElement(wb, { ...e }), - ), - Tb = { - array: Pc, - object: Pc, - boolean: b2, - color: Ab, - date: A2, - number: I2, - check: Xt, - "inline-check": Xt, - radio: Xt, - "inline-radio": Xt, - select: Xt, - "multi-select": Xt, - range: yb, - text: Eb, - file: Sb, - }, - Fc = () => m.createElement(m.Fragment, null, "-"), - Cb = ({ row: e, arg: t, updateArgs: r, isHovered: n }) => { - let { key: o, control: a } = e, - [i, l] = X(!1), - [s, c] = X({ value: t }); - Se(() => { - i || c({ value: t }); - }, [i, t]); - let d = xe((g) => (c({ value: g }), r({ [o]: g }), g), [r, o]), - p = xe(() => l(!1), []), - h = xe(() => l(!0), []); - if (!a || a.disable) { - let g = a?.disable !== !0 && e?.type?.name !== "function"; - return n && g - ? m.createElement( - xt, - { - href: "https://storybook.js.org/docs/essentials/controls", - target: "_blank", - withArrow: !0, - }, - "Setup controls", - ) - : m.createElement(Fc, null); - } - let f = { - name: o, - argType: e, - value: s.value, - onChange: d, - onBlur: p, - onFocus: h, - }, - b = Tb[a.type] || Fc; - return m.createElement(b, { ...f, ...a, controlType: a.type }); - }, - kb = R.table(({ theme: e }) => ({ - "&&": { - borderCollapse: "collapse", - borderSpacing: 0, - border: "none", - tr: { border: "none !important", background: "none" }, - "td, th": { padding: 0, border: "none", width: "auto!important" }, - marginTop: 0, - marginBottom: 0, - "th:first-of-type, td:first-of-type": { paddingLeft: 0 }, - "th:last-of-type, td:last-of-type": { paddingRight: 0 }, - td: { - paddingTop: 0, - paddingBottom: 4, - "&:not(:first-of-type)": { paddingLeft: 10, paddingRight: 0 }, - }, - tbody: { boxShadow: "none", border: "none" }, - code: Mt({ theme: e }), - div: { span: { fontWeight: "bold" } }, - "& code": { - margin: 0, - display: "inline-block", - fontSize: e.typography.size.s1, - }, - }, - })), - Ib = ({ tags: e }) => { - let t = (e.params || []).filter((a) => a.description), - r = t.length !== 0, - n = e.deprecated != null, - o = e.returns != null && e.returns.description != null; - return !r && !o && !n - ? null - : m.createElement( - m.Fragment, - null, - m.createElement( - kb, - null, - m.createElement( - "tbody", - null, - n && - m.createElement( - "tr", - { key: "deprecated" }, - m.createElement( - "td", - { colSpan: 2 }, - m.createElement("strong", null, "Deprecated"), - ": ", - e.deprecated.toString(), - ), - ), - r && - t.map((a) => - m.createElement( - "tr", - { key: a.name }, - m.createElement( - "td", - null, - m.createElement("code", null, a.name), - ), - m.createElement("td", null, a.description), - ), - ), - o && - m.createElement( - "tr", - { key: "returns" }, - m.createElement( - "td", - null, - m.createElement("code", null, "Returns"), - ), - m.createElement("td", null, e.returns.description), - ), - ), - ), - ); - }, - Ob = Lt(Gc()), - Ta = 8, - Nc = R.div(({ isExpanded: e }) => ({ - display: "flex", - flexDirection: e ? "column" : "row", - flexWrap: "wrap", - alignItems: "flex-start", - marginBottom: "-4px", - minWidth: 100, - })), - Db = R.span(Mt, ({ theme: e, simple: t = !1 }) => ({ - flex: "0 0 auto", - fontFamily: e.typography.fonts.mono, - fontSize: e.typography.size.s1, - wordBreak: "break-word", - whiteSpace: "normal", - maxWidth: "100%", - margin: 0, - marginRight: "4px", - marginBottom: "4px", - paddingTop: "2px", - paddingBottom: "2px", - lineHeight: "13px", - ...(t && { - background: "transparent", - border: "0 none", - paddingLeft: 0, - }), - })), - Rb = R.button(({ theme: e }) => ({ - fontFamily: e.typography.fonts.mono, - color: e.color.secondary, - marginBottom: "4px", - background: "none", - border: "none", - })), - _b = R.div(Mt, ({ theme: e }) => ({ - fontFamily: e.typography.fonts.mono, - color: e.color.secondary, - fontSize: e.typography.size.s1, - margin: 0, - whiteSpace: "nowrap", - display: "flex", - alignItems: "center", - })), - Pb = R.div(({ theme: e, width: t }) => ({ - width: t, - minWidth: 200, - maxWidth: 800, - padding: 15, - fontFamily: e.typography.fonts.mono, - fontSize: e.typography.size.s1, - boxSizing: "content-box", - "& code": { padding: "0 !important" }, - })), - Fb = R(Ni)({ marginLeft: 4 }), - Nb = R(eo)({ marginLeft: 4 }), - Bb = () => m.createElement("span", null, "-"), - Dd = ({ text: e, simple: t }) => m.createElement(Db, { simple: t }, e), - jb = (0, Ob.default)(1e3)((e) => { - let t = e.split(/\r?\n/); - return `${Math.max(...t.map((r) => r.length))}ch`; - }), - Lb = (e) => { - if (!e) return [e]; - let t = e.split("|").map((r) => r.trim()); - return Ga(t); - }, - Bc = (e, t = !0) => { - let r = e; - return ( - t || (r = e.slice(0, Ta)), - r.map((n) => - m.createElement(Dd, { key: n, text: n === "" ? '""' : n }), - ) - ); - }, - Mb = ({ value: e, initialExpandedArgs: t }) => { - let { summary: r, detail: n } = e, - [o, a] = X(!1), - [i, l] = X(t || !1); - if (r == null) return null; - let s = typeof r.toString == "function" ? r.toString() : r; - if (n == null) { - if (/[(){}[\]<>]/.test(s)) return m.createElement(Dd, { text: s }); - let c = Lb(s), - d = c.length; - return d > Ta - ? m.createElement( - Nc, - { isExpanded: i }, - Bc(c, i), - m.createElement( - Rb, - { onClick: () => l(!i) }, - i ? "Show less..." : `Show ${d - Ta} more...`, - ), - ) - : m.createElement(Nc, null, Bc(c)); - } - return m.createElement( - Mn, - { - closeOnOutsideClick: !0, - placement: "bottom", - visible: o, - onVisibleChange: (c) => { - a(c); - }, - tooltip: m.createElement( - Pb, - { width: jb(n) }, - m.createElement(_r, { language: "jsx", format: !1 }, n), - ), - }, - m.createElement( - _b, - { className: "sbdocs-expandable" }, - m.createElement("span", null, s), - o ? m.createElement(Fb, null) : m.createElement(Nb, null), - ), - ); - }, - fa = ({ value: e, initialExpandedArgs: t }) => - e == null - ? m.createElement(Bb, null) - : m.createElement(Mb, { value: e, initialExpandedArgs: t }), - Ub = R.span({ fontWeight: "bold" }), - $b = R.span(({ theme: e }) => ({ - color: e.color.negative, - fontFamily: e.typography.fonts.mono, - cursor: "help", - })), - qb = R.div(({ theme: e }) => ({ - "&&": { p: { margin: "0 0 10px 0" }, a: { color: e.color.secondary } }, - code: { - ...Mt({ theme: e }), - fontSize: 12, - fontFamily: e.typography.fonts.mono, - }, - "& code": { margin: 0, display: "inline-block" }, - "& pre > code": { whiteSpace: "pre-wrap" }, - })), - Vb = R.div(({ theme: e, hasDescription: t }) => ({ - color: - e.base === "light" - ? se(0.1, e.color.defaultText) - : se(0.2, e.color.defaultText), - marginTop: t ? 4 : 0, - })), - Jb = R.div(({ theme: e, hasDescription: t }) => ({ - color: - e.base === "light" - ? se(0.1, e.color.defaultText) - : se(0.2, e.color.defaultText), - marginTop: t ? 12 : 0, - marginBottom: 12, - })), - zb = R.td(({ theme: e, expandable: t }) => ({ - paddingLeft: t ? "40px !important" : "20px !important", - })), - Hb = (e) => e && { summary: typeof e == "string" ? e : e.name }, - pn = (e) => { - let [t, r] = X(!1), - { - row: n, - updateArgs: o, - compact: a, - expandable: i, - initialExpandedArgs: l, - } = e, - { name: s, description: c } = n, - d = n.table || {}, - p = d.type || Hb(n.type), - h = d.defaultValue || n.defaultValue, - f = n.type?.required, - b = c != null && c !== ""; - return m.createElement( - "tr", - { onMouseEnter: () => r(!0), onMouseLeave: () => r(!1) }, - m.createElement( - zb, - { expandable: i }, - m.createElement(Ub, null, s), - f ? m.createElement($b, { title: "Required" }, "*") : null, - ), - a - ? null - : m.createElement( - "td", - null, - b && m.createElement(qb, null, m.createElement(m2, null, c)), - d.jsDocTags != null - ? m.createElement( - m.Fragment, - null, - m.createElement( - Jb, - { hasDescription: b }, - m.createElement(fa, { - value: p, - initialExpandedArgs: l, - }), - ), - m.createElement(Ib, { tags: d.jsDocTags }), - ) - : m.createElement( - Vb, - { hasDescription: b }, - m.createElement(fa, { value: p, initialExpandedArgs: l }), - ), - ), - a - ? null - : m.createElement( - "td", - null, - m.createElement(fa, { value: h, initialExpandedArgs: l }), - ), - o - ? m.createElement( - "td", - null, - m.createElement(Cb, { ...e, isHovered: t }), - ) - : null, - ); - }, - Gb = R.div(({ inAddonPanel: e, theme: t }) => ({ - height: e ? "100%" : "auto", - display: "flex", - border: e ? "none" : `1px solid ${t.appBorderColor}`, - borderRadius: e ? 0 : t.appBorderRadius, - padding: e ? 0 : 40, - alignItems: "center", - justifyContent: "center", - flexDirection: "column", - gap: 15, - background: t.background.content, - boxShadow: "rgba(0, 0, 0, 0.10) 0 1px 3px 0", - })), - Wb = R.div(({ theme: e }) => ({ - display: "flex", - fontSize: e.typography.size.s2 - 1, - gap: 25, - })), - Kb = R.div(({ theme: e }) => ({ - width: 1, - height: 16, - backgroundColor: e.appBorderColor, - })), - Yb = ({ inAddonPanel: e }) => { - let [t, r] = X(!0); - return ( - Se(() => { - let n = setTimeout(() => { - r(!1); - }, 100); - return () => clearTimeout(n); - }, []), - t - ? null - : m.createElement( - Gb, - { inAddonPanel: e }, - m.createElement(Fn, { - title: e - ? "Interactive story playground" - : "Args table with interactive controls couldn't be auto-generated", - description: m.createElement( - m.Fragment, - null, - "Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.", - ), - footer: m.createElement( - Wb, - null, - e && - m.createElement( - m.Fragment, - null, - m.createElement( - xt, - { - href: "https://youtu.be/0gOfS6K0x0E", - target: "_blank", - withArrow: !0, - }, - m.createElement($i, null), - " Watch 5m video", - ), - m.createElement(Kb, null), - m.createElement( - xt, - { - href: "https://storybook.js.org/docs/essentials/controls", - target: "_blank", - withArrow: !0, - }, - m.createElement(qr, null), - " Read docs", - ), - ), - !e && - m.createElement( - xt, - { - href: "https://storybook.js.org/docs/essentials/controls", - target: "_blank", - withArrow: !0, - }, - m.createElement(qr, null), - " Learn how to set that up", - ), - ), - }), - ) - ); - }, - Xb = R(Pi)(({ theme: e }) => ({ - marginRight: 8, - marginLeft: -10, - marginTop: -2, - height: 12, - width: 12, - color: - e.base === "light" - ? se(0.25, e.color.defaultText) - : se(0.3, e.color.defaultText), - border: "none", - display: "inline-block", - })), - Qb = R(Fi)(({ theme: e }) => ({ - marginRight: 8, - marginLeft: -10, - marginTop: -2, - height: 12, - width: 12, - color: - e.base === "light" - ? se(0.25, e.color.defaultText) - : se(0.3, e.color.defaultText), - border: "none", - display: "inline-block", - })), - Zb = R.span(({ theme: e }) => ({ - display: "flex", - lineHeight: "20px", - alignItems: "center", - })), - e1 = R.td(({ theme: e }) => ({ - position: "relative", - letterSpacing: "0.35em", - textTransform: "uppercase", - fontWeight: e.typography.weight.bold, - fontSize: e.typography.size.s1 - 1, - color: - e.base === "light" - ? se(0.4, e.color.defaultText) - : se(0.6, e.color.defaultText), - background: `${e.background.app} !important`, - "& ~ td": { background: `${e.background.app} !important` }, - })), - t1 = R.td(({ theme: e }) => ({ - position: "relative", - fontWeight: e.typography.weight.bold, - fontSize: e.typography.size.s2 - 1, - background: e.background.app, - })), - r1 = R.td(() => ({ position: "relative" })), - n1 = R.tr(({ theme: e }) => ({ - "&:hover > td": { - backgroundColor: `${Rt(0.005, e.background.app)} !important`, - boxShadow: `${e.color.mediumlight} 0 - 1px 0 0 inset`, - cursor: "row-resize", - }, - })), - jc = R.button(() => ({ - background: "none", - border: "none", - padding: "0", - font: "inherit", - position: "absolute", - top: 0, - bottom: 0, - left: 0, - right: 0, - height: "100%", - width: "100%", - color: "transparent", - cursor: "row-resize !important", - })), - ha = ({ - level: e = "section", - label: t, - children: r, - initialExpanded: n = !0, - colSpan: o = 3, - }) => { - let [a, i] = X(n), - l = e === "subsection" ? t1 : e1, - s = r?.length || 0, - c = e === "subsection" ? `${s} item${s !== 1 ? "s" : ""}` : "", - d = `${a ? "Hide" : "Show"} ${e === "subsection" ? s : t} item${s !== 1 ? "s" : ""}`; - return m.createElement( - m.Fragment, - null, - m.createElement( - n1, - { title: d }, - m.createElement( - l, - { colSpan: 1 }, - m.createElement(jc, { onClick: (p) => i(!a), tabIndex: 0 }, d), - m.createElement( - Zb, - null, - a ? m.createElement(Xb, null) : m.createElement(Qb, null), - t, - ), - ), - m.createElement( - r1, - { colSpan: o - 1 }, - m.createElement( - jc, - { - onClick: (p) => i(!a), - tabIndex: -1, - style: { outline: "none" }, - }, - d, - ), - a ? null : c, - ), - ), - a ? r : null, - ); - }, - fn = R.div(({ theme: e }) => ({ - display: "flex", - gap: 16, - borderBottom: `1px solid ${e.appBorderColor}`, - "&:last-child": { borderBottom: 0 }, - })), - Ie = R.div(({ numColumn: e }) => ({ - display: "flex", - flexDirection: "column", - flex: e || 1, - gap: 5, - padding: "12px 20px", - })), - me = R.div(({ theme: e, width: t, height: r }) => ({ - animation: `${e.animation.glow} 1.5s ease-in-out infinite`, - background: e.appBorderColor, - width: t || "100%", - height: r || 16, - borderRadius: 3, - })), - Oe = [2, 4, 2, 2], - o1 = () => - m.createElement( - m.Fragment, - null, - m.createElement( - fn, - null, - m.createElement( - Ie, - { numColumn: Oe[0] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[1] }, - m.createElement(me, { width: "30%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[2] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[3] }, - m.createElement(me, { width: "60%" }), - ), - ), - m.createElement( - fn, - null, - m.createElement( - Ie, - { numColumn: Oe[0] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[1] }, - m.createElement(me, { width: "80%" }), - m.createElement(me, { width: "30%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[2] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[3] }, - m.createElement(me, { width: "60%" }), - ), - ), - m.createElement( - fn, - null, - m.createElement( - Ie, - { numColumn: Oe[0] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[1] }, - m.createElement(me, { width: "80%" }), - m.createElement(me, { width: "30%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[2] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[3] }, - m.createElement(me, { width: "60%" }), - ), - ), - m.createElement( - fn, - null, - m.createElement( - Ie, - { numColumn: Oe[0] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[1] }, - m.createElement(me, { width: "80%" }), - m.createElement(me, { width: "30%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[2] }, - m.createElement(me, { width: "60%" }), - ), - m.createElement( - Ie, - { numColumn: Oe[3] }, - m.createElement(me, { width: "60%" }), - ), - ), - ), - a1 = R.table(({ theme: e, compact: t, inAddonPanel: r }) => ({ - "&&": { - borderSpacing: 0, - color: e.color.defaultText, - "td, th": { - padding: 0, - border: "none", - verticalAlign: "top", - textOverflow: "ellipsis", - }, - fontSize: e.typography.size.s2 - 1, - lineHeight: "20px", - textAlign: "left", - width: "100%", - marginTop: r ? 0 : 25, - marginBottom: r ? 0 : 40, - "thead th:first-of-type, td:first-of-type": { width: "25%" }, - "th:first-of-type, td:first-of-type": { paddingLeft: 20 }, - "th:nth-of-type(2), td:nth-of-type(2)": { - ...(t ? null : { width: "35%" }), - }, - "td:nth-of-type(3)": { ...(t ? null : { width: "15%" }) }, - "th:last-of-type, td:last-of-type": { - paddingRight: 20, - ...(t ? null : { width: "25%" }), - }, - th: { - color: - e.base === "light" - ? se(0.25, e.color.defaultText) - : se(0.45, e.color.defaultText), - paddingTop: 10, - paddingBottom: 10, - paddingLeft: 15, - paddingRight: 15, - }, - td: { - paddingTop: "10px", - paddingBottom: "10px", - "&:not(:first-of-type)": { paddingLeft: 15, paddingRight: 15 }, - "&:last-of-type": { paddingRight: 20 }, - }, - marginLeft: r ? 0 : 1, - marginRight: r ? 0 : 1, - tbody: { - ...(r - ? null - : { - filter: - e.base === "light" - ? "drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))" - : "drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))", - }), - "> tr > *": { - background: e.background.content, - borderTop: `1px solid ${e.appBorderColor}`, - }, - ...(r - ? null - : { - "> tr:first-of-type > *": { - borderBlockStart: `1px solid ${e.appBorderColor}`, - }, - "> tr:last-of-type > *": { - borderBlockEnd: `1px solid ${e.appBorderColor}`, - }, - "> tr > *:first-of-type": { - borderInlineStart: `1px solid ${e.appBorderColor}`, - }, - "> tr > *:last-of-type": { - borderInlineEnd: `1px solid ${e.appBorderColor}`, - }, - "> tr:first-of-type > td:first-of-type": { - borderTopLeftRadius: e.appBorderRadius, - }, - "> tr:first-of-type > td:last-of-type": { - borderTopRightRadius: e.appBorderRadius, - }, - "> tr:last-of-type > td:first-of-type": { - borderBottomLeftRadius: e.appBorderRadius, - }, - "> tr:last-of-type > td:last-of-type": { - borderBottomRightRadius: e.appBorderRadius, - }, - }), - }, - }, - })), - i1 = R(ze)(({ theme: e }) => ({ margin: "-4px -12px -4px 0" })), - s1 = R.span({ display: "flex", justifyContent: "space-between" }), - l1 = { - alpha: (e, t) => e.name.localeCompare(t.name), - requiredFirst: (e, t) => - +!!t.type?.required - +!!e.type?.required || - e.name.localeCompare(t.name), - none: void 0, - }, - u1 = (e, t) => { - let r = { ungrouped: [], ungroupedSubsections: {}, sections: {} }; - if (!e) return r; - Object.entries(e).forEach(([a, i]) => { - let { category: l, subcategory: s } = i?.table || {}; - if (l) { - let c = r.sections[l] || { ungrouped: [], subsections: {} }; - if (!s) c.ungrouped.push({ key: a, ...i }); - else { - let d = c.subsections[s] || []; - d.push({ key: a, ...i }), (c.subsections[s] = d); - } - r.sections[l] = c; - } else if (s) { - let c = r.ungroupedSubsections[s] || []; - c.push({ key: a, ...i }), (r.ungroupedSubsections[s] = c); - } else r.ungrouped.push({ key: a, ...i }); - }); - let n = l1[t], - o = (a) => - n - ? Object.keys(a).reduce( - (i, l) => ({ ...i, [l]: a[l].sort(n) }), - {}, - ) - : a; - return { - ungrouped: r.ungrouped.sort(n), - ungroupedSubsections: o(r.ungroupedSubsections), - sections: Object.keys(r.sections).reduce( - (a, i) => ({ - ...a, - [i]: { - ungrouped: r.sections[i].ungrouped.sort(n), - subsections: o(r.sections[i].subsections), - }, - }), - {}, - ), - }; - }, - c1 = (e, t, r) => { - try { - return ug(e, t, r); - } catch (n) { - return zi.warn(n.message), !1; - } - }, - d1 = (e) => { - let { - updateArgs: t, - resetArgs: r, - compact: n, - inAddonPanel: o, - initialExpandedArgs: a, - sort: i = "none", - isLoading: l, - } = e; - if ("error" in e) { - let { error: A } = e; - return m.createElement( - Qc, - null, - A, - "\xA0", - m.createElement( - xt, - { - href: "http://storybook.js.org/docs/", - target: "_blank", - withArrow: !0, - }, - m.createElement(qr, null), - " Read the docs", - ), - ); - } - if (l) return m.createElement(o1, null); - let { rows: s, args: c, globals: d } = "rows" in e && e, - p = u1( - Wa(s || {}, (A) => !A?.table?.disable && c1(A, c || {}, d || {})), - i, - ), - h = p.ungrouped.length === 0, - f = Object.entries(p.sections).length === 0, - b = Object.entries(p.ungroupedSubsections).length === 0; - if (h && f && b) return m.createElement(Yb, { inAddonPanel: o }); - let g = 1; - t && (g += 1), n || (g += 2); - let x = Object.keys(p.sections).length > 0, - S = { - updateArgs: t, - compact: n, - inAddonPanel: o, - initialExpandedArgs: a, - }; - return m.createElement( - jn, - null, - m.createElement( - a1, - { - compact: n, - inAddonPanel: o, - className: "docblock-argstable sb-unstyled", - }, - m.createElement( - "thead", - { className: "docblock-argstable-head" }, - m.createElement( - "tr", - null, - m.createElement( - "th", - null, - m.createElement("span", null, "Name"), - ), - n - ? null - : m.createElement( - "th", - null, - m.createElement("span", null, "Description"), - ), - n - ? null - : m.createElement( - "th", - null, - m.createElement("span", null, "Default"), - ), - t - ? m.createElement( - "th", - null, - m.createElement( - s1, - null, - "Control", - " ", - !l && - r && - m.createElement( - i1, - { onClick: () => r(), title: "Reset controls" }, - m.createElement(to, { "aria-hidden": !0 }), - ), - ), - ) - : null, - ), - ), - m.createElement( - "tbody", - { className: "docblock-argstable-body" }, - p.ungrouped.map((A) => - m.createElement(pn, { - key: A.key, - row: A, - arg: c && c[A.key], - ...S, - }), - ), - Object.entries(p.ungroupedSubsections).map(([A, k]) => - m.createElement( - ha, - { key: A, label: A, level: "subsection", colSpan: g }, - k.map((T) => - m.createElement(pn, { - key: T.key, - row: T, - arg: c && c[T.key], - expandable: x, - ...S, - }), - ), - ), - ), - Object.entries(p.sections).map(([A, k]) => - m.createElement( - ha, - { key: A, label: A, level: "section", colSpan: g }, - k.ungrouped.map((T) => - m.createElement(pn, { - key: T.key, - row: T, - arg: c && c[T.key], - ...S, - }), - ), - Object.entries(k.subsections).map(([T, I]) => - m.createElement( - ha, - { key: T, label: T, level: "subsection", colSpan: g }, - I.map((D) => - m.createElement(pn, { - key: D.key, - row: D, - arg: c && c[D.key], - expandable: x, - ...S, - }), - ), - ), - ), - ), - ), - ), - ), - ); - }; - R.div(({ theme: e }) => ({ - marginRight: 30, - fontSize: `${e.typography.size.s1}px`, - color: - e.base === "light" - ? se(0.4, e.color.defaultText) - : se(0.6, e.color.defaultText), - })); - R.div({ - overflow: "hidden", - whiteSpace: "nowrap", - textOverflow: "ellipsis", - }); - R.div({ - display: "flex", - flexDirection: "row", - alignItems: "baseline", - "&:not(:last-child)": { marginBottom: "1rem" }, - }); - R.div(Ut, ({ theme: e }) => ({ - ...En(e), - margin: "25px 0 40px", - padding: "30px 20px", - })); - R.div(({ theme: e }) => ({ - fontWeight: e.typography.weight.bold, - color: e.color.defaultText, - })); - R.div(({ theme: e }) => ({ - color: - e.base === "light" - ? se(0.2, e.color.defaultText) - : se(0.6, e.color.defaultText), - })); - R.div({ flex: "0 0 30%", lineHeight: "20px", marginTop: 5 }); - R.div(({ theme: e }) => ({ - flex: 1, - textAlign: "center", - fontFamily: e.typography.fonts.mono, - fontSize: e.typography.size.s1, - lineHeight: 1, - overflow: "hidden", - color: - e.base === "light" - ? se(0.4, e.color.defaultText) - : se(0.6, e.color.defaultText), - "> div": { - display: "inline-block", - overflow: "hidden", - maxWidth: "100%", - textOverflow: "ellipsis", - }, - span: { display: "block", marginTop: 2 }, - })); - R.div({ display: "flex", flexDirection: "row" }); - R.div(({ background: e }) => ({ - position: "relative", - flex: 1, - "&::before": { - position: "absolute", - top: 0, - left: 0, - width: "100%", - height: "100%", - background: e, - content: '""', - }, - })); - R.div(({ theme: e }) => ({ - ...En(e), - display: "flex", - flexDirection: "row", - height: 50, - marginBottom: 5, - overflow: "hidden", - backgroundColor: "white", - backgroundImage: - "repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)", - backgroundClip: "padding-box", - })); - R.div({ - display: "flex", - flexDirection: "column", - flex: 1, - position: "relative", - marginBottom: 30, - }); - R.div({ flex: 1, display: "flex", flexDirection: "row" }); - R.div({ display: "flex", alignItems: "flex-start" }); - R.div({ flex: "0 0 30%" }); - R.div({ flex: 1 }); - R.div(({ theme: e }) => ({ - display: "flex", - flexDirection: "row", - alignItems: "center", - paddingBottom: 20, - fontWeight: e.typography.weight.bold, - color: - e.base === "light" - ? se(0.4, e.color.defaultText) - : se(0.6, e.color.defaultText), - })); - R.div(({ theme: e }) => ({ - fontSize: e.typography.size.s2, - lineHeight: "20px", - display: "flex", - flexDirection: "column", - })); - R.div(({ theme: e }) => ({ - fontFamily: e.typography.fonts.base, - fontSize: e.typography.size.s2, - color: e.color.defaultText, - marginLeft: 10, - lineHeight: 1.2, - })); - R.div(({ theme: e }) => ({ - ...En(e), - overflow: "hidden", - height: 40, - width: 40, - display: "flex", - alignItems: "center", - justifyContent: "center", - flex: "none", - "> img, > svg": { width: 20, height: 20 }, - })); - R.div({ - display: "inline-flex", - flexDirection: "row", - alignItems: "center", - flex: "0 1 calc(20% - 10px)", - minWidth: 120, - margin: "0px 10px 30px 0", - }); - R.div({ display: "flex", flexFlow: "row wrap" }); - globalThis && - globalThis.__DOCS_CONTEXT__ === void 0 && - ((globalThis.__DOCS_CONTEXT__ = ur(null)), - (globalThis.__DOCS_CONTEXT__.displayName = "DocsContext")); - var p1 = globalThis ? globalThis.__DOCS_CONTEXT__ : ur(null), - f1 = Object.create, - Rd = Object.defineProperty, - h1 = Object.getOwnPropertyDescriptor, - _d = Object.getOwnPropertyNames, - m1 = Object.getPrototypeOf, - y1 = Object.prototype.hasOwnProperty, - $e = (e, t) => - function () { - return ( - t || (0, e[_d(e)[0]])((t = { exports: {} }).exports, t), t.exports - ); - }, - g1 = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let o of _d(t)) - !y1.call(e, o) && - o !== r && - Rd(e, o, { - get: () => t[o], - enumerable: !(n = h1(t, o)) || n.enumerable, - }); - return e; - }, - Ra = (e, t, r) => ( - (r = e != null ? f1(m1(e)) : {}), - g1( - t || !e || !e.__esModule - ? Rd(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) - ), - b1 = Lt(Gc(), 1), - Pd = $e({ - "node_modules/has-symbols/shams.js"(e, t) { - t.exports = function () { - if ( - typeof Symbol != "function" || - typeof Object.getOwnPropertySymbols != "function" - ) - return !1; - if (typeof Symbol.iterator == "symbol") return !0; - var r = {}, - n = Symbol("test"), - o = Object(n); - if ( - typeof n == "string" || - Object.prototype.toString.call(n) !== "[object Symbol]" || - Object.prototype.toString.call(o) !== "[object Symbol]" - ) - return !1; - var a = 42; - r[n] = a; - for (n in r) return !1; - if ( - (typeof Object.keys == "function" && - Object.keys(r).length !== 0) || - (typeof Object.getOwnPropertyNames == "function" && - Object.getOwnPropertyNames(r).length !== 0) - ) - return !1; - var i = Object.getOwnPropertySymbols(r); - if ( - i.length !== 1 || - i[0] !== n || - !Object.prototype.propertyIsEnumerable.call(r, n) - ) - return !1; - if (typeof Object.getOwnPropertyDescriptor == "function") { - var l = Object.getOwnPropertyDescriptor(r, n); - if (l.value !== a || l.enumerable !== !0) return !1; - } - return !0; - }; - }, - }), - Fd = $e({ - "node_modules/has-symbols/index.js"(e, t) { - var r = typeof Symbol < "u" && Symbol, - n = Pd(); - t.exports = function () { - return typeof r != "function" || - typeof Symbol != "function" || - typeof r("foo") != "symbol" || - typeof Symbol("bar") != "symbol" - ? !1 - : n(); - }; - }, - }), - E1 = $e({ - "node_modules/function-bind/implementation.js"(e, t) { - var r = "Function.prototype.bind called on incompatible ", - n = Array.prototype.slice, - o = Object.prototype.toString, - a = "[object Function]"; - t.exports = function (i) { - var l = this; - if (typeof l != "function" || o.call(l) !== a) - throw new TypeError(r + l); - for ( - var s = n.call(arguments, 1), - c, - d = function () { - if (this instanceof c) { - var g = l.apply(this, s.concat(n.call(arguments))); - return Object(g) === g ? g : this; - } else return l.apply(i, s.concat(n.call(arguments))); - }, - p = Math.max(0, l.length - s.length), - h = [], - f = 0; - f < p; - f++ - ) - h.push("$" + f); - if ( - ((c = Function( - "binder", - "return function (" + - h.join(",") + - "){ return binder.apply(this,arguments); }", - )(d)), - l.prototype) - ) { - var b = function () {}; - (b.prototype = l.prototype), - (c.prototype = new b()), - (b.prototype = null); - } - return c; - }; - }, - }), - _a = $e({ - "node_modules/function-bind/index.js"(e, t) { - var r = E1(); - t.exports = Function.prototype.bind || r; - }, - }), - v1 = $e({ - "node_modules/has/src/index.js"(e, t) { - var r = _a(); - t.exports = r.call(Function.call, Object.prototype.hasOwnProperty); - }, - }), - Nd = $e({ - "node_modules/get-intrinsic/index.js"(e, t) { - var r, - n = SyntaxError, - o = Function, - a = TypeError, - i = function ($) { - try { - return o('"use strict"; return (' + $ + ").constructor;")(); - } catch {} - }, - l = Object.getOwnPropertyDescriptor; - if (l) - try { - l({}, ""); - } catch { - l = null; - } - var s = function () { - throw new a(); - }, - c = l - ? (function () { - try { - return arguments.callee, s; - } catch { - try { - return l(arguments, "callee").get; - } catch { - return s; - } - } - })() - : s, - d = Fd()(), - p = - Object.getPrototypeOf || - function ($) { - return $.__proto__; - }, - h = {}, - f = typeof Uint8Array > "u" ? r : p(Uint8Array), - b = { - "%AggregateError%": - typeof AggregateError > "u" ? r : AggregateError, - "%Array%": Array, - "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer, - "%ArrayIteratorPrototype%": d ? p([][Symbol.iterator]()) : r, - "%AsyncFromSyncIteratorPrototype%": r, - "%AsyncFunction%": h, - "%AsyncGenerator%": h, - "%AsyncGeneratorFunction%": h, - "%AsyncIteratorPrototype%": h, - "%Atomics%": typeof Atomics > "u" ? r : Atomics, - "%BigInt%": typeof BigInt > "u" ? r : BigInt, - "%Boolean%": Boolean, - "%DataView%": typeof DataView > "u" ? r : DataView, - "%Date%": Date, - "%decodeURI%": decodeURI, - "%decodeURIComponent%": decodeURIComponent, - "%encodeURI%": encodeURI, - "%encodeURIComponent%": encodeURIComponent, - "%Error%": Error, - "%eval%": eval, - "%EvalError%": EvalError, - "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array, - "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array, - "%FinalizationRegistry%": - typeof FinalizationRegistry > "u" ? r : FinalizationRegistry, - "%Function%": o, - "%GeneratorFunction%": h, - "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array, - "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array, - "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array, - "%isFinite%": isFinite, - "%isNaN%": isNaN, - "%IteratorPrototype%": d ? p(p([][Symbol.iterator]())) : r, - "%JSON%": typeof JSON == "object" ? JSON : r, - "%Map%": typeof Map > "u" ? r : Map, - "%MapIteratorPrototype%": - typeof Map > "u" || !d ? r : p(new Map()[Symbol.iterator]()), - "%Math%": Math, - "%Number%": Number, - "%Object%": Object, - "%parseFloat%": parseFloat, - "%parseInt%": parseInt, - "%Promise%": typeof Promise > "u" ? r : Promise, - "%Proxy%": typeof Proxy > "u" ? r : Proxy, - "%RangeError%": RangeError, - "%ReferenceError%": ReferenceError, - "%Reflect%": typeof Reflect > "u" ? r : Reflect, - "%RegExp%": RegExp, - "%Set%": typeof Set > "u" ? r : Set, - "%SetIteratorPrototype%": - typeof Set > "u" || !d ? r : p(new Set()[Symbol.iterator]()), - "%SharedArrayBuffer%": - typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer, - "%String%": String, - "%StringIteratorPrototype%": d ? p(""[Symbol.iterator]()) : r, - "%Symbol%": d ? Symbol : r, - "%SyntaxError%": n, - "%ThrowTypeError%": c, - "%TypedArray%": f, - "%TypeError%": a, - "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array, - "%Uint8ClampedArray%": - typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray, - "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array, - "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array, - "%URIError%": URIError, - "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap, - "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef, - "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet, - }, - g = function $(H) { - var w; - if (H === "%AsyncFunction%") w = i("async function () {}"); - else if (H === "%GeneratorFunction%") w = i("function* () {}"); - else if (H === "%AsyncGeneratorFunction%") - w = i("async function* () {}"); - else if (H === "%AsyncGenerator%") { - var C = $("%AsyncGeneratorFunction%"); - C && (w = C.prototype); - } else if (H === "%AsyncIteratorPrototype%") { - var _ = $("%AsyncGenerator%"); - _ && (w = p(_.prototype)); - } - return (b[H] = w), w; - }, - x = { - "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], - "%ArrayPrototype%": ["Array", "prototype"], - "%ArrayProto_entries%": ["Array", "prototype", "entries"], - "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], - "%ArrayProto_keys%": ["Array", "prototype", "keys"], - "%ArrayProto_values%": ["Array", "prototype", "values"], - "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], - "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], - "%AsyncGeneratorPrototype%": [ - "AsyncGeneratorFunction", - "prototype", - "prototype", - ], - "%BooleanPrototype%": ["Boolean", "prototype"], - "%DataViewPrototype%": ["DataView", "prototype"], - "%DatePrototype%": ["Date", "prototype"], - "%ErrorPrototype%": ["Error", "prototype"], - "%EvalErrorPrototype%": ["EvalError", "prototype"], - "%Float32ArrayPrototype%": ["Float32Array", "prototype"], - "%Float64ArrayPrototype%": ["Float64Array", "prototype"], - "%FunctionPrototype%": ["Function", "prototype"], - "%Generator%": ["GeneratorFunction", "prototype"], - "%GeneratorPrototype%": [ - "GeneratorFunction", - "prototype", - "prototype", - ], - "%Int8ArrayPrototype%": ["Int8Array", "prototype"], - "%Int16ArrayPrototype%": ["Int16Array", "prototype"], - "%Int32ArrayPrototype%": ["Int32Array", "prototype"], - "%JSONParse%": ["JSON", "parse"], - "%JSONStringify%": ["JSON", "stringify"], - "%MapPrototype%": ["Map", "prototype"], - "%NumberPrototype%": ["Number", "prototype"], - "%ObjectPrototype%": ["Object", "prototype"], - "%ObjProto_toString%": ["Object", "prototype", "toString"], - "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], - "%PromisePrototype%": ["Promise", "prototype"], - "%PromiseProto_then%": ["Promise", "prototype", "then"], - "%Promise_all%": ["Promise", "all"], - "%Promise_reject%": ["Promise", "reject"], - "%Promise_resolve%": ["Promise", "resolve"], - "%RangeErrorPrototype%": ["RangeError", "prototype"], - "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], - "%RegExpPrototype%": ["RegExp", "prototype"], - "%SetPrototype%": ["Set", "prototype"], - "%SharedArrayBufferPrototype%": [ - "SharedArrayBuffer", - "prototype", - ], - "%StringPrototype%": ["String", "prototype"], - "%SymbolPrototype%": ["Symbol", "prototype"], - "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], - "%TypedArrayPrototype%": ["TypedArray", "prototype"], - "%TypeErrorPrototype%": ["TypeError", "prototype"], - "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], - "%Uint8ClampedArrayPrototype%": [ - "Uint8ClampedArray", - "prototype", - ], - "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], - "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], - "%URIErrorPrototype%": ["URIError", "prototype"], - "%WeakMapPrototype%": ["WeakMap", "prototype"], - "%WeakSetPrototype%": ["WeakSet", "prototype"], - }, - S = _a(), - A = v1(), - k = S.call(Function.call, Array.prototype.concat), - T = S.call(Function.apply, Array.prototype.splice), - I = S.call(Function.call, String.prototype.replace), - D = S.call(Function.call, String.prototype.slice), - F = S.call(Function.call, RegExp.prototype.exec), - P = - /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, - L = /\\(\\)?/g, - B = function ($) { - var H = D($, 0, 1), - w = D($, -1); - if (H === "%" && w !== "%") - throw new n("invalid intrinsic syntax, expected closing `%`"); - if (w === "%" && H !== "%") - throw new n("invalid intrinsic syntax, expected opening `%`"); - var C = []; - return ( - I($, P, function (_, M, U, K) { - C[C.length] = U ? I(K, L, "$1") : M || _; - }), - C - ); - }, - G = function ($, H) { - var w = $, - C; - if ((A(x, w) && ((C = x[w]), (w = "%" + C[0] + "%")), A(b, w))) { - var _ = b[w]; - if ((_ === h && (_ = g(w)), typeof _ > "u" && !H)) - throw new a( - "intrinsic " + - $ + - " exists, but is not available. Please file an issue!", - ); - return { alias: C, name: w, value: _ }; - } - throw new n("intrinsic " + $ + " does not exist!"); - }; - t.exports = function ($, H) { - if (typeof $ != "string" || $.length === 0) - throw new a("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof H != "boolean") - throw new a('"allowMissing" argument must be a boolean'); - if (F(/^%?[^%]*%?$/, $) === null) - throw new n( - "`%` may not be present anywhere but at the beginning and end of the intrinsic name", - ); - var w = B($), - C = w.length > 0 ? w[0] : "", - _ = G("%" + C + "%", H), - M = _.name, - U = _.value, - K = !1, - re = _.alias; - re && ((C = re[0]), T(w, k([0, 1], re))); - for (var Z = 1, Y = !0; Z < w.length; Z += 1) { - var ee = w[Z], - ye = D(ee, 0, 1), - le = D(ee, -1); - if ( - (ye === '"' || - ye === "'" || - ye === "`" || - le === '"' || - le === "'" || - le === "`") && - ye !== le - ) - throw new n( - "property names with quotes must have matching quotes", - ); - if ( - ((ee === "constructor" || !Y) && (K = !0), - (C += "." + ee), - (M = "%" + C + "%"), - A(b, M)) - ) - U = b[M]; - else if (U != null) { - if (!(ee in U)) { - if (!H) - throw new a( - "base intrinsic for " + - $ + - " exists, but the property is not available.", - ); - return; - } - if (l && Z + 1 >= w.length) { - var Ae = l(U, ee); - (Y = !!Ae), - Y && "get" in Ae && !("originalValue" in Ae.get) - ? (U = Ae.get) - : (U = U[ee]); - } else (Y = A(U, ee)), (U = U[ee]); - Y && !K && (b[M] = U); - } - } - return U; - }; - }, - }), - x1 = $e({ - "node_modules/call-bind/index.js"(e, t) { - var r = _a(), - n = Nd(), - o = n("%Function.prototype.apply%"), - a = n("%Function.prototype.call%"), - i = n("%Reflect.apply%", !0) || r.call(a, o), - l = n("%Object.getOwnPropertyDescriptor%", !0), - s = n("%Object.defineProperty%", !0), - c = n("%Math.max%"); - if (s) - try { - s({}, "a", { value: 1 }); - } catch { - s = null; - } - t.exports = function (p) { - var h = i(r, a, arguments); - if (l && s) { - var f = l(h, "length"); - f.configurable && - s(h, "length", { - value: 1 + c(0, p.length - (arguments.length - 1)), - }); - } - return h; - }; - var d = function () { - return i(r, o, arguments); - }; - s ? s(t.exports, "apply", { value: d }) : (t.exports.apply = d); - }, - }), - S1 = $e({ - "node_modules/call-bind/callBound.js"(e, t) { - var r = Nd(), - n = x1(), - o = n(r("String.prototype.indexOf")); - t.exports = function (a, i) { - var l = r(a, !!i); - return typeof l == "function" && o(a, ".prototype.") > -1 - ? n(l) - : l; - }; - }, - }), - w1 = $e({ - "node_modules/has-tostringtag/shams.js"(e, t) { - var r = Pd(); - t.exports = function () { - return r() && !!Symbol.toStringTag; - }; - }, - }), - A1 = $e({ - "node_modules/is-regex/index.js"(e, t) { - var r = S1(), - n = w1()(), - o, - a, - i, - l; - n && - ((o = r("Object.prototype.hasOwnProperty")), - (a = r("RegExp.prototype.exec")), - (i = {}), - (s = function () { - throw i; - }), - (l = { toString: s, valueOf: s }), - typeof Symbol.toPrimitive == "symbol" && - (l[Symbol.toPrimitive] = s)); - var s, - c = r("Object.prototype.toString"), - d = Object.getOwnPropertyDescriptor, - p = "[object RegExp]"; - t.exports = n - ? function (h) { - if (!h || typeof h != "object") return !1; - var f = d(h, "lastIndex"), - b = f && o(f, "value"); - if (!b) return !1; - try { - a(h, l); - } catch (g) { - return g === i; - } - } - : function (h) { - return !h || (typeof h != "object" && typeof h != "function") - ? !1 - : c(h) === p; - }; - }, - }), - T1 = $e({ - "node_modules/is-function/index.js"(e, t) { - t.exports = n; - var r = Object.prototype.toString; - function n(o) { - if (!o) return !1; - var a = r.call(o); - return ( - a === "[object Function]" || - (typeof o == "function" && a !== "[object RegExp]") || - (typeof window < "u" && - (o === window.setTimeout || - o === window.alert || - o === window.confirm || - o === window.prompt)) - ); - } - }, - }), - C1 = $e({ - "node_modules/is-symbol/index.js"(e, t) { - var r = Object.prototype.toString, - n = Fd()(); - n - ? ((o = Symbol.prototype.toString), - (a = /^Symbol\(.*\)$/), - (i = function (l) { - return typeof l.valueOf() != "symbol" ? !1 : a.test(o.call(l)); - }), - (t.exports = function (l) { - if (typeof l == "symbol") return !0; - if (r.call(l) !== "[object Symbol]") return !1; - try { - return i(l); - } catch { - return !1; - } - })) - : (t.exports = function (l) { - return !1; - }); - var o, a, i; - }, - }); - Ra(A1()); - Ra(T1()); - Ra(C1()); - var k1 = - typeof window == "object" && - window && - window.Object === Object && - window, - I1 = k1, - O1 = typeof self == "object" && self && self.Object === Object && self, - D1 = I1 || O1 || Function("return this")(), - Pa = D1, - R1 = Pa.Symbol, - Zt = R1, - Bd = Object.prototype, - _1 = Bd.hasOwnProperty, - P1 = Bd.toString, - wr = Zt ? Zt.toStringTag : void 0; - function F1(e) { - var t = _1.call(e, wr), - r = e[wr]; - try { - e[wr] = void 0; - var n = !0; - } catch {} - var o = P1.call(e); - return n && (t ? (e[wr] = r) : delete e[wr]), o; - } - var N1 = F1, - B1 = Object.prototype, - j1 = B1.toString; - function L1(e) { - return j1.call(e); - } - var M1 = L1, - U1 = "[object Null]", - $1 = "[object Undefined]", - Lc = Zt ? Zt.toStringTag : void 0; - function q1(e) { - return e == null - ? e === void 0 - ? $1 - : U1 - : Lc && Lc in Object(e) - ? N1(e) - : M1(e); - } - var V1 = q1, - Mc = Zt ? Zt.prototype : void 0; - Mc && Mc.toString; - function J1(e) { - var t = typeof e; - return e != null && (t == "object" || t == "function"); - } - var jd = J1, - z1 = "[object AsyncFunction]", - H1 = "[object Function]", - G1 = "[object GeneratorFunction]", - W1 = "[object Proxy]"; - function K1(e) { - if (!jd(e)) return !1; - var t = V1(e); - return t == H1 || t == G1 || t == z1 || t == W1; - } - var Y1 = K1, - X1 = Pa["__core-js_shared__"], - ma = X1, - Uc = (function () { - var e = /[^.]+$/.exec((ma && ma.keys && ma.keys.IE_PROTO) || ""); - return e ? "Symbol(src)_1." + e : ""; - })(); - function Q1(e) { - return !!Uc && Uc in e; - } - var Z1 = Q1, - eE = Function.prototype, - tE = eE.toString; - function rE(e) { - if (e != null) { - try { - return tE.call(e); - } catch {} - try { - return e + ""; - } catch {} - } - return ""; - } - var nE = rE, - oE = /[\\^$.*+?()[\]{}|]/g, - aE = /^\[object .+?Constructor\]$/, - iE = Function.prototype, - sE = Object.prototype, - lE = iE.toString, - uE = sE.hasOwnProperty, - cE = RegExp( - "^" + - lE - .call(uE) - .replace(oE, "\\$&") - .replace( - /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, - "$1.*?", - ) + - "$", - ); - function dE(e) { - if (!jd(e) || Z1(e)) return !1; - var t = Y1(e) ? cE : aE; - return t.test(nE(e)); - } - var pE = dE; - function fE(e, t) { - return e?.[t]; - } - var hE = fE; - function mE(e, t) { - var r = hE(e, t); - return pE(r) ? r : void 0; - } - var Ld = mE; - function yE(e, t) { - return e === t || (e !== e && t !== t); - } - var gE = yE, - bE = Ld(Object, "create"), - Cr = bE; - function EE() { - (this.__data__ = Cr ? Cr(null) : {}), (this.size = 0); - } - var vE = EE; - function xE(e) { - var t = this.has(e) && delete this.__data__[e]; - return (this.size -= t ? 1 : 0), t; - } - var SE = xE, - wE = "__lodash_hash_undefined__", - AE = Object.prototype, - TE = AE.hasOwnProperty; - function CE(e) { - var t = this.__data__; - if (Cr) { - var r = t[e]; - return r === wE ? void 0 : r; - } - return TE.call(t, e) ? t[e] : void 0; - } - var kE = CE, - IE = Object.prototype, - OE = IE.hasOwnProperty; - function DE(e) { - var t = this.__data__; - return Cr ? t[e] !== void 0 : OE.call(t, e); - } - var RE = DE, - _E = "__lodash_hash_undefined__"; - function PE(e, t) { - var r = this.__data__; - return ( - (this.size += this.has(e) ? 0 : 1), - (r[e] = Cr && t === void 0 ? _E : t), - this - ); - } - var FE = PE; - function er(e) { - var t = -1, - r = e == null ? 0 : e.length; - for (this.clear(); ++t < r; ) { - var n = e[t]; - this.set(n[0], n[1]); - } - } - er.prototype.clear = vE; - er.prototype.delete = SE; - er.prototype.get = kE; - er.prototype.has = RE; - er.prototype.set = FE; - var $c = er; - function NE() { - (this.__data__ = []), (this.size = 0); - } - var BE = NE; - function jE(e, t) { - for (var r = e.length; r--; ) if (gE(e[r][0], t)) return r; - return -1; - } - var Sn = jE, - LE = Array.prototype, - ME = LE.splice; - function UE(e) { - var t = this.__data__, - r = Sn(t, e); - if (r < 0) return !1; - var n = t.length - 1; - return r == n ? t.pop() : ME.call(t, r, 1), --this.size, !0; - } - var $E = UE; - function qE(e) { - var t = this.__data__, - r = Sn(t, e); - return r < 0 ? void 0 : t[r][1]; - } - var VE = qE; - function JE(e) { - return Sn(this.__data__, e) > -1; - } - var zE = JE; - function HE(e, t) { - var r = this.__data__, - n = Sn(r, e); - return n < 0 ? (++this.size, r.push([e, t])) : (r[n][1] = t), this; - } - var GE = HE; - function tr(e) { - var t = -1, - r = e == null ? 0 : e.length; - for (this.clear(); ++t < r; ) { - var n = e[t]; - this.set(n[0], n[1]); - } - } - tr.prototype.clear = BE; - tr.prototype.delete = $E; - tr.prototype.get = VE; - tr.prototype.has = zE; - tr.prototype.set = GE; - var WE = tr, - KE = Ld(Pa, "Map"), - YE = KE; - function XE() { - (this.size = 0), - (this.__data__ = { - hash: new $c(), - map: new (YE || WE)(), - string: new $c(), - }); - } - var QE = XE; - function ZE(e) { - var t = typeof e; - return t == "string" || t == "number" || t == "symbol" || t == "boolean" - ? e !== "__proto__" - : e === null; - } - var ev = ZE; - function tv(e, t) { - var r = e.__data__; - return ev(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map; - } - var wn = tv; - function rv(e) { - var t = wn(this, e).delete(e); - return (this.size -= t ? 1 : 0), t; - } - var nv = rv; - function ov(e) { - return wn(this, e).get(e); - } - var av = ov; - function iv(e) { - return wn(this, e).has(e); - } - var sv = iv; - function lv(e, t) { - var r = wn(this, e), - n = r.size; - return r.set(e, t), (this.size += r.size == n ? 0 : 1), this; - } - var uv = lv; - function rr(e) { - var t = -1, - r = e == null ? 0 : e.length; - for (this.clear(); ++t < r; ) { - var n = e[t]; - this.set(n[0], n[1]); - } - } - rr.prototype.clear = QE; - rr.prototype.delete = nv; - rr.prototype.get = av; - rr.prototype.has = sv; - rr.prototype.set = uv; - var Md = rr, - cv = "Expected a function"; - function Fa(e, t) { - if (typeof e != "function" || (t != null && typeof t != "function")) - throw new TypeError(cv); - var r = function () { - var n = arguments, - o = t ? t.apply(this, n) : n[0], - a = r.cache; - if (a.has(o)) return a.get(o); - var i = e.apply(this, n); - return (r.cache = a.set(o, i) || a), i; - }; - return (r.cache = new (Fa.Cache || Md)()), r; - } - Fa.Cache = Md; - var dv = Fa, - pv = 500; - function fv(e) { - var t = dv(e, function (n) { - return r.size === pv && r.clear(), n; - }), - r = t.cache; - return t; - } - var hv = fv, - mv = - /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, - yv = /\\(\\)?/g; - hv(function (e) { - var t = []; - return ( - e.charCodeAt(0) === 46 && t.push(""), - e.replace(mv, function (r, n, o, a) { - t.push(o ? a.replace(yv, "$1") : n || r); - }), - t - ); - }); - var gv = (e) => { - let t = null, - r = !1, - n = !1, - o = !1, - a = ""; - if (e.indexOf("//") >= 0 || e.indexOf("/*") >= 0) - for (let i = 0; i < e.length; i += 1) - !t && !r && !n && !o - ? e[i] === '"' || e[i] === "'" || e[i] === "`" - ? (t = e[i]) - : e[i] === "/" && e[i + 1] === "*" - ? (r = !0) - : e[i] === "/" && e[i + 1] === "/" - ? (n = !0) - : e[i] === "/" && e[i + 1] !== "/" && (o = !0) - : (t && - ((e[i] === t && e[i - 1] !== "\\") || - (e[i] === - ` -` && - t !== "`")) && - (t = null), - o && - ((e[i] === "/" && e[i - 1] !== "\\") || - e[i] === - ` -`) && - (o = !1), - r && e[i - 1] === "/" && e[i - 2] === "*" && (r = !1), - n && - e[i] === - ` -` && - (n = !1)), - !r && !n && (a += e[i]); - else a = e; - return a; - }; - (0, b1.default)(1e4)((e) => gv(e).replace(/\n\s*/g, "").trim()); - ur({ sources: {} }); - var { document: bv } = globalThis; - function Ev(e, t) { - e.channel.emit(ii, t); - } - $n.a; - var Ud = ["h1", "h2", "h3", "h4", "h5", "h6"], - vv = Ud.reduce( - (e, t) => ({ - ...e, - [t]: R(t)({ - "& svg": { - position: "relative", - top: "-0.1em", - visibility: "hidden", - }, - "&:hover svg": { visibility: "visible" }, - }), - }), - {}, - ), - xv = R.a(() => ({ - float: "left", - lineHeight: "inherit", - paddingRight: "10px", - marginLeft: "-24px", - color: "inherit", - })), - Sv = ({ as: e, id: t, children: r, ...n }) => { - let o = Za(p1), - a = vv[e], - i = `#${t}`; - return m.createElement( - a, - { id: t, ...n }, - m.createElement( - xv, - { - "aria-hidden": "true", - href: i, - tabIndex: -1, - target: "_self", - onClick: (l) => { - bv.getElementById(t) && Ev(o, i); - }, - }, - m.createElement(Li, null), - ), - r, - ); - }, - $d = (e) => { - let { as: t, id: r, children: n, ...o } = e; - if (r) return m.createElement(Sv, { as: t, id: r, ...o }, n); - let a = t, - { as: i, ...l } = e; - return m.createElement(a, { ...qn(l, t) }); - }; - Ud.reduce( - (e, t) => ({ ...e, [t]: (r) => m.createElement($d, { as: t, ...r }) }), - {}, - ); - var wv = ((e) => ( - (e.INFO = "info"), - (e.NOTES = "notes"), - (e.DOCGEN = "docgen"), - (e.AUTO = "auto"), - e - ))(wv || {}); - Lt(mg()); - R.div(({ theme: e }) => ({ - width: "10rem", - "@media (max-width: 768px)": { display: "none" }, - })); - R.div(({ theme: e }) => ({ - position: "fixed", - bottom: 0, - top: 0, - width: "10rem", - paddingTop: "4rem", - paddingBottom: "2rem", - overflowY: "auto", - fontFamily: e.typography.fonts.base, - fontSize: e.typography.size.s2, - WebkitFontSmoothing: "antialiased", - MozOsxFontSmoothing: "grayscale", - WebkitTapHighlightColor: "rgba(0, 0, 0, 0)", - WebkitOverflowScrolling: "touch", - "& *": { boxSizing: "border-box" }, - "& > .toc-wrapper > .toc-list": { - paddingLeft: 0, - borderLeft: `solid 2px ${e.color.mediumlight}`, - ".toc-list": { - paddingLeft: 0, - borderLeft: `solid 2px ${e.color.mediumlight}`, - ".toc-list": { - paddingLeft: 0, - borderLeft: `solid 2px ${e.color.mediumlight}`, - }, - }, - }, - "& .toc-list-item": { - position: "relative", - listStyleType: "none", - marginLeft: 20, - paddingTop: 3, - paddingBottom: 3, - }, - "& .toc-list-item::before": { - content: '""', - position: "absolute", - height: "100%", - top: 0, - left: 0, - transform: "translateX(calc(-2px - 20px))", - borderLeft: `solid 2px ${e.color.mediumdark}`, - opacity: 0, - transition: "opacity 0.2s", - }, - "& .toc-list-item.is-active-li::before": { opacity: 1 }, - "& .toc-list-item > a": { - color: e.color.defaultText, - textDecoration: "none", - }, - "& .toc-list-item.is-active-li > a": { - fontWeight: 600, - color: e.color.secondary, - textDecoration: "none", - }, - })); - R.p(({ theme: e }) => ({ - fontWeight: 600, - fontSize: "0.875em", - color: e.textColor, - textTransform: "uppercase", - marginBottom: 10, - })); - var Av = ({ children: e, disableAnchor: t, ...r }) => { - if (t || typeof e != "string") return m.createElement(Bn, null, e); - let n = e.toLowerCase().replace(/[^a-z0-9]/gi, "-"); - return m.createElement($d, { as: "h2", id: n, ...r }, e); - }; - R(Av)(({ theme: e }) => ({ - fontSize: `${e.typography.size.s2 - 1}px`, - fontWeight: e.typography.weight.bold, - lineHeight: "16px", - letterSpacing: "0.35em", - textTransform: "uppercase", - color: e.textMutedColor, - border: 0, - marginBottom: "12px", - "&:first-of-type": { marginTop: "56px" }, - })); - var Tv = Kn({ - from: { transform: "translateY(40px)" }, - to: { transform: "translateY(0)" }, - }), - Cv = Kn({ from: { background: "var(--highlight-bg-color)" }, to: {} }), - kv = R.div({ - containerType: "size", - position: "sticky", - bottom: 0, - height: 39, - overflow: "hidden", - zIndex: 1, - }), - Iv = R(Pn)(({ theme: e }) => ({ - "--highlight-bg-color": e.base === "dark" ? "#153B5B" : "#E0F0FF", - display: "flex", - flexDirection: "row-reverse", - alignItems: "center", - justifyContent: "space-between", - flexWrap: "wrap", - gap: 6, - padding: "6px 10px", - animation: `${Tv} 300ms, ${Cv} 2s`, - background: e.background.bar, - borderTop: `1px solid ${e.appBorderColor}`, - fontSize: e.typography.size.s2, - "@container (max-width: 799px)": { - flexDirection: "row", - justifyContent: "flex-end", - }, - })), - Ov = R.div({ - display: "flex", - flex: "99 0 auto", - alignItems: "center", - marginLeft: 10, - gap: 6, - }), - Dv = R.div(({ theme: e }) => ({ - display: "flex", - flex: "1 0 0", - alignItems: "center", - gap: 2, - color: e.color.mediumdark, - fontSize: e.typography.size.s2, - })), - ya = R.div({ - "@container (max-width: 799px)": { - lineHeight: 0, - textIndent: "-9999px", - "&::after": { - content: "attr(data-short-label)", - display: "block", - lineHeight: "initial", - textIndent: "0", - }, - }, - }), - Rv = R(Ve.Input)(({ theme: e }) => ({ - "::placeholder": { color: e.color.mediumdark }, - "&:invalid:not(:placeholder-shown)": { - boxShadow: `${e.color.negative} 0 0 0 1px inset`, - }, - })), - _v = ({ saveStory: e, createStory: t, resetArgs: r }) => { - let n = m.useRef(null), - [o, a] = m.useState(!1), - [i, l] = m.useState(!1), - [s, c] = m.useState(""), - [d, p] = m.useState(null), - h = async () => { - o || (a(!0), await e().catch(() => {}), a(!1)); - }, - f = () => { - l(!0), c(""), setTimeout(() => n.current?.focus(), 0); - }, - b = (g) => { - let x = g.target.value - .replace(/^[^a-z]/i, "") - .replace(/[^a-z0-9-_ ]/gi, "") - .replaceAll(/([-_ ]+[a-z0-9])/gi, (S) => - S.toUpperCase().replace(/[-_ ]/g, ""), - ); - c(x.charAt(0).toUpperCase() + x.slice(1)); - }; - return m.createElement( - kv, - { id: "save-from-controls" }, - m.createElement( - Iv, - null, - m.createElement( - Dv, - null, - m.createElement( - ut, - { - as: "div", - hasChrome: !1, - trigger: "hover", - tooltip: m.createElement(St, { - note: "Save changes to story", - }), - }, - m.createElement( - ze, - { - "aria-label": "Save changes to story", - disabled: o, - onClick: h, - }, - m.createElement(_i, null), - m.createElement( - ya, - { "data-short-label": "Save" }, - "Update story", - ), - ), - ), - m.createElement( - ut, - { - as: "div", - hasChrome: !1, - trigger: "hover", - tooltip: m.createElement(St, { - note: "Create new story with these settings", - }), - }, - m.createElement( - ze, - { - "aria-label": "Create new story with these settings", - onClick: f, - }, - m.createElement(Zn, null), - m.createElement( - ya, - { "data-short-label": "New" }, - "Create new story", - ), - ), - ), - m.createElement( - ut, - { - as: "div", - hasChrome: !1, - trigger: "hover", - tooltip: m.createElement(St, { note: "Reset changes" }), - }, - m.createElement( - ze, - { "aria-label": "Reset changes", onClick: () => r() }, - m.createElement(to, null), - m.createElement("span", null, "Reset"), - ), - ), - ), - m.createElement( - Ov, - null, - m.createElement( - ya, - { "data-short-label": "Unsaved changes" }, - "You modified this story. Do you want to save your changes?", - ), - ), - m.createElement( - He, - { width: 350, open: i, onOpenChange: l }, - m.createElement( - Ve, - { - onSubmit: async (g) => { - if ((g.preventDefault(), !o)) - try { - p(null), - a(!0), - await t( - s - .replace(/^[^a-z]/i, "") - .replaceAll(/[^a-z0-9]/gi, ""), - ), - l(!1), - a(!1); - } catch (x) { - p(x.message), a(!1); - } - }, - id: "create-new-story-form", - }, - m.createElement( - He.Content, - null, - m.createElement( - He.Header, - null, - m.createElement(He.Title, null, "Create new story"), - m.createElement( - He.Description, - null, - "This will add a new story to your existing stories file.", - ), - ), - m.createElement(Rv, { - onChange: b, - placeholder: "Story export name", - readOnly: o, - ref: n, - value: s, - }), - m.createElement( - He.Actions, - null, - m.createElement( - lt, - { - disabled: o || !s, - size: "medium", - type: "submit", - variant: "solid", - }, - "Create", - ), - m.createElement( - He.Dialog.Close, - { asChild: !0 }, - m.createElement( - lt, - { disabled: o, size: "medium", type: "reset" }, - "Cancel", - ), - ), - ), - ), - ), - d && m.createElement(He.Error, null, d), - ), - ), - ); - }, - qc = "addon-controls", - qd = "controls", - Vc = (e) => - Object.entries(e).reduce( - (t, [r, n]) => (n !== void 0 ? Object.assign(t, { [r]: n }) : t), - {}, - ), - Pv = R.div({ - display: "grid", - gridTemplateRows: "1fr 39px", - height: "100%", - maxHeight: "100vh", - overflowY: "auto", - }), - Fv = ({ saveStory: e, createStory: t }) => { - let [r, n] = X(!0), - [o, a, i, l] = wi(), - [s] = Ai(), - c = Wn(), - { - expanded: d, - sort: p, - presetColors: h, - disableSaveFromUI: f = !1, - } = Ti(qd, {}), - { path: b, previewInitialized: g } = Ci(); - Se(() => { - g && n(!1); - }, [g]); - let x = Object.values(c).some((k) => k?.control), - S = Object.entries(c).reduce((k, [T, I]) => { - let D = I?.control; - return ( - typeof D != "object" || D?.type !== "color" || D?.presetColors - ? (k[T] = I) - : (k[T] = { ...I, control: { ...D, presetColors: h } }), - k - ); - }, {}), - A = st(() => !!o && !!l && !wt(Vc(o), Vc(l)), [o, l]); - return m.createElement( - Pv, - null, - m.createElement(d1, { - key: b, - compact: !d && x, - rows: S, - args: o, - globals: s, - updateArgs: a, - resetArgs: i, - inAddonPanel: !0, - sort: p, - isLoading: r, - }), - x && - A && - Wu.CONFIG_TYPE === "DEVELOPMENT" && - f !== !0 && - m.createElement(_v, { resetArgs: i, saveStory: e, createStory: t }), - ); - }; - function Nv() { - let e = Wn(), - t = Object.values(e).filter( - (r) => r?.control && !r?.table?.disable, - ).length; - return m.createElement( - "div", - null, - m.createElement( - Ln, - { col: 1 }, - m.createElement( - "span", - { style: { display: "inline-block", verticalAlign: "middle" } }, - "Controls", - ), - t === 0 ? "" : m.createElement(_n, { status: "neutral" }, t), - ), - ); - } - var Jc = (e) => - JSON.stringify(e, (t, r) => - typeof r == "function" ? "__sb_empty_function_arg__" : r, - ); - Ur.register(qc, (e) => { - let t = Ur.getChannel(), - r = async () => { - let o = e.getCurrentStoryData(); - if (o.type !== "story") throw new Error("Not a story"); - try { - let a = await Gn(t, zn, jr, { - args: Jc( - Object.entries(o.args || {}).reduce( - (i, [l, s]) => (wt(s, o.initialArgs?.[l]) || (i[l] = s), i), - {}, - ), - ), - csfId: o.id, - importPath: o.importPath, - }); - e.addNotification({ - id: "save-story-success", - icon: { name: "passed", color: $r.positive }, - content: { - headline: "Story saved", - subHeadline: m.createElement( - m.Fragment, - null, - "Updated story ", - m.createElement("b", null, a.sourceStoryName), - ".", - ), - }, - duration: 8e3, - }); - } catch (a) { - throw ( - (e.addNotification({ - id: "save-story-error", - icon: { name: "failed", color: $r.negative }, - content: { - headline: "Failed to save story", - subHeadline: - a?.message || - "Check the Storybook process on the command line for more details.", - }, - duration: 8e3, - }), - a) - ); - } - }, - n = async (o) => { - let a = e.getCurrentStoryData(); - if (a.type !== "story") throw new Error("Not a story"); - let i = await Gn(t, zn, jr, { - args: a.args && Jc(a.args), - csfId: a.id, - importPath: a.importPath, - name: o, - }); - e.addNotification({ - id: "save-story-success", - icon: { name: "passed", color: $r.positive }, - content: { - headline: "Story created", - subHeadline: m.createElement( - m.Fragment, - null, - "Added story ", - m.createElement("b", null, i.newStoryName), - " based on ", - m.createElement("b", null, i.sourceStoryName), - ".", - ), - }, - duration: 8e3, - onClick: ({ onDismiss: l }) => { - l(), e.selectStory(i.newStoryId); - }, - }); - }; - Ur.add(qc, { - title: Nv, - type: Si.PANEL, - paramKey: qd, - render: ({ active: o }) => - !o || !e.getCurrentStoryData() - ? null - : m.createElement( - Rn, - { active: o }, - m.createElement(Fv, { saveStory: r, createStory: n }), - ), - }), - t.on(jr, (o) => { - if (!o.success) return; - let a = e.getCurrentStoryData(); - a.type === "story" && - (e.resetStoryArgs(a), - o.payload.newStoryId && e.selectStory(o.payload.newStoryId)); - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/essentials-measure-7/manager-bundle.js b/docs/public/stories/sb-addons/essentials-measure-7/manager-bundle.js deleted file mode 100644 index a4f94d89..00000000 --- a/docs/public/stories/sb-addons/essentials-measure-7/manager-bundle.js +++ /dev/null @@ -1,428 +0,0 @@ -try { - (() => { - var t = __REACT__, - { - Children: f, - Component: k, - Fragment: R, - Profiler: P, - PureComponent: w, - StrictMode: L, - Suspense: E, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: D, - cloneElement: M, - createContext: H, - createElement: v, - createFactory: x, - createRef: F, - forwardRef: U, - isValidElement: N, - lazy: G, - memo: W, - startTransition: K, - unstable_act: Y, - useCallback: u, - useContext: q, - useDebugValue: V, - useDeferredValue: Z, - useEffect: d, - useId: z, - useImperativeHandle: J, - useInsertionEffect: Q, - useLayoutEffect: X, - useMemo: $, - useReducer: j, - useRef: oo, - useState: no, - useSyncExternalStore: eo, - useTransition: co, - version: to, - } = __REACT__; - var so = __STORYBOOK_API__, - { - ActiveTabs: io, - Consumer: uo, - ManagerContext: mo, - Provider: po, - RequestResponseError: So, - addons: l, - combineParameters: Co, - controlOrMetaKey: ho, - controlOrMetaSymbol: Ao, - eventMatchesShortcut: bo, - eventToShortcut: To, - experimental_requestResponse: _o, - isMacLike: go, - isShortcutTaken: yo, - keyToSymbol: Bo, - merge: Oo, - mockChannel: fo, - optionOrAltSymbol: ko, - shortcutMatchesShortcut: Ro, - shortcutToHumanString: Po, - types: m, - useAddonState: wo, - useArgTypes: Lo, - useArgs: Eo, - useChannel: Do, - useGlobalTypes: Mo, - useGlobals: p, - useParameter: Ho, - useSharedState: vo, - useStoryPrepared: xo, - useStorybookApi: S, - useStorybookState: Fo, - } = __STORYBOOK_API__; - var Ko = __STORYBOOK_COMPONENTS__, - { - A: Yo, - ActionBar: qo, - AddonPanel: Vo, - Badge: Zo, - Bar: zo, - Blockquote: Jo, - Button: Qo, - ClipboardCode: Xo, - Code: $o, - DL: jo, - Div: on, - DocumentWrapper: nn, - EmptyTabContent: en, - ErrorFormatter: cn, - FlexBar: tn, - Form: rn, - H1: In, - H2: an, - H3: ln, - H4: sn, - H5: un, - H6: dn, - HR: mn, - IconButton: C, - IconButtonSkeleton: pn, - Icons: Sn, - Img: Cn, - LI: hn, - Link: An, - ListItem: bn, - Loader: Tn, - Modal: _n, - OL: gn, - P: yn, - Placeholder: Bn, - Pre: On, - ResetWrapper: fn, - ScrollArea: kn, - Separator: Rn, - Spaced: Pn, - Span: wn, - StorybookIcon: Ln, - StorybookLogo: En, - Symbols: Dn, - SyntaxHighlighter: Mn, - TT: Hn, - TabBar: vn, - TabButton: xn, - TabWrapper: Fn, - Table: Un, - Tabs: Nn, - TabsState: Gn, - TooltipLinkList: Wn, - TooltipMessage: Kn, - TooltipNote: Yn, - UL: qn, - WithTooltip: Vn, - WithTooltipPure: Zn, - Zoom: zn, - codeCommon: Jn, - components: Qn, - createCopyToClipboardFunction: Xn, - getStoryHref: $n, - icons: jn, - interleaveSeparators: oe, - nameSpaceClassNames: ne, - resetComponents: ee, - withReset: ce, - } = __STORYBOOK_COMPONENTS__; - var le = __STORYBOOK_ICONS__, - { - AccessibilityAltIcon: se, - AccessibilityIcon: ie, - AddIcon: ue, - AdminIcon: de, - AlertAltIcon: me, - AlertIcon: pe, - AlignLeftIcon: Se, - AlignRightIcon: Ce, - AppleIcon: he, - ArrowBottomLeftIcon: Ae, - ArrowBottomRightIcon: be, - ArrowDownIcon: Te, - ArrowLeftIcon: _e, - ArrowRightIcon: ge, - ArrowSolidDownIcon: ye, - ArrowSolidLeftIcon: Be, - ArrowSolidRightIcon: Oe, - ArrowSolidUpIcon: fe, - ArrowTopLeftIcon: ke, - ArrowTopRightIcon: Re, - ArrowUpIcon: Pe, - AzureDevOpsIcon: we, - BackIcon: Le, - BasketIcon: Ee, - BatchAcceptIcon: De, - BatchDenyIcon: Me, - BeakerIcon: He, - BellIcon: ve, - BitbucketIcon: xe, - BoldIcon: Fe, - BookIcon: Ue, - BookmarkHollowIcon: Ne, - BookmarkIcon: Ge, - BottomBarIcon: We, - BottomBarToggleIcon: Ke, - BoxIcon: Ye, - BranchIcon: qe, - BrowserIcon: Ve, - ButtonIcon: Ze, - CPUIcon: ze, - CalendarIcon: Je, - CameraIcon: Qe, - CategoryIcon: Xe, - CertificateIcon: $e, - ChangedIcon: je, - ChatIcon: oc, - CheckIcon: nc, - ChevronDownIcon: ec, - ChevronLeftIcon: cc, - ChevronRightIcon: tc, - ChevronSmallDownIcon: rc, - ChevronSmallLeftIcon: Ic, - ChevronSmallRightIcon: ac, - ChevronSmallUpIcon: lc, - ChevronUpIcon: sc, - ChromaticIcon: ic, - ChromeIcon: uc, - CircleHollowIcon: dc, - CircleIcon: mc, - ClearIcon: pc, - CloseAltIcon: Sc, - CloseIcon: Cc, - CloudHollowIcon: hc, - CloudIcon: Ac, - CogIcon: bc, - CollapseIcon: Tc, - CommandIcon: _c, - CommentAddIcon: gc, - CommentIcon: yc, - CommentsIcon: Bc, - CommitIcon: Oc, - CompassIcon: fc, - ComponentDrivenIcon: kc, - ComponentIcon: Rc, - ContrastIcon: Pc, - ControlsIcon: wc, - CopyIcon: Lc, - CreditIcon: Ec, - CrossIcon: Dc, - DashboardIcon: Mc, - DatabaseIcon: Hc, - DeleteIcon: vc, - DiamondIcon: xc, - DirectionIcon: Fc, - DiscordIcon: Uc, - DocChartIcon: Nc, - DocListIcon: Gc, - DocumentIcon: Wc, - DownloadIcon: Kc, - DragIcon: Yc, - EditIcon: qc, - EllipsisIcon: Vc, - EmailIcon: Zc, - ExpandAltIcon: zc, - ExpandIcon: Jc, - EyeCloseIcon: Qc, - EyeIcon: Xc, - FaceHappyIcon: $c, - FaceNeutralIcon: jc, - FaceSadIcon: ot, - FacebookIcon: nt, - FailedIcon: et, - FastForwardIcon: ct, - FigmaIcon: tt, - FilterIcon: rt, - FlagIcon: It, - FolderIcon: at, - FormIcon: lt, - GDriveIcon: st, - GithubIcon: it, - GitlabIcon: ut, - GlobeIcon: dt, - GoogleIcon: mt, - GraphBarIcon: pt, - GraphLineIcon: St, - GraphqlIcon: Ct, - GridAltIcon: ht, - GridIcon: At, - GrowIcon: bt, - HeartHollowIcon: Tt, - HeartIcon: _t, - HomeIcon: gt, - HourglassIcon: yt, - InfoIcon: Bt, - ItalicIcon: Ot, - JumpToIcon: ft, - KeyIcon: kt, - LightningIcon: Rt, - LightningOffIcon: Pt, - LinkBrokenIcon: wt, - LinkIcon: Lt, - LinkedinIcon: Et, - LinuxIcon: Dt, - ListOrderedIcon: Mt, - ListUnorderedIcon: Ht, - LocationIcon: vt, - LockIcon: xt, - MarkdownIcon: Ft, - MarkupIcon: Ut, - MediumIcon: Nt, - MemoryIcon: Gt, - MenuIcon: Wt, - MergeIcon: Kt, - MirrorIcon: Yt, - MobileIcon: qt, - MoonIcon: Vt, - NutIcon: Zt, - OutboxIcon: zt, - OutlineIcon: Jt, - PaintBrushIcon: Qt, - PaperClipIcon: Xt, - ParagraphIcon: $t, - PassedIcon: jt, - PhoneIcon: or, - PhotoDragIcon: nr, - PhotoIcon: er, - PinAltIcon: cr, - PinIcon: tr, - PlayAllHollowIcon: rr, - PlayBackIcon: Ir, - PlayHollowIcon: ar, - PlayIcon: lr, - PlayNextIcon: sr, - PlusIcon: ir, - PointerDefaultIcon: ur, - PointerHandIcon: dr, - PowerIcon: mr, - PrintIcon: pr, - ProceedIcon: Sr, - ProfileIcon: Cr, - PullRequestIcon: hr, - QuestionIcon: Ar, - RSSIcon: br, - RedirectIcon: Tr, - ReduxIcon: _r, - RefreshIcon: gr, - ReplyIcon: yr, - RepoIcon: Br, - RequestChangeIcon: Or, - RewindIcon: fr, - RulerIcon: h, - SaveIcon: kr, - SearchIcon: Rr, - ShareAltIcon: Pr, - ShareIcon: wr, - ShieldIcon: Lr, - SideBySideIcon: Er, - SidebarAltIcon: Dr, - SidebarAltToggleIcon: Mr, - SidebarIcon: Hr, - SidebarToggleIcon: vr, - SpeakerIcon: xr, - StackedIcon: Fr, - StarHollowIcon: Ur, - StarIcon: Nr, - StatusFailIcon: Gr, - StatusPassIcon: Wr, - StatusWarnIcon: Kr, - StickerIcon: Yr, - StopAltHollowIcon: qr, - StopAltIcon: Vr, - StopIcon: Zr, - StorybookIcon: zr, - StructureIcon: Jr, - SubtractIcon: Qr, - SunIcon: Xr, - SupportIcon: $r, - SwitchAltIcon: jr, - SyncIcon: oI, - TabletIcon: nI, - ThumbsUpIcon: eI, - TimeIcon: cI, - TimerIcon: tI, - TransferIcon: rI, - TrashIcon: II, - TwitterIcon: aI, - TypeIcon: lI, - UbuntuIcon: sI, - UndoIcon: iI, - UnfoldIcon: uI, - UnlockIcon: dI, - UnpinIcon: mI, - UploadIcon: pI, - UserAddIcon: SI, - UserAltIcon: CI, - UserIcon: hI, - UsersIcon: AI, - VSCodeIcon: bI, - VerifiedIcon: TI, - VideoIcon: _I, - WandIcon: gI, - WatchIcon: yI, - WindowsIcon: BI, - WrenchIcon: OI, - XIcon: fI, - YoutubeIcon: kI, - ZoomIcon: RI, - ZoomOutIcon: PI, - ZoomResetIcon: wI, - iconList: LI, - } = __STORYBOOK_ICONS__; - var s = "storybook/measure-addon", - A = `${s}/tool`, - b = () => { - let [r, c] = p(), - { measureEnabled: I } = r, - i = S(), - a = u(() => c({ measureEnabled: !I }), [c, I]); - return ( - d(() => { - i.setAddonShortcut(s, { - label: "Toggle Measure [M]", - defaultShortcut: ["M"], - actionName: "measure", - showInMenu: !1, - action: a, - }); - }, [a, i]), - t.createElement( - C, - { key: A, active: I, title: "Enable measure", onClick: a }, - t.createElement(h, null), - ) - ); - }; - l.register(s, () => { - l.add(A, { - type: m.TOOL, - title: "Measure", - match: ({ viewMode: r, tabId: c }) => r === "story" && !c, - render: () => t.createElement(b, null), - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/essentials-outline-8/manager-bundle.js b/docs/public/stories/sb-addons/essentials-outline-8/manager-bundle.js deleted file mode 100644 index fff4d493..00000000 --- a/docs/public/stories/sb-addons/essentials-outline-8/manager-bundle.js +++ /dev/null @@ -1,434 +0,0 @@ -try { - (() => { - var t = __REACT__, - { - Children: k, - Component: R, - Fragment: P, - Profiler: w, - PureComponent: L, - StrictMode: E, - Suspense: D, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: H, - cloneElement: v, - createContext: x, - createElement: M, - createFactory: F, - createRef: U, - forwardRef: N, - isValidElement: G, - lazy: W, - memo: u, - startTransition: K, - unstable_act: Y, - useCallback: d, - useContext: q, - useDebugValue: V, - useDeferredValue: Z, - useEffect: p, - useId: z, - useImperativeHandle: J, - useInsertionEffect: Q, - useLayoutEffect: X, - useMemo: $, - useReducer: j, - useRef: oo, - useState: no, - useSyncExternalStore: eo, - useTransition: co, - version: to, - } = __REACT__; - var io = __STORYBOOK_API__, - { - ActiveTabs: so, - Consumer: uo, - ManagerContext: po, - Provider: mo, - RequestResponseError: So, - addons: l, - combineParameters: Co, - controlOrMetaKey: ho, - controlOrMetaSymbol: Ao, - eventMatchesShortcut: To, - eventToShortcut: _o, - experimental_requestResponse: bo, - isMacLike: go, - isShortcutTaken: yo, - keyToSymbol: Oo, - merge: Bo, - mockChannel: fo, - optionOrAltSymbol: ko, - shortcutMatchesShortcut: Ro, - shortcutToHumanString: Po, - types: m, - useAddonState: wo, - useArgTypes: Lo, - useArgs: Eo, - useChannel: Do, - useGlobalTypes: Ho, - useGlobals: S, - useParameter: vo, - useSharedState: xo, - useStoryPrepared: Mo, - useStorybookApi: C, - useStorybookState: Fo, - } = __STORYBOOK_API__; - var Ko = __STORYBOOK_COMPONENTS__, - { - A: Yo, - ActionBar: qo, - AddonPanel: Vo, - Badge: Zo, - Bar: zo, - Blockquote: Jo, - Button: Qo, - ClipboardCode: Xo, - Code: $o, - DL: jo, - Div: on, - DocumentWrapper: nn, - EmptyTabContent: en, - ErrorFormatter: cn, - FlexBar: tn, - Form: rn, - H1: In, - H2: an, - H3: ln, - H4: sn, - H5: un, - H6: dn, - HR: pn, - IconButton: h, - IconButtonSkeleton: mn, - Icons: Sn, - Img: Cn, - LI: hn, - Link: An, - ListItem: Tn, - Loader: _n, - Modal: bn, - OL: gn, - P: yn, - Placeholder: On, - Pre: Bn, - ResetWrapper: fn, - ScrollArea: kn, - Separator: Rn, - Spaced: Pn, - Span: wn, - StorybookIcon: Ln, - StorybookLogo: En, - Symbols: Dn, - SyntaxHighlighter: Hn, - TT: vn, - TabBar: xn, - TabButton: Mn, - TabWrapper: Fn, - Table: Un, - Tabs: Nn, - TabsState: Gn, - TooltipLinkList: Wn, - TooltipMessage: Kn, - TooltipNote: Yn, - UL: qn, - WithTooltip: Vn, - WithTooltipPure: Zn, - Zoom: zn, - codeCommon: Jn, - components: Qn, - createCopyToClipboardFunction: Xn, - getStoryHref: $n, - icons: jn, - interleaveSeparators: oe, - nameSpaceClassNames: ne, - resetComponents: ee, - withReset: ce, - } = __STORYBOOK_COMPONENTS__; - var le = __STORYBOOK_ICONS__, - { - AccessibilityAltIcon: ie, - AccessibilityIcon: se, - AddIcon: ue, - AdminIcon: de, - AlertAltIcon: pe, - AlertIcon: me, - AlignLeftIcon: Se, - AlignRightIcon: Ce, - AppleIcon: he, - ArrowBottomLeftIcon: Ae, - ArrowBottomRightIcon: Te, - ArrowDownIcon: _e, - ArrowLeftIcon: be, - ArrowRightIcon: ge, - ArrowSolidDownIcon: ye, - ArrowSolidLeftIcon: Oe, - ArrowSolidRightIcon: Be, - ArrowSolidUpIcon: fe, - ArrowTopLeftIcon: ke, - ArrowTopRightIcon: Re, - ArrowUpIcon: Pe, - AzureDevOpsIcon: we, - BackIcon: Le, - BasketIcon: Ee, - BatchAcceptIcon: De, - BatchDenyIcon: He, - BeakerIcon: ve, - BellIcon: xe, - BitbucketIcon: Me, - BoldIcon: Fe, - BookIcon: Ue, - BookmarkHollowIcon: Ne, - BookmarkIcon: Ge, - BottomBarIcon: We, - BottomBarToggleIcon: Ke, - BoxIcon: Ye, - BranchIcon: qe, - BrowserIcon: Ve, - ButtonIcon: Ze, - CPUIcon: ze, - CalendarIcon: Je, - CameraIcon: Qe, - CategoryIcon: Xe, - CertificateIcon: $e, - ChangedIcon: je, - ChatIcon: oc, - CheckIcon: nc, - ChevronDownIcon: ec, - ChevronLeftIcon: cc, - ChevronRightIcon: tc, - ChevronSmallDownIcon: rc, - ChevronSmallLeftIcon: Ic, - ChevronSmallRightIcon: ac, - ChevronSmallUpIcon: lc, - ChevronUpIcon: ic, - ChromaticIcon: sc, - ChromeIcon: uc, - CircleHollowIcon: dc, - CircleIcon: pc, - ClearIcon: mc, - CloseAltIcon: Sc, - CloseIcon: Cc, - CloudHollowIcon: hc, - CloudIcon: Ac, - CogIcon: Tc, - CollapseIcon: _c, - CommandIcon: bc, - CommentAddIcon: gc, - CommentIcon: yc, - CommentsIcon: Oc, - CommitIcon: Bc, - CompassIcon: fc, - ComponentDrivenIcon: kc, - ComponentIcon: Rc, - ContrastIcon: Pc, - ControlsIcon: wc, - CopyIcon: Lc, - CreditIcon: Ec, - CrossIcon: Dc, - DashboardIcon: Hc, - DatabaseIcon: vc, - DeleteIcon: xc, - DiamondIcon: Mc, - DirectionIcon: Fc, - DiscordIcon: Uc, - DocChartIcon: Nc, - DocListIcon: Gc, - DocumentIcon: Wc, - DownloadIcon: Kc, - DragIcon: Yc, - EditIcon: qc, - EllipsisIcon: Vc, - EmailIcon: Zc, - ExpandAltIcon: zc, - ExpandIcon: Jc, - EyeCloseIcon: Qc, - EyeIcon: Xc, - FaceHappyIcon: $c, - FaceNeutralIcon: jc, - FaceSadIcon: ot, - FacebookIcon: nt, - FailedIcon: et, - FastForwardIcon: ct, - FigmaIcon: tt, - FilterIcon: rt, - FlagIcon: It, - FolderIcon: at, - FormIcon: lt, - GDriveIcon: it, - GithubIcon: st, - GitlabIcon: ut, - GlobeIcon: dt, - GoogleIcon: pt, - GraphBarIcon: mt, - GraphLineIcon: St, - GraphqlIcon: Ct, - GridAltIcon: ht, - GridIcon: At, - GrowIcon: Tt, - HeartHollowIcon: _t, - HeartIcon: bt, - HomeIcon: gt, - HourglassIcon: yt, - InfoIcon: Ot, - ItalicIcon: Bt, - JumpToIcon: ft, - KeyIcon: kt, - LightningIcon: Rt, - LightningOffIcon: Pt, - LinkBrokenIcon: wt, - LinkIcon: Lt, - LinkedinIcon: Et, - LinuxIcon: Dt, - ListOrderedIcon: Ht, - ListUnorderedIcon: vt, - LocationIcon: xt, - LockIcon: Mt, - MarkdownIcon: Ft, - MarkupIcon: Ut, - MediumIcon: Nt, - MemoryIcon: Gt, - MenuIcon: Wt, - MergeIcon: Kt, - MirrorIcon: Yt, - MobileIcon: qt, - MoonIcon: Vt, - NutIcon: Zt, - OutboxIcon: zt, - OutlineIcon: A, - PaintBrushIcon: Jt, - PaperClipIcon: Qt, - ParagraphIcon: Xt, - PassedIcon: $t, - PhoneIcon: jt, - PhotoDragIcon: or, - PhotoIcon: nr, - PinAltIcon: er, - PinIcon: cr, - PlayAllHollowIcon: tr, - PlayBackIcon: rr, - PlayHollowIcon: Ir, - PlayIcon: ar, - PlayNextIcon: lr, - PlusIcon: ir, - PointerDefaultIcon: sr, - PointerHandIcon: ur, - PowerIcon: dr, - PrintIcon: pr, - ProceedIcon: mr, - ProfileIcon: Sr, - PullRequestIcon: Cr, - QuestionIcon: hr, - RSSIcon: Ar, - RedirectIcon: Tr, - ReduxIcon: _r, - RefreshIcon: br, - ReplyIcon: gr, - RepoIcon: yr, - RequestChangeIcon: Or, - RewindIcon: Br, - RulerIcon: fr, - SaveIcon: kr, - SearchIcon: Rr, - ShareAltIcon: Pr, - ShareIcon: wr, - ShieldIcon: Lr, - SideBySideIcon: Er, - SidebarAltIcon: Dr, - SidebarAltToggleIcon: Hr, - SidebarIcon: vr, - SidebarToggleIcon: xr, - SpeakerIcon: Mr, - StackedIcon: Fr, - StarHollowIcon: Ur, - StarIcon: Nr, - StatusFailIcon: Gr, - StatusPassIcon: Wr, - StatusWarnIcon: Kr, - StickerIcon: Yr, - StopAltHollowIcon: qr, - StopAltIcon: Vr, - StopIcon: Zr, - StorybookIcon: zr, - StructureIcon: Jr, - SubtractIcon: Qr, - SunIcon: Xr, - SupportIcon: $r, - SwitchAltIcon: jr, - SyncIcon: oI, - TabletIcon: nI, - ThumbsUpIcon: eI, - TimeIcon: cI, - TimerIcon: tI, - TransferIcon: rI, - TrashIcon: II, - TwitterIcon: aI, - TypeIcon: lI, - UbuntuIcon: iI, - UndoIcon: sI, - UnfoldIcon: uI, - UnlockIcon: dI, - UnpinIcon: pI, - UploadIcon: mI, - UserAddIcon: SI, - UserAltIcon: CI, - UserIcon: hI, - UsersIcon: AI, - VSCodeIcon: TI, - VerifiedIcon: _I, - VideoIcon: bI, - WandIcon: gI, - WatchIcon: yI, - WindowsIcon: OI, - WrenchIcon: BI, - XIcon: fI, - YoutubeIcon: kI, - ZoomIcon: RI, - ZoomOutIcon: PI, - ZoomResetIcon: wI, - iconList: LI, - } = __STORYBOOK_ICONS__; - var i = "storybook/outline", - T = "outline", - _ = u(function () { - let [c, r] = S(), - s = C(), - I = [!0, "true"].includes(c[T]), - a = d(() => r({ [T]: !I }), [I]); - return ( - p(() => { - s.setAddonShortcut(i, { - label: "Toggle Outline", - defaultShortcut: ["alt", "O"], - actionName: "outline", - showInMenu: !1, - action: a, - }); - }, [a, s]), - t.createElement( - h, - { - key: "outline", - active: I, - title: "Apply outlines to the preview", - onClick: a, - }, - t.createElement(A, null), - ) - ); - }); - l.register(i, () => { - l.add(i, { - title: "Outline", - type: m.TOOL, - match: ({ viewMode: c, tabId: r }) => - !!(c && c.match(/^(story|docs)$/)) && !r, - render: () => t.createElement(_, null), - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/essentials-toolbars-6/manager-bundle.js b/docs/public/stories/sb-addons/essentials-toolbars-6/manager-bundle.js deleted file mode 100644 index a563d8b1..00000000 --- a/docs/public/stories/sb-addons/essentials-toolbars-6/manager-bundle.js +++ /dev/null @@ -1,375 +0,0 @@ -try { - (() => { - var l = __REACT__, - { - Children: se, - Component: ie, - Fragment: ue, - Profiler: ce, - PureComponent: pe, - StrictMode: me, - Suspense: de, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: be, - cloneElement: Se, - createContext: Te, - createElement: ye, - createFactory: _e, - createRef: fe, - forwardRef: Ce, - isValidElement: ve, - lazy: Ie, - memo: Oe, - startTransition: Ee, - unstable_act: xe, - useCallback: C, - useContext: ge, - useDebugValue: ke, - useDeferredValue: he, - useEffect: g, - useId: Ae, - useImperativeHandle: Re, - useInsertionEffect: Le, - useLayoutEffect: Be, - useMemo: Me, - useReducer: Pe, - useRef: L, - useState: B, - useSyncExternalStore: Ne, - useTransition: we, - version: Ve, - } = __REACT__; - var We = __STORYBOOK_API__, - { - ActiveTabs: Ke, - Consumer: Ye, - ManagerContext: $e, - Provider: qe, - RequestResponseError: ze, - addons: k, - combineParameters: Ue, - controlOrMetaKey: je, - controlOrMetaSymbol: Ze, - eventMatchesShortcut: Je, - eventToShortcut: Qe, - experimental_requestResponse: Xe, - isMacLike: et, - isShortcutTaken: tt, - keyToSymbol: ot, - merge: rt, - mockChannel: at, - optionOrAltSymbol: lt, - shortcutMatchesShortcut: nt, - shortcutToHumanString: st, - types: M, - useAddonState: it, - useArgTypes: ut, - useArgs: ct, - useChannel: pt, - useGlobalTypes: P, - useGlobals: h, - useParameter: mt, - useSharedState: dt, - useStoryPrepared: bt, - useStorybookApi: N, - useStorybookState: St, - } = __STORYBOOK_API__; - var Ct = __STORYBOOK_COMPONENTS__, - { - A: vt, - ActionBar: It, - AddonPanel: Ot, - Badge: Et, - Bar: xt, - Blockquote: gt, - Button: kt, - ClipboardCode: ht, - Code: At, - DL: Rt, - Div: Lt, - DocumentWrapper: Bt, - EmptyTabContent: Mt, - ErrorFormatter: Pt, - FlexBar: Nt, - Form: wt, - H1: Vt, - H2: Dt, - H3: Ht, - H4: Ft, - H5: Gt, - H6: Wt, - HR: Kt, - IconButton: w, - IconButtonSkeleton: Yt, - Icons: A, - Img: $t, - LI: qt, - Link: zt, - ListItem: Ut, - Loader: jt, - Modal: Zt, - OL: Jt, - P: Qt, - Placeholder: Xt, - Pre: eo, - ResetWrapper: to, - ScrollArea: oo, - Separator: V, - Spaced: ro, - Span: ao, - StorybookIcon: lo, - StorybookLogo: no, - Symbols: so, - SyntaxHighlighter: io, - TT: uo, - TabBar: co, - TabButton: po, - TabWrapper: mo, - Table: bo, - Tabs: So, - TabsState: To, - TooltipLinkList: D, - TooltipMessage: yo, - TooltipNote: _o, - UL: fo, - WithTooltip: H, - WithTooltipPure: Co, - Zoom: vo, - codeCommon: Io, - components: Oo, - createCopyToClipboardFunction: Eo, - getStoryHref: xo, - icons: go, - interleaveSeparators: ko, - nameSpaceClassNames: ho, - resetComponents: Ao, - withReset: Ro, - } = __STORYBOOK_COMPONENTS__; - var K = { type: "item", value: "" }, - Y = (o, t) => ({ - ...t, - name: t.name || o, - description: t.description || o, - toolbar: { - ...t.toolbar, - items: t.toolbar.items.map((e) => { - let r = typeof e == "string" ? { value: e, title: e } : e; - return ( - r.type === "reset" && - t.toolbar.icon && - ((r.icon = t.toolbar.icon), (r.hideIcon = !0)), - { ...K, ...r } - ); - }), - }, - }), - $ = ["reset"], - q = (o) => o.filter((t) => !$.includes(t.type)).map((t) => t.value), - S = "addon-toolbars", - z = async (o, t, e) => { - e && - e.next && - (await o.setAddonShortcut(S, { - label: e.next.label, - defaultShortcut: e.next.keys, - actionName: `${t}:next`, - action: e.next.action, - })), - e && - e.previous && - (await o.setAddonShortcut(S, { - label: e.previous.label, - defaultShortcut: e.previous.keys, - actionName: `${t}:previous`, - action: e.previous.action, - })), - e && - e.reset && - (await o.setAddonShortcut(S, { - label: e.reset.label, - defaultShortcut: e.reset.keys, - actionName: `${t}:reset`, - action: e.reset.action, - })); - }, - U = (o) => (t) => { - let { - id: e, - toolbar: { items: r, shortcuts: a }, - } = t, - c = N(), - [T, i] = h(), - n = L([]), - u = T[e], - v = C(() => { - i({ [e]: "" }); - }, [i]), - I = C(() => { - let s = n.current, - m = s.indexOf(u), - d = m === s.length - 1 ? 0 : m + 1, - p = n.current[d]; - i({ [e]: p }); - }, [n, u, i]), - O = C(() => { - let s = n.current, - m = s.indexOf(u), - d = m > -1 ? m : 0, - p = d === 0 ? s.length - 1 : d - 1, - b = n.current[p]; - i({ [e]: b }); - }, [n, u, i]); - return ( - g(() => { - a && - z(c, e, { - next: { ...a.next, action: I }, - previous: { ...a.previous, action: O }, - reset: { ...a.reset, action: v }, - }); - }, [c, e, a, I, O, v]), - g(() => { - n.current = q(r); - }, []), - l.createElement(o, { cycleValues: n.current, ...t }) - ); - }, - F = ({ currentValue: o, items: t }) => - o != null && t.find((e) => e.value === o && e.type !== "reset"), - j = ({ currentValue: o, items: t }) => { - let e = F({ currentValue: o, items: t }); - if (e) return e.icon; - }, - Z = ({ currentValue: o, items: t }) => { - let e = F({ currentValue: o, items: t }); - if (e) return e.title; - }, - J = ({ - active: o, - disabled: t, - title: e, - icon: r, - description: a, - onClick: c, - }) => - l.createElement( - w, - { active: o, title: a, disabled: t, onClick: t ? () => {} : c }, - r && - l.createElement(A, { icon: r, __suppressDeprecationWarning: !0 }), - e ? `\xA0${e}` : null, - ), - Q = ({ - right: o, - title: t, - value: e, - icon: r, - hideIcon: a, - onClick: c, - disabled: T, - currentValue: i, - }) => { - let n = r && l.createElement(A, { style: { opacity: 1 }, icon: r }), - u = { - id: e ?? "_reset", - active: i === e, - right: o, - title: t, - disabled: T, - onClick: c, - }; - return r && !a && (u.icon = n), u; - }, - X = U( - ({ - id: o, - name: t, - description: e, - toolbar: { - icon: r, - items: a, - title: c, - preventDynamicIcon: T, - dynamicTitle: i, - }, - }) => { - let [n, u, v] = h(), - [I, O] = B(!1), - s = n[o], - m = !!s, - d = o in v, - p = r, - b = c; - T || (p = j({ currentValue: s, items: a }) || p), - i && (b = Z({ currentValue: s, items: a }) || b), - !b && !p && console.warn(`Toolbar '${t}' has no title or icon`); - let G = C( - (x) => { - u({ [o]: x }); - }, - [o, u], - ); - return l.createElement( - H, - { - placement: "top", - tooltip: ({ onHide: x }) => { - let W = a - .filter(({ type: E }) => { - let R = !0; - return E === "reset" && !s && (R = !1), R; - }) - .map((E) => - Q({ - ...E, - currentValue: s, - disabled: d, - onClick: () => { - G(E.value), x(); - }, - }), - ); - return l.createElement(D, { links: W }); - }, - closeOnOutsideClick: !0, - onVisibleChange: O, - }, - l.createElement(J, { - active: I || m, - disabled: d, - description: e || "", - icon: p, - title: b || "", - }), - ); - }, - ), - ee = () => { - let o = P(), - t = Object.keys(o).filter((e) => !!o[e].toolbar); - return t.length - ? l.createElement( - l.Fragment, - null, - l.createElement(V, null), - t.map((e) => { - let r = Y(e, o[e]); - return l.createElement(X, { key: e, id: e, ...r }); - }), - ) - : null; - }; - k.register(S, () => - k.add(S, { - title: S, - type: M.TOOL, - match: ({ tabId: o }) => !o, - render: () => l.createElement(ee, null), - }), - ); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/essentials-viewport-5/manager-bundle.js b/docs/public/stories/sb-addons/essentials-viewport-5/manager-bundle.js deleted file mode 100644 index 503885d6..00000000 --- a/docs/public/stories/sb-addons/essentials-viewport-5/manager-bundle.js +++ /dev/null @@ -1,1119 +0,0 @@ -try { - (() => { - var he = Object.create; - var J = Object.defineProperty; - var me = Object.getOwnPropertyDescriptor; - var fe = Object.getOwnPropertyNames; - var ge = Object.getPrototypeOf, - we = Object.prototype.hasOwnProperty; - var O = ((e) => - typeof require < "u" - ? require - : typeof Proxy < "u" - ? new Proxy(e, { - get: (t, a) => (typeof require < "u" ? require : t)[a], - }) - : e)(function (e) { - if (typeof require < "u") return require.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - }); - var H = (e, t) => () => (e && (t = e((e = 0))), t); - var be = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ); - var ye = (e, t, a, s) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let c of fe(t)) - !we.call(e, c) && - c !== a && - J(e, c, { - get: () => t[c], - enumerable: !(s = me(t, c)) || s.enumerable, - }); - return e; - }; - var Se = (e, t, a) => ( - (a = e != null ? he(ge(e)) : {}), - ye( - t || !e || !e.__esModule - ? J(a, "default", { value: e, enumerable: !0 }) - : a, - e, - ) - ); - var f = H(() => {}); - var g = H(() => {}); - var w = H(() => {}); - var le = be((ce, Z) => { - f(); - g(); - w(); - (function (e) { - if (typeof ce == "object" && typeof Z < "u") Z.exports = e(); - else if (typeof define == "function" && define.amd) define([], e); - else { - var t; - typeof window < "u" || typeof window < "u" - ? (t = window) - : typeof self < "u" - ? (t = self) - : (t = this), - (t.memoizerific = e()); - } - })(function () { - var e, t, a; - return (function s(c, b, p) { - function o(n, d) { - if (!b[n]) { - if (!c[n]) { - var r = typeof O == "function" && O; - if (!d && r) return r(n, !0); - if (i) return i(n, !0); - var u = new Error("Cannot find module '" + n + "'"); - throw ((u.code = "MODULE_NOT_FOUND"), u); - } - var I = (b[n] = { exports: {} }); - c[n][0].call( - I.exports, - function (m) { - var y = c[n][1][m]; - return o(y || m); - }, - I, - I.exports, - s, - c, - b, - p, - ); - } - return b[n].exports; - } - for (var i = typeof O == "function" && O, h = 0; h < p.length; h++) - o(p[h]); - return o; - })( - { - 1: [ - function (s, c, b) { - c.exports = function (p) { - if (typeof Map != "function" || p) { - var o = s("./similar"); - return new o(); - } else return new Map(); - }; - }, - { "./similar": 2 }, - ], - 2: [ - function (s, c, b) { - function p() { - return ( - (this.list = []), - (this.lastItem = void 0), - (this.size = 0), - this - ); - } - (p.prototype.get = function (o) { - var i; - if (this.lastItem && this.isEqual(this.lastItem.key, o)) - return this.lastItem.val; - if (((i = this.indexOf(o)), i >= 0)) - return (this.lastItem = this.list[i]), this.list[i].val; - }), - (p.prototype.set = function (o, i) { - var h; - return this.lastItem && this.isEqual(this.lastItem.key, o) - ? ((this.lastItem.val = i), this) - : ((h = this.indexOf(o)), - h >= 0 - ? ((this.lastItem = this.list[h]), - (this.list[h].val = i), - this) - : ((this.lastItem = { key: o, val: i }), - this.list.push(this.lastItem), - this.size++, - this)); - }), - (p.prototype.delete = function (o) { - var i; - if ( - (this.lastItem && - this.isEqual(this.lastItem.key, o) && - (this.lastItem = void 0), - (i = this.indexOf(o)), - i >= 0) - ) - return this.size--, this.list.splice(i, 1)[0]; - }), - (p.prototype.has = function (o) { - var i; - return this.lastItem && this.isEqual(this.lastItem.key, o) - ? !0 - : ((i = this.indexOf(o)), - i >= 0 ? ((this.lastItem = this.list[i]), !0) : !1); - }), - (p.prototype.forEach = function (o, i) { - var h; - for (h = 0; h < this.size; h++) - o.call( - i || this, - this.list[h].val, - this.list[h].key, - this, - ); - }), - (p.prototype.indexOf = function (o) { - var i; - for (i = 0; i < this.size; i++) - if (this.isEqual(this.list[i].key, o)) return i; - return -1; - }), - (p.prototype.isEqual = function (o, i) { - return o === i || (o !== o && i !== i); - }), - (c.exports = p); - }, - {}, - ], - 3: [ - function (s, c, b) { - var p = s("map-or-similar"); - c.exports = function (n) { - var d = new p(!1), - r = []; - return function (u) { - var I = function () { - var m = d, - y, - k, - S = arguments.length - 1, - M = Array(S + 1), - A = !0, - C; - if ((I.numArgs || I.numArgs === 0) && I.numArgs !== S + 1) - throw new Error( - "Memoizerific functions should always be called with the same number of arguments", - ); - for (C = 0; C < S; C++) { - if ( - ((M[C] = { cacheItem: m, arg: arguments[C] }), - m.has(arguments[C])) - ) { - m = m.get(arguments[C]); - continue; - } - (A = !1), - (y = new p(!1)), - m.set(arguments[C], y), - (m = y); - } - return ( - A && - (m.has(arguments[S]) - ? (k = m.get(arguments[S])) - : (A = !1)), - A || - ((k = u.apply(null, arguments)), - m.set(arguments[S], k)), - n > 0 && - ((M[S] = { cacheItem: m, arg: arguments[S] }), - A ? o(r, M) : r.push(M), - r.length > n && i(r.shift())), - (I.wasMemoized = A), - (I.numArgs = S + 1), - k - ); - }; - return ( - (I.limit = n), - (I.wasMemoized = !1), - (I.cache = d), - (I.lru = r), - I - ); - }; - }; - function o(n, d) { - var r = n.length, - u = d.length, - I, - m, - y; - for (m = 0; m < r; m++) { - for (I = !0, y = 0; y < u; y++) - if (!h(n[m][y].arg, d[y].arg)) { - I = !1; - break; - } - if (I) break; - } - n.push(n.splice(m, 1)[0]); - } - function i(n) { - var d = n.length, - r = n[d - 1], - u, - I; - for ( - r.cacheItem.delete(r.arg), I = d - 2; - I >= 0 && - ((r = n[I]), (u = r.cacheItem.get(r.arg)), !u || !u.size); - I-- - ) - r.cacheItem.delete(r.arg); - } - function h(n, d) { - return n === d || (n !== n && d !== d); - } - }, - { "map-or-similar": 1 }, - ], - }, - {}, - [3], - )(3); - }); - }); - f(); - g(); - w(); - f(); - g(); - w(); - f(); - g(); - w(); - f(); - g(); - w(); - var l = __REACT__, - { - Children: $e, - Component: Je, - Fragment: V, - Profiler: Qe, - PureComponent: Xe, - StrictMode: et, - Suspense: tt, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ot, - cloneElement: nt, - createContext: rt, - createElement: N, - createFactory: it, - createRef: at, - forwardRef: ct, - isValidElement: lt, - lazy: st, - memo: Q, - startTransition: ut, - unstable_act: It, - useCallback: X, - useContext: pt, - useDebugValue: dt, - useDeferredValue: ht, - useEffect: _, - useId: mt, - useImperativeHandle: ft, - useInsertionEffect: gt, - useLayoutEffect: wt, - useMemo: bt, - useReducer: yt, - useRef: ee, - useState: z, - useSyncExternalStore: St, - useTransition: vt, - version: Ct, - } = __REACT__; - f(); - g(); - w(); - var kt = __STORYBOOK_API__, - { - ActiveTabs: At, - Consumer: xt, - ManagerContext: Ot, - Provider: _t, - RequestResponseError: Lt, - addons: G, - combineParameters: Bt, - controlOrMetaKey: Pt, - controlOrMetaSymbol: Mt, - eventMatchesShortcut: Vt, - eventToShortcut: Dt, - experimental_requestResponse: Ht, - isMacLike: Nt, - isShortcutTaken: zt, - keyToSymbol: Gt, - merge: Ft, - mockChannel: Ut, - optionOrAltSymbol: qt, - shortcutMatchesShortcut: Wt, - shortcutToHumanString: Yt, - types: te, - useAddonState: jt, - useArgTypes: Kt, - useArgs: Zt, - useChannel: $t, - useGlobalTypes: Jt, - useGlobals: F, - useParameter: U, - useSharedState: Qt, - useStoryPrepared: Xt, - useStorybookApi: oe, - useStorybookState: eo, - } = __STORYBOOK_API__; - f(); - g(); - w(); - var io = __STORYBOOK_COMPONENTS__, - { - A: ao, - ActionBar: co, - AddonPanel: lo, - Badge: so, - Bar: uo, - Blockquote: Io, - Button: po, - ClipboardCode: ho, - Code: mo, - DL: fo, - Div: go, - DocumentWrapper: wo, - EmptyTabContent: bo, - ErrorFormatter: yo, - FlexBar: So, - Form: vo, - H1: Co, - H2: Eo, - H3: Ro, - H4: To, - H5: ko, - H6: Ao, - HR: xo, - IconButton: L, - IconButtonSkeleton: Oo, - Icons: _o, - Img: Lo, - LI: Bo, - Link: Po, - ListItem: Mo, - Loader: Vo, - Modal: Do, - OL: Ho, - P: No, - Placeholder: zo, - Pre: Go, - ResetWrapper: Fo, - ScrollArea: Uo, - Separator: qo, - Spaced: Wo, - Span: Yo, - StorybookIcon: jo, - StorybookLogo: Ko, - Symbols: Zo, - SyntaxHighlighter: $o, - TT: Jo, - TabBar: Qo, - TabButton: Xo, - TabWrapper: en, - Table: tn, - Tabs: on, - TabsState: nn, - TooltipLinkList: q, - TooltipMessage: rn, - TooltipNote: an, - UL: cn, - WithTooltip: W, - WithTooltipPure: ln, - Zoom: sn, - codeCommon: un, - components: In, - createCopyToClipboardFunction: pn, - getStoryHref: dn, - icons: hn, - interleaveSeparators: mn, - nameSpaceClassNames: fn, - resetComponents: gn, - withReset: wn, - } = __STORYBOOK_COMPONENTS__; - f(); - g(); - w(); - var Cn = __STORYBOOK_THEMING__, - { - CacheProvider: En, - ClassNames: Rn, - Global: Y, - ThemeProvider: Tn, - background: kn, - color: An, - convert: xn, - create: On, - createCache: _n, - createGlobal: Ln, - createReset: Bn, - css: Pn, - darken: Mn, - ensure: Vn, - ignoreSsrWarning: Dn, - isPropValid: Hn, - jsx: Nn, - keyframes: zn, - lighten: Gn, - styled: v, - themes: Fn, - typography: Un, - useTheme: qn, - withTheme: Wn, - } = __STORYBOOK_THEMING__; - f(); - g(); - w(); - var $n = __STORYBOOK_ICONS__, - { - AccessibilityAltIcon: Jn, - AccessibilityIcon: Qn, - AddIcon: Xn, - AdminIcon: er, - AlertAltIcon: tr, - AlertIcon: or, - AlignLeftIcon: nr, - AlignRightIcon: rr, - AppleIcon: ir, - ArrowBottomLeftIcon: ar, - ArrowBottomRightIcon: cr, - ArrowDownIcon: lr, - ArrowLeftIcon: sr, - ArrowRightIcon: ur, - ArrowSolidDownIcon: Ir, - ArrowSolidLeftIcon: pr, - ArrowSolidRightIcon: dr, - ArrowSolidUpIcon: hr, - ArrowTopLeftIcon: mr, - ArrowTopRightIcon: fr, - ArrowUpIcon: gr, - AzureDevOpsIcon: wr, - BackIcon: br, - BasketIcon: yr, - BatchAcceptIcon: Sr, - BatchDenyIcon: vr, - BeakerIcon: Cr, - BellIcon: Er, - BitbucketIcon: Rr, - BoldIcon: Tr, - BookIcon: kr, - BookmarkHollowIcon: Ar, - BookmarkIcon: xr, - BottomBarIcon: Or, - BottomBarToggleIcon: _r, - BoxIcon: Lr, - BranchIcon: Br, - BrowserIcon: ne, - ButtonIcon: Pr, - CPUIcon: Mr, - CalendarIcon: Vr, - CameraIcon: Dr, - CategoryIcon: Hr, - CertificateIcon: Nr, - ChangedIcon: zr, - ChatIcon: Gr, - CheckIcon: Fr, - ChevronDownIcon: Ur, - ChevronLeftIcon: qr, - ChevronRightIcon: Wr, - ChevronSmallDownIcon: Yr, - ChevronSmallLeftIcon: jr, - ChevronSmallRightIcon: Kr, - ChevronSmallUpIcon: Zr, - ChevronUpIcon: $r, - ChromaticIcon: Jr, - ChromeIcon: Qr, - CircleHollowIcon: Xr, - CircleIcon: ei, - ClearIcon: ti, - CloseAltIcon: oi, - CloseIcon: ni, - CloudHollowIcon: ri, - CloudIcon: ii, - CogIcon: ai, - CollapseIcon: ci, - CommandIcon: li, - CommentAddIcon: si, - CommentIcon: ui, - CommentsIcon: Ii, - CommitIcon: pi, - CompassIcon: di, - ComponentDrivenIcon: hi, - ComponentIcon: mi, - ContrastIcon: fi, - ControlsIcon: gi, - CopyIcon: wi, - CreditIcon: bi, - CrossIcon: yi, - DashboardIcon: Si, - DatabaseIcon: vi, - DeleteIcon: Ci, - DiamondIcon: Ei, - DirectionIcon: Ri, - DiscordIcon: Ti, - DocChartIcon: ki, - DocListIcon: Ai, - DocumentIcon: xi, - DownloadIcon: Oi, - DragIcon: _i, - EditIcon: Li, - EllipsisIcon: Bi, - EmailIcon: Pi, - ExpandAltIcon: Mi, - ExpandIcon: Vi, - EyeCloseIcon: Di, - EyeIcon: Hi, - FaceHappyIcon: Ni, - FaceNeutralIcon: zi, - FaceSadIcon: Gi, - FacebookIcon: Fi, - FailedIcon: Ui, - FastForwardIcon: qi, - FigmaIcon: Wi, - FilterIcon: Yi, - FlagIcon: ji, - FolderIcon: Ki, - FormIcon: Zi, - GDriveIcon: $i, - GithubIcon: Ji, - GitlabIcon: Qi, - GlobeIcon: Xi, - GoogleIcon: ea, - GraphBarIcon: ta, - GraphLineIcon: oa, - GraphqlIcon: na, - GridAltIcon: ra, - GridIcon: ia, - GrowIcon: j, - HeartHollowIcon: aa, - HeartIcon: ca, - HomeIcon: la, - HourglassIcon: sa, - InfoIcon: ua, - ItalicIcon: Ia, - JumpToIcon: pa, - KeyIcon: da, - LightningIcon: ha, - LightningOffIcon: ma, - LinkBrokenIcon: fa, - LinkIcon: ga, - LinkedinIcon: wa, - LinuxIcon: ba, - ListOrderedIcon: ya, - ListUnorderedIcon: Sa, - LocationIcon: va, - LockIcon: Ca, - MarkdownIcon: Ea, - MarkupIcon: Ra, - MediumIcon: Ta, - MemoryIcon: ka, - MenuIcon: Aa, - MergeIcon: xa, - MirrorIcon: Oa, - MobileIcon: re, - MoonIcon: _a, - NutIcon: La, - OutboxIcon: Ba, - OutlineIcon: Pa, - PaintBrushIcon: Ma, - PaperClipIcon: Va, - ParagraphIcon: Da, - PassedIcon: Ha, - PhoneIcon: Na, - PhotoDragIcon: za, - PhotoIcon: Ga, - PinAltIcon: Fa, - PinIcon: Ua, - PlayAllHollowIcon: qa, - PlayBackIcon: Wa, - PlayHollowIcon: Ya, - PlayIcon: ja, - PlayNextIcon: Ka, - PlusIcon: Za, - PointerDefaultIcon: $a, - PointerHandIcon: Ja, - PowerIcon: Qa, - PrintIcon: Xa, - ProceedIcon: ec, - ProfileIcon: tc, - PullRequestIcon: oc, - QuestionIcon: nc, - RSSIcon: rc, - RedirectIcon: ic, - ReduxIcon: ac, - RefreshIcon: ie, - ReplyIcon: cc, - RepoIcon: lc, - RequestChangeIcon: sc, - RewindIcon: uc, - RulerIcon: Ic, - SaveIcon: pc, - SearchIcon: dc, - ShareAltIcon: hc, - ShareIcon: mc, - ShieldIcon: fc, - SideBySideIcon: gc, - SidebarAltIcon: wc, - SidebarAltToggleIcon: bc, - SidebarIcon: yc, - SidebarToggleIcon: Sc, - SpeakerIcon: vc, - StackedIcon: Cc, - StarHollowIcon: Ec, - StarIcon: Rc, - StatusFailIcon: Tc, - StatusPassIcon: kc, - StatusWarnIcon: Ac, - StickerIcon: xc, - StopAltHollowIcon: Oc, - StopAltIcon: _c, - StopIcon: Lc, - StorybookIcon: Bc, - StructureIcon: Pc, - SubtractIcon: Mc, - SunIcon: Vc, - SupportIcon: Dc, - SwitchAltIcon: Hc, - SyncIcon: Nc, - TabletIcon: ae, - ThumbsUpIcon: zc, - TimeIcon: Gc, - TimerIcon: Fc, - TransferIcon: K, - TrashIcon: Uc, - TwitterIcon: qc, - TypeIcon: Wc, - UbuntuIcon: Yc, - UndoIcon: jc, - UnfoldIcon: Kc, - UnlockIcon: Zc, - UnpinIcon: $c, - UploadIcon: Jc, - UserAddIcon: Qc, - UserAltIcon: Xc, - UserIcon: el, - UsersIcon: tl, - VSCodeIcon: ol, - VerifiedIcon: nl, - VideoIcon: rl, - WandIcon: il, - WatchIcon: al, - WindowsIcon: cl, - WrenchIcon: ll, - XIcon: sl, - YoutubeIcon: ul, - ZoomIcon: Il, - ZoomOutIcon: pl, - ZoomResetIcon: dl, - iconList: hl, - } = __STORYBOOK_ICONS__; - var $ = Se(le()), - B = "storybook/viewport", - x = "viewport", - Ie = { - mobile1: { - name: "Small mobile", - styles: { height: "568px", width: "320px" }, - type: "mobile", - }, - mobile2: { - name: "Large mobile", - styles: { height: "896px", width: "414px" }, - type: "mobile", - }, - tablet: { - name: "Tablet", - styles: { height: "1112px", width: "834px" }, - type: "tablet", - }, - }, - P = { - name: "Reset viewport", - styles: { height: "100%", width: "100%" }, - type: "desktop", - }, - Ce = { [x]: { value: void 0, isRotated: !1 } }, - Ee = { viewport: "reset", viewportRotated: !1 }, - Re = FEATURES?.viewportStoryGlobals ? Ce : Ee, - pe = (e, t) => e.indexOf(t), - Te = (e, t) => { - let a = pe(e, t); - return a === e.length - 1 ? e[0] : e[a + 1]; - }, - ke = (e, t) => { - let a = pe(e, t); - return a < 1 ? e[e.length - 1] : e[a - 1]; - }, - de = async (e, t, a, s) => { - await e.setAddonShortcut(B, { - label: "Previous viewport", - defaultShortcut: ["alt", "shift", "V"], - actionName: "previous", - action: () => { - a({ viewport: ke(s, t) }); - }, - }), - await e.setAddonShortcut(B, { - label: "Next viewport", - defaultShortcut: ["alt", "V"], - actionName: "next", - action: () => { - a({ viewport: Te(s, t) }); - }, - }), - await e.setAddonShortcut(B, { - label: "Reset viewport", - defaultShortcut: ["alt", "control", "V"], - actionName: "reset", - action: () => { - a(Re); - }, - }); - }, - Ae = v.div(() => ({ display: "inline-flex", alignItems: "center" })), - se = v.div(({ theme: e }) => ({ - display: "inline-block", - textDecoration: "none", - padding: 10, - fontWeight: e.typography.weight.bold, - fontSize: e.typography.size.s2 - 1, - lineHeight: "1", - height: 40, - border: "none", - borderTop: "3px solid transparent", - borderBottom: "3px solid transparent", - background: "transparent", - })), - xe = v(L)(() => ({ display: "inline-flex", alignItems: "center" })), - Oe = v.div(({ theme: e }) => ({ - fontSize: e.typography.size.s2 - 1, - marginLeft: 10, - })), - _e = { - desktop: l.createElement(ne, null), - mobile: l.createElement(re, null), - tablet: l.createElement(ae, null), - other: l.createElement(V, null), - }, - Le = ({ api: e }) => { - let t = U(x), - [a, s, c] = F(), - [b, p] = z(!1), - { options: o = Ie, disable: i } = t || {}, - h = a?.[x] || {}, - n = h.value, - d = h.isRotated, - r = o[n] || P, - u = b || r !== P, - I = x in c, - m = Object.keys(o).length; - if ( - (_(() => { - de(e, n, s, Object.keys(o)); - }, [o, n, s, e]), - r.styles === null || !o || m < 1) - ) - return null; - if (typeof r.styles == "function") - return ( - console.warn( - "Addon Viewport no longer supports dynamic styles using a function, use css calc() instead", - ), - null - ); - let y = d ? r.styles.height : r.styles.width, - k = d ? r.styles.width : r.styles.height; - return i - ? null - : l.createElement(Be, { - item: r, - updateGlobals: s, - viewportMap: o, - viewportName: n, - isRotated: d, - setIsTooltipVisible: p, - isLocked: I, - isActive: u, - width: y, - height: k, - }); - }, - Be = l.memo(function (e) { - let { - item: t, - viewportMap: a, - viewportName: s, - isRotated: c, - updateGlobals: b, - setIsTooltipVisible: p, - isLocked: o, - isActive: i, - width: h, - height: n, - } = e, - d = X((r) => b({ [x]: r }), [b]); - return l.createElement( - V, - null, - l.createElement( - W, - { - placement: "bottom", - tooltip: ({ onHide: r }) => - l.createElement(q, { - links: [ - ...(length > 0 && t !== P - ? [ - { - id: "reset", - title: "Reset viewport", - icon: l.createElement(ie, null), - onClick: () => { - d({ value: void 0, isRotated: !1 }), r(); - }, - }, - ] - : []), - ...Object.entries(a).map(([u, I]) => ({ - id: u, - title: I.name, - icon: _e[I.type], - active: u === s, - onClick: () => { - d({ value: u, isRotated: !1 }), r(); - }, - })), - ], - }), - closeOnOutsideClick: !0, - onVisibleChange: p, - }, - l.createElement( - xe, - { - disabled: o, - key: "viewport", - title: "Change the size of the preview", - active: i, - onDoubleClick: () => { - d({ value: void 0, isRotated: !1 }); - }, - }, - l.createElement(j, null), - t !== P - ? l.createElement(Oe, null, t.name, " ", c ? "(L)" : "(P)") - : null, - ), - ), - l.createElement(Y, { - styles: { - 'iframe[data-is-storybook="true"]': { width: h, height: n }, - }, - }), - t !== P - ? l.createElement( - Ae, - null, - l.createElement( - se, - { title: "Viewport width" }, - h.replace("px", ""), - ), - o - ? "/" - : l.createElement( - L, - { - key: "viewport-rotate", - title: "Rotate viewport", - onClick: () => { - d({ value: s, isRotated: !c }); - }, - }, - l.createElement(K, null), - ), - l.createElement( - se, - { title: "Viewport height" }, - n.replace("px", ""), - ), - ) - : null, - ); - }), - Pe = (0, $.default)(50)((e) => [ - ...Me, - ...Object.entries(e).map(([t, { name: a, ...s }]) => ({ - ...s, - id: t, - title: a, - })), - ]), - D = { id: "reset", title: "Reset viewport", styles: null, type: "other" }, - Me = [D], - Ve = (0, $.default)(50)((e, t, a, s) => - e - .filter((c) => c.id !== D.id || t.id !== c.id) - .map((c) => ({ - ...c, - onClick: () => { - a({ viewport: c.id }), s(); - }, - })), - ), - De = ({ width: e, height: t, ...a }) => ({ ...a, height: e, width: t }), - He = v.div(() => ({ display: "inline-flex", alignItems: "center" })), - ue = v.div(({ theme: e }) => ({ - display: "inline-block", - textDecoration: "none", - padding: 10, - fontWeight: e.typography.weight.bold, - fontSize: e.typography.size.s2 - 1, - lineHeight: "1", - height: 40, - border: "none", - borderTop: "3px solid transparent", - borderBottom: "3px solid transparent", - background: "transparent", - })), - Ne = v(L)(() => ({ display: "inline-flex", alignItems: "center" })), - ze = v.div(({ theme: e }) => ({ - fontSize: e.typography.size.s2 - 1, - marginLeft: 10, - })), - Ge = (e, t, a) => { - if (t === null) return; - let s = typeof t == "function" ? t(e) : t; - return a ? De(s) : s; - }, - Fe = Q(function () { - let [e, t] = F(), - { - viewports: a = Ie, - defaultOrientation: s, - defaultViewport: c, - disable: b, - } = U(x, {}), - p = Pe(a), - o = oe(), - [i, h] = z(!1); - c && - !p.find((u) => u.id === c) && - console.warn( - `Cannot find "defaultViewport" of "${c}" in addon-viewport configs, please check the "viewports" setting in the configuration.`, - ), - _(() => { - de(o, e, t, Object.keys(a)); - }, [a, e, e.viewport, t, o]), - _(() => { - let u = s === "landscape"; - ((c && e.viewport !== c) || (s && e.viewportRotated !== u)) && - t({ viewport: c, viewportRotated: u }); - }, [s, c, t]); - let n = - p.find((u) => u.id === e.viewport) || - p.find((u) => u.id === c) || - p.find((u) => u.default) || - D, - d = ee(), - r = Ge(d.current, n.styles, e.viewportRotated); - return ( - _(() => { - d.current = r; - }, [n]), - b || Object.entries(a).length === 0 - ? null - : l.createElement( - V, - null, - l.createElement( - W, - { - placement: "top", - tooltip: ({ onHide: u }) => - l.createElement(q, { links: Ve(p, n, t, u) }), - closeOnOutsideClick: !0, - onVisibleChange: h, - }, - l.createElement( - Ne, - { - key: "viewport", - title: "Change the size of the preview", - active: i || !!r, - onDoubleClick: () => { - t({ viewport: D.id }); - }, - }, - l.createElement(j, null), - r - ? l.createElement( - ze, - null, - e.viewportRotated - ? `${n.title} (L)` - : `${n.title} (P)`, - ) - : null, - ), - ), - r - ? l.createElement( - He, - null, - l.createElement(Y, { - styles: { - 'iframe[data-is-storybook="true"]': { - ...(r || { width: "100%", height: "100%" }), - }, - }, - }), - l.createElement( - ue, - { title: "Viewport width" }, - r.width.replace("px", ""), - ), - l.createElement( - L, - { - key: "viewport-rotate", - title: "Rotate viewport", - onClick: () => { - t({ viewportRotated: !e.viewportRotated }); - }, - }, - l.createElement(K, null), - ), - l.createElement( - ue, - { title: "Viewport height" }, - r.height.replace("px", ""), - ), - ) - : null, - ) - ); - }); - G.register(B, (e) => { - G.add(B, { - title: "viewport / media-queries", - type: te.TOOL, - match: ({ viewMode: t, tabId: a }) => t === "story" && !a, - render: () => - FEATURES?.viewportStoryGlobals ? N(Le, { api: e }) : N(Fe, null), - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/interactions-10/manager-bundle.js b/docs/public/stories/sb-addons/interactions-10/manager-bundle.js deleted file mode 100644 index cdc8850a..00000000 --- a/docs/public/stories/sb-addons/interactions-10/manager-bundle.js +++ /dev/null @@ -1,15950 +0,0 @@ -try { - (() => { - var ye = ((t) => - typeof require < "u" - ? require - : typeof Proxy < "u" - ? new Proxy(t, { - get: (e, r) => (typeof require < "u" ? require : e)[r], - }) - : t)(function (t) { - if (typeof require < "u") return require.apply(this, arguments); - throw Error('Dynamic require of "' + t + '" is not supported'); - }); - var m = __REACT__, - { - Children: Ed, - Component: Ad, - Fragment: Tt, - Profiler: Sd, - PureComponent: wd, - StrictMode: Cd, - Suspense: vd, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Dd, - cloneElement: xd, - createContext: Fd, - createElement: z, - createFactory: Td, - createRef: Od, - forwardRef: Rd, - isValidElement: Id, - lazy: _d, - memo: Ot, - startTransition: Bd, - unstable_act: Pd, - useCallback: _n, - useContext: Ld, - useDebugValue: Nd, - useDeferredValue: kd, - useEffect: Ne, - useId: jd, - useImperativeHandle: Md, - useInsertionEffect: qd, - useLayoutEffect: $d, - useMemo: Bn, - useReducer: zd, - useRef: Rt, - useState: Fe, - useSyncExternalStore: Hd, - useTransition: Ud, - version: Vd, - } = __REACT__; - var Kd = __STORYBOOK_COMPONENTS__, - { - A: Xd, - ActionBar: Jd, - AddonPanel: Pn, - Badge: ar, - Bar: Ln, - Blockquote: Qd, - Button: Nn, - ClipboardCode: Zd, - Code: ef, - DL: tf, - Div: rf, - DocumentWrapper: nf, - EmptyTabContent: kn, - ErrorFormatter: of, - FlexBar: uf, - Form: af, - H1: sf, - H2: lf, - H3: cf, - H4: pf, - H5: df, - H6: ff, - HR: hf, - IconButton: ir, - IconButtonSkeleton: mf, - Icons: gf, - Img: yf, - LI: bf, - Link: sr, - ListItem: Ef, - Loader: Af, - Modal: Sf, - OL: wf, - P: jn, - Placeholder: Cf, - Pre: vf, - ResetWrapper: Df, - ScrollArea: xf, - Separator: Mn, - Spaced: qn, - Span: Ff, - StorybookIcon: Tf, - StorybookLogo: Of, - Symbols: Rf, - SyntaxHighlighter: If, - TT: _f, - TabBar: Bf, - TabButton: Pf, - TabWrapper: Lf, - Table: Nf, - Tabs: kf, - TabsState: jf, - TooltipLinkList: Mf, - TooltipMessage: qf, - TooltipNote: lr, - UL: $f, - WithTooltip: Ge, - WithTooltipPure: zf, - Zoom: Hf, - codeCommon: Uf, - components: Vf, - createCopyToClipboardFunction: Gf, - getStoryHref: Wf, - icons: Yf, - interleaveSeparators: Kf, - nameSpaceClassNames: Xf, - resetComponents: Jf, - withReset: Qf, - } = __STORYBOOK_COMPONENTS__; - var nh = __STORYBOOK_API__, - { - ActiveTabs: oh, - Consumer: $n, - ManagerContext: uh, - Provider: ah, - RequestResponseError: ih, - addons: cr, - combineParameters: sh, - controlOrMetaKey: lh, - controlOrMetaSymbol: ch, - eventMatchesShortcut: ph, - eventToShortcut: dh, - experimental_requestResponse: fh, - isMacLike: hh, - isShortcutTaken: mh, - keyToSymbol: gh, - merge: yh, - mockChannel: bh, - optionOrAltSymbol: Eh, - shortcutMatchesShortcut: Ah, - shortcutToHumanString: Sh, - types: zn, - useAddonState: pr, - useArgTypes: wh, - useArgs: Ch, - useChannel: Hn, - useGlobalTypes: vh, - useGlobals: Dh, - useParameter: Un, - useSharedState: xh, - useStoryPrepared: Fh, - useStorybookApi: Vn, - useStorybookState: Th, - } = __STORYBOOK_API__; - var Bh = __STORYBOOK_CORE_EVENTS__, - { - ARGTYPES_INFO_REQUEST: Gn, - ARGTYPES_INFO_RESPONSE: dr, - CHANNEL_CREATED: Ph, - CHANNEL_WS_DISCONNECT: Lh, - CONFIG_ERROR: Wn, - CREATE_NEW_STORYFILE_REQUEST: Nh, - CREATE_NEW_STORYFILE_RESPONSE: kh, - CURRENT_STORY_WAS_SET: fr, - DOCS_PREPARED: Yn, - DOCS_RENDERED: It, - FILE_COMPONENT_SEARCH_REQUEST: jh, - FILE_COMPONENT_SEARCH_RESPONSE: Mh, - FORCE_REMOUNT: ft, - FORCE_RE_RENDER: _t, - GLOBALS_UPDATED: et, - NAVIGATE_URL: qh, - PLAY_FUNCTION_THREW_EXCEPTION: Bt, - PRELOAD_ENTRIES: Kn, - PREVIEW_BUILDER_PROGRESS: $h, - PREVIEW_KEYDOWN: Xn, - REGISTER_SUBSCRIPTION: zh, - REQUEST_WHATS_NEW_DATA: Hh, - RESET_STORY_ARGS: Pt, - RESULT_WHATS_NEW_DATA: Uh, - SAVE_STORY_REQUEST: Vh, - SAVE_STORY_RESPONSE: Gh, - SELECT_STORY: Wh, - SET_CONFIG: Yh, - SET_CURRENT_STORY: hr, - SET_FILTER: Kh, - SET_GLOBALS: Jn, - SET_INDEX: Xh, - SET_STORIES: Jh, - SET_WHATS_NEW_CACHE: Qh, - SHARED_STATE_CHANGED: Zh, - SHARED_STATE_SET: e0, - STORIES_COLLAPSE_ALL: t0, - STORIES_EXPAND_ALL: r0, - STORY_ARGS_UPDATED: Qn, - STORY_CHANGED: Zn, - STORY_ERRORED: eo, - STORY_INDEX_INVALIDATED: to, - STORY_MISSING: mr, - STORY_PREPARED: ro, - STORY_RENDERED: ht, - STORY_RENDER_PHASE_CHANGED: _e, - STORY_SPECIFIED: no, - STORY_THREW_EXCEPTION: Lt, - STORY_UNCHANGED: oo, - TELEMETRY_ERROR: n0, - TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: o0, - TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: u0, - TESTING_MODULE_CRASH_REPORT: a0, - TESTING_MODULE_PROGRESS_REPORT: i0, - TESTING_MODULE_RUN_ALL_REQUEST: s0, - TESTING_MODULE_RUN_REQUEST: l0, - TESTING_MODULE_WATCH_MODE_REQUEST: c0, - TOGGLE_WHATS_NEW_NOTIFICATIONS: p0, - UNHANDLED_ERRORS_WHILE_PLAYING: Nt, - UPDATE_GLOBALS: kt, - UPDATE_QUERY_PARAMS: uo, - UPDATE_STORY_ARGS: jt, - } = __STORYBOOK_CORE_EVENTS__; - var mt = (() => { - let t; - return ( - typeof window < "u" - ? (t = window) - : typeof globalThis < "u" - ? (t = globalThis) - : typeof window < "u" - ? (t = window) - : typeof self < "u" - ? (t = self) - : (t = {}), - t - ); - })(); - var D0 = __STORYBOOK_CLIENT_LOGGER__, - { - deprecate: x0, - logger: F0, - once: Ci, - pretty: T0, - } = __STORYBOOK_CLIENT_LOGGER__; - var B0 = __STORYBOOK_CHANNELS__, - { - Channel: ao, - PostMessageTransport: P0, - WebsocketTransport: L0, - createBrowserChannel: N0, - } = __STORYBOOK_CHANNELS__; - var $0 = __STORYBOOK_CLIENT_LOGGER__, - { - deprecate: Be, - logger: ee, - once: ke, - pretty: z0, - } = __STORYBOOK_CLIENT_LOGGER__; - var vi = Object.defineProperty, - oe = (t, e) => vi(t, "name", { value: e, configurable: !0 }); - function ie(t) { - for (var e = [], r = 1; r < arguments.length; r++) - e[r - 1] = arguments[r]; - var n = Array.from(typeof t == "string" ? [t] : t); - n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, ""); - var o = n.reduce(function (i, s) { - var l = s.match(/\n([\t ]+|(?!\s).)/g); - return l - ? i.concat( - l.map(function (h) { - var f, g; - return (g = - (f = h.match(/[\t ]/g)) === null || f === void 0 - ? void 0 - : f.length) !== null && g !== void 0 - ? g - : 0; - }), - ) - : i; - }, []); - if (o.length) { - var u = new RegExp( - ` -[ ]{` + - Math.min.apply(Math, o) + - "}", - "g", - ); - n = n.map(function (i) { - return i.replace( - u, - ` -`, - ); - }); - } - n[0] = n[0].replace(/^\r?\n/, ""); - var a = n[0]; - return ( - e.forEach(function (i, s) { - var l = a.match(/(?:^|\n)( *)$/), - h = l ? l[1] : "", - f = i; - typeof i == "string" && - i.includes(` -`) && - (f = String(i) - .split( - ` -`, - ) - .map(function (g, b) { - return b === 0 ? g : "" + h + g; - }).join(` -`)), - (a += f + n[s + 1]); - }), - a - ); - } - oe(ie, "dedent"); - function gr({ code: t, category: e }) { - let r = String(t).padStart(4, "0"); - return `SB_${e}_${r}`; - } - oe(gr, "parseErrorCode"); - var io = class so extends Error { - constructor(e) { - super(so.getFullMessage(e)), - (this.data = {}), - (this.fromStorybook = !0), - (this.category = e.category), - (this.documentation = e.documentation ?? !1), - (this.code = e.code); - } - get fullErrorCode() { - return gr({ code: this.code, category: this.category }); - } - get name() { - let e = this.constructor.name; - return `${this.fullErrorCode} (${e})`; - } - static getFullMessage({ - documentation: e, - code: r, - category: n, - message: o, - }) { - let u; - return ( - e === !0 - ? (u = `https://storybook.js.org/error/${gr({ code: r, category: n })}`) - : typeof e == "string" - ? (u = e) - : Array.isArray(e) && - (u = ` -${e.map((a) => ` - ${a}`).join(` -`)}`), - `${o}${ - u != null - ? ` - -More info: ${u} -` - : "" - }` - ); - } - }; - oe(io, "StorybookError"); - var le = io, - Di = ((t) => ( - (t.BLOCKS = "BLOCKS"), - (t.DOCS_TOOLS = "DOCS-TOOLS"), - (t.PREVIEW_CLIENT_LOGGER = "PREVIEW_CLIENT-LOGGER"), - (t.PREVIEW_CHANNELS = "PREVIEW_CHANNELS"), - (t.PREVIEW_CORE_EVENTS = "PREVIEW_CORE-EVENTS"), - (t.PREVIEW_INSTRUMENTER = "PREVIEW_INSTRUMENTER"), - (t.PREVIEW_API = "PREVIEW_API"), - (t.PREVIEW_REACT_DOM_SHIM = "PREVIEW_REACT-DOM-SHIM"), - (t.PREVIEW_ROUTER = "PREVIEW_ROUTER"), - (t.PREVIEW_THEMING = "PREVIEW_THEMING"), - (t.RENDERER_HTML = "RENDERER_HTML"), - (t.RENDERER_PREACT = "RENDERER_PREACT"), - (t.RENDERER_REACT = "RENDERER_REACT"), - (t.RENDERER_SERVER = "RENDERER_SERVER"), - (t.RENDERER_SVELTE = "RENDERER_SVELTE"), - (t.RENDERER_VUE = "RENDERER_VUE"), - (t.RENDERER_VUE3 = "RENDERER_VUE3"), - (t.RENDERER_WEB_COMPONENTS = "RENDERER_WEB-COMPONENTS"), - (t.FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS"), - (t.ADDON_VITEST = "ADDON_VITEST"), - t - ))(Di || {}), - lo = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 1, - message: ie` - Couldn't find story matching id '${e.storyId}' after HMR. - - Did you just rename a story? - - Did you remove it from your CSF file? - - Are you sure a story with the id '${e.storyId}' exists? - - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - - Also check the browser console and terminal for potential error messages.`, - }), - (this.data = e); - } - }; - oe(lo, "MissingStoryAfterHmrError"); - var co = lo, - xi = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 2, - documentation: - "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function", - message: ie` - We detected that you use an implicit action arg while ${e.phase} of your story. - ${ - e.deprecated - ? ` -This is deprecated and won't work in Storybook 8 anymore. -` - : "" - } - Please provide an explicit spy to your args like this: - import { fn } from '@storybook/test'; - ... - args: { - ${e.name}: fn() - }`, - }), - (this.data = e); - } - }; - oe(xi, "ImplicitActionsDuringRendering"); - var po = class extends le { - constructor() { - super({ - category: "PREVIEW_API", - code: 3, - message: ie` - Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. - - You probably meant to call \`await preview.extract()\` which does the above for you.`, - }); - } - }; - oe(po, "CalledExtractOnStoreError"); - var fo = po, - ho = class extends le { - constructor() { - super({ - category: "PREVIEW_API", - code: 4, - message: ie` - Expected your framework's preset to export a \`renderToCanvas\` field. - - Perhaps it needs to be upgraded for Storybook 7.0?`, - documentation: - "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field", - }); - } - }; - oe(ho, "MissingRenderToCanvasError"); - var mo = ho, - go = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 5, - message: ie` - Called \`Preview.${e.methodName}()\` before initialization. - - The preview needs to load the story index before most methods can be called. If you want - to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first. - - If you didn't call the above code, then likely it was called by an addon that needs to - do the above.`, - }), - (this.data = e); - } - }; - oe(go, "CalledPreviewMethodBeforeInitializationError"); - var be = go, - yo = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 6, - message: ie` - Error fetching \`/index.json\`: - - ${e.text} - - If you are in development, this likely indicates a problem with your Storybook process, - check the terminal for errors. - - If you are in a deployed Storybook, there may have been an issue deploying the full Storybook - build.`, - }), - (this.data = e); - } - }; - oe(yo, "StoryIndexFetchError"); - var bo = yo, - Eo = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 7, - message: ie` - Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF - references, or autodocs for a CSF file that some doesn't refer to itself. - - This likely is an internal error in Storybook's indexing, or you've attached the - \`attached-mdx\` tag to an MDX file that is not attached.`, - }), - (this.data = e); - } - }; - oe(Eo, "MdxFileWithNoCsfReferencesError"); - var Ao = Eo, - So = class extends le { - constructor() { - super({ - category: "PREVIEW_API", - code: 8, - message: ie` - Couldn't find any stories in your Storybook. - - - Please check your stories field of your main.js config: does it match correctly? - - Also check the browser console and terminal for error messages.`, - }); - } - }; - oe(So, "EmptyIndexError"); - var wo = So, - Co = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 9, - message: ie` - Couldn't find story matching '${e.storySpecifier}'. - - - Are you sure a story with that id exists? - - Please check your stories field of your main.js config. - - Also check the browser console and terminal for error messages.`, - }), - (this.data = e); - } - }; - oe(Co, "NoStoryMatchError"); - var vo = Co, - Do = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 10, - message: ie` - Couldn't find story matching id '${e.storyId}' after importing a CSF file. - - The file was indexed as if the story was there, but then after importing the file in the browser - we didn't find the story. Possible reasons: - - You are using a custom story indexer that is misbehaving. - - You have a custom file loader that is removing or renaming exports. - - Please check your browser console and terminal for errors that may explain the issue.`, - }), - (this.data = e); - } - }; - oe(Do, "MissingStoryFromCsfFileError"); - var xo = Do, - Fo = class extends le { - constructor() { - super({ - category: "PREVIEW_API", - code: 11, - message: ie` - Cannot access the Story Store until the index is ready. - - It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will - remove access to the store entirely`, - }); - } - }; - oe(Fo, "StoryStoreAccessedBeforeInitializationError"); - var To = Fo, - Oo = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 12, - message: ie` - Incorrect use of mount in the play function. - - To use mount in the play function, you must satisfy the following two requirements: - - 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). - This makes sure that Storybook does not start rendering the story before the play function begins. - - 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. - This is because destructuring statements and async/await usages are otherwise transpiled away, - which prevents Storybook from recognizing your usage of \`mount\`. - - Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. - - More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered - - Received the following play function: - ${e.playFunction}`, - }), - (this.data = e); - } - }; - oe(Oo, "MountMustBeDestructuredError"); - var Mt = Oo, - Ro = class extends le { - constructor(e) { - super({ - category: "PREVIEW_API", - code: 14, - message: ie` - No render function available for storyId '${e.id}' - `, - }), - (this.data = e); - } - }; - oe(Ro, "NoRenderFunctionError"); - var Io = Ro, - _o = class extends le { - constructor() { - super({ - category: "PREVIEW_API", - code: 15, - message: ie` - No component is mounted in your story. - - This usually occurs when you destructure mount in the play function, but forget to call it. - - For example: - - async play({ mount, canvasElement }) { - // 👈 mount should be called: await mount(); - const canvas = within(canvasElement); - const button = await canvas.findByRole('button'); - await userEvent.click(button); - }; - - Make sure to either remove it or call mount in your play function. - `, - }); - } - }; - oe(_o, "NoStoryMountedError"); - var Bo = _o, - Fi = class extends le { - constructor() { - super({ - category: "FRAMEWORK_NEXTJS", - code: 1, - documentation: - "https://storybook.js.org/docs/get-started/nextjs#faq", - message: ie` - You are importing avif images, but you don't have sharp installed. - - You have to install sharp in order to use image optimization features in Next.js. - `, - }); - } - }; - oe(Fi, "NextJsSharpError"); - var Ti = class extends le { - constructor(e) { - super({ - category: "FRAMEWORK_NEXTJS", - code: 2, - message: ie` - Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment. - `, - }), - (this.data = e); - } - }; - oe(Ti, "NextjsRouterMocksNotAvailable"); - var Oi = class extends le { - constructor(e) { - super({ - category: "DOCS-TOOLS", - code: 1, - documentation: - "https://github.com/storybookjs/storybook/issues/26606", - message: ie` - There was a failure when generating detailed ArgTypes in ${e.language} for: - ${JSON.stringify(e.type, null, 2)} - - Storybook will fall back to use a generic type description instead. - - This type is either not supported or it is a bug in the docgen generation in Storybook. - If you think this is a bug, please detail it as much as possible in the Github issue. - `, - }), - (this.data = e); - } - }; - oe(Oi, "UnknownArgTypesError"); - var Ri = class extends le { - constructor(e) { - super({ - category: "ADDON_VITEST", - code: 1, - message: ie` - Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension. - - The Storybook plugin only supports values in the following units: - - px, vh, vw, em, rem and %. - - You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags - `, - }), - (this.data = e); - } - }; - oe(Ri, "UnsupportedViewportDimensionError"); - var Ii = Object.create, - ko = Object.defineProperty, - _i = Object.getOwnPropertyDescriptor, - Bi = Object.getOwnPropertyNames, - Pi = Object.getPrototypeOf, - Li = Object.prototype.hasOwnProperty, - Ni = (t, e) => () => ( - e || t((e = { exports: {} }).exports, e), e.exports - ), - ki = (t, e, r, n) => { - if ((e && typeof e == "object") || typeof e == "function") - for (let o of Bi(e)) - !Li.call(t, o) && - o !== r && - ko(t, o, { - get: () => e[o], - enumerable: !(n = _i(e, o)) || n.enumerable, - }); - return t; - }, - ji = (t, e, r) => ( - (r = t != null ? Ii(Pi(t)) : {}), - ki( - e || !t || !t.__esModule - ? ko(r, "default", { value: t, enumerable: !0 }) - : r, - t, - ) - ), - Mi = Ni((t) => { - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.isEqual = (function () { - var e = Object.prototype.toString, - r = Object.getPrototypeOf, - n = Object.getOwnPropertySymbols - ? function (o) { - return Object.keys(o).concat( - Object.getOwnPropertySymbols(o), - ); - } - : Object.keys; - return function (o, u) { - return (function a(i, s, l) { - var h, - f, - g, - b = e.call(i), - w = e.call(s); - if (i === s) return !0; - if (i == null || s == null) return !1; - if (l.indexOf(i) > -1 && l.indexOf(s) > -1) return !0; - if ( - (l.push(i, s), - b != w || - ((h = n(i)), - (f = n(s)), - h.length != f.length || - h.some(function (v) { - return !a(i[v], s[v], l); - }))) - ) - return !1; - switch (b.slice(8, -1)) { - case "Symbol": - return i.valueOf() == s.valueOf(); - case "Date": - case "Number": - return +i == +s || (+i != +i && +s != +s); - case "RegExp": - case "Function": - case "String": - case "Boolean": - return "" + i == "" + s; - case "Set": - case "Map": - (h = i.entries()), (f = s.entries()); - do - if (!a((g = h.next()).value, f.next().value, l)) - return !1; - while (!g.done); - return !0; - case "ArrayBuffer": - (i = new Uint8Array(i)), (s = new Uint8Array(s)); - case "DataView": - (i = new Uint8Array(i.buffer)), - (s = new Uint8Array(s.buffer)); - case "Float32Array": - case "Float64Array": - case "Int8Array": - case "Int16Array": - case "Int32Array": - case "Uint8Array": - case "Uint16Array": - case "Uint32Array": - case "Uint8ClampedArray": - case "Arguments": - case "Array": - if (i.length != s.length) return !1; - for (g = 0; g < i.length; g++) - if ( - (g in i || g in s) && - (g in i != g in s || !a(i[g], s[g], l)) - ) - return !1; - return !0; - case "Object": - return a(r(i), r(s), l); - default: - return !1; - } - })(o, u, []); - }; - })()); - }); - function qi(t) { - return t - .replace(/_/g, " ") - .replace(/-/g, " ") - .replace(/\./g, " ") - .replace(/([^\n])([A-Z])([a-z])/g, (e, r, n, o) => `${r} ${n}${o}`) - .replace(/([a-z])([A-Z])/g, (e, r, n) => `${r} ${n}`) - .replace(/([a-z])([0-9])/gi, (e, r, n) => `${r} ${n}`) - .replace(/([0-9])([a-z])/gi, (e, r, n) => `${r} ${n}`) - .replace(/(\s|^)(\w)/g, (e, r, n) => `${r}${n.toUpperCase()}`) - .replace(/ +/g, " ") - .trim(); - } - var Po = ji(Mi()), - jo = (t) => t.map((e) => typeof e < "u").filter(Boolean).length, - $i = (t, e) => { - let { exists: r, eq: n, neq: o, truthy: u } = t; - if (jo([r, n, o, u]) > 1) - throw new Error( - `Invalid conditional test ${JSON.stringify({ exists: r, eq: n, neq: o })}`, - ); - if (typeof n < "u") return (0, Po.isEqual)(e, n); - if (typeof o < "u") return !(0, Po.isEqual)(e, o); - if (typeof r < "u") { - let a = typeof e < "u"; - return r ? a : !a; - } - return typeof u > "u" || u ? !!e : !e; - }, - Mo = (t, e, r) => { - if (!t.if) return !0; - let { arg: n, global: o } = t.if; - if (jo([n, o]) !== 1) - throw new Error( - `Invalid conditional value ${JSON.stringify({ arg: n, global: o })}`, - ); - let u = n ? e[n] : r[o]; - return $i(t.if, u); - }, - yr = (t) => - t - .toLowerCase() - .replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, "-") - .replace(/-+/g, "-") - .replace(/^-+/, "") - .replace(/-+$/, ""), - Lo = (t, e) => { - let r = yr(t); - if (r === "") - throw new Error( - `Invalid ${e} '${t}', must include alphanumeric characters`, - ); - return r; - }, - qo = (t, e) => `${Lo(t, "kind")}${e ? `--${Lo(e, "name")}` : ""}`, - $o = (t) => qi(t); - function No(t, e) { - return Array.isArray(e) ? e.includes(t) : t.match(e); - } - function qt(t, { includeStories: e, excludeStories: r }) { - return t !== "__esModule" && (!e || No(t, e)) && (!r || !No(t, r)); - } - var zo = (...t) => { - let e = t.reduce( - (r, n) => (n.startsWith("!") ? r.delete(n.slice(1)) : r.add(n), r), - new Set(), - ); - return Array.from(e); - }; - var zi = Object.create, - Mr = Object.defineProperty, - Hi = Object.getOwnPropertyDescriptor, - Ui = Object.getOwnPropertyNames, - Vi = Object.getPrototypeOf, - Gi = Object.prototype.hasOwnProperty, - p = (t, e) => Mr(t, "name", { value: e, configurable: !0 }), - $t = ((t) => - typeof ye < "u" - ? ye - : typeof Proxy < "u" - ? new Proxy(t, { get: (e, r) => (typeof ye < "u" ? ye : e)[r] }) - : t)(function (t) { - if (typeof ye < "u") return ye.apply(this, arguments); - throw Error('Dynamic require of "' + t + '" is not supported'); - }), - pe = (t, e) => () => ( - e || t((e = { exports: {} }).exports, e), e.exports - ), - Wi = (t, e, r, n) => { - if ((e && typeof e == "object") || typeof e == "function") - for (let o of Ui(e)) - !Gi.call(t, o) && - o !== r && - Mr(t, o, { - get: () => e[o], - enumerable: !(n = Hi(e, o)) || n.enumerable, - }); - return t; - }, - ot = (t, e, r) => ( - (r = t != null ? zi(Vi(t)) : {}), - Wi( - e || !t || !t.__esModule - ? Mr(r, "default", { value: t, enumerable: !0 }) - : r, - t, - ) - ), - ou = pe((t, e) => { - (function (r) { - if (typeof t == "object" && typeof e < "u") e.exports = r(); - else if (typeof define == "function" && define.amd) define([], r); - else { - var n; - typeof window < "u" || typeof window < "u" - ? (n = window) - : typeof self < "u" - ? (n = self) - : (n = this), - (n.memoizerific = r()); - } - })(function () { - var r, n, o; - return p(function u(a, i, s) { - function l(g, b) { - if (!i[g]) { - if (!a[g]) { - var w = typeof $t == "function" && $t; - if (!b && w) return w(g, !0); - if (h) return h(g, !0); - var v = new Error("Cannot find module '" + g + "'"); - throw ((v.code = "MODULE_NOT_FOUND"), v); - } - var S = (i[g] = { exports: {} }); - a[g][0].call( - S.exports, - function (A) { - var E = a[g][1][A]; - return l(E || A); - }, - S, - S.exports, - u, - a, - i, - s, - ); - } - return i[g].exports; - } - p(l, "s"); - for ( - var h = typeof $t == "function" && $t, f = 0; - f < s.length; - f++ - ) - l(s[f]); - return l; - }, "e")( - { - 1: [ - function (u, a, i) { - a.exports = function (s) { - if (typeof Map != "function" || s) { - var l = u("./similar"); - return new l(); - } else return new Map(); - }; - }, - { "./similar": 2 }, - ], - 2: [ - function (u, a, i) { - function s() { - return ( - (this.list = []), - (this.lastItem = void 0), - (this.size = 0), - this - ); - } - p(s, "Similar"), - (s.prototype.get = function (l) { - var h; - if (this.lastItem && this.isEqual(this.lastItem.key, l)) - return this.lastItem.val; - if (((h = this.indexOf(l)), h >= 0)) - return (this.lastItem = this.list[h]), this.list[h].val; - }), - (s.prototype.set = function (l, h) { - var f; - return this.lastItem && this.isEqual(this.lastItem.key, l) - ? ((this.lastItem.val = h), this) - : ((f = this.indexOf(l)), - f >= 0 - ? ((this.lastItem = this.list[f]), - (this.list[f].val = h), - this) - : ((this.lastItem = { key: l, val: h }), - this.list.push(this.lastItem), - this.size++, - this)); - }), - (s.prototype.delete = function (l) { - var h; - if ( - (this.lastItem && - this.isEqual(this.lastItem.key, l) && - (this.lastItem = void 0), - (h = this.indexOf(l)), - h >= 0) - ) - return this.size--, this.list.splice(h, 1)[0]; - }), - (s.prototype.has = function (l) { - var h; - return this.lastItem && this.isEqual(this.lastItem.key, l) - ? !0 - : ((h = this.indexOf(l)), - h >= 0 ? ((this.lastItem = this.list[h]), !0) : !1); - }), - (s.prototype.forEach = function (l, h) { - var f; - for (f = 0; f < this.size; f++) - l.call( - h || this, - this.list[f].val, - this.list[f].key, - this, - ); - }), - (s.prototype.indexOf = function (l) { - var h; - for (h = 0; h < this.size; h++) - if (this.isEqual(this.list[h].key, l)) return h; - return -1; - }), - (s.prototype.isEqual = function (l, h) { - return l === h || (l !== l && h !== h); - }), - (a.exports = s); - }, - {}, - ], - 3: [ - function (u, a, i) { - var s = u("map-or-similar"); - a.exports = function (g) { - var b = new s(!1), - w = []; - return function (v) { - var S = p(function () { - var A = b, - E, - O, - F = arguments.length - 1, - I = Array(F + 1), - R = !0, - T; - if ( - (S.numArgs || S.numArgs === 0) && - S.numArgs !== F + 1 - ) - throw new Error( - "Memoizerific functions should always be called with the same number of arguments", - ); - for (T = 0; T < F; T++) { - if ( - ((I[T] = { cacheItem: A, arg: arguments[T] }), - A.has(arguments[T])) - ) { - A = A.get(arguments[T]); - continue; - } - (R = !1), - (E = new s(!1)), - A.set(arguments[T], E), - (A = E); - } - return ( - R && - (A.has(arguments[F]) - ? (O = A.get(arguments[F])) - : (R = !1)), - R || - ((O = v.apply(null, arguments)), - A.set(arguments[F], O)), - g > 0 && - ((I[F] = { cacheItem: A, arg: arguments[F] }), - R ? l(w, I) : w.push(I), - w.length > g && h(w.shift())), - (S.wasMemoized = R), - (S.numArgs = F + 1), - O - ); - }, "memoizerific"); - return ( - (S.limit = g), - (S.wasMemoized = !1), - (S.cache = b), - (S.lru = w), - S - ); - }; - }; - function l(g, b) { - var w = g.length, - v = b.length, - S, - A, - E; - for (A = 0; A < w; A++) { - for (S = !0, E = 0; E < v; E++) - if (!f(g[A][E].arg, b[E].arg)) { - S = !1; - break; - } - if (S) break; - } - g.push(g.splice(A, 1)[0]); - } - p(l, "moveToMostRecentLru"); - function h(g) { - var b = g.length, - w = g[b - 1], - v, - S; - for ( - w.cacheItem.delete(w.arg), S = b - 2; - S >= 0 && - ((w = g[S]), (v = w.cacheItem.get(w.arg)), !v || !v.size); - S-- - ) - w.cacheItem.delete(w.arg); - } - p(h, "removeCachedResult"); - function f(g, b) { - return g === b || (g !== g && b !== b); - } - p(f, "isEqual"); - }, - { "map-or-similar": 1 }, - ], - }, - {}, - [3], - )(3); - }); - }), - uu = pe((t) => { - "use strict"; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.encodeString = n); - var e = Array.from( - { length: 256 }, - (o, u) => - "%" + ((u < 16 ? "0" : "") + u.toString(16)).toUpperCase(), - ), - r = new Int8Array([ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, - 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, - 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, - ]); - function n(o) { - let u = o.length; - if (u === 0) return ""; - let a = "", - i = 0, - s = 0; - e: for (; s < u; s++) { - let l = o.charCodeAt(s); - for (; l < 128; ) { - if ( - (r[l] !== 1 && - (i < s && (a += o.slice(i, s)), (i = s + 1), (a += e[l])), - ++s === u) - ) - break e; - l = o.charCodeAt(s); - } - if ((i < s && (a += o.slice(i, s)), l < 2048)) { - (i = s + 1), (a += e[192 | (l >> 6)] + e[128 | (l & 63)]); - continue; - } - if (l < 55296 || l >= 57344) { - (i = s + 1), - (a += - e[224 | (l >> 12)] + - e[128 | ((l >> 6) & 63)] + - e[128 | (l & 63)]); - continue; - } - if ((++s, s >= u)) throw new Error("URI malformed"); - let h = o.charCodeAt(s) & 1023; - (i = s + 1), - (l = 65536 + (((l & 1023) << 10) | h)), - (a += - e[240 | (l >> 18)] + - e[128 | ((l >> 12) & 63)] + - e[128 | ((l >> 6) & 63)] + - e[128 | (l & 63)]); - } - return i === 0 ? o : i < u ? a + o.slice(i) : a; - } - p(n, "encodeString"); - }), - qr = pe((t) => { - "use strict"; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.defaultOptions = - t.defaultShouldSerializeObject = - t.defaultValueSerializer = - void 0); - var e = uu(), - r = p((u) => { - switch (typeof u) { - case "string": - return (0, e.encodeString)(u); - case "bigint": - case "boolean": - return "" + u; - case "number": - if (Number.isFinite(u)) - return u < 1e21 ? "" + u : (0, e.encodeString)("" + u); - break; - } - return u instanceof Date - ? (0, e.encodeString)(u.toISOString()) - : ""; - }, "defaultValueSerializer"); - t.defaultValueSerializer = r; - var n = p((u) => u instanceof Date, "defaultShouldSerializeObject"); - t.defaultShouldSerializeObject = n; - var o = p((u) => u, "identityFunc"); - t.defaultOptions = { - nesting: !0, - nestingSyntax: "dot", - arrayRepeat: !1, - arrayRepeatSyntax: "repeat", - delimiter: 38, - valueDeserializer: o, - valueSerializer: t.defaultValueSerializer, - keyDeserializer: o, - shouldSerializeObject: t.defaultShouldSerializeObject, - }; - }), - au = pe((t) => { - "use strict"; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.getDeepObject = o), - (t.stringifyObject = h); - var e = qr(), - r = uu(); - function n(f) { - return f === "__proto__" || f === "constructor" || f === "prototype"; - } - p(n, "isPrototypeKey"); - function o(f, g, b, w, v) { - if (n(g)) return f; - let S = f[g]; - return typeof S == "object" && S !== null - ? S - : !w && - (v || - typeof b == "number" || - (typeof b == "string" && - b * 0 === 0 && - b.indexOf(".") === -1)) - ? (f[g] = []) - : (f[g] = {}); - } - p(o, "getDeepObject"); - var u = 20, - a = "[]", - i = "[", - s = "]", - l = "."; - function h(f, g, b = 0, w, v) { - let { - nestingSyntax: S = e.defaultOptions.nestingSyntax, - arrayRepeat: A = e.defaultOptions.arrayRepeat, - arrayRepeatSyntax: E = e.defaultOptions.arrayRepeatSyntax, - nesting: O = e.defaultOptions.nesting, - delimiter: F = e.defaultOptions.delimiter, - valueSerializer: I = e.defaultOptions.valueSerializer, - shouldSerializeObject: R = e.defaultOptions.shouldSerializeObject, - } = g, - T = typeof F == "number" ? String.fromCharCode(F) : F, - x = v === !0 && A, - P = S === "dot" || (S === "js" && !v); - if (b > u) return ""; - let N = "", - M = !0, - q = !1; - for (let $ in f) { - let c = f[$], - d; - w - ? ((d = w), - x - ? E === "bracket" && (d += a) - : P - ? ((d += l), (d += $)) - : ((d += i), (d += $), (d += s))) - : (d = $), - M || (N += T), - typeof c == "object" && c !== null && !R(c) - ? ((q = c.pop !== void 0), - (O || (A && q)) && (N += h(c, g, b + 1, d, q))) - : ((N += (0, r.encodeString)(d)), (N += "="), (N += I(c, $))), - M && (M = !1); - } - return N; - } - p(h, "stringifyObject"); - }), - Yi = pe((t, e) => { - "use strict"; - var r = 12, - n = 0, - o = [ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 10, 9, 9, 9, 11, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 24, - 36, 48, 60, 72, 84, 96, 0, 12, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 24, 24, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 24, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 48, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 127, 63, 63, 63, 0, 31, 15, 15, 15, 7, 7, 7, - ]; - function u(s) { - var l = s.indexOf("%"); - if (l === -1) return s; - for ( - var h = s.length, f = "", g = 0, b = 0, w = l, v = r; - l > -1 && l < h; - - ) { - var S = i(s[l + 1], 4), - A = i(s[l + 2], 0), - E = S | A, - O = o[E]; - if ( - ((v = o[256 + v + O]), (b = (b << 6) | (E & o[364 + O])), v === r) - ) - (f += s.slice(g, w)), - (f += - b <= 65535 - ? String.fromCharCode(b) - : String.fromCharCode( - 55232 + (b >> 10), - 56320 + (b & 1023), - )), - (b = 0), - (g = l + 3), - (l = w = s.indexOf("%", g)); - else { - if (v === n) return null; - if (((l += 3), l < h && s.charCodeAt(l) === 37)) continue; - return null; - } - } - return f + s.slice(g); - } - p(u, "decodeURIComponent"); - var a = { - 0: 0, - 1: 1, - 2: 2, - 3: 3, - 4: 4, - 5: 5, - 6: 6, - 7: 7, - 8: 8, - 9: 9, - a: 10, - A: 10, - b: 11, - B: 11, - c: 12, - C: 12, - d: 13, - D: 13, - e: 14, - E: 14, - f: 15, - F: 15, - }; - function i(s, l) { - var h = a[s]; - return h === void 0 ? 255 : h << l; - } - p(i, "hexCodeToInt"), (e.exports = u); - }), - Ki = pe((t) => { - "use strict"; - var e = - (t && t.__importDefault) || - function (f) { - return f && f.__esModule ? f : { default: f }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.numberValueDeserializer = t.numberKeyDeserializer = void 0), - (t.parse = h); - var r = au(), - n = qr(), - o = e(Yi()), - u = p((f) => { - let g = Number(f); - return Number.isNaN(g) ? f : g; - }, "numberKeyDeserializer"); - t.numberKeyDeserializer = u; - var a = p((f) => { - let g = Number(f); - return Number.isNaN(g) ? f : g; - }, "numberValueDeserializer"); - t.numberValueDeserializer = a; - var i = /\+/g, - s = p(function () {}, "Empty"); - s.prototype = Object.create(null); - function l(f, g, b, w, v) { - let S = f.substring(g, b); - return ( - w && (S = S.replace(i, " ")), v && (S = (0, o.default)(S) || S), S - ); - } - p(l, "computeKeySlice"); - function h(f, g) { - let { - valueDeserializer: b = n.defaultOptions.valueDeserializer, - keyDeserializer: w = n.defaultOptions.keyDeserializer, - arrayRepeatSyntax: v = n.defaultOptions.arrayRepeatSyntax, - nesting: S = n.defaultOptions.nesting, - arrayRepeat: A = n.defaultOptions.arrayRepeat, - nestingSyntax: E = n.defaultOptions.nestingSyntax, - delimiter: O = n.defaultOptions.delimiter, - } = g ?? {}, - F = typeof O == "string" ? O.charCodeAt(0) : O, - I = E === "js", - R = new s(); - if (typeof f != "string") return R; - let T = f.length, - x = "", - P = -1, - N = -1, - M = -1, - q = R, - $, - c = "", - d = "", - y = !1, - D = !1, - C = !1, - _ = !1, - B = !1, - L = !1, - k = !1, - Q = 0, - re = -1, - W = -1, - ne = -1; - for (let U = 0; U < T + 1; U++) { - if (((Q = U !== T ? f.charCodeAt(U) : F), Q === F)) { - if ( - ((k = N > P), - k || (N = U), - M !== N - 1 && - ((d = l(f, M + 1, re > -1 ? re : N, C, y)), - (c = w(d)), - $ !== void 0 && - (q = (0, r.getDeepObject)(q, $, c, I && B, I && L))), - k || c !== "") - ) { - k && - ((x = f.slice(N + 1, U)), - _ && (x = x.replace(i, " ")), - D && (x = (0, o.default)(x) || x)); - let ae = b(x, c); - if (A) { - let ge = q[c]; - ge === void 0 - ? re > -1 - ? (q[c] = [ae]) - : (q[c] = ae) - : ge.pop - ? ge.push(ae) - : (q[c] = [ge, ae]); - } else q[c] = ae; - } - (x = ""), - (P = U), - (N = U), - (y = !1), - (D = !1), - (C = !1), - (_ = !1), - (B = !1), - (L = !1), - (re = -1), - (M = U), - (q = R), - ($ = void 0), - (c = ""); - } else - Q === 93 - ? (A && v === "bracket" && ne === 91 && (re = W), - S && - (E === "index" || I) && - N <= P && - (M !== W && - ((d = l(f, M + 1, U, C, y)), - (c = w(d)), - $ !== void 0 && - (q = (0, r.getDeepObject)(q, $, c, void 0, I)), - ($ = c), - (C = !1), - (y = !1)), - (M = U), - (L = !0), - (B = !1))) - : Q === 46 - ? S && - (E === "dot" || I) && - N <= P && - (M !== W && - ((d = l(f, M + 1, U, C, y)), - (c = w(d)), - $ !== void 0 && (q = (0, r.getDeepObject)(q, $, c, I)), - ($ = c), - (C = !1), - (y = !1)), - (B = !0), - (L = !1), - (M = U)) - : Q === 91 - ? S && - (E === "index" || I) && - N <= P && - (M !== W && - ((d = l(f, M + 1, U, C, y)), - (c = w(d)), - I && - $ !== void 0 && - (q = (0, r.getDeepObject)(q, $, c, I)), - ($ = c), - (C = !1), - (y = !1), - (B = !1), - (L = !0)), - (M = U)) - : Q === 61 - ? N <= P - ? (N = U) - : (D = !0) - : Q === 43 - ? N > P - ? (_ = !0) - : (C = !0) - : Q === 37 && (N > P ? (D = !0) : (y = !0)); - (W = U), (ne = Q); - } - return R; - } - p(h, "parse"); - }), - Xi = pe((t) => { - "use strict"; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.stringify = r); - var e = au(); - function r(n, o) { - if (n === null || typeof n != "object") return ""; - let u = o ?? {}; - return (0, e.stringifyObject)(n, u); - } - p(r, "stringify"); - }), - $r = pe((t) => { - "use strict"; - var e = - (t && t.__createBinding) || - (Object.create - ? function (u, a, i, s) { - s === void 0 && (s = i); - var l = Object.getOwnPropertyDescriptor(a, i); - (!l || - ("get" in l - ? !a.__esModule - : l.writable || l.configurable)) && - (l = { - enumerable: !0, - get: p(function () { - return a[i]; - }, "get"), - }), - Object.defineProperty(u, s, l); - } - : function (u, a, i, s) { - s === void 0 && (s = i), (u[s] = a[i]); - }), - r = - (t && t.__exportStar) || - function (u, a) { - for (var i in u) - i !== "default" && - !Object.prototype.hasOwnProperty.call(a, i) && - e(a, u, i); - }; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.stringify = t.parse = void 0); - var n = Ki(); - Object.defineProperty(t, "parse", { - enumerable: !0, - get: p(function () { - return n.parse; - }, "get"), - }); - var o = Xi(); - Object.defineProperty(t, "stringify", { - enumerable: !0, - get: p(function () { - return o.stringify; - }, "get"), - }), - r(qr(), t); - }), - iu = pe((t, e) => { - e.exports = { - Aacute: "\xC1", - aacute: "\xE1", - Abreve: "\u0102", - abreve: "\u0103", - ac: "\u223E", - acd: "\u223F", - acE: "\u223E\u0333", - Acirc: "\xC2", - acirc: "\xE2", - acute: "\xB4", - Acy: "\u0410", - acy: "\u0430", - AElig: "\xC6", - aelig: "\xE6", - af: "\u2061", - Afr: "\u{1D504}", - afr: "\u{1D51E}", - Agrave: "\xC0", - agrave: "\xE0", - alefsym: "\u2135", - aleph: "\u2135", - Alpha: "\u0391", - alpha: "\u03B1", - Amacr: "\u0100", - amacr: "\u0101", - amalg: "\u2A3F", - amp: "&", - AMP: "&", - andand: "\u2A55", - And: "\u2A53", - and: "\u2227", - andd: "\u2A5C", - andslope: "\u2A58", - andv: "\u2A5A", - ang: "\u2220", - ange: "\u29A4", - angle: "\u2220", - angmsdaa: "\u29A8", - angmsdab: "\u29A9", - angmsdac: "\u29AA", - angmsdad: "\u29AB", - angmsdae: "\u29AC", - angmsdaf: "\u29AD", - angmsdag: "\u29AE", - angmsdah: "\u29AF", - angmsd: "\u2221", - angrt: "\u221F", - angrtvb: "\u22BE", - angrtvbd: "\u299D", - angsph: "\u2222", - angst: "\xC5", - angzarr: "\u237C", - Aogon: "\u0104", - aogon: "\u0105", - Aopf: "\u{1D538}", - aopf: "\u{1D552}", - apacir: "\u2A6F", - ap: "\u2248", - apE: "\u2A70", - ape: "\u224A", - apid: "\u224B", - apos: "'", - ApplyFunction: "\u2061", - approx: "\u2248", - approxeq: "\u224A", - Aring: "\xC5", - aring: "\xE5", - Ascr: "\u{1D49C}", - ascr: "\u{1D4B6}", - Assign: "\u2254", - ast: "*", - asymp: "\u2248", - asympeq: "\u224D", - Atilde: "\xC3", - atilde: "\xE3", - Auml: "\xC4", - auml: "\xE4", - awconint: "\u2233", - awint: "\u2A11", - backcong: "\u224C", - backepsilon: "\u03F6", - backprime: "\u2035", - backsim: "\u223D", - backsimeq: "\u22CD", - Backslash: "\u2216", - Barv: "\u2AE7", - barvee: "\u22BD", - barwed: "\u2305", - Barwed: "\u2306", - barwedge: "\u2305", - bbrk: "\u23B5", - bbrktbrk: "\u23B6", - bcong: "\u224C", - Bcy: "\u0411", - bcy: "\u0431", - bdquo: "\u201E", - becaus: "\u2235", - because: "\u2235", - Because: "\u2235", - bemptyv: "\u29B0", - bepsi: "\u03F6", - bernou: "\u212C", - Bernoullis: "\u212C", - Beta: "\u0392", - beta: "\u03B2", - beth: "\u2136", - between: "\u226C", - Bfr: "\u{1D505}", - bfr: "\u{1D51F}", - bigcap: "\u22C2", - bigcirc: "\u25EF", - bigcup: "\u22C3", - bigodot: "\u2A00", - bigoplus: "\u2A01", - bigotimes: "\u2A02", - bigsqcup: "\u2A06", - bigstar: "\u2605", - bigtriangledown: "\u25BD", - bigtriangleup: "\u25B3", - biguplus: "\u2A04", - bigvee: "\u22C1", - bigwedge: "\u22C0", - bkarow: "\u290D", - blacklozenge: "\u29EB", - blacksquare: "\u25AA", - blacktriangle: "\u25B4", - blacktriangledown: "\u25BE", - blacktriangleleft: "\u25C2", - blacktriangleright: "\u25B8", - blank: "\u2423", - blk12: "\u2592", - blk14: "\u2591", - blk34: "\u2593", - block: "\u2588", - bne: "=\u20E5", - bnequiv: "\u2261\u20E5", - bNot: "\u2AED", - bnot: "\u2310", - Bopf: "\u{1D539}", - bopf: "\u{1D553}", - bot: "\u22A5", - bottom: "\u22A5", - bowtie: "\u22C8", - boxbox: "\u29C9", - boxdl: "\u2510", - boxdL: "\u2555", - boxDl: "\u2556", - boxDL: "\u2557", - boxdr: "\u250C", - boxdR: "\u2552", - boxDr: "\u2553", - boxDR: "\u2554", - boxh: "\u2500", - boxH: "\u2550", - boxhd: "\u252C", - boxHd: "\u2564", - boxhD: "\u2565", - boxHD: "\u2566", - boxhu: "\u2534", - boxHu: "\u2567", - boxhU: "\u2568", - boxHU: "\u2569", - boxminus: "\u229F", - boxplus: "\u229E", - boxtimes: "\u22A0", - boxul: "\u2518", - boxuL: "\u255B", - boxUl: "\u255C", - boxUL: "\u255D", - boxur: "\u2514", - boxuR: "\u2558", - boxUr: "\u2559", - boxUR: "\u255A", - boxv: "\u2502", - boxV: "\u2551", - boxvh: "\u253C", - boxvH: "\u256A", - boxVh: "\u256B", - boxVH: "\u256C", - boxvl: "\u2524", - boxvL: "\u2561", - boxVl: "\u2562", - boxVL: "\u2563", - boxvr: "\u251C", - boxvR: "\u255E", - boxVr: "\u255F", - boxVR: "\u2560", - bprime: "\u2035", - breve: "\u02D8", - Breve: "\u02D8", - brvbar: "\xA6", - bscr: "\u{1D4B7}", - Bscr: "\u212C", - bsemi: "\u204F", - bsim: "\u223D", - bsime: "\u22CD", - bsolb: "\u29C5", - bsol: "\\", - bsolhsub: "\u27C8", - bull: "\u2022", - bullet: "\u2022", - bump: "\u224E", - bumpE: "\u2AAE", - bumpe: "\u224F", - Bumpeq: "\u224E", - bumpeq: "\u224F", - Cacute: "\u0106", - cacute: "\u0107", - capand: "\u2A44", - capbrcup: "\u2A49", - capcap: "\u2A4B", - cap: "\u2229", - Cap: "\u22D2", - capcup: "\u2A47", - capdot: "\u2A40", - CapitalDifferentialD: "\u2145", - caps: "\u2229\uFE00", - caret: "\u2041", - caron: "\u02C7", - Cayleys: "\u212D", - ccaps: "\u2A4D", - Ccaron: "\u010C", - ccaron: "\u010D", - Ccedil: "\xC7", - ccedil: "\xE7", - Ccirc: "\u0108", - ccirc: "\u0109", - Cconint: "\u2230", - ccups: "\u2A4C", - ccupssm: "\u2A50", - Cdot: "\u010A", - cdot: "\u010B", - cedil: "\xB8", - Cedilla: "\xB8", - cemptyv: "\u29B2", - cent: "\xA2", - centerdot: "\xB7", - CenterDot: "\xB7", - cfr: "\u{1D520}", - Cfr: "\u212D", - CHcy: "\u0427", - chcy: "\u0447", - check: "\u2713", - checkmark: "\u2713", - Chi: "\u03A7", - chi: "\u03C7", - circ: "\u02C6", - circeq: "\u2257", - circlearrowleft: "\u21BA", - circlearrowright: "\u21BB", - circledast: "\u229B", - circledcirc: "\u229A", - circleddash: "\u229D", - CircleDot: "\u2299", - circledR: "\xAE", - circledS: "\u24C8", - CircleMinus: "\u2296", - CirclePlus: "\u2295", - CircleTimes: "\u2297", - cir: "\u25CB", - cirE: "\u29C3", - cire: "\u2257", - cirfnint: "\u2A10", - cirmid: "\u2AEF", - cirscir: "\u29C2", - ClockwiseContourIntegral: "\u2232", - CloseCurlyDoubleQuote: "\u201D", - CloseCurlyQuote: "\u2019", - clubs: "\u2663", - clubsuit: "\u2663", - colon: ":", - Colon: "\u2237", - Colone: "\u2A74", - colone: "\u2254", - coloneq: "\u2254", - comma: ",", - commat: "@", - comp: "\u2201", - compfn: "\u2218", - complement: "\u2201", - complexes: "\u2102", - cong: "\u2245", - congdot: "\u2A6D", - Congruent: "\u2261", - conint: "\u222E", - Conint: "\u222F", - ContourIntegral: "\u222E", - copf: "\u{1D554}", - Copf: "\u2102", - coprod: "\u2210", - Coproduct: "\u2210", - copy: "\xA9", - COPY: "\xA9", - copysr: "\u2117", - CounterClockwiseContourIntegral: "\u2233", - crarr: "\u21B5", - cross: "\u2717", - Cross: "\u2A2F", - Cscr: "\u{1D49E}", - cscr: "\u{1D4B8}", - csub: "\u2ACF", - csube: "\u2AD1", - csup: "\u2AD0", - csupe: "\u2AD2", - ctdot: "\u22EF", - cudarrl: "\u2938", - cudarrr: "\u2935", - cuepr: "\u22DE", - cuesc: "\u22DF", - cularr: "\u21B6", - cularrp: "\u293D", - cupbrcap: "\u2A48", - cupcap: "\u2A46", - CupCap: "\u224D", - cup: "\u222A", - Cup: "\u22D3", - cupcup: "\u2A4A", - cupdot: "\u228D", - cupor: "\u2A45", - cups: "\u222A\uFE00", - curarr: "\u21B7", - curarrm: "\u293C", - curlyeqprec: "\u22DE", - curlyeqsucc: "\u22DF", - curlyvee: "\u22CE", - curlywedge: "\u22CF", - curren: "\xA4", - curvearrowleft: "\u21B6", - curvearrowright: "\u21B7", - cuvee: "\u22CE", - cuwed: "\u22CF", - cwconint: "\u2232", - cwint: "\u2231", - cylcty: "\u232D", - dagger: "\u2020", - Dagger: "\u2021", - daleth: "\u2138", - darr: "\u2193", - Darr: "\u21A1", - dArr: "\u21D3", - dash: "\u2010", - Dashv: "\u2AE4", - dashv: "\u22A3", - dbkarow: "\u290F", - dblac: "\u02DD", - Dcaron: "\u010E", - dcaron: "\u010F", - Dcy: "\u0414", - dcy: "\u0434", - ddagger: "\u2021", - ddarr: "\u21CA", - DD: "\u2145", - dd: "\u2146", - DDotrahd: "\u2911", - ddotseq: "\u2A77", - deg: "\xB0", - Del: "\u2207", - Delta: "\u0394", - delta: "\u03B4", - demptyv: "\u29B1", - dfisht: "\u297F", - Dfr: "\u{1D507}", - dfr: "\u{1D521}", - dHar: "\u2965", - dharl: "\u21C3", - dharr: "\u21C2", - DiacriticalAcute: "\xB4", - DiacriticalDot: "\u02D9", - DiacriticalDoubleAcute: "\u02DD", - DiacriticalGrave: "`", - DiacriticalTilde: "\u02DC", - diam: "\u22C4", - diamond: "\u22C4", - Diamond: "\u22C4", - diamondsuit: "\u2666", - diams: "\u2666", - die: "\xA8", - DifferentialD: "\u2146", - digamma: "\u03DD", - disin: "\u22F2", - div: "\xF7", - divide: "\xF7", - divideontimes: "\u22C7", - divonx: "\u22C7", - DJcy: "\u0402", - djcy: "\u0452", - dlcorn: "\u231E", - dlcrop: "\u230D", - dollar: "$", - Dopf: "\u{1D53B}", - dopf: "\u{1D555}", - Dot: "\xA8", - dot: "\u02D9", - DotDot: "\u20DC", - doteq: "\u2250", - doteqdot: "\u2251", - DotEqual: "\u2250", - dotminus: "\u2238", - dotplus: "\u2214", - dotsquare: "\u22A1", - doublebarwedge: "\u2306", - DoubleContourIntegral: "\u222F", - DoubleDot: "\xA8", - DoubleDownArrow: "\u21D3", - DoubleLeftArrow: "\u21D0", - DoubleLeftRightArrow: "\u21D4", - DoubleLeftTee: "\u2AE4", - DoubleLongLeftArrow: "\u27F8", - DoubleLongLeftRightArrow: "\u27FA", - DoubleLongRightArrow: "\u27F9", - DoubleRightArrow: "\u21D2", - DoubleRightTee: "\u22A8", - DoubleUpArrow: "\u21D1", - DoubleUpDownArrow: "\u21D5", - DoubleVerticalBar: "\u2225", - DownArrowBar: "\u2913", - downarrow: "\u2193", - DownArrow: "\u2193", - Downarrow: "\u21D3", - DownArrowUpArrow: "\u21F5", - DownBreve: "\u0311", - downdownarrows: "\u21CA", - downharpoonleft: "\u21C3", - downharpoonright: "\u21C2", - DownLeftRightVector: "\u2950", - DownLeftTeeVector: "\u295E", - DownLeftVectorBar: "\u2956", - DownLeftVector: "\u21BD", - DownRightTeeVector: "\u295F", - DownRightVectorBar: "\u2957", - DownRightVector: "\u21C1", - DownTeeArrow: "\u21A7", - DownTee: "\u22A4", - drbkarow: "\u2910", - drcorn: "\u231F", - drcrop: "\u230C", - Dscr: "\u{1D49F}", - dscr: "\u{1D4B9}", - DScy: "\u0405", - dscy: "\u0455", - dsol: "\u29F6", - Dstrok: "\u0110", - dstrok: "\u0111", - dtdot: "\u22F1", - dtri: "\u25BF", - dtrif: "\u25BE", - duarr: "\u21F5", - duhar: "\u296F", - dwangle: "\u29A6", - DZcy: "\u040F", - dzcy: "\u045F", - dzigrarr: "\u27FF", - Eacute: "\xC9", - eacute: "\xE9", - easter: "\u2A6E", - Ecaron: "\u011A", - ecaron: "\u011B", - Ecirc: "\xCA", - ecirc: "\xEA", - ecir: "\u2256", - ecolon: "\u2255", - Ecy: "\u042D", - ecy: "\u044D", - eDDot: "\u2A77", - Edot: "\u0116", - edot: "\u0117", - eDot: "\u2251", - ee: "\u2147", - efDot: "\u2252", - Efr: "\u{1D508}", - efr: "\u{1D522}", - eg: "\u2A9A", - Egrave: "\xC8", - egrave: "\xE8", - egs: "\u2A96", - egsdot: "\u2A98", - el: "\u2A99", - Element: "\u2208", - elinters: "\u23E7", - ell: "\u2113", - els: "\u2A95", - elsdot: "\u2A97", - Emacr: "\u0112", - emacr: "\u0113", - empty: "\u2205", - emptyset: "\u2205", - EmptySmallSquare: "\u25FB", - emptyv: "\u2205", - EmptyVerySmallSquare: "\u25AB", - emsp13: "\u2004", - emsp14: "\u2005", - emsp: "\u2003", - ENG: "\u014A", - eng: "\u014B", - ensp: "\u2002", - Eogon: "\u0118", - eogon: "\u0119", - Eopf: "\u{1D53C}", - eopf: "\u{1D556}", - epar: "\u22D5", - eparsl: "\u29E3", - eplus: "\u2A71", - epsi: "\u03B5", - Epsilon: "\u0395", - epsilon: "\u03B5", - epsiv: "\u03F5", - eqcirc: "\u2256", - eqcolon: "\u2255", - eqsim: "\u2242", - eqslantgtr: "\u2A96", - eqslantless: "\u2A95", - Equal: "\u2A75", - equals: "=", - EqualTilde: "\u2242", - equest: "\u225F", - Equilibrium: "\u21CC", - equiv: "\u2261", - equivDD: "\u2A78", - eqvparsl: "\u29E5", - erarr: "\u2971", - erDot: "\u2253", - escr: "\u212F", - Escr: "\u2130", - esdot: "\u2250", - Esim: "\u2A73", - esim: "\u2242", - Eta: "\u0397", - eta: "\u03B7", - ETH: "\xD0", - eth: "\xF0", - Euml: "\xCB", - euml: "\xEB", - euro: "\u20AC", - excl: "!", - exist: "\u2203", - Exists: "\u2203", - expectation: "\u2130", - exponentiale: "\u2147", - ExponentialE: "\u2147", - fallingdotseq: "\u2252", - Fcy: "\u0424", - fcy: "\u0444", - female: "\u2640", - ffilig: "\uFB03", - fflig: "\uFB00", - ffllig: "\uFB04", - Ffr: "\u{1D509}", - ffr: "\u{1D523}", - filig: "\uFB01", - FilledSmallSquare: "\u25FC", - FilledVerySmallSquare: "\u25AA", - fjlig: "fj", - flat: "\u266D", - fllig: "\uFB02", - fltns: "\u25B1", - fnof: "\u0192", - Fopf: "\u{1D53D}", - fopf: "\u{1D557}", - forall: "\u2200", - ForAll: "\u2200", - fork: "\u22D4", - forkv: "\u2AD9", - Fouriertrf: "\u2131", - fpartint: "\u2A0D", - frac12: "\xBD", - frac13: "\u2153", - frac14: "\xBC", - frac15: "\u2155", - frac16: "\u2159", - frac18: "\u215B", - frac23: "\u2154", - frac25: "\u2156", - frac34: "\xBE", - frac35: "\u2157", - frac38: "\u215C", - frac45: "\u2158", - frac56: "\u215A", - frac58: "\u215D", - frac78: "\u215E", - frasl: "\u2044", - frown: "\u2322", - fscr: "\u{1D4BB}", - Fscr: "\u2131", - gacute: "\u01F5", - Gamma: "\u0393", - gamma: "\u03B3", - Gammad: "\u03DC", - gammad: "\u03DD", - gap: "\u2A86", - Gbreve: "\u011E", - gbreve: "\u011F", - Gcedil: "\u0122", - Gcirc: "\u011C", - gcirc: "\u011D", - Gcy: "\u0413", - gcy: "\u0433", - Gdot: "\u0120", - gdot: "\u0121", - ge: "\u2265", - gE: "\u2267", - gEl: "\u2A8C", - gel: "\u22DB", - geq: "\u2265", - geqq: "\u2267", - geqslant: "\u2A7E", - gescc: "\u2AA9", - ges: "\u2A7E", - gesdot: "\u2A80", - gesdoto: "\u2A82", - gesdotol: "\u2A84", - gesl: "\u22DB\uFE00", - gesles: "\u2A94", - Gfr: "\u{1D50A}", - gfr: "\u{1D524}", - gg: "\u226B", - Gg: "\u22D9", - ggg: "\u22D9", - gimel: "\u2137", - GJcy: "\u0403", - gjcy: "\u0453", - gla: "\u2AA5", - gl: "\u2277", - glE: "\u2A92", - glj: "\u2AA4", - gnap: "\u2A8A", - gnapprox: "\u2A8A", - gne: "\u2A88", - gnE: "\u2269", - gneq: "\u2A88", - gneqq: "\u2269", - gnsim: "\u22E7", - Gopf: "\u{1D53E}", - gopf: "\u{1D558}", - grave: "`", - GreaterEqual: "\u2265", - GreaterEqualLess: "\u22DB", - GreaterFullEqual: "\u2267", - GreaterGreater: "\u2AA2", - GreaterLess: "\u2277", - GreaterSlantEqual: "\u2A7E", - GreaterTilde: "\u2273", - Gscr: "\u{1D4A2}", - gscr: "\u210A", - gsim: "\u2273", - gsime: "\u2A8E", - gsiml: "\u2A90", - gtcc: "\u2AA7", - gtcir: "\u2A7A", - gt: ">", - GT: ">", - Gt: "\u226B", - gtdot: "\u22D7", - gtlPar: "\u2995", - gtquest: "\u2A7C", - gtrapprox: "\u2A86", - gtrarr: "\u2978", - gtrdot: "\u22D7", - gtreqless: "\u22DB", - gtreqqless: "\u2A8C", - gtrless: "\u2277", - gtrsim: "\u2273", - gvertneqq: "\u2269\uFE00", - gvnE: "\u2269\uFE00", - Hacek: "\u02C7", - hairsp: "\u200A", - half: "\xBD", - hamilt: "\u210B", - HARDcy: "\u042A", - hardcy: "\u044A", - harrcir: "\u2948", - harr: "\u2194", - hArr: "\u21D4", - harrw: "\u21AD", - Hat: "^", - hbar: "\u210F", - Hcirc: "\u0124", - hcirc: "\u0125", - hearts: "\u2665", - heartsuit: "\u2665", - hellip: "\u2026", - hercon: "\u22B9", - hfr: "\u{1D525}", - Hfr: "\u210C", - HilbertSpace: "\u210B", - hksearow: "\u2925", - hkswarow: "\u2926", - hoarr: "\u21FF", - homtht: "\u223B", - hookleftarrow: "\u21A9", - hookrightarrow: "\u21AA", - hopf: "\u{1D559}", - Hopf: "\u210D", - horbar: "\u2015", - HorizontalLine: "\u2500", - hscr: "\u{1D4BD}", - Hscr: "\u210B", - hslash: "\u210F", - Hstrok: "\u0126", - hstrok: "\u0127", - HumpDownHump: "\u224E", - HumpEqual: "\u224F", - hybull: "\u2043", - hyphen: "\u2010", - Iacute: "\xCD", - iacute: "\xED", - ic: "\u2063", - Icirc: "\xCE", - icirc: "\xEE", - Icy: "\u0418", - icy: "\u0438", - Idot: "\u0130", - IEcy: "\u0415", - iecy: "\u0435", - iexcl: "\xA1", - iff: "\u21D4", - ifr: "\u{1D526}", - Ifr: "\u2111", - Igrave: "\xCC", - igrave: "\xEC", - ii: "\u2148", - iiiint: "\u2A0C", - iiint: "\u222D", - iinfin: "\u29DC", - iiota: "\u2129", - IJlig: "\u0132", - ijlig: "\u0133", - Imacr: "\u012A", - imacr: "\u012B", - image: "\u2111", - ImaginaryI: "\u2148", - imagline: "\u2110", - imagpart: "\u2111", - imath: "\u0131", - Im: "\u2111", - imof: "\u22B7", - imped: "\u01B5", - Implies: "\u21D2", - incare: "\u2105", - in: "\u2208", - infin: "\u221E", - infintie: "\u29DD", - inodot: "\u0131", - intcal: "\u22BA", - int: "\u222B", - Int: "\u222C", - integers: "\u2124", - Integral: "\u222B", - intercal: "\u22BA", - Intersection: "\u22C2", - intlarhk: "\u2A17", - intprod: "\u2A3C", - InvisibleComma: "\u2063", - InvisibleTimes: "\u2062", - IOcy: "\u0401", - iocy: "\u0451", - Iogon: "\u012E", - iogon: "\u012F", - Iopf: "\u{1D540}", - iopf: "\u{1D55A}", - Iota: "\u0399", - iota: "\u03B9", - iprod: "\u2A3C", - iquest: "\xBF", - iscr: "\u{1D4BE}", - Iscr: "\u2110", - isin: "\u2208", - isindot: "\u22F5", - isinE: "\u22F9", - isins: "\u22F4", - isinsv: "\u22F3", - isinv: "\u2208", - it: "\u2062", - Itilde: "\u0128", - itilde: "\u0129", - Iukcy: "\u0406", - iukcy: "\u0456", - Iuml: "\xCF", - iuml: "\xEF", - Jcirc: "\u0134", - jcirc: "\u0135", - Jcy: "\u0419", - jcy: "\u0439", - Jfr: "\u{1D50D}", - jfr: "\u{1D527}", - jmath: "\u0237", - Jopf: "\u{1D541}", - jopf: "\u{1D55B}", - Jscr: "\u{1D4A5}", - jscr: "\u{1D4BF}", - Jsercy: "\u0408", - jsercy: "\u0458", - Jukcy: "\u0404", - jukcy: "\u0454", - Kappa: "\u039A", - kappa: "\u03BA", - kappav: "\u03F0", - Kcedil: "\u0136", - kcedil: "\u0137", - Kcy: "\u041A", - kcy: "\u043A", - Kfr: "\u{1D50E}", - kfr: "\u{1D528}", - kgreen: "\u0138", - KHcy: "\u0425", - khcy: "\u0445", - KJcy: "\u040C", - kjcy: "\u045C", - Kopf: "\u{1D542}", - kopf: "\u{1D55C}", - Kscr: "\u{1D4A6}", - kscr: "\u{1D4C0}", - lAarr: "\u21DA", - Lacute: "\u0139", - lacute: "\u013A", - laemptyv: "\u29B4", - lagran: "\u2112", - Lambda: "\u039B", - lambda: "\u03BB", - lang: "\u27E8", - Lang: "\u27EA", - langd: "\u2991", - langle: "\u27E8", - lap: "\u2A85", - Laplacetrf: "\u2112", - laquo: "\xAB", - larrb: "\u21E4", - larrbfs: "\u291F", - larr: "\u2190", - Larr: "\u219E", - lArr: "\u21D0", - larrfs: "\u291D", - larrhk: "\u21A9", - larrlp: "\u21AB", - larrpl: "\u2939", - larrsim: "\u2973", - larrtl: "\u21A2", - latail: "\u2919", - lAtail: "\u291B", - lat: "\u2AAB", - late: "\u2AAD", - lates: "\u2AAD\uFE00", - lbarr: "\u290C", - lBarr: "\u290E", - lbbrk: "\u2772", - lbrace: "{", - lbrack: "[", - lbrke: "\u298B", - lbrksld: "\u298F", - lbrkslu: "\u298D", - Lcaron: "\u013D", - lcaron: "\u013E", - Lcedil: "\u013B", - lcedil: "\u013C", - lceil: "\u2308", - lcub: "{", - Lcy: "\u041B", - lcy: "\u043B", - ldca: "\u2936", - ldquo: "\u201C", - ldquor: "\u201E", - ldrdhar: "\u2967", - ldrushar: "\u294B", - ldsh: "\u21B2", - le: "\u2264", - lE: "\u2266", - LeftAngleBracket: "\u27E8", - LeftArrowBar: "\u21E4", - leftarrow: "\u2190", - LeftArrow: "\u2190", - Leftarrow: "\u21D0", - LeftArrowRightArrow: "\u21C6", - leftarrowtail: "\u21A2", - LeftCeiling: "\u2308", - LeftDoubleBracket: "\u27E6", - LeftDownTeeVector: "\u2961", - LeftDownVectorBar: "\u2959", - LeftDownVector: "\u21C3", - LeftFloor: "\u230A", - leftharpoondown: "\u21BD", - leftharpoonup: "\u21BC", - leftleftarrows: "\u21C7", - leftrightarrow: "\u2194", - LeftRightArrow: "\u2194", - Leftrightarrow: "\u21D4", - leftrightarrows: "\u21C6", - leftrightharpoons: "\u21CB", - leftrightsquigarrow: "\u21AD", - LeftRightVector: "\u294E", - LeftTeeArrow: "\u21A4", - LeftTee: "\u22A3", - LeftTeeVector: "\u295A", - leftthreetimes: "\u22CB", - LeftTriangleBar: "\u29CF", - LeftTriangle: "\u22B2", - LeftTriangleEqual: "\u22B4", - LeftUpDownVector: "\u2951", - LeftUpTeeVector: "\u2960", - LeftUpVectorBar: "\u2958", - LeftUpVector: "\u21BF", - LeftVectorBar: "\u2952", - LeftVector: "\u21BC", - lEg: "\u2A8B", - leg: "\u22DA", - leq: "\u2264", - leqq: "\u2266", - leqslant: "\u2A7D", - lescc: "\u2AA8", - les: "\u2A7D", - lesdot: "\u2A7F", - lesdoto: "\u2A81", - lesdotor: "\u2A83", - lesg: "\u22DA\uFE00", - lesges: "\u2A93", - lessapprox: "\u2A85", - lessdot: "\u22D6", - lesseqgtr: "\u22DA", - lesseqqgtr: "\u2A8B", - LessEqualGreater: "\u22DA", - LessFullEqual: "\u2266", - LessGreater: "\u2276", - lessgtr: "\u2276", - LessLess: "\u2AA1", - lesssim: "\u2272", - LessSlantEqual: "\u2A7D", - LessTilde: "\u2272", - lfisht: "\u297C", - lfloor: "\u230A", - Lfr: "\u{1D50F}", - lfr: "\u{1D529}", - lg: "\u2276", - lgE: "\u2A91", - lHar: "\u2962", - lhard: "\u21BD", - lharu: "\u21BC", - lharul: "\u296A", - lhblk: "\u2584", - LJcy: "\u0409", - ljcy: "\u0459", - llarr: "\u21C7", - ll: "\u226A", - Ll: "\u22D8", - llcorner: "\u231E", - Lleftarrow: "\u21DA", - llhard: "\u296B", - lltri: "\u25FA", - Lmidot: "\u013F", - lmidot: "\u0140", - lmoustache: "\u23B0", - lmoust: "\u23B0", - lnap: "\u2A89", - lnapprox: "\u2A89", - lne: "\u2A87", - lnE: "\u2268", - lneq: "\u2A87", - lneqq: "\u2268", - lnsim: "\u22E6", - loang: "\u27EC", - loarr: "\u21FD", - lobrk: "\u27E6", - longleftarrow: "\u27F5", - LongLeftArrow: "\u27F5", - Longleftarrow: "\u27F8", - longleftrightarrow: "\u27F7", - LongLeftRightArrow: "\u27F7", - Longleftrightarrow: "\u27FA", - longmapsto: "\u27FC", - longrightarrow: "\u27F6", - LongRightArrow: "\u27F6", - Longrightarrow: "\u27F9", - looparrowleft: "\u21AB", - looparrowright: "\u21AC", - lopar: "\u2985", - Lopf: "\u{1D543}", - lopf: "\u{1D55D}", - loplus: "\u2A2D", - lotimes: "\u2A34", - lowast: "\u2217", - lowbar: "_", - LowerLeftArrow: "\u2199", - LowerRightArrow: "\u2198", - loz: "\u25CA", - lozenge: "\u25CA", - lozf: "\u29EB", - lpar: "(", - lparlt: "\u2993", - lrarr: "\u21C6", - lrcorner: "\u231F", - lrhar: "\u21CB", - lrhard: "\u296D", - lrm: "\u200E", - lrtri: "\u22BF", - lsaquo: "\u2039", - lscr: "\u{1D4C1}", - Lscr: "\u2112", - lsh: "\u21B0", - Lsh: "\u21B0", - lsim: "\u2272", - lsime: "\u2A8D", - lsimg: "\u2A8F", - lsqb: "[", - lsquo: "\u2018", - lsquor: "\u201A", - Lstrok: "\u0141", - lstrok: "\u0142", - ltcc: "\u2AA6", - ltcir: "\u2A79", - lt: "<", - LT: "<", - Lt: "\u226A", - ltdot: "\u22D6", - lthree: "\u22CB", - ltimes: "\u22C9", - ltlarr: "\u2976", - ltquest: "\u2A7B", - ltri: "\u25C3", - ltrie: "\u22B4", - ltrif: "\u25C2", - ltrPar: "\u2996", - lurdshar: "\u294A", - luruhar: "\u2966", - lvertneqq: "\u2268\uFE00", - lvnE: "\u2268\uFE00", - macr: "\xAF", - male: "\u2642", - malt: "\u2720", - maltese: "\u2720", - Map: "\u2905", - map: "\u21A6", - mapsto: "\u21A6", - mapstodown: "\u21A7", - mapstoleft: "\u21A4", - mapstoup: "\u21A5", - marker: "\u25AE", - mcomma: "\u2A29", - Mcy: "\u041C", - mcy: "\u043C", - mdash: "\u2014", - mDDot: "\u223A", - measuredangle: "\u2221", - MediumSpace: "\u205F", - Mellintrf: "\u2133", - Mfr: "\u{1D510}", - mfr: "\u{1D52A}", - mho: "\u2127", - micro: "\xB5", - midast: "*", - midcir: "\u2AF0", - mid: "\u2223", - middot: "\xB7", - minusb: "\u229F", - minus: "\u2212", - minusd: "\u2238", - minusdu: "\u2A2A", - MinusPlus: "\u2213", - mlcp: "\u2ADB", - mldr: "\u2026", - mnplus: "\u2213", - models: "\u22A7", - Mopf: "\u{1D544}", - mopf: "\u{1D55E}", - mp: "\u2213", - mscr: "\u{1D4C2}", - Mscr: "\u2133", - mstpos: "\u223E", - Mu: "\u039C", - mu: "\u03BC", - multimap: "\u22B8", - mumap: "\u22B8", - nabla: "\u2207", - Nacute: "\u0143", - nacute: "\u0144", - nang: "\u2220\u20D2", - nap: "\u2249", - napE: "\u2A70\u0338", - napid: "\u224B\u0338", - napos: "\u0149", - napprox: "\u2249", - natural: "\u266E", - naturals: "\u2115", - natur: "\u266E", - nbsp: "\xA0", - nbump: "\u224E\u0338", - nbumpe: "\u224F\u0338", - ncap: "\u2A43", - Ncaron: "\u0147", - ncaron: "\u0148", - Ncedil: "\u0145", - ncedil: "\u0146", - ncong: "\u2247", - ncongdot: "\u2A6D\u0338", - ncup: "\u2A42", - Ncy: "\u041D", - ncy: "\u043D", - ndash: "\u2013", - nearhk: "\u2924", - nearr: "\u2197", - neArr: "\u21D7", - nearrow: "\u2197", - ne: "\u2260", - nedot: "\u2250\u0338", - NegativeMediumSpace: "\u200B", - NegativeThickSpace: "\u200B", - NegativeThinSpace: "\u200B", - NegativeVeryThinSpace: "\u200B", - nequiv: "\u2262", - nesear: "\u2928", - nesim: "\u2242\u0338", - NestedGreaterGreater: "\u226B", - NestedLessLess: "\u226A", - NewLine: ` -`, - nexist: "\u2204", - nexists: "\u2204", - Nfr: "\u{1D511}", - nfr: "\u{1D52B}", - ngE: "\u2267\u0338", - nge: "\u2271", - ngeq: "\u2271", - ngeqq: "\u2267\u0338", - ngeqslant: "\u2A7E\u0338", - nges: "\u2A7E\u0338", - nGg: "\u22D9\u0338", - ngsim: "\u2275", - nGt: "\u226B\u20D2", - ngt: "\u226F", - ngtr: "\u226F", - nGtv: "\u226B\u0338", - nharr: "\u21AE", - nhArr: "\u21CE", - nhpar: "\u2AF2", - ni: "\u220B", - nis: "\u22FC", - nisd: "\u22FA", - niv: "\u220B", - NJcy: "\u040A", - njcy: "\u045A", - nlarr: "\u219A", - nlArr: "\u21CD", - nldr: "\u2025", - nlE: "\u2266\u0338", - nle: "\u2270", - nleftarrow: "\u219A", - nLeftarrow: "\u21CD", - nleftrightarrow: "\u21AE", - nLeftrightarrow: "\u21CE", - nleq: "\u2270", - nleqq: "\u2266\u0338", - nleqslant: "\u2A7D\u0338", - nles: "\u2A7D\u0338", - nless: "\u226E", - nLl: "\u22D8\u0338", - nlsim: "\u2274", - nLt: "\u226A\u20D2", - nlt: "\u226E", - nltri: "\u22EA", - nltrie: "\u22EC", - nLtv: "\u226A\u0338", - nmid: "\u2224", - NoBreak: "\u2060", - NonBreakingSpace: "\xA0", - nopf: "\u{1D55F}", - Nopf: "\u2115", - Not: "\u2AEC", - not: "\xAC", - NotCongruent: "\u2262", - NotCupCap: "\u226D", - NotDoubleVerticalBar: "\u2226", - NotElement: "\u2209", - NotEqual: "\u2260", - NotEqualTilde: "\u2242\u0338", - NotExists: "\u2204", - NotGreater: "\u226F", - NotGreaterEqual: "\u2271", - NotGreaterFullEqual: "\u2267\u0338", - NotGreaterGreater: "\u226B\u0338", - NotGreaterLess: "\u2279", - NotGreaterSlantEqual: "\u2A7E\u0338", - NotGreaterTilde: "\u2275", - NotHumpDownHump: "\u224E\u0338", - NotHumpEqual: "\u224F\u0338", - notin: "\u2209", - notindot: "\u22F5\u0338", - notinE: "\u22F9\u0338", - notinva: "\u2209", - notinvb: "\u22F7", - notinvc: "\u22F6", - NotLeftTriangleBar: "\u29CF\u0338", - NotLeftTriangle: "\u22EA", - NotLeftTriangleEqual: "\u22EC", - NotLess: "\u226E", - NotLessEqual: "\u2270", - NotLessGreater: "\u2278", - NotLessLess: "\u226A\u0338", - NotLessSlantEqual: "\u2A7D\u0338", - NotLessTilde: "\u2274", - NotNestedGreaterGreater: "\u2AA2\u0338", - NotNestedLessLess: "\u2AA1\u0338", - notni: "\u220C", - notniva: "\u220C", - notnivb: "\u22FE", - notnivc: "\u22FD", - NotPrecedes: "\u2280", - NotPrecedesEqual: "\u2AAF\u0338", - NotPrecedesSlantEqual: "\u22E0", - NotReverseElement: "\u220C", - NotRightTriangleBar: "\u29D0\u0338", - NotRightTriangle: "\u22EB", - NotRightTriangleEqual: "\u22ED", - NotSquareSubset: "\u228F\u0338", - NotSquareSubsetEqual: "\u22E2", - NotSquareSuperset: "\u2290\u0338", - NotSquareSupersetEqual: "\u22E3", - NotSubset: "\u2282\u20D2", - NotSubsetEqual: "\u2288", - NotSucceeds: "\u2281", - NotSucceedsEqual: "\u2AB0\u0338", - NotSucceedsSlantEqual: "\u22E1", - NotSucceedsTilde: "\u227F\u0338", - NotSuperset: "\u2283\u20D2", - NotSupersetEqual: "\u2289", - NotTilde: "\u2241", - NotTildeEqual: "\u2244", - NotTildeFullEqual: "\u2247", - NotTildeTilde: "\u2249", - NotVerticalBar: "\u2224", - nparallel: "\u2226", - npar: "\u2226", - nparsl: "\u2AFD\u20E5", - npart: "\u2202\u0338", - npolint: "\u2A14", - npr: "\u2280", - nprcue: "\u22E0", - nprec: "\u2280", - npreceq: "\u2AAF\u0338", - npre: "\u2AAF\u0338", - nrarrc: "\u2933\u0338", - nrarr: "\u219B", - nrArr: "\u21CF", - nrarrw: "\u219D\u0338", - nrightarrow: "\u219B", - nRightarrow: "\u21CF", - nrtri: "\u22EB", - nrtrie: "\u22ED", - nsc: "\u2281", - nsccue: "\u22E1", - nsce: "\u2AB0\u0338", - Nscr: "\u{1D4A9}", - nscr: "\u{1D4C3}", - nshortmid: "\u2224", - nshortparallel: "\u2226", - nsim: "\u2241", - nsime: "\u2244", - nsimeq: "\u2244", - nsmid: "\u2224", - nspar: "\u2226", - nsqsube: "\u22E2", - nsqsupe: "\u22E3", - nsub: "\u2284", - nsubE: "\u2AC5\u0338", - nsube: "\u2288", - nsubset: "\u2282\u20D2", - nsubseteq: "\u2288", - nsubseteqq: "\u2AC5\u0338", - nsucc: "\u2281", - nsucceq: "\u2AB0\u0338", - nsup: "\u2285", - nsupE: "\u2AC6\u0338", - nsupe: "\u2289", - nsupset: "\u2283\u20D2", - nsupseteq: "\u2289", - nsupseteqq: "\u2AC6\u0338", - ntgl: "\u2279", - Ntilde: "\xD1", - ntilde: "\xF1", - ntlg: "\u2278", - ntriangleleft: "\u22EA", - ntrianglelefteq: "\u22EC", - ntriangleright: "\u22EB", - ntrianglerighteq: "\u22ED", - Nu: "\u039D", - nu: "\u03BD", - num: "#", - numero: "\u2116", - numsp: "\u2007", - nvap: "\u224D\u20D2", - nvdash: "\u22AC", - nvDash: "\u22AD", - nVdash: "\u22AE", - nVDash: "\u22AF", - nvge: "\u2265\u20D2", - nvgt: ">\u20D2", - nvHarr: "\u2904", - nvinfin: "\u29DE", - nvlArr: "\u2902", - nvle: "\u2264\u20D2", - nvlt: "<\u20D2", - nvltrie: "\u22B4\u20D2", - nvrArr: "\u2903", - nvrtrie: "\u22B5\u20D2", - nvsim: "\u223C\u20D2", - nwarhk: "\u2923", - nwarr: "\u2196", - nwArr: "\u21D6", - nwarrow: "\u2196", - nwnear: "\u2927", - Oacute: "\xD3", - oacute: "\xF3", - oast: "\u229B", - Ocirc: "\xD4", - ocirc: "\xF4", - ocir: "\u229A", - Ocy: "\u041E", - ocy: "\u043E", - odash: "\u229D", - Odblac: "\u0150", - odblac: "\u0151", - odiv: "\u2A38", - odot: "\u2299", - odsold: "\u29BC", - OElig: "\u0152", - oelig: "\u0153", - ofcir: "\u29BF", - Ofr: "\u{1D512}", - ofr: "\u{1D52C}", - ogon: "\u02DB", - Ograve: "\xD2", - ograve: "\xF2", - ogt: "\u29C1", - ohbar: "\u29B5", - ohm: "\u03A9", - oint: "\u222E", - olarr: "\u21BA", - olcir: "\u29BE", - olcross: "\u29BB", - oline: "\u203E", - olt: "\u29C0", - Omacr: "\u014C", - omacr: "\u014D", - Omega: "\u03A9", - omega: "\u03C9", - Omicron: "\u039F", - omicron: "\u03BF", - omid: "\u29B6", - ominus: "\u2296", - Oopf: "\u{1D546}", - oopf: "\u{1D560}", - opar: "\u29B7", - OpenCurlyDoubleQuote: "\u201C", - OpenCurlyQuote: "\u2018", - operp: "\u29B9", - oplus: "\u2295", - orarr: "\u21BB", - Or: "\u2A54", - or: "\u2228", - ord: "\u2A5D", - order: "\u2134", - orderof: "\u2134", - ordf: "\xAA", - ordm: "\xBA", - origof: "\u22B6", - oror: "\u2A56", - orslope: "\u2A57", - orv: "\u2A5B", - oS: "\u24C8", - Oscr: "\u{1D4AA}", - oscr: "\u2134", - Oslash: "\xD8", - oslash: "\xF8", - osol: "\u2298", - Otilde: "\xD5", - otilde: "\xF5", - otimesas: "\u2A36", - Otimes: "\u2A37", - otimes: "\u2297", - Ouml: "\xD6", - ouml: "\xF6", - ovbar: "\u233D", - OverBar: "\u203E", - OverBrace: "\u23DE", - OverBracket: "\u23B4", - OverParenthesis: "\u23DC", - para: "\xB6", - parallel: "\u2225", - par: "\u2225", - parsim: "\u2AF3", - parsl: "\u2AFD", - part: "\u2202", - PartialD: "\u2202", - Pcy: "\u041F", - pcy: "\u043F", - percnt: "%", - period: ".", - permil: "\u2030", - perp: "\u22A5", - pertenk: "\u2031", - Pfr: "\u{1D513}", - pfr: "\u{1D52D}", - Phi: "\u03A6", - phi: "\u03C6", - phiv: "\u03D5", - phmmat: "\u2133", - phone: "\u260E", - Pi: "\u03A0", - pi: "\u03C0", - pitchfork: "\u22D4", - piv: "\u03D6", - planck: "\u210F", - planckh: "\u210E", - plankv: "\u210F", - plusacir: "\u2A23", - plusb: "\u229E", - pluscir: "\u2A22", - plus: "+", - plusdo: "\u2214", - plusdu: "\u2A25", - pluse: "\u2A72", - PlusMinus: "\xB1", - plusmn: "\xB1", - plussim: "\u2A26", - plustwo: "\u2A27", - pm: "\xB1", - Poincareplane: "\u210C", - pointint: "\u2A15", - popf: "\u{1D561}", - Popf: "\u2119", - pound: "\xA3", - prap: "\u2AB7", - Pr: "\u2ABB", - pr: "\u227A", - prcue: "\u227C", - precapprox: "\u2AB7", - prec: "\u227A", - preccurlyeq: "\u227C", - Precedes: "\u227A", - PrecedesEqual: "\u2AAF", - PrecedesSlantEqual: "\u227C", - PrecedesTilde: "\u227E", - preceq: "\u2AAF", - precnapprox: "\u2AB9", - precneqq: "\u2AB5", - precnsim: "\u22E8", - pre: "\u2AAF", - prE: "\u2AB3", - precsim: "\u227E", - prime: "\u2032", - Prime: "\u2033", - primes: "\u2119", - prnap: "\u2AB9", - prnE: "\u2AB5", - prnsim: "\u22E8", - prod: "\u220F", - Product: "\u220F", - profalar: "\u232E", - profline: "\u2312", - profsurf: "\u2313", - prop: "\u221D", - Proportional: "\u221D", - Proportion: "\u2237", - propto: "\u221D", - prsim: "\u227E", - prurel: "\u22B0", - Pscr: "\u{1D4AB}", - pscr: "\u{1D4C5}", - Psi: "\u03A8", - psi: "\u03C8", - puncsp: "\u2008", - Qfr: "\u{1D514}", - qfr: "\u{1D52E}", - qint: "\u2A0C", - qopf: "\u{1D562}", - Qopf: "\u211A", - qprime: "\u2057", - Qscr: "\u{1D4AC}", - qscr: "\u{1D4C6}", - quaternions: "\u210D", - quatint: "\u2A16", - quest: "?", - questeq: "\u225F", - quot: '"', - QUOT: '"', - rAarr: "\u21DB", - race: "\u223D\u0331", - Racute: "\u0154", - racute: "\u0155", - radic: "\u221A", - raemptyv: "\u29B3", - rang: "\u27E9", - Rang: "\u27EB", - rangd: "\u2992", - range: "\u29A5", - rangle: "\u27E9", - raquo: "\xBB", - rarrap: "\u2975", - rarrb: "\u21E5", - rarrbfs: "\u2920", - rarrc: "\u2933", - rarr: "\u2192", - Rarr: "\u21A0", - rArr: "\u21D2", - rarrfs: "\u291E", - rarrhk: "\u21AA", - rarrlp: "\u21AC", - rarrpl: "\u2945", - rarrsim: "\u2974", - Rarrtl: "\u2916", - rarrtl: "\u21A3", - rarrw: "\u219D", - ratail: "\u291A", - rAtail: "\u291C", - ratio: "\u2236", - rationals: "\u211A", - rbarr: "\u290D", - rBarr: "\u290F", - RBarr: "\u2910", - rbbrk: "\u2773", - rbrace: "}", - rbrack: "]", - rbrke: "\u298C", - rbrksld: "\u298E", - rbrkslu: "\u2990", - Rcaron: "\u0158", - rcaron: "\u0159", - Rcedil: "\u0156", - rcedil: "\u0157", - rceil: "\u2309", - rcub: "}", - Rcy: "\u0420", - rcy: "\u0440", - rdca: "\u2937", - rdldhar: "\u2969", - rdquo: "\u201D", - rdquor: "\u201D", - rdsh: "\u21B3", - real: "\u211C", - realine: "\u211B", - realpart: "\u211C", - reals: "\u211D", - Re: "\u211C", - rect: "\u25AD", - reg: "\xAE", - REG: "\xAE", - ReverseElement: "\u220B", - ReverseEquilibrium: "\u21CB", - ReverseUpEquilibrium: "\u296F", - rfisht: "\u297D", - rfloor: "\u230B", - rfr: "\u{1D52F}", - Rfr: "\u211C", - rHar: "\u2964", - rhard: "\u21C1", - rharu: "\u21C0", - rharul: "\u296C", - Rho: "\u03A1", - rho: "\u03C1", - rhov: "\u03F1", - RightAngleBracket: "\u27E9", - RightArrowBar: "\u21E5", - rightarrow: "\u2192", - RightArrow: "\u2192", - Rightarrow: "\u21D2", - RightArrowLeftArrow: "\u21C4", - rightarrowtail: "\u21A3", - RightCeiling: "\u2309", - RightDoubleBracket: "\u27E7", - RightDownTeeVector: "\u295D", - RightDownVectorBar: "\u2955", - RightDownVector: "\u21C2", - RightFloor: "\u230B", - rightharpoondown: "\u21C1", - rightharpoonup: "\u21C0", - rightleftarrows: "\u21C4", - rightleftharpoons: "\u21CC", - rightrightarrows: "\u21C9", - rightsquigarrow: "\u219D", - RightTeeArrow: "\u21A6", - RightTee: "\u22A2", - RightTeeVector: "\u295B", - rightthreetimes: "\u22CC", - RightTriangleBar: "\u29D0", - RightTriangle: "\u22B3", - RightTriangleEqual: "\u22B5", - RightUpDownVector: "\u294F", - RightUpTeeVector: "\u295C", - RightUpVectorBar: "\u2954", - RightUpVector: "\u21BE", - RightVectorBar: "\u2953", - RightVector: "\u21C0", - ring: "\u02DA", - risingdotseq: "\u2253", - rlarr: "\u21C4", - rlhar: "\u21CC", - rlm: "\u200F", - rmoustache: "\u23B1", - rmoust: "\u23B1", - rnmid: "\u2AEE", - roang: "\u27ED", - roarr: "\u21FE", - robrk: "\u27E7", - ropar: "\u2986", - ropf: "\u{1D563}", - Ropf: "\u211D", - roplus: "\u2A2E", - rotimes: "\u2A35", - RoundImplies: "\u2970", - rpar: ")", - rpargt: "\u2994", - rppolint: "\u2A12", - rrarr: "\u21C9", - Rrightarrow: "\u21DB", - rsaquo: "\u203A", - rscr: "\u{1D4C7}", - Rscr: "\u211B", - rsh: "\u21B1", - Rsh: "\u21B1", - rsqb: "]", - rsquo: "\u2019", - rsquor: "\u2019", - rthree: "\u22CC", - rtimes: "\u22CA", - rtri: "\u25B9", - rtrie: "\u22B5", - rtrif: "\u25B8", - rtriltri: "\u29CE", - RuleDelayed: "\u29F4", - ruluhar: "\u2968", - rx: "\u211E", - Sacute: "\u015A", - sacute: "\u015B", - sbquo: "\u201A", - scap: "\u2AB8", - Scaron: "\u0160", - scaron: "\u0161", - Sc: "\u2ABC", - sc: "\u227B", - sccue: "\u227D", - sce: "\u2AB0", - scE: "\u2AB4", - Scedil: "\u015E", - scedil: "\u015F", - Scirc: "\u015C", - scirc: "\u015D", - scnap: "\u2ABA", - scnE: "\u2AB6", - scnsim: "\u22E9", - scpolint: "\u2A13", - scsim: "\u227F", - Scy: "\u0421", - scy: "\u0441", - sdotb: "\u22A1", - sdot: "\u22C5", - sdote: "\u2A66", - searhk: "\u2925", - searr: "\u2198", - seArr: "\u21D8", - searrow: "\u2198", - sect: "\xA7", - semi: ";", - seswar: "\u2929", - setminus: "\u2216", - setmn: "\u2216", - sext: "\u2736", - Sfr: "\u{1D516}", - sfr: "\u{1D530}", - sfrown: "\u2322", - sharp: "\u266F", - SHCHcy: "\u0429", - shchcy: "\u0449", - SHcy: "\u0428", - shcy: "\u0448", - ShortDownArrow: "\u2193", - ShortLeftArrow: "\u2190", - shortmid: "\u2223", - shortparallel: "\u2225", - ShortRightArrow: "\u2192", - ShortUpArrow: "\u2191", - shy: "\xAD", - Sigma: "\u03A3", - sigma: "\u03C3", - sigmaf: "\u03C2", - sigmav: "\u03C2", - sim: "\u223C", - simdot: "\u2A6A", - sime: "\u2243", - simeq: "\u2243", - simg: "\u2A9E", - simgE: "\u2AA0", - siml: "\u2A9D", - simlE: "\u2A9F", - simne: "\u2246", - simplus: "\u2A24", - simrarr: "\u2972", - slarr: "\u2190", - SmallCircle: "\u2218", - smallsetminus: "\u2216", - smashp: "\u2A33", - smeparsl: "\u29E4", - smid: "\u2223", - smile: "\u2323", - smt: "\u2AAA", - smte: "\u2AAC", - smtes: "\u2AAC\uFE00", - SOFTcy: "\u042C", - softcy: "\u044C", - solbar: "\u233F", - solb: "\u29C4", - sol: "/", - Sopf: "\u{1D54A}", - sopf: "\u{1D564}", - spades: "\u2660", - spadesuit: "\u2660", - spar: "\u2225", - sqcap: "\u2293", - sqcaps: "\u2293\uFE00", - sqcup: "\u2294", - sqcups: "\u2294\uFE00", - Sqrt: "\u221A", - sqsub: "\u228F", - sqsube: "\u2291", - sqsubset: "\u228F", - sqsubseteq: "\u2291", - sqsup: "\u2290", - sqsupe: "\u2292", - sqsupset: "\u2290", - sqsupseteq: "\u2292", - square: "\u25A1", - Square: "\u25A1", - SquareIntersection: "\u2293", - SquareSubset: "\u228F", - SquareSubsetEqual: "\u2291", - SquareSuperset: "\u2290", - SquareSupersetEqual: "\u2292", - SquareUnion: "\u2294", - squarf: "\u25AA", - squ: "\u25A1", - squf: "\u25AA", - srarr: "\u2192", - Sscr: "\u{1D4AE}", - sscr: "\u{1D4C8}", - ssetmn: "\u2216", - ssmile: "\u2323", - sstarf: "\u22C6", - Star: "\u22C6", - star: "\u2606", - starf: "\u2605", - straightepsilon: "\u03F5", - straightphi: "\u03D5", - strns: "\xAF", - sub: "\u2282", - Sub: "\u22D0", - subdot: "\u2ABD", - subE: "\u2AC5", - sube: "\u2286", - subedot: "\u2AC3", - submult: "\u2AC1", - subnE: "\u2ACB", - subne: "\u228A", - subplus: "\u2ABF", - subrarr: "\u2979", - subset: "\u2282", - Subset: "\u22D0", - subseteq: "\u2286", - subseteqq: "\u2AC5", - SubsetEqual: "\u2286", - subsetneq: "\u228A", - subsetneqq: "\u2ACB", - subsim: "\u2AC7", - subsub: "\u2AD5", - subsup: "\u2AD3", - succapprox: "\u2AB8", - succ: "\u227B", - succcurlyeq: "\u227D", - Succeeds: "\u227B", - SucceedsEqual: "\u2AB0", - SucceedsSlantEqual: "\u227D", - SucceedsTilde: "\u227F", - succeq: "\u2AB0", - succnapprox: "\u2ABA", - succneqq: "\u2AB6", - succnsim: "\u22E9", - succsim: "\u227F", - SuchThat: "\u220B", - sum: "\u2211", - Sum: "\u2211", - sung: "\u266A", - sup1: "\xB9", - sup2: "\xB2", - sup3: "\xB3", - sup: "\u2283", - Sup: "\u22D1", - supdot: "\u2ABE", - supdsub: "\u2AD8", - supE: "\u2AC6", - supe: "\u2287", - supedot: "\u2AC4", - Superset: "\u2283", - SupersetEqual: "\u2287", - suphsol: "\u27C9", - suphsub: "\u2AD7", - suplarr: "\u297B", - supmult: "\u2AC2", - supnE: "\u2ACC", - supne: "\u228B", - supplus: "\u2AC0", - supset: "\u2283", - Supset: "\u22D1", - supseteq: "\u2287", - supseteqq: "\u2AC6", - supsetneq: "\u228B", - supsetneqq: "\u2ACC", - supsim: "\u2AC8", - supsub: "\u2AD4", - supsup: "\u2AD6", - swarhk: "\u2926", - swarr: "\u2199", - swArr: "\u21D9", - swarrow: "\u2199", - swnwar: "\u292A", - szlig: "\xDF", - Tab: " ", - target: "\u2316", - Tau: "\u03A4", - tau: "\u03C4", - tbrk: "\u23B4", - Tcaron: "\u0164", - tcaron: "\u0165", - Tcedil: "\u0162", - tcedil: "\u0163", - Tcy: "\u0422", - tcy: "\u0442", - tdot: "\u20DB", - telrec: "\u2315", - Tfr: "\u{1D517}", - tfr: "\u{1D531}", - there4: "\u2234", - therefore: "\u2234", - Therefore: "\u2234", - Theta: "\u0398", - theta: "\u03B8", - thetasym: "\u03D1", - thetav: "\u03D1", - thickapprox: "\u2248", - thicksim: "\u223C", - ThickSpace: "\u205F\u200A", - ThinSpace: "\u2009", - thinsp: "\u2009", - thkap: "\u2248", - thksim: "\u223C", - THORN: "\xDE", - thorn: "\xFE", - tilde: "\u02DC", - Tilde: "\u223C", - TildeEqual: "\u2243", - TildeFullEqual: "\u2245", - TildeTilde: "\u2248", - timesbar: "\u2A31", - timesb: "\u22A0", - times: "\xD7", - timesd: "\u2A30", - tint: "\u222D", - toea: "\u2928", - topbot: "\u2336", - topcir: "\u2AF1", - top: "\u22A4", - Topf: "\u{1D54B}", - topf: "\u{1D565}", - topfork: "\u2ADA", - tosa: "\u2929", - tprime: "\u2034", - trade: "\u2122", - TRADE: "\u2122", - triangle: "\u25B5", - triangledown: "\u25BF", - triangleleft: "\u25C3", - trianglelefteq: "\u22B4", - triangleq: "\u225C", - triangleright: "\u25B9", - trianglerighteq: "\u22B5", - tridot: "\u25EC", - trie: "\u225C", - triminus: "\u2A3A", - TripleDot: "\u20DB", - triplus: "\u2A39", - trisb: "\u29CD", - tritime: "\u2A3B", - trpezium: "\u23E2", - Tscr: "\u{1D4AF}", - tscr: "\u{1D4C9}", - TScy: "\u0426", - tscy: "\u0446", - TSHcy: "\u040B", - tshcy: "\u045B", - Tstrok: "\u0166", - tstrok: "\u0167", - twixt: "\u226C", - twoheadleftarrow: "\u219E", - twoheadrightarrow: "\u21A0", - Uacute: "\xDA", - uacute: "\xFA", - uarr: "\u2191", - Uarr: "\u219F", - uArr: "\u21D1", - Uarrocir: "\u2949", - Ubrcy: "\u040E", - ubrcy: "\u045E", - Ubreve: "\u016C", - ubreve: "\u016D", - Ucirc: "\xDB", - ucirc: "\xFB", - Ucy: "\u0423", - ucy: "\u0443", - udarr: "\u21C5", - Udblac: "\u0170", - udblac: "\u0171", - udhar: "\u296E", - ufisht: "\u297E", - Ufr: "\u{1D518}", - ufr: "\u{1D532}", - Ugrave: "\xD9", - ugrave: "\xF9", - uHar: "\u2963", - uharl: "\u21BF", - uharr: "\u21BE", - uhblk: "\u2580", - ulcorn: "\u231C", - ulcorner: "\u231C", - ulcrop: "\u230F", - ultri: "\u25F8", - Umacr: "\u016A", - umacr: "\u016B", - uml: "\xA8", - UnderBar: "_", - UnderBrace: "\u23DF", - UnderBracket: "\u23B5", - UnderParenthesis: "\u23DD", - Union: "\u22C3", - UnionPlus: "\u228E", - Uogon: "\u0172", - uogon: "\u0173", - Uopf: "\u{1D54C}", - uopf: "\u{1D566}", - UpArrowBar: "\u2912", - uparrow: "\u2191", - UpArrow: "\u2191", - Uparrow: "\u21D1", - UpArrowDownArrow: "\u21C5", - updownarrow: "\u2195", - UpDownArrow: "\u2195", - Updownarrow: "\u21D5", - UpEquilibrium: "\u296E", - upharpoonleft: "\u21BF", - upharpoonright: "\u21BE", - uplus: "\u228E", - UpperLeftArrow: "\u2196", - UpperRightArrow: "\u2197", - upsi: "\u03C5", - Upsi: "\u03D2", - upsih: "\u03D2", - Upsilon: "\u03A5", - upsilon: "\u03C5", - UpTeeArrow: "\u21A5", - UpTee: "\u22A5", - upuparrows: "\u21C8", - urcorn: "\u231D", - urcorner: "\u231D", - urcrop: "\u230E", - Uring: "\u016E", - uring: "\u016F", - urtri: "\u25F9", - Uscr: "\u{1D4B0}", - uscr: "\u{1D4CA}", - utdot: "\u22F0", - Utilde: "\u0168", - utilde: "\u0169", - utri: "\u25B5", - utrif: "\u25B4", - uuarr: "\u21C8", - Uuml: "\xDC", - uuml: "\xFC", - uwangle: "\u29A7", - vangrt: "\u299C", - varepsilon: "\u03F5", - varkappa: "\u03F0", - varnothing: "\u2205", - varphi: "\u03D5", - varpi: "\u03D6", - varpropto: "\u221D", - varr: "\u2195", - vArr: "\u21D5", - varrho: "\u03F1", - varsigma: "\u03C2", - varsubsetneq: "\u228A\uFE00", - varsubsetneqq: "\u2ACB\uFE00", - varsupsetneq: "\u228B\uFE00", - varsupsetneqq: "\u2ACC\uFE00", - vartheta: "\u03D1", - vartriangleleft: "\u22B2", - vartriangleright: "\u22B3", - vBar: "\u2AE8", - Vbar: "\u2AEB", - vBarv: "\u2AE9", - Vcy: "\u0412", - vcy: "\u0432", - vdash: "\u22A2", - vDash: "\u22A8", - Vdash: "\u22A9", - VDash: "\u22AB", - Vdashl: "\u2AE6", - veebar: "\u22BB", - vee: "\u2228", - Vee: "\u22C1", - veeeq: "\u225A", - vellip: "\u22EE", - verbar: "|", - Verbar: "\u2016", - vert: "|", - Vert: "\u2016", - VerticalBar: "\u2223", - VerticalLine: "|", - VerticalSeparator: "\u2758", - VerticalTilde: "\u2240", - VeryThinSpace: "\u200A", - Vfr: "\u{1D519}", - vfr: "\u{1D533}", - vltri: "\u22B2", - vnsub: "\u2282\u20D2", - vnsup: "\u2283\u20D2", - Vopf: "\u{1D54D}", - vopf: "\u{1D567}", - vprop: "\u221D", - vrtri: "\u22B3", - Vscr: "\u{1D4B1}", - vscr: "\u{1D4CB}", - vsubnE: "\u2ACB\uFE00", - vsubne: "\u228A\uFE00", - vsupnE: "\u2ACC\uFE00", - vsupne: "\u228B\uFE00", - Vvdash: "\u22AA", - vzigzag: "\u299A", - Wcirc: "\u0174", - wcirc: "\u0175", - wedbar: "\u2A5F", - wedge: "\u2227", - Wedge: "\u22C0", - wedgeq: "\u2259", - weierp: "\u2118", - Wfr: "\u{1D51A}", - wfr: "\u{1D534}", - Wopf: "\u{1D54E}", - wopf: "\u{1D568}", - wp: "\u2118", - wr: "\u2240", - wreath: "\u2240", - Wscr: "\u{1D4B2}", - wscr: "\u{1D4CC}", - xcap: "\u22C2", - xcirc: "\u25EF", - xcup: "\u22C3", - xdtri: "\u25BD", - Xfr: "\u{1D51B}", - xfr: "\u{1D535}", - xharr: "\u27F7", - xhArr: "\u27FA", - Xi: "\u039E", - xi: "\u03BE", - xlarr: "\u27F5", - xlArr: "\u27F8", - xmap: "\u27FC", - xnis: "\u22FB", - xodot: "\u2A00", - Xopf: "\u{1D54F}", - xopf: "\u{1D569}", - xoplus: "\u2A01", - xotime: "\u2A02", - xrarr: "\u27F6", - xrArr: "\u27F9", - Xscr: "\u{1D4B3}", - xscr: "\u{1D4CD}", - xsqcup: "\u2A06", - xuplus: "\u2A04", - xutri: "\u25B3", - xvee: "\u22C1", - xwedge: "\u22C0", - Yacute: "\xDD", - yacute: "\xFD", - YAcy: "\u042F", - yacy: "\u044F", - Ycirc: "\u0176", - ycirc: "\u0177", - Ycy: "\u042B", - ycy: "\u044B", - yen: "\xA5", - Yfr: "\u{1D51C}", - yfr: "\u{1D536}", - YIcy: "\u0407", - yicy: "\u0457", - Yopf: "\u{1D550}", - yopf: "\u{1D56A}", - Yscr: "\u{1D4B4}", - yscr: "\u{1D4CE}", - YUcy: "\u042E", - yucy: "\u044E", - yuml: "\xFF", - Yuml: "\u0178", - Zacute: "\u0179", - zacute: "\u017A", - Zcaron: "\u017D", - zcaron: "\u017E", - Zcy: "\u0417", - zcy: "\u0437", - Zdot: "\u017B", - zdot: "\u017C", - zeetrf: "\u2128", - ZeroWidthSpace: "\u200B", - Zeta: "\u0396", - zeta: "\u03B6", - zfr: "\u{1D537}", - Zfr: "\u2128", - ZHcy: "\u0416", - zhcy: "\u0436", - zigrarr: "\u21DD", - zopf: "\u{1D56B}", - Zopf: "\u2124", - Zscr: "\u{1D4B5}", - zscr: "\u{1D4CF}", - zwj: "\u200D", - zwnj: "\u200C", - }; - }), - Ji = pe((t, e) => { - e.exports = { - Aacute: "\xC1", - aacute: "\xE1", - Acirc: "\xC2", - acirc: "\xE2", - acute: "\xB4", - AElig: "\xC6", - aelig: "\xE6", - Agrave: "\xC0", - agrave: "\xE0", - amp: "&", - AMP: "&", - Aring: "\xC5", - aring: "\xE5", - Atilde: "\xC3", - atilde: "\xE3", - Auml: "\xC4", - auml: "\xE4", - brvbar: "\xA6", - Ccedil: "\xC7", - ccedil: "\xE7", - cedil: "\xB8", - cent: "\xA2", - copy: "\xA9", - COPY: "\xA9", - curren: "\xA4", - deg: "\xB0", - divide: "\xF7", - Eacute: "\xC9", - eacute: "\xE9", - Ecirc: "\xCA", - ecirc: "\xEA", - Egrave: "\xC8", - egrave: "\xE8", - ETH: "\xD0", - eth: "\xF0", - Euml: "\xCB", - euml: "\xEB", - frac12: "\xBD", - frac14: "\xBC", - frac34: "\xBE", - gt: ">", - GT: ">", - Iacute: "\xCD", - iacute: "\xED", - Icirc: "\xCE", - icirc: "\xEE", - iexcl: "\xA1", - Igrave: "\xCC", - igrave: "\xEC", - iquest: "\xBF", - Iuml: "\xCF", - iuml: "\xEF", - laquo: "\xAB", - lt: "<", - LT: "<", - macr: "\xAF", - micro: "\xB5", - middot: "\xB7", - nbsp: "\xA0", - not: "\xAC", - Ntilde: "\xD1", - ntilde: "\xF1", - Oacute: "\xD3", - oacute: "\xF3", - Ocirc: "\xD4", - ocirc: "\xF4", - Ograve: "\xD2", - ograve: "\xF2", - ordf: "\xAA", - ordm: "\xBA", - Oslash: "\xD8", - oslash: "\xF8", - Otilde: "\xD5", - otilde: "\xF5", - Ouml: "\xD6", - ouml: "\xF6", - para: "\xB6", - plusmn: "\xB1", - pound: "\xA3", - quot: '"', - QUOT: '"', - raquo: "\xBB", - reg: "\xAE", - REG: "\xAE", - sect: "\xA7", - shy: "\xAD", - sup1: "\xB9", - sup2: "\xB2", - sup3: "\xB3", - szlig: "\xDF", - THORN: "\xDE", - thorn: "\xFE", - times: "\xD7", - Uacute: "\xDA", - uacute: "\xFA", - Ucirc: "\xDB", - ucirc: "\xFB", - Ugrave: "\xD9", - ugrave: "\xF9", - uml: "\xA8", - Uuml: "\xDC", - uuml: "\xFC", - Yacute: "\xDD", - yacute: "\xFD", - yen: "\xA5", - yuml: "\xFF", - }; - }), - su = pe((t, e) => { - e.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' }; - }), - Qi = pe((t, e) => { - e.exports = { - 0: 65533, - 128: 8364, - 130: 8218, - 131: 402, - 132: 8222, - 133: 8230, - 134: 8224, - 135: 8225, - 136: 710, - 137: 8240, - 138: 352, - 139: 8249, - 140: 338, - 142: 381, - 145: 8216, - 146: 8217, - 147: 8220, - 148: 8221, - 149: 8226, - 150: 8211, - 151: 8212, - 152: 732, - 153: 8482, - 154: 353, - 155: 8250, - 156: 339, - 158: 382, - 159: 376, - }; - }), - Zi = pe((t) => { - "use strict"; - var e = - (t && t.__importDefault) || - function (u) { - return u && u.__esModule ? u : { default: u }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }); - var r = e(Qi()), - n = - String.fromCodePoint || - function (u) { - var a = ""; - return ( - u > 65535 && - ((u -= 65536), - (a += String.fromCharCode(((u >>> 10) & 1023) | 55296)), - (u = 56320 | (u & 1023))), - (a += String.fromCharCode(u)), - a - ); - }; - function o(u) { - return (u >= 55296 && u <= 57343) || u > 1114111 - ? "\uFFFD" - : (u in r.default && (u = r.default[u]), n(u)); - } - p(o, "decodeCodePoint"), (t.default = o); - }), - Ho = pe((t) => { - "use strict"; - var e = - (t && t.__importDefault) || - function (h) { - return h && h.__esModule ? h : { default: h }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.decodeHTML = t.decodeHTMLStrict = t.decodeXML = void 0); - var r = e(iu()), - n = e(Ji()), - o = e(su()), - u = e(Zi()), - a = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g; - (t.decodeXML = i(o.default)), (t.decodeHTMLStrict = i(r.default)); - function i(h) { - var f = l(h); - return function (g) { - return String(g).replace(a, f); - }; - } - p(i, "getStrictDecoder"); - var s = p(function (h, f) { - return h < f ? 1 : -1; - }, "sorter"); - t.decodeHTML = (function () { - for ( - var h = Object.keys(n.default).sort(s), - f = Object.keys(r.default).sort(s), - g = 0, - b = 0; - g < f.length; - g++ - ) - h[b] === f[g] ? ((f[g] += ";?"), b++) : (f[g] += ";"); - var w = new RegExp( - "&(?:" + f.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", - "g", - ), - v = l(r.default); - function S(A) { - return A.substr(-1) !== ";" && (A += ";"), v(A); - } - return ( - p(S, "replacer"), - function (A) { - return String(A).replace(w, S); - } - ); - })(); - function l(h) { - return p(function (f) { - if (f.charAt(1) === "#") { - var g = f.charAt(2); - return g === "X" || g === "x" - ? u.default(parseInt(f.substr(3), 16)) - : u.default(parseInt(f.substr(2), 10)); - } - return h[f.slice(1, -1)] || f; - }, "replace"); - } - p(l, "getReplacer"); - }), - Uo = pe((t) => { - "use strict"; - var e = - (t && t.__importDefault) || - function (E) { - return E && E.__esModule ? E : { default: E }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.escapeUTF8 = - t.escape = - t.encodeNonAsciiHTML = - t.encodeHTML = - t.encodeXML = - void 0); - var r = e(su()), - n = s(r.default), - o = l(n); - t.encodeXML = A(n); - var u = e(iu()), - a = s(u.default), - i = l(a); - (t.encodeHTML = b(a, i)), (t.encodeNonAsciiHTML = A(a)); - function s(E) { - return Object.keys(E) - .sort() - .reduce(function (O, F) { - return (O[E[F]] = "&" + F + ";"), O; - }, {}); - } - p(s, "getInverseObj"); - function l(E) { - for ( - var O = [], F = [], I = 0, R = Object.keys(E); - I < R.length; - I++ - ) { - var T = R[I]; - T.length === 1 ? O.push("\\" + T) : F.push(T); - } - O.sort(); - for (var x = 0; x < O.length - 1; x++) { - for ( - var P = x; - P < O.length - 1 && - O[P].charCodeAt(1) + 1 === O[P + 1].charCodeAt(1); - - ) - P += 1; - var N = 1 + P - x; - N < 3 || O.splice(x, N, O[x] + "-" + O[P]); - } - return ( - F.unshift("[" + O.join("") + "]"), new RegExp(F.join("|"), "g") - ); - } - p(l, "getInverseReplacer"); - var h = - /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, - f = - String.prototype.codePointAt != null - ? function (E) { - return E.codePointAt(0); - } - : function (E) { - return ( - (E.charCodeAt(0) - 55296) * 1024 + - E.charCodeAt(1) - - 56320 + - 65536 - ); - }; - function g(E) { - return ( - "&#x" + - (E.length > 1 ? f(E) : E.charCodeAt(0)).toString(16).toUpperCase() + - ";" - ); - } - p(g, "singleCharReplacer"); - function b(E, O) { - return function (F) { - return F.replace(O, function (I) { - return E[I]; - }).replace(h, g); - }; - } - p(b, "getInverse"); - var w = new RegExp(o.source + "|" + h.source, "g"); - function v(E) { - return E.replace(w, g); - } - p(v, "escape"), (t.escape = v); - function S(E) { - return E.replace(o, g); - } - p(S, "escapeUTF8"), (t.escapeUTF8 = S); - function A(E) { - return function (O) { - return O.replace(w, function (F) { - return E[F] || g(F); - }); - }; - } - p(A, "getASCIIEncoder"); - }), - es = pe((t) => { - "use strict"; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.decodeXMLStrict = - t.decodeHTML5Strict = - t.decodeHTML4Strict = - t.decodeHTML5 = - t.decodeHTML4 = - t.decodeHTMLStrict = - t.decodeHTML = - t.decodeXML = - t.encodeHTML5 = - t.encodeHTML4 = - t.escapeUTF8 = - t.escape = - t.encodeNonAsciiHTML = - t.encodeHTML = - t.encodeXML = - t.encode = - t.decodeStrict = - t.decode = - void 0); - var e = Ho(), - r = Uo(); - function n(s, l) { - return (!l || l <= 0 ? e.decodeXML : e.decodeHTML)(s); - } - p(n, "decode"), (t.decode = n); - function o(s, l) { - return (!l || l <= 0 ? e.decodeXML : e.decodeHTMLStrict)(s); - } - p(o, "decodeStrict"), (t.decodeStrict = o); - function u(s, l) { - return (!l || l <= 0 ? r.encodeXML : r.encodeHTML)(s); - } - p(u, "encode"), (t.encode = u); - var a = Uo(); - Object.defineProperty(t, "encodeXML", { - enumerable: !0, - get: p(function () { - return a.encodeXML; - }, "get"), - }), - Object.defineProperty(t, "encodeHTML", { - enumerable: !0, - get: p(function () { - return a.encodeHTML; - }, "get"), - }), - Object.defineProperty(t, "encodeNonAsciiHTML", { - enumerable: !0, - get: p(function () { - return a.encodeNonAsciiHTML; - }, "get"), - }), - Object.defineProperty(t, "escape", { - enumerable: !0, - get: p(function () { - return a.escape; - }, "get"), - }), - Object.defineProperty(t, "escapeUTF8", { - enumerable: !0, - get: p(function () { - return a.escapeUTF8; - }, "get"), - }), - Object.defineProperty(t, "encodeHTML4", { - enumerable: !0, - get: p(function () { - return a.encodeHTML; - }, "get"), - }), - Object.defineProperty(t, "encodeHTML5", { - enumerable: !0, - get: p(function () { - return a.encodeHTML; - }, "get"), - }); - var i = Ho(); - Object.defineProperty(t, "decodeXML", { - enumerable: !0, - get: p(function () { - return i.decodeXML; - }, "get"), - }), - Object.defineProperty(t, "decodeHTML", { - enumerable: !0, - get: p(function () { - return i.decodeHTML; - }, "get"), - }), - Object.defineProperty(t, "decodeHTMLStrict", { - enumerable: !0, - get: p(function () { - return i.decodeHTMLStrict; - }, "get"), - }), - Object.defineProperty(t, "decodeHTML4", { - enumerable: !0, - get: p(function () { - return i.decodeHTML; - }, "get"), - }), - Object.defineProperty(t, "decodeHTML5", { - enumerable: !0, - get: p(function () { - return i.decodeHTML; - }, "get"), - }), - Object.defineProperty(t, "decodeHTML4Strict", { - enumerable: !0, - get: p(function () { - return i.decodeHTMLStrict; - }, "get"), - }), - Object.defineProperty(t, "decodeHTML5Strict", { - enumerable: !0, - get: p(function () { - return i.decodeHTMLStrict; - }, "get"), - }), - Object.defineProperty(t, "decodeXMLStrict", { - enumerable: !0, - get: p(function () { - return i.decodeXML; - }, "get"), - }); - }), - ts = pe((t, e) => { - "use strict"; - function r(c, d) { - if (!(c instanceof d)) - throw new TypeError("Cannot call a class as a function"); - } - p(r, "_classCallCheck"); - function n(c, d) { - for (var y = 0; y < d.length; y++) { - var D = d[y]; - (D.enumerable = D.enumerable || !1), - (D.configurable = !0), - "value" in D && (D.writable = !0), - Object.defineProperty(c, D.key, D); - } - } - p(n, "_defineProperties"); - function o(c, d, y) { - return d && n(c.prototype, d), y && n(c, y), c; - } - p(o, "_createClass"); - function u(c, d) { - var y = - (typeof Symbol < "u" && c[Symbol.iterator]) || c["@@iterator"]; - if (!y) { - if ( - Array.isArray(c) || - (y = a(c)) || - (d && c && typeof c.length == "number") - ) { - y && (c = y); - var D = 0, - C = p(function () {}, "F"); - return { - s: C, - n: p(function () { - return D >= c.length - ? { done: !0 } - : { done: !1, value: c[D++] }; - }, "n"), - e: p(function (k) { - throw k; - }, "e"), - f: C, - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - var _ = !0, - B = !1, - L; - return { - s: p(function () { - y = y.call(c); - }, "s"), - n: p(function () { - var k = y.next(); - return (_ = k.done), k; - }, "n"), - e: p(function (k) { - (B = !0), (L = k); - }, "e"), - f: p(function () { - try { - !_ && y.return != null && y.return(); - } finally { - if (B) throw L; - } - }, "f"), - }; - } - p(u, "_createForOfIteratorHelper"); - function a(c, d) { - if (c) { - if (typeof c == "string") return i(c, d); - var y = Object.prototype.toString.call(c).slice(8, -1); - if ( - (y === "Object" && c.constructor && (y = c.constructor.name), - y === "Map" || y === "Set") - ) - return Array.from(c); - if ( - y === "Arguments" || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y) - ) - return i(c, d); - } - } - p(a, "_unsupportedIterableToArray"); - function i(c, d) { - (d == null || d > c.length) && (d = c.length); - for (var y = 0, D = new Array(d); y < d; y++) D[y] = c[y]; - return D; - } - p(i, "_arrayLikeToArray"); - var s = es(), - l = { - fg: "#FFF", - bg: "#000", - newline: !1, - escapeXML: !1, - stream: !1, - colors: h(), - }; - function h() { - var c = { - 0: "#000", - 1: "#A00", - 2: "#0A0", - 3: "#A50", - 4: "#00A", - 5: "#A0A", - 6: "#0AA", - 7: "#AAA", - 8: "#555", - 9: "#F55", - 10: "#5F5", - 11: "#FF5", - 12: "#55F", - 13: "#F5F", - 14: "#5FF", - 15: "#FFF", - }; - return ( - E(0, 5).forEach(function (d) { - E(0, 5).forEach(function (y) { - E(0, 5).forEach(function (D) { - return f(d, y, D, c); - }); - }); - }), - E(0, 23).forEach(function (d) { - var y = d + 232, - D = g(d * 10 + 8); - c[y] = "#" + D + D + D; - }), - c - ); - } - p(h, "getDefaultColors"); - function f(c, d, y, D) { - var C = 16 + c * 36 + d * 6 + y, - _ = c > 0 ? c * 40 + 55 : 0, - B = d > 0 ? d * 40 + 55 : 0, - L = y > 0 ? y * 40 + 55 : 0; - D[C] = b([_, B, L]); - } - p(f, "setStyleColor"); - function g(c) { - for (var d = c.toString(16); d.length < 2; ) d = "0" + d; - return d; - } - p(g, "toHexString"); - function b(c) { - var d = [], - y = u(c), - D; - try { - for (y.s(); !(D = y.n()).done; ) { - var C = D.value; - d.push(g(C)); - } - } catch (_) { - y.e(_); - } finally { - y.f(); - } - return "#" + d.join(""); - } - p(b, "toColorHexString"); - function w(c, d, y, D) { - var C; - return ( - d === "text" - ? (C = I(y, D)) - : d === "display" - ? (C = S(c, y, D)) - : d === "xterm256Foreground" - ? (C = x(c, D.colors[y])) - : d === "xterm256Background" - ? (C = P(c, D.colors[y])) - : d === "rgb" && (C = v(c, y)), - C - ); - } - p(w, "generateOutput"); - function v(c, d) { - d = d.substring(2).slice(0, -1); - var y = +d.substr(0, 2), - D = d.substring(5).split(";"), - C = D.map(function (_) { - return ("0" + Number(_).toString(16)).substr(-2); - }).join(""); - return T(c, (y === 38 ? "color:#" : "background-color:#") + C); - } - p(v, "handleRgb"); - function S(c, d, y) { - d = parseInt(d, 10); - var D = { - "-1": p(function () { - return "
"; - }, "_"), - 0: p(function () { - return c.length && A(c); - }, "_"), - 1: p(function () { - return R(c, "b"); - }, "_"), - 3: p(function () { - return R(c, "i"); - }, "_"), - 4: p(function () { - return R(c, "u"); - }, "_"), - 8: p(function () { - return T(c, "display:none"); - }, "_"), - 9: p(function () { - return R(c, "strike"); - }, "_"), - 22: p(function () { - return T( - c, - "font-weight:normal;text-decoration:none;font-style:normal", - ); - }, "_"), - 23: p(function () { - return N(c, "i"); - }, "_"), - 24: p(function () { - return N(c, "u"); - }, "_"), - 39: p(function () { - return x(c, y.fg); - }, "_"), - 49: p(function () { - return P(c, y.bg); - }, "_"), - 53: p(function () { - return T(c, "text-decoration:overline"); - }, "_"), - }, - C; - return ( - D[d] - ? (C = D[d]()) - : 4 < d && d < 7 - ? (C = R(c, "blink")) - : 29 < d && d < 38 - ? (C = x(c, y.colors[d - 30])) - : 39 < d && d < 48 - ? (C = P(c, y.colors[d - 40])) - : 89 < d && d < 98 - ? (C = x(c, y.colors[8 + (d - 90)])) - : 99 < d && - d < 108 && - (C = P(c, y.colors[8 + (d - 100)])), - C - ); - } - p(S, "handleDisplay"); - function A(c) { - var d = c.slice(0); - return ( - (c.length = 0), - d - .reverse() - .map(function (y) { - return ""; - }) - .join("") - ); - } - p(A, "resetStyles"); - function E(c, d) { - for (var y = [], D = c; D <= d; D++) y.push(D); - return y; - } - p(E, "range"); - function O(c) { - return function (d) { - return (c === null || d.category !== c) && c !== "all"; - }; - } - p(O, "notCategory"); - function F(c) { - c = parseInt(c, 10); - var d = null; - return ( - c === 0 - ? (d = "all") - : c === 1 - ? (d = "bold") - : 2 < c && c < 5 - ? (d = "underline") - : 4 < c && c < 7 - ? (d = "blink") - : c === 8 - ? (d = "hide") - : c === 9 - ? (d = "strike") - : (29 < c && c < 38) || c === 39 || (89 < c && c < 98) - ? (d = "foreground-color") - : ((39 < c && c < 48) || - c === 49 || - (99 < c && c < 108)) && - (d = "background-color"), - d - ); - } - p(F, "categoryForCode"); - function I(c, d) { - return d.escapeXML ? s.encodeXML(c) : c; - } - p(I, "pushText"); - function R(c, d, y) { - return ( - y || (y = ""), - c.push(d), - "<".concat(d).concat(y ? ' style="'.concat(y, '"') : "", ">") - ); - } - p(R, "pushTag"); - function T(c, d) { - return R(c, "span", d); - } - p(T, "pushStyle"); - function x(c, d) { - return R(c, "span", "color:" + d); - } - p(x, "pushForegroundColor"); - function P(c, d) { - return R(c, "span", "background-color:" + d); - } - p(P, "pushBackgroundColor"); - function N(c, d) { - var y; - if ((c.slice(-1)[0] === d && (y = c.pop()), y)) return ""; - } - p(N, "closeTag"); - function M(c, d, y) { - var D = !1, - C = 3; - function _() { - return ""; - } - p(_, "remove"); - function B(Z, Y) { - return y("xterm256Foreground", Y), ""; - } - p(B, "removeXterm256Foreground"); - function L(Z, Y) { - return y("xterm256Background", Y), ""; - } - p(L, "removeXterm256Background"); - function k(Z) { - return d.newline ? y("display", -1) : y("text", Z), ""; - } - p(k, "newline"); - function Q(Z, Y) { - (D = !0), - Y.trim().length === 0 && (Y = "0"), - (Y = Y.trimRight(";").split(";")); - var ve = u(Y), - dt; - try { - for (ve.s(); !(dt = ve.n()).done; ) { - var or = dt.value; - y("display", or); - } - } catch (ur) { - ve.e(ur); - } finally { - ve.f(); - } - return ""; - } - p(Q, "ansiMess"); - function re(Z) { - return y("text", Z), ""; - } - p(re, "realText"); - function W(Z) { - return y("rgb", Z), ""; - } - p(W, "rgb"); - var ne = [ - { pattern: /^\x08+/, sub: _ }, - { pattern: /^\x1b\[[012]?K/, sub: _ }, - { pattern: /^\x1b\[\(B/, sub: _ }, - { pattern: /^\x1b\[[34]8;2;\d+;\d+;\d+m/, sub: W }, - { pattern: /^\x1b\[38;5;(\d+)m/, sub: B }, - { pattern: /^\x1b\[48;5;(\d+)m/, sub: L }, - { pattern: /^\n/, sub: k }, - { pattern: /^\r+\n/, sub: k }, - { pattern: /^\r/, sub: k }, - { pattern: /^\x1b\[((?:\d{1,3};?)+|)m/, sub: Q }, - { pattern: /^\x1b\[\d?J/, sub: _ }, - { pattern: /^\x1b\[\d{0,3};\d{0,3}f/, sub: _ }, - { pattern: /^\x1b\[?[\d;]{0,3}/, sub: _ }, - { pattern: /^(([^\x1b\x08\r\n])+)/, sub: re }, - ]; - function U(Z, Y) { - (Y > C && D) || ((D = !1), (c = c.replace(Z.pattern, Z.sub))); - } - p(U, "process"); - var ae = [], - ge = c, - fe = ge.length; - e: for (; fe > 0; ) { - for (var Ce = 0, Ve = 0, pt = ne.length; Ve < pt; Ce = ++Ve) { - var j = ne[Ce]; - if ((U(j, Ce), c.length !== fe)) { - fe = c.length; - continue e; - } - } - if (c.length === fe) break; - ae.push(0), (fe = c.length); - } - return ae; - } - p(M, "tokenize"); - function q(c, d, y) { - return ( - d !== "text" && - ((c = c.filter(O(F(y)))), - c.push({ token: d, data: y, category: F(y) })), - c - ); - } - p(q, "updateStickyStack"); - var $ = (function () { - function c(d) { - r(this, c), - (d = d || {}), - d.colors && (d.colors = Object.assign({}, l.colors, d.colors)), - (this.options = Object.assign({}, l, d)), - (this.stack = []), - (this.stickyStack = []); - } - return ( - p(c, "Filter"), - o(c, [ - { - key: "toHtml", - value: p(function (d) { - var y = this; - d = typeof d == "string" ? [d] : d; - var D = this.stack, - C = this.options, - _ = []; - return ( - this.stickyStack.forEach(function (B) { - var L = w(D, B.token, B.data, C); - L && _.push(L); - }), - M(d.join(""), C, function (B, L) { - var k = w(D, B, L, C); - k && _.push(k), - C.stream && (y.stickyStack = q(y.stickyStack, B, L)); - }), - D.length && _.push(A(D)), - _.join("") - ); - }, "toHtml"), - }, - ]), - c - ); - })(); - e.exports = $; - }), - ce = (() => { - let t; - return ( - typeof window < "u" - ? (t = window) - : typeof globalThis < "u" - ? (t = globalThis) - : typeof window < "u" - ? (t = window) - : typeof self < "u" - ? (t = self) - : (t = {}), - t - ); - })(); - function lu() { - let t = { - setHandler: p(() => {}, "setHandler"), - send: p(() => {}, "send"), - }; - return new ao({ transport: t }); - } - p(lu, "mockChannel"); - var cu = class { - constructor() { - (this.getChannel = p(() => { - if (!this.channel) { - let e = lu(); - return this.setChannel(e), e; - } - return this.channel; - }, "getChannel")), - (this.ready = p(() => this.promise, "ready")), - (this.hasChannel = p(() => !!this.channel, "hasChannel")), - (this.setChannel = p((e) => { - (this.channel = e), this.resolve(); - }, "setChannel")), - (this.promise = new Promise((e) => { - this.resolve = () => e(this.getChannel()); - })); - } - }; - p(cu, "AddonStore"); - var rs = cu, - br = "__STORYBOOK_ADDONS_PREVIEW"; - function pu() { - return ce[br] || (ce[br] = new rs()), ce[br]; - } - p(pu, "getAddonsStore"); - var $e = pu(), - du = class { - constructor() { - (this.hookListsMap = void 0), - (this.mountedDecorators = void 0), - (this.prevMountedDecorators = void 0), - (this.currentHooks = void 0), - (this.nextHookIndex = void 0), - (this.currentPhase = void 0), - (this.currentEffects = void 0), - (this.prevEffects = void 0), - (this.currentDecoratorName = void 0), - (this.hasUpdates = void 0), - (this.currentContext = void 0), - (this.renderListener = p((e) => { - e === this.currentContext?.id && - (this.triggerEffects(), - (this.currentContext = null), - this.removeRenderListeners()); - }, "renderListener")), - this.init(); - } - init() { - (this.hookListsMap = new WeakMap()), - (this.mountedDecorators = new Set()), - (this.prevMountedDecorators = new Set()), - (this.currentHooks = []), - (this.nextHookIndex = 0), - (this.currentPhase = "NONE"), - (this.currentEffects = []), - (this.prevEffects = []), - (this.currentDecoratorName = null), - (this.hasUpdates = !1), - (this.currentContext = null); - } - clean() { - this.prevEffects.forEach((e) => { - e.destroy && e.destroy(); - }), - this.init(), - this.removeRenderListeners(); - } - getNextHook() { - let e = this.currentHooks[this.nextHookIndex]; - return (this.nextHookIndex += 1), e; - } - triggerEffects() { - this.prevEffects.forEach((e) => { - !this.currentEffects.includes(e) && e.destroy && e.destroy(); - }), - this.currentEffects.forEach((e) => { - this.prevEffects.includes(e) || (e.destroy = e.create()); - }), - (this.prevEffects = this.currentEffects), - (this.currentEffects = []); - } - addRenderListeners() { - this.removeRenderListeners(), - $e.getChannel().on(ht, this.renderListener); - } - removeRenderListeners() { - $e.getChannel().removeListener(ht, this.renderListener); - } - }; - p(du, "HooksContext"); - var fu = du; - function Dr(t) { - let e = p((...r) => { - let { hooks: n } = typeof r[0] == "function" ? r[1] : r[0], - o = n.currentPhase, - u = n.currentHooks, - a = n.nextHookIndex, - i = n.currentDecoratorName; - (n.currentDecoratorName = t.name), - n.prevMountedDecorators.has(t) - ? ((n.currentPhase = "UPDATE"), - (n.currentHooks = n.hookListsMap.get(t) || [])) - : ((n.currentPhase = "MOUNT"), - (n.currentHooks = []), - n.hookListsMap.set(t, n.currentHooks), - n.prevMountedDecorators.add(t)), - (n.nextHookIndex = 0); - let s = ce.STORYBOOK_HOOKS_CONTEXT; - ce.STORYBOOK_HOOKS_CONTEXT = n; - let l = t(...r); - if ( - ((ce.STORYBOOK_HOOKS_CONTEXT = s), - n.currentPhase === "UPDATE" && n.getNextHook() != null) - ) - throw new Error( - "Rendered fewer hooks than expected. This may be caused by an accidental early return statement.", - ); - return ( - (n.currentPhase = o), - (n.currentHooks = u), - (n.nextHookIndex = a), - (n.currentDecoratorName = i), - l - ); - }, "hookified"); - return (e.originalFn = t), e; - } - p(Dr, "hookify"); - var Er = 0, - ns = 25, - os = p( - (t) => (e, r) => { - let n = t( - Dr(e), - r.map((o) => Dr(o)), - ); - return (o) => { - let { hooks: u } = o; - (u.prevMountedDecorators ??= new Set()), - (u.mountedDecorators = new Set([e, ...r])), - (u.currentContext = o), - (u.hasUpdates = !1); - let a = n(o); - for (Er = 1; u.hasUpdates; ) - if ( - ((u.hasUpdates = !1), - (u.currentEffects = []), - (a = n(o)), - (Er += 1), - Er > ns) - ) - throw new Error( - "Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.", - ); - return u.addRenderListeners(), a; - }; - }, - "applyHooks", - ), - us = p( - (t, e) => t.length === e.length && t.every((r, n) => r === e[n]), - "areDepsEqual", - ), - zr = p( - () => - new Error( - "Storybook preview hooks can only be called inside decorators and story functions.", - ), - "invalidHooksError", - ); - function Hr() { - return ce.STORYBOOK_HOOKS_CONTEXT || null; - } - p(Hr, "getHooksContextOrNull"); - function Wt() { - let t = Hr(); - if (t == null) throw zr(); - return t; - } - p(Wt, "getHooksContextOrThrow"); - function hu(t, e, r) { - let n = Wt(); - if (n.currentPhase === "MOUNT") { - r != null && - !Array.isArray(r) && - ee.warn( - `${t} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`, - ); - let o = { name: t, deps: r }; - return n.currentHooks.push(o), e(o), o; - } - if (n.currentPhase === "UPDATE") { - let o = n.getNextHook(); - if (o == null) - throw new Error( - "Rendered more hooks than during the previous render.", - ); - return ( - o.name !== t && - ee.warn( - `Storybook has detected a change in the order of Hooks${n.currentDecoratorName ? ` called by ${n.currentDecoratorName}` : ""}. This will lead to bugs and errors if not fixed.`, - ), - r != null && - o.deps == null && - ee.warn( - `${t} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`, - ), - r != null && - o.deps != null && - r.length !== o.deps.length && - ee.warn(`The final argument passed to ${t} changed size between renders. The order and size of this array must remain constant. -Previous: ${o.deps} -Incoming: ${r}`), - (r == null || o.deps == null || !us(r, o.deps)) && - (e(o), (o.deps = r)), - o - ); - } - throw zr(); - } - p(hu, "useHook"); - function At(t, e, r) { - let { memoizedState: n } = hu( - t, - (o) => { - o.memoizedState = e(); - }, - r, - ); - return n; - } - p(At, "useMemoLike"); - function as(t, e) { - return At("useMemo", t, e); - } - p(as, "useMemo"); - function bt(t, e) { - return At("useCallback", () => t, e); - } - p(bt, "useCallback"); - function Ur(t, e) { - return At(t, () => ({ current: e }), []); - } - p(Ur, "useRefLike"); - function is(t) { - return Ur("useRef", t); - } - p(is, "useRef"); - function mu() { - let t = Hr(); - if (t != null && t.currentPhase !== "NONE") t.hasUpdates = !0; - else - try { - $e.getChannel().emit(_t); - } catch { - ee.warn( - "State updates of Storybook preview hooks work only in browser", - ); - } - } - p(mu, "triggerUpdate"); - function Vr(t, e) { - let r = Ur(t, typeof e == "function" ? e() : e), - n = p((o) => { - (r.current = typeof o == "function" ? o(r.current) : o), mu(); - }, "setState"); - return [r.current, n]; - } - p(Vr, "useStateLike"); - function ss(t) { - return Vr("useState", t); - } - p(ss, "useState"); - function ls(t, e, r) { - let n = r != null ? () => r(e) : e, - [o, u] = Vr("useReducer", n); - return [o, p((a) => u((i) => t(i, a)), "dispatch")]; - } - p(ls, "useReducer"); - function gu(t, e) { - let r = Wt(), - n = At("useEffect", () => ({ create: t }), e); - r.currentEffects.includes(n) || r.currentEffects.push(n); - } - p(gu, "useEffect"); - function cs(t, e = []) { - let r = $e.getChannel(); - return ( - gu( - () => ( - Object.entries(t).forEach(([n, o]) => r.on(n, o)), - () => { - Object.entries(t).forEach(([n, o]) => r.removeListener(n, o)); - } - ), - [...Object.keys(t), ...e], - ), - bt(r.emit.bind(r), [r]) - ); - } - p(cs, "useChannel"); - function Yt() { - let { currentContext: t } = Wt(); - if (t == null) throw zr(); - return t; - } - p(Yt, "useStoryContext"); - function ps(t, e) { - let { parameters: r } = Yt(); - if (t) return r[t] ?? e; - } - p(ps, "useParameter"); - function ds() { - let t = $e.getChannel(), - { id: e, args: r } = Yt(), - n = bt((u) => t.emit(jt, { storyId: e, updatedArgs: u }), [t, e]), - o = bt((u) => t.emit(Pt, { storyId: e, argNames: u }), [t, e]); - return [r, n, o]; - } - p(ds, "useArgs"); - function fs() { - let t = $e.getChannel(), - { globals: e } = Yt(), - r = bt((n) => t.emit(kt, { globals: n }), [t]); - return [e, r]; - } - p(fs, "useGlobals"); - var vm = p( - ({ - name: t, - parameterName: e, - wrapper: r, - skipIfNoParametersOrOptions: n = !1, - }) => { - let o = p( - (u) => (a, i) => { - let s = i.parameters && i.parameters[e]; - return (s && s.disable) || (n && !u && !s) - ? a(i) - : r(a, i, { options: u, parameters: s }); - }, - "decorator", - ); - return (...u) => - typeof u[0] == "function" - ? o()(...u) - : (...a) => { - if (a.length > 1) - return u.length > 1 ? o(u)(...a) : o(...u)(...a); - throw new Error(`Passing stories directly into ${t}() is not allowed, - instead use addDecorator(${t}) and pass options with the '${e}' parameter`); - }; - }, - "makeDecorator", - ); - function yu(t, e) { - let r = {}, - n = Object.entries(t); - for (let o = 0; o < n.length; o++) { - let [u, a] = n[o]; - e(a, u) || (r[u] = a); - } - return r; - } - p(yu, "omitBy"); - function bu(t, e) { - let r = {}; - for (let n = 0; n < e.length; n++) { - let o = e[n]; - Object.prototype.hasOwnProperty.call(t, o) && (r[o] = t[o]); - } - return r; - } - p(bu, "pick"); - function Eu(t, e) { - let r = {}, - n = Object.entries(t); - for (let o = 0; o < n.length; o++) { - let [u, a] = n[o]; - e(a, u) && (r[u] = a); - } - return r; - } - p(Eu, "pickBy"); - function Te(t) { - if (typeof t != "object" || t == null) return !1; - if (Object.getPrototypeOf(t) === null) return !0; - if (t.toString() !== "[object Object]") return !1; - let e = t; - for (; Object.getPrototypeOf(e) !== null; ) e = Object.getPrototypeOf(e); - return Object.getPrototypeOf(t) === e; - } - p(Te, "isPlainObject"); - function Ke(t, e) { - let r = {}, - n = Object.keys(t); - for (let o = 0; o < n.length; o++) { - let u = n[o], - a = t[u]; - r[u] = e(a, u, t); - } - return r; - } - p(Ke, "mapValues"); - var hs = "[object RegExp]", - ms = "[object String]", - gs = "[object Number]", - ys = "[object Boolean]", - Vo = "[object Arguments]", - bs = "[object Symbol]", - Es = "[object Date]", - As = "[object Map]", - Ss = "[object Set]", - ws = "[object Array]", - Cs = "[object Function]", - vs = "[object ArrayBuffer]", - Ar = "[object Object]", - Ds = "[object Error]", - xs = "[object DataView]", - Fs = "[object Uint8Array]", - Ts = "[object Uint8ClampedArray]", - Os = "[object Uint16Array]", - Rs = "[object Uint32Array]", - Is = "[object BigUint64Array]", - _s = "[object Int8Array]", - Bs = "[object Int16Array]", - Ps = "[object Int32Array]", - Ls = "[object BigInt64Array]", - Ns = "[object Float32Array]", - ks = "[object Float64Array]"; - function xr(t) { - return Object.getOwnPropertySymbols(t).filter((e) => - Object.prototype.propertyIsEnumerable.call(t, e), - ); - } - p(xr, "getSymbols"); - function Fr(t) { - return t == null - ? t === void 0 - ? "[object Undefined]" - : "[object Null]" - : Object.prototype.toString.call(t); - } - p(Fr, "getTag"); - function Au(t, e) { - if (typeof t == typeof e) - switch (typeof t) { - case "bigint": - case "string": - case "boolean": - case "symbol": - case "undefined": - return t === e; - case "number": - return t === e || Object.is(t, e); - case "function": - return t === e; - case "object": - return Oe(t, e); - } - return Oe(t, e); - } - p(Au, "isEqual"); - function Oe(t, e, r) { - if (Object.is(t, e)) return !0; - let n = Fr(t), - o = Fr(e); - if ((n === Vo && (n = Ar), o === Vo && (o = Ar), n !== o)) return !1; - switch (n) { - case ms: - return t.toString() === e.toString(); - case gs: { - let i = t.valueOf(), - s = e.valueOf(); - return i === s || (Number.isNaN(i) && Number.isNaN(s)); - } - case ys: - case Es: - case bs: - return Object.is(t.valueOf(), e.valueOf()); - case hs: - return t.source === e.source && t.flags === e.flags; - case Cs: - return t === e; - } - r = r ?? new Map(); - let u = r.get(t), - a = r.get(e); - if (u != null && a != null) return u === e; - r.set(t, e), r.set(e, t); - try { - switch (n) { - case As: { - if (t.size !== e.size) return !1; - for (let [i, s] of t.entries()) - if (!e.has(i) || !Oe(s, e.get(i), r)) return !1; - return !0; - } - case Ss: { - if (t.size !== e.size) return !1; - let i = Array.from(t.values()), - s = Array.from(e.values()); - for (let l = 0; l < i.length; l++) { - let h = i[l], - f = s.findIndex((g) => Oe(h, g, r)); - if (f === -1) return !1; - s.splice(f, 1); - } - return !0; - } - case ws: - case Fs: - case Ts: - case Os: - case Rs: - case Is: - case _s: - case Bs: - case Ps: - case Ls: - case Ns: - case ks: { - if ( - (typeof Buffer < "u" && - Buffer.isBuffer(t) !== Buffer.isBuffer(e)) || - t.length !== e.length - ) - return !1; - for (let i = 0; i < t.length; i++) - if (!Oe(t[i], e[i], r)) return !1; - return !0; - } - case vs: - return t.byteLength !== e.byteLength - ? !1 - : Oe(new Uint8Array(t), new Uint8Array(e), r); - case xs: - return t.byteLength !== e.byteLength || - t.byteOffset !== e.byteOffset - ? !1 - : Oe(t.buffer, e.buffer, r); - case Ds: - return t.name === e.name && t.message === e.message; - case Ar: { - if (!(Oe(t.constructor, e.constructor, r) || (Te(t) && Te(e)))) - return !1; - let i = [...Object.keys(t), ...xr(t)], - s = [...Object.keys(e), ...xr(e)]; - if (i.length !== s.length) return !1; - for (let l = 0; l < i.length; l++) { - let h = i[l], - f = t[h]; - if (!Object.prototype.hasOwnProperty.call(e, h)) return !1; - let g = e[h]; - if (!Oe(f, g, r)) return !1; - } - return !0; - } - default: - return !1; - } - } finally { - r.delete(t), r.delete(e); - } - } - p(Oe, "areObjectsEqual"); - var Sr = ot(ou(), 1); - function De(t) { - for (var e = [], r = 1; r < arguments.length; r++) - e[r - 1] = arguments[r]; - var n = Array.from(typeof t == "string" ? [t] : t); - n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, ""); - var o = n.reduce(function (i, s) { - var l = s.match(/\n([\t ]+|(?!\s).)/g); - return l - ? i.concat( - l.map(function (h) { - var f, g; - return (g = - (f = h.match(/[\t ]/g)) === null || f === void 0 - ? void 0 - : f.length) !== null && g !== void 0 - ? g - : 0; - }), - ) - : i; - }, []); - if (o.length) { - var u = new RegExp( - ` -[ ]{` + - Math.min.apply(Math, o) + - "}", - "g", - ); - n = n.map(function (i) { - return i.replace( - u, - ` -`, - ); - }); - } - n[0] = n[0].replace(/^\r?\n/, ""); - var a = n[0]; - return ( - e.forEach(function (i, s) { - var l = a.match(/(?:^|\n)( *)$/), - h = l ? l[1] : "", - f = i; - typeof i == "string" && - i.includes(` -`) && - (f = String(i) - .split( - ` -`, - ) - .map(function (g, b) { - return b === 0 ? g : "" + h + g; - }).join(` -`)), - (a += f + n[s + 1]); - }), - a - ); - } - p(De, "dedent"); - var tt = Symbol("incompatible"), - Tr = p((t, e) => { - let r = e.type; - if (t == null || !r || e.mapping) return t; - switch (r.name) { - case "string": - return String(t); - case "enum": - return t; - case "number": - return Number(t); - case "boolean": - return String(t) === "true"; - case "array": - return !r.value || !Array.isArray(t) - ? tt - : t.reduce((n, o, u) => { - let a = Tr(o, { type: r.value }); - return a !== tt && (n[u] = a), n; - }, new Array(t.length)); - case "object": - return typeof t == "string" || typeof t == "number" - ? t - : !r.value || typeof t != "object" - ? tt - : Object.entries(t).reduce((n, [o, u]) => { - let a = Tr(u, { type: r.value[o] }); - return a === tt ? n : Object.assign(n, { [o]: a }); - }, {}); - default: - return tt; - } - }, "map"), - js = p( - (t, e) => - Object.entries(t).reduce((r, [n, o]) => { - if (!e[n]) return r; - let u = Tr(o, e[n]); - return u === tt ? r : Object.assign(r, { [n]: u }); - }, {}), - "mapArgsToTypes", - ), - Or = p( - (t, e) => - Array.isArray(t) && Array.isArray(e) - ? e - .reduce((r, n, o) => ((r[o] = Or(t[o], e[o])), r), [...t]) - .filter((r) => r !== void 0) - : !Te(t) || !Te(e) - ? e - : Object.keys({ ...t, ...e }).reduce((r, n) => { - if (n in e) { - let o = Or(t[n], e[n]); - o !== void 0 && (r[n] = o); - } else r[n] = t[n]; - return r; - }, {}), - "combineArgs", - ), - Ms = p( - (t, e) => - Object.entries(e).reduce((r, [n, { options: o }]) => { - function u() { - return n in t && (r[n] = t[n]), r; - } - if ((p(u, "allowArg"), !o)) return u(); - if (!Array.isArray(o)) - return ( - ke.error(De` - Invalid argType: '${n}.options' should be an array. - - More info: https://storybook.js.org/docs/api/arg-types - `), - u() - ); - if (o.some((f) => f && ["object", "function"].includes(typeof f))) - return ( - ke.error(De` - Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. - - More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - `), - u() - ); - let a = Array.isArray(t[n]), - i = a && t[n].findIndex((f) => !o.includes(f)), - s = a && i === -1; - if (t[n] === void 0 || o.includes(t[n]) || s) return u(); - let l = a ? `${n}[${i}]` : n, - h = o - .map((f) => (typeof f == "string" ? `'${f}'` : String(f))) - .join(", "); - return ( - ke.warn( - `Received illegal value for '${l}'. Supported options: ${h}`, - ), - r - ); - }, {}), - "validateOptions", - ), - gt = Symbol("Deeply equal"), - Ut = p((t, e) => { - if (typeof t != typeof e) return e; - if (Au(t, e)) return gt; - if (Array.isArray(t) && Array.isArray(e)) { - let r = e.reduce((n, o, u) => { - let a = Ut(t[u], o); - return a !== gt && (n[u] = a), n; - }, new Array(e.length)); - return e.length >= t.length - ? r - : r.concat(new Array(t.length - e.length).fill(void 0)); - } - return Te(t) && Te(e) - ? Object.keys({ ...t, ...e }).reduce((r, n) => { - let o = Ut(t?.[n], e?.[n]); - return o === gt ? r : Object.assign(r, { [n]: o }); - }, {}) - : e; - }, "deepDiff"), - Su = "UNTARGETED"; - function wu({ args: t, argTypes: e }) { - let r = {}; - return ( - Object.entries(t).forEach(([n, o]) => { - let { target: u = Su } = e[n] || {}; - (r[u] = r[u] || {}), (r[u][n] = o); - }), - r - ); - } - p(wu, "groupArgsByTarget"); - function Cu(t) { - return Object.keys(t).forEach((e) => t[e] === void 0 && delete t[e]), t; - } - p(Cu, "deleteUndefined"); - var vu = class { - constructor() { - (this.initialArgsByStoryId = {}), (this.argsByStoryId = {}); - } - get(e) { - if (!(e in this.argsByStoryId)) - throw new Error( - `No args known for ${e} -- has it been rendered yet?`, - ); - return this.argsByStoryId[e]; - } - setInitial(e) { - if (!this.initialArgsByStoryId[e.id]) - (this.initialArgsByStoryId[e.id] = e.initialArgs), - (this.argsByStoryId[e.id] = e.initialArgs); - else if (this.initialArgsByStoryId[e.id] !== e.initialArgs) { - let r = Ut(this.initialArgsByStoryId[e.id], this.argsByStoryId[e.id]); - (this.initialArgsByStoryId[e.id] = e.initialArgs), - (this.argsByStoryId[e.id] = e.initialArgs), - r !== gt && this.updateFromDelta(e, r); - } - } - updateFromDelta(e, r) { - let n = Ms(r, e.argTypes); - this.argsByStoryId[e.id] = Or(this.argsByStoryId[e.id], n); - } - updateFromPersisted(e, r) { - let n = js(r, e.argTypes); - return this.updateFromDelta(e, n); - } - update(e, r) { - if (!(e in this.argsByStoryId)) - throw new Error( - `No args known for ${e} -- has it been rendered yet?`, - ); - this.argsByStoryId[e] = Cu({ ...this.argsByStoryId[e], ...r }); - } - }; - p(vu, "ArgsStore"); - var qs = vu, - Du = p( - (t = {}) => - Object.entries(t).reduce( - (e, [r, { defaultValue: n }]) => (typeof n < "u" && (e[r] = n), e), - {}, - ), - "getValuesFromArgTypes", - ), - xu = class { - constructor({ globals: e = {}, globalTypes: r = {} }) { - this.set({ globals: e, globalTypes: r }); - } - set({ globals: e = {}, globalTypes: r = {} }) { - let n = this.initialGlobals && Ut(this.initialGlobals, this.globals); - this.allowedGlobalNames = new Set([ - ...Object.keys(e), - ...Object.keys(r), - ]); - let o = Du(r); - (this.initialGlobals = { ...o, ...e }), - (this.globals = this.initialGlobals), - n && n !== gt && this.updateFromPersisted(n); - } - filterAllowedGlobals(e) { - return Object.entries(e).reduce( - (r, [n, o]) => ( - this.allowedGlobalNames.has(n) - ? (r[n] = o) - : ee.warn( - `Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`, - ), - r - ), - {}, - ); - } - updateFromPersisted(e) { - let r = this.filterAllowedGlobals(e); - this.globals = { ...this.globals, ...r }; - } - get() { - return this.globals; - } - update(e) { - this.globals = { ...this.globals, ...this.filterAllowedGlobals(e) }; - } - }; - p(xu, "GlobalsStore"); - var $s = xu, - zs = ot(ou(), 1), - Hs = (0, zs.default)(1)((t) => - Object.values(t).reduce( - (e, r) => ((e[r.importPath] = e[r.importPath] || r), e), - {}, - ), - ), - Fu = class { - constructor({ entries: e } = { v: 5, entries: {} }) { - this.entries = e; - } - entryFromSpecifier(e) { - let r = Object.values(this.entries); - if (e === "*") return r[0]; - if (typeof e == "string") - return this.entries[e] - ? this.entries[e] - : r.find((u) => u.id.startsWith(e)); - let { name: n, title: o } = e; - return r.find((u) => u.name === n && u.title === o); - } - storyIdToEntry(e) { - let r = this.entries[e]; - if (!r) throw new co({ storyId: e }); - return r; - } - importPathToEntry(e) { - return Hs(this.entries)[e]; - } - }; - p(Fu, "StoryIndexStore"); - var Us = Fu, - Vs = p((t) => (typeof t == "string" ? { name: t } : t), "normalizeType"), - Gs = p( - (t) => (typeof t == "string" ? { type: t } : t), - "normalizeControl", - ), - Ws = p((t, e) => { - let { type: r, control: n, ...o } = t, - u = { name: e, ...o }; - return ( - r && (u.type = Vs(r)), - n ? (u.control = Gs(n)) : n === !1 && (u.control = { disable: !0 }), - u - ); - }, "normalizeInputType"), - Vt = p((t) => Ke(t, Ws), "normalizeInputTypes"), - se = p((t) => (Array.isArray(t) ? t : t ? [t] : []), "normalizeArrays"), - Ys = De` -CSF .story annotations deprecated; annotate story functions directly: -- StoryFn.story.name => StoryFn.storyName -- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) -See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`; - function Gr(t, e, r) { - let n = e, - o = typeof e == "function" ? e : null, - { story: u } = n; - u && (ee.debug("deprecated story", u), Be(Ys)); - let a = $o(t), - i = (typeof n != "function" && n.name) || n.storyName || u?.name || a, - s = [...se(n.decorators), ...se(u?.decorators)], - l = { ...u?.parameters, ...n.parameters }, - h = { ...u?.args, ...n.args }, - f = { ...u?.argTypes, ...n.argTypes }, - g = [...se(n.loaders), ...se(u?.loaders)], - b = [...se(n.beforeEach), ...se(u?.beforeEach)], - { render: w, play: v, tags: S = [], globals: A = {} } = n, - E = l.__id || qo(r.id, a); - return { - moduleExport: e, - id: E, - name: i, - tags: S, - decorators: s, - parameters: l, - args: h, - argTypes: Vt(f), - loaders: g, - beforeEach: b, - globals: A, - ...(w && { render: w }), - ...(o && { userStoryFn: o }), - ...(v && { play: v }), - }; - } - p(Gr, "normalizeStory"); - function Wr(t, e = t.title, r) { - let { id: n, argTypes: o } = t; - return { - id: yr(n || e), - ...t, - title: e, - ...(o && { argTypes: Vt(o) }), - parameters: { fileName: r, ...t.parameters }, - }; - } - p(Wr, "normalizeComponentAnnotations"); - var Ks = p((t) => { - let { globals: e, globalTypes: r } = t; - (e || r) && - ee.error( - "Global args/argTypes can only be set globally", - JSON.stringify({ globals: e, globalTypes: r }), - ); - }, "checkGlobals"), - Xs = p((t) => { - let { options: e } = t; - e?.storySort && - ee.error("The storySort option parameter can only be set globally"); - }, "checkStorySort"), - Go = p((t) => { - t && (Ks(t), Xs(t)); - }, "checkDisallowedParameters"); - function Tu(t, e, r) { - let { default: n, __namedExportsOrder: o, ...u } = t, - a = Wr(n, r, e); - Go(a.parameters); - let i = { meta: a, stories: {}, moduleExports: t }; - return ( - Object.keys(u).forEach((s) => { - if (qt(s, a)) { - let l = Gr(s, u[s], a); - Go(l.parameters), (i.stories[l.id] = l); - } - }), - i - ); - } - p(Tu, "processCSFFile"); - function Ou(t) { - return t != null && Ru(t).includes("mount"); - } - p(Ou, "mountDestructured"); - function Ru(t) { - let e = t.toString().match(/[^(]*\(([^)]*)/); - if (!e) return []; - let r = Rr(e[1]); - if (!r.length) return []; - let n = r[0]; - return n.startsWith("{") && n.endsWith("}") - ? Rr(n.slice(1, -1).replace(/\s/g, "")).map((o) => - o.replace(/:.*|=.*/g, ""), - ) - : []; - } - p(Ru, "getUsedProps"); - function Rr(t) { - let e = [], - r = [], - n = 0; - for (let u = 0; u < t.length; u++) - if (t[u] === "{" || t[u] === "[") r.push(t[u] === "{" ? "}" : "]"); - else if (t[u] === r[r.length - 1]) r.pop(); - else if (!r.length && t[u] === ",") { - let a = t.substring(n, u).trim(); - a && e.push(a), (n = u + 1); - } - let o = t.substring(n).trim(); - return o && e.push(o), e; - } - p(Rr, "splitByComma"); - function Iu(t, e, r) { - let n = r(t); - return (o) => e(n, o); - } - p(Iu, "decorateStory"); - function _u({ - componentId: t, - title: e, - kind: r, - id: n, - name: o, - story: u, - parameters: a, - initialArgs: i, - argTypes: s, - ...l - } = {}) { - return l; - } - p(_u, "sanitizeStoryContextUpdate"); - function Bu(t, e) { - let r = {}, - n = p( - (u) => (a) => { - if (!r.value) - throw new Error("Decorated function called without init"); - return (r.value = { ...r.value, ..._u(a) }), u(r.value); - }, - "bindWithContext", - ), - o = e.reduce((u, a) => Iu(u, a, n), t); - return (u) => ((r.value = u), o(u)); - } - p(Bu, "defaultDecorateStory"); - var Xe = p((...t) => { - let e = {}, - r = t.filter(Boolean), - n = r.reduce( - (o, u) => ( - Object.entries(u).forEach(([a, i]) => { - let s = o[a]; - Array.isArray(i) || typeof s > "u" - ? (o[a] = i) - : Te(i) && Te(s) - ? (e[a] = !0) - : typeof i < "u" && (o[a] = i); - }), - o - ), - {}, - ); - return ( - Object.keys(e).forEach((o) => { - let u = r - .filter(Boolean) - .map((a) => a[o]) - .filter((a) => typeof a < "u"); - u.every((a) => Te(a)) ? (n[o] = Xe(...u)) : (n[o] = u[u.length - 1]); - }), - n - ); - }, "combineParameters"); - function Yr(t, e, r) { - let { moduleExport: n, id: o, name: u } = t || {}, - a = Kr(t, e, r), - i = p(async (I) => { - let R = {}; - for (let T of [ - ...("__STORYBOOK_TEST_LOADERS__" in ce && - Array.isArray(ce.__STORYBOOK_TEST_LOADERS__) - ? [ce.__STORYBOOK_TEST_LOADERS__] - : []), - se(r.loaders), - se(e.loaders), - se(t.loaders), - ]) { - if (I.abortSignal.aborted) return R; - let x = await Promise.all(T.map((P) => P(I))); - Object.assign(R, ...x); - } - return R; - }, "applyLoaders"), - s = p(async (I) => { - let R = new Array(); - for (let T of [ - ...se(r.beforeEach), - ...se(e.beforeEach), - ...se(t.beforeEach), - ]) { - if (I.abortSignal.aborted) return R; - let x = await T(I); - x && R.push(x); - } - return R; - }, "applyBeforeEach"), - l = p((I) => I.originalStoryFn(I.args, I), "undecoratedStoryFn"), - { applyDecorators: h = Bu, runStep: f } = r, - g = [...se(t?.decorators), ...se(e?.decorators), ...se(r?.decorators)], - b = t?.userStoryFn || t?.render || e.render || r.render, - w = os(h)(l, g), - v = p((I) => w(I), "unboundStoryFn"), - S = t?.play ?? e?.play, - A = Ou(S); - if (!b && !A) throw new Io({ id: o }); - let E = p( - (I) => async () => (await I.renderToCanvas(), I.canvas), - "defaultMount", - ), - O = t.mount ?? e.mount ?? r.mount ?? E, - F = r.testingLibraryRender; - return { - storyGlobals: {}, - ...a, - moduleExport: n, - id: o, - name: u, - story: u, - originalStoryFn: b, - undecoratedStoryFn: l, - unboundStoryFn: v, - applyLoaders: i, - applyBeforeEach: s, - playFunction: S, - runStep: f, - mount: O, - testingLibraryRender: F, - renderToCanvas: r.renderToCanvas, - usesMount: A, - }; - } - p(Yr, "prepareStory"); - function Pu(t, e, r) { - return { ...Kr(void 0, t, e), moduleExport: r }; - } - p(Pu, "prepareMeta"); - function Kr(t, e, r) { - let n = ["dev", "test"], - o = ce.DOCS_OPTIONS?.autodocs === !0 ? ["autodocs"] : [], - u = zo( - ...n, - ...o, - ...(r.tags ?? []), - ...(e.tags ?? []), - ...(t?.tags ?? []), - ), - a = Xe(r.parameters, e.parameters, t?.parameters), - { argTypesEnhancers: i = [], argsEnhancers: s = [] } = r, - l = Xe(r.argTypes, e.argTypes, t?.argTypes); - if (t) { - let A = t?.userStoryFn || t?.render || e.render || r.render; - a.__isArgsStory = A && A.length > 0; - } - let h = { ...r.args, ...e.args, ...t?.args }, - f = { ...e.globals, ...t?.globals }, - g = { - componentId: e.id, - title: e.title, - kind: e.title, - id: t?.id || e.id, - name: t?.name || "__meta", - story: t?.name || "__meta", - component: e.component, - subcomponents: e.subcomponents, - tags: u, - parameters: a, - initialArgs: h, - argTypes: l, - storyGlobals: f, - }; - g.argTypes = i.reduce((A, E) => E({ ...g, argTypes: A }), g.argTypes); - let b = { ...h }; - g.initialArgs = s.reduce( - (A, E) => ({ ...A, ...E({ ...g, initialArgs: A }) }), - b, - ); - let { name: w, story: v, ...S } = g; - return S; - } - p(Kr, "preparePartialAnnotations"); - function Xr(t) { - let { args: e } = t, - r = { ...t, allArgs: void 0, argsByTarget: void 0 }; - if (ce.FEATURES?.argTypeTargetsV7) { - let u = wu(t); - r = { ...t, allArgs: t.args, argsByTarget: u, args: u[Su] || {} }; - } - let n = Object.entries(r.args).reduce((u, [a, i]) => { - if (!r.argTypes[a]?.mapping) return (u[a] = i), u; - let s = p((l) => { - let h = r.argTypes[a].mapping; - return h && l in h ? h[l] : l; - }, "mappingFn"); - return (u[a] = Array.isArray(i) ? i.map(s) : s(i)), u; - }, {}), - o = Object.entries(n).reduce((u, [a, i]) => { - let s = r.argTypes[a] || {}; - return Mo(s, n, r.globals) && (u[a] = i), u; - }, {}); - return { ...r, unmappedArgs: e, args: o }; - } - p(Xr, "prepareContext"); - var Ir = p((t, e, r) => { - let n = typeof t; - switch (n) { - case "boolean": - case "string": - case "number": - case "function": - case "symbol": - return { name: n }; - default: - break; - } - return t - ? r.has(t) - ? (ee.warn(De` - We've detected a cycle in arg '${e}'. Args should be JSON-serializable. - - Consider using the mapping feature or fully custom args: - - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args - `), - { name: "other", value: "cyclic object" }) - : (r.add(t), - Array.isArray(t) - ? { - name: "array", - value: - t.length > 0 - ? Ir(t[0], e, new Set(r)) - : { name: "other", value: "unknown" }, - } - : { name: "object", value: Ke(t, (o) => Ir(o, e, new Set(r))) }) - : { name: "object", value: {} }; - }, "inferType"), - Lu = p((t) => { - let { id: e, argTypes: r = {}, initialArgs: n = {} } = t, - o = Ke(n, (a, i) => ({ - name: i, - type: Ir(a, `${e}.${i}`, new Set()), - })), - u = Ke(r, (a, i) => ({ name: i })); - return Xe(o, u, r); - }, "inferArgTypes"); - Lu.secondPass = !0; - var Wo = p( - (t, e) => (Array.isArray(e) ? e.includes(t) : t.match(e)), - "matches", - ), - Js = p( - (t, e, r) => - !e && !r - ? t - : t && - Eu(t, (n, o) => { - let u = n.name || o.toString(); - return !!(!e || Wo(u, e)) && (!r || !Wo(u, r)); - }), - "filterArgTypes", - ), - Qs = p((t, e, r) => { - let { type: n, options: o } = t; - if (n) { - if (r.color && r.color.test(e)) { - let u = n.name; - if (u === "string") return { control: { type: "color" } }; - u !== "enum" && - ee.warn( - `Addon controls: Control of type color only supports string, received "${u}" instead`, - ); - } - if (r.date && r.date.test(e)) return { control: { type: "date" } }; - switch (n.name) { - case "array": - return { control: { type: "object" } }; - case "boolean": - return { control: { type: "boolean" } }; - case "string": - return { control: { type: "text" } }; - case "number": - return { control: { type: "number" } }; - case "enum": { - let { value: u } = n; - return { - control: { type: u?.length <= 5 ? "radio" : "select" }, - options: u, - }; - } - case "function": - case "symbol": - return null; - default: - return { control: { type: o ? "select" : "object" } }; - } - } - }, "inferControl"), - Nu = p((t) => { - let { - argTypes: e, - parameters: { - __isArgsStory: r, - controls: { - include: n = null, - exclude: o = null, - matchers: u = {}, - } = {}, - }, - } = t; - if (!r) return e; - let a = Js(e, n, o), - i = Ke(a, (s, l) => s?.type && Qs(s, l.toString(), u)); - return Xe(i, a); - }, "inferControls"); - Nu.secondPass = !0; - function Gt({ - argTypes: t, - globalTypes: e, - argTypesEnhancers: r, - decorators: n, - loaders: o, - beforeEach: u, - globals: a, - initialGlobals: i, - ...s - }) { - return ( - a && - Object.keys(a).length > 0 && - Be(De` - The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. - Please use 'initialGlobals' instead. Learn more: - - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals - `), - { - ...(t && { argTypes: Vt(t) }), - ...(e && { globalTypes: Vt(e) }), - decorators: se(n), - loaders: se(o), - beforeEach: se(u), - argTypesEnhancers: [...(r || []), Lu, Nu], - initialGlobals: Xe(i, a), - ...s, - } - ); - } - p(Gt, "normalizeProjectAnnotations"); - var Zs = p( - (t) => async () => { - let e = []; - for (let r of t) { - let n = await r(); - n && e.unshift(n); - } - return async () => { - for (let r of e) await r(); - }; - }, - "composeBeforeAllHooks", - ); - function ku(t) { - return async (e, r, n) => { - await t.reduceRight( - (o, u) => async () => u(e, o, n), - async () => r(n), - )(); - }; - } - p(ku, "composeStepRunners"); - function nt(t, e) { - return t.map((r) => r.default?.[e] ?? r[e]).filter(Boolean); - } - p(nt, "getField"); - function je(t, e, r = {}) { - return nt(t, e).reduce((n, o) => { - let u = se(o); - return r.reverseFileOrder ? [...u, ...n] : [...n, ...u]; - }, []); - } - p(je, "getArrayField"); - function rt(t, e) { - return Object.assign({}, ...nt(t, e)); - } - p(rt, "getObjectField"); - function We(t, e) { - return nt(t, e).pop(); - } - p(We, "getSingletonField"); - function Et(t) { - let e = je(t, "argTypesEnhancers"), - r = nt(t, "runStep"), - n = je(t, "beforeAll"); - return { - parameters: Xe(...nt(t, "parameters")), - decorators: je(t, "decorators", { - reverseFileOrder: !(ce.FEATURES?.legacyDecoratorFileOrder ?? !1), - }), - args: rt(t, "args"), - argsEnhancers: je(t, "argsEnhancers"), - argTypes: rt(t, "argTypes"), - argTypesEnhancers: [ - ...e.filter((o) => !o.secondPass), - ...e.filter((o) => o.secondPass), - ], - globals: rt(t, "globals"), - initialGlobals: rt(t, "initialGlobals"), - globalTypes: rt(t, "globalTypes"), - loaders: je(t, "loaders"), - beforeAll: Zs(n), - beforeEach: je(t, "beforeEach"), - render: We(t, "render"), - renderToCanvas: We(t, "renderToCanvas"), - renderToDOM: We(t, "renderToDOM"), - applyDecorators: We(t, "applyDecorators"), - runStep: ku(r), - tags: je(t, "tags"), - mount: We(t, "mount"), - testingLibraryRender: We(t, "testingLibraryRender"), - }; - } - p(Et, "composeConfigs"); - function el(t) { - globalThis.defaultProjectAnnotations = t; - } - p(el, "setDefaultProjectAnnotations"); - var tl = "ComposedStory", - rl = "Unnamed Story"; - function ju(t) { - return t ? Et([t]) : {}; - } - p(ju, "extractAnnotation"); - function nl(t) { - let e = Array.isArray(t) ? t : [t]; - return ( - (globalThis.globalProjectAnnotations = Et(e.map(ju))), - Et([ - globalThis.defaultProjectAnnotations ?? {}, - globalThis.globalProjectAnnotations ?? {}, - ]) - ); - } - p(nl, "setProjectAnnotations"); - var Me = []; - function Mu(t, e, r, n, o) { - if (t === void 0) - throw new Error("Expected a story but received undefined."); - e.title = e.title ?? tl; - let u = Wr(e), - a = o || t.storyName || t.story?.name || t.name || rl, - i = Gr(a, t, u), - s = Gt( - Et([ - n && Object.keys(n).length > 0 - ? n - : (globalThis.defaultProjectAnnotations ?? {}), - globalThis.globalProjectAnnotations ?? {}, - r ?? {}, - ]), - ), - l = Yr(i, u, s), - h = { ...Du(s.globalTypes), ...s.initialGlobals, ...l.storyGlobals }, - f = p(() => { - let S = Xr({ - hooks: new fu(), - globals: h, - args: { ...l.initialArgs }, - viewMode: "story", - loaded: {}, - abortSignal: new AbortController().signal, - step: p((A, E) => l.runStep(A, E, S), "step"), - canvasElement: null, - canvas: {}, - globalTypes: s.globalTypes, - ...l, - context: null, - mount: null, - }); - return ( - (S.context = S), - l.renderToCanvas && - (S.renderToCanvas = async () => { - let A = await l.renderToCanvas?.( - { - componentId: l.componentId, - title: l.title, - id: l.id, - name: l.name, - tags: l.tags, - showMain: p(() => {}, "showMain"), - showError: p((E) => { - throw new Error(`${E.title} -${E.description}`); - }, "showError"), - showException: p((E) => { - throw E; - }, "showException"), - forceRemount: !0, - storyContext: S, - storyFn: p(() => l.unboundStoryFn(S), "storyFn"), - unboundStoryFn: l.unboundStoryFn, - }, - S.canvasElement, - ); - A && Me.push(A); - }), - (S.mount = l.mount(S)), - S - ); - }, "initializeContext"), - g, - b = p(async (S) => { - let A = f(); - return ( - (A.canvasElement ??= globalThis?.document?.body), - g && (A.loaded = g.loaded), - Object.assign(A, S), - l.playFunction(A) - ); - }, "play"), - w = p((S) => { - let A = f(); - return Object.assign(A, S), qu(l, A); - }, "run"), - v = l.playFunction ? b : void 0; - return Object.assign( - p(function (S) { - let A = f(); - return ( - g && (A.loaded = g.loaded), - (A.args = { ...A.initialArgs, ...S }), - l.unboundStoryFn(A) - ); - }, "storyFn"), - { - id: l.id, - storyName: a, - load: p(async () => { - for (let A of [...Me].reverse()) await A(); - Me.length = 0; - let S = f(); - (S.loaded = await l.applyLoaders(S)), - Me.push(...(await l.applyBeforeEach(S)).filter(Boolean)), - (g = S); - }, "load"), - globals: h, - args: l.initialArgs, - parameters: l.parameters, - argTypes: l.argTypes, - play: v, - run: w, - tags: l.tags, - }, - ); - } - p(Mu, "composeStory"); - var ol = p((t, e, r, n) => Mu(t, e, r, {}, n), "defaultComposeStory"); - function ul(t, e, r = ol) { - let { default: n, __esModule: o, __namedExportsOrder: u, ...a } = t; - return Object.entries(a).reduce( - (i, [s, l]) => - qt(s, n) ? Object.assign(i, { [s]: r(l, n, e, s) }) : i, - {}, - ); - } - p(ul, "composeStories"); - function al(t) { - return t.extend({ - mount: p(async ({ mount: e, page: r }, n) => { - await n(async (o, ...u) => { - if ( - !("__pw_type" in o) || - ("__pw_type" in o && o.__pw_type !== "jsx") - ) - throw new Error(De` - Portable stories in Playwright CT only work when referencing JSX elements. - Please use JSX format for your components such as: - - instead of: - await mount(MyComponent, { props: { foo: 'bar' } }) - - do: - await mount() - - More info: https://storybook.js.org/docs/api/portable-stories-playwright - `); - await r.evaluate(async (i) => { - let s = await globalThis.__pwUnwrapObject?.(i); - return ("__pw_type" in s ? s.type : s)?.load?.(); - }, o); - let a = await e(o, ...u); - return ( - await r.evaluate(async (i) => { - let s = await globalThis.__pwUnwrapObject?.(i), - l = "__pw_type" in s ? s.type : s, - h = document.querySelector("#root"); - return l?.play?.({ canvasElement: h }); - }, o), - a - ); - }); - }, "mount"), - }); - } - p(al, "createPlaywrightTest"); - async function qu(t, e) { - for (let o of [...Me].reverse()) await o(); - if (((Me.length = 0), !e.canvasElement)) { - let o = document.createElement("div"); - globalThis?.document?.body?.appendChild(o), - (e.canvasElement = o), - Me.push(() => { - globalThis?.document?.body?.contains(o) && - globalThis?.document?.body?.removeChild(o); - }); - } - if (((e.loaded = await t.applyLoaders(e)), e.abortSignal.aborted)) return; - Me.push(...(await t.applyBeforeEach(e)).filter(Boolean)); - let r = t.playFunction, - n = t.usesMount; - n || (await e.mount()), - !e.abortSignal.aborted && - r && - (n || - (e.mount = async () => { - throw new Mt({ playFunction: r.toString() }); - }), - await r(e)); - } - p(qu, "runStory"); - function _r(t, e) { - return yu(bu(t, e), (r) => r === void 0); - } - p(_r, "picky"); - var Yo = 1e3, - il = 1e4, - $u = class { - constructor(e, r, n) { - (this.importFn = r), - (this.getStoriesJsonData = p(() => { - let a = this.getSetStoriesPayload(), - i = [ - "fileName", - "docsOnly", - "framework", - "__id", - "__isArgsStory", - ]; - return { - v: 3, - stories: Ke(a.stories, (s) => { - let { importPath: l } = this.storyIndex.entries[s.id]; - return { - ..._r(s, ["id", "name", "title"]), - importPath: l, - kind: s.title, - story: s.name, - parameters: { ..._r(s.parameters, i), fileName: l }, - }; - }), - }; - }, "getStoriesJsonData")), - (this.storyIndex = new Us(e)), - (this.projectAnnotations = Gt(n)); - let { initialGlobals: o, globalTypes: u } = this.projectAnnotations; - (this.args = new qs()), - (this.userGlobals = new $s({ globals: o, globalTypes: u })), - (this.hooks = {}), - (this.cleanupCallbacks = {}), - (this.processCSFFileWithCache = (0, Sr.default)(Yo)(Tu)), - (this.prepareMetaWithCache = (0, Sr.default)(Yo)(Pu)), - (this.prepareStoryWithCache = (0, Sr.default)(il)(Yr)); - } - setProjectAnnotations(e) { - this.projectAnnotations = Gt(e); - let { initialGlobals: r, globalTypes: n } = e; - this.userGlobals.set({ globals: r, globalTypes: n }); - } - async onStoriesChanged({ importFn: e, storyIndex: r }) { - e && (this.importFn = e), - r && (this.storyIndex.entries = r.entries), - this.cachedCSFFiles && (await this.cacheAllCSFFiles()); - } - async storyIdToEntry(e) { - return this.storyIndex.storyIdToEntry(e); - } - async loadCSFFileByStoryId(e) { - let { importPath: r, title: n } = this.storyIndex.storyIdToEntry(e), - o = await this.importFn(r); - return this.processCSFFileWithCache(o, r, n); - } - async loadAllCSFFiles() { - let e = {}; - return ( - Object.entries(this.storyIndex.entries).forEach( - ([r, { importPath: n }]) => { - e[n] = r; - }, - ), - ( - await Promise.all( - Object.entries(e).map(async ([r, n]) => ({ - importPath: r, - csfFile: await this.loadCSFFileByStoryId(n), - })), - ) - ).reduce((r, { importPath: n, csfFile: o }) => ((r[n] = o), r), {}) - ); - } - async cacheAllCSFFiles() { - this.cachedCSFFiles = await this.loadAllCSFFiles(); - } - preparedMetaFromCSFFile({ csfFile: e }) { - let r = e.meta; - return this.prepareMetaWithCache( - r, - this.projectAnnotations, - e.moduleExports.default, - ); - } - async loadStory({ storyId: e }) { - let r = await this.loadCSFFileByStoryId(e); - return this.storyFromCSFFile({ storyId: e, csfFile: r }); - } - storyFromCSFFile({ storyId: e, csfFile: r }) { - let n = r.stories[e]; - if (!n) throw new xo({ storyId: e }); - let o = r.meta, - u = this.prepareStoryWithCache(n, o, this.projectAnnotations); - return ( - this.args.setInitial(u), - (this.hooks[u.id] = this.hooks[u.id] || new fu()), - u - ); - } - componentStoriesFromCSFFile({ csfFile: e }) { - return Object.keys(this.storyIndex.entries) - .filter((r) => !!e.stories[r]) - .map((r) => this.storyFromCSFFile({ storyId: r, csfFile: e })); - } - async loadEntry(e) { - let r = await this.storyIdToEntry(e), - n = r.type === "docs" ? r.storiesImports : [], - [o, ...u] = await Promise.all([ - this.importFn(r.importPath), - ...n.map((a) => { - let i = this.storyIndex.importPathToEntry(a); - return this.loadCSFFileByStoryId(i.id); - }), - ]); - return { entryExports: o, csfFiles: u }; - } - getStoryContext(e, { forceInitialArgs: r = !1 } = {}) { - let n = this.userGlobals.get(), - { initialGlobals: o } = this.userGlobals; - return Xr({ - ...e, - args: r ? e.initialArgs : this.args.get(e.id), - initialGlobals: o, - globalTypes: this.projectAnnotations.globalTypes, - userGlobals: n, - globals: { ...n, ...e.storyGlobals }, - hooks: this.hooks[e.id], - }); - } - addCleanupCallbacks(e, r) { - this.cleanupCallbacks[e.id] = r; - } - async cleanupStory(e) { - this.hooks[e.id].clean(); - let r = this.cleanupCallbacks[e.id]; - if (r) for (let n of [...r].reverse()) await n(); - delete this.cleanupCallbacks[e.id]; - } - extract(e = { includeDocsOnly: !1 }) { - let { cachedCSFFiles: r } = this; - if (!r) throw new fo(); - return Object.entries(this.storyIndex.entries).reduce( - (n, [o, { type: u, importPath: a }]) => { - if (u === "docs") return n; - let i = r[a], - s = this.storyFromCSFFile({ storyId: o, csfFile: i }); - return ( - (!e.includeDocsOnly && s.parameters.docsOnly) || - (n[o] = Object.entries(s).reduce( - (l, [h, f]) => - h === "moduleExport" || typeof f == "function" - ? l - : Array.isArray(f) - ? Object.assign(l, { [h]: f.slice().sort() }) - : Object.assign(l, { [h]: f }), - { args: s.initialArgs }, - )), - n - ); - }, - {}, - ); - } - getSetStoriesPayload() { - let e = this.extract({ includeDocsOnly: !0 }), - r = Object.values(e).reduce( - (n, { title: o }) => ((n[o] = {}), n), - {}, - ); - return { - v: 2, - globals: this.userGlobals.get(), - globalParameters: {}, - kindParameters: r, - stories: e, - }; - } - raw() { - return ( - Be( - "StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead", - ), - Object.values(this.extract()) - .map(({ id: e }) => this.fromId(e)) - .filter(Boolean) - ); - } - fromId(e) { - if ( - (Be( - "StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead", - ), - !this.cachedCSFFiles) - ) - throw new Error( - "Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.", - ); - let r; - try { - ({ importPath: r } = this.storyIndex.storyIdToEntry(e)); - } catch { - return null; - } - let n = this.cachedCSFFiles[r], - o = this.storyFromCSFFile({ storyId: e, csfFile: n }); - return { - ...o, - storyFn: p((u) => { - let a = { - ...this.getStoryContext(o), - abortSignal: new AbortController().signal, - canvasElement: null, - loaded: {}, - step: p((i, s) => o.runStep(i, s, a), "step"), - context: null, - mount: null, - canvas: {}, - viewMode: "story", - }; - return o.unboundStoryFn({ ...a, ...u }); - }, "storyFn"), - }; - } - }; - p($u, "StoryStore"); - var sl = $u; - function zu(t) { - return t.startsWith("\\\\?\\") ? t : t.replace(/\\/g, "/"); - } - p(zu, "slash"); - var ll = p((t) => { - if (t.length === 0) return t; - let e = t[t.length - 1], - r = e?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i, ""); - if (t.length === 1) return [r]; - let n = t[t.length - 2]; - return r && n && r.toLowerCase() === n.toLowerCase() - ? [...t.slice(0, -2), r] - : r && (/^(story|stories)([.][^.]+)$/i.test(e) || /^index$/i.test(r)) - ? t.slice(0, -1) - : [...t.slice(0, -1), r]; - }, "sanitize"); - function Br(t) { - return t - .flatMap((e) => e.split("/")) - .filter(Boolean) - .join("/"); - } - p(Br, "pathJoin"); - var cl = p((t, e, r) => { - let { - directory: n, - importPathMatcher: o, - titlePrefix: u = "", - } = e || {}; - typeof t == "number" && - ke.warn(De` - CSF Auto-title received a numeric fileName. This typically happens when - webpack is mis-configured in production mode. To force webpack to produce - filenames, set optimization.moduleIds = "named" in your webpack config. - `); - let a = zu(String(t)); - if (o.exec(a)) { - if (!r) { - let i = a.replace(n, ""), - s = Br([u, i]).split("/"); - return (s = ll(s)), s.join("/"); - } - return u ? Br([u, r]) : r; - } - }, "userOrAutoTitleFromSpecifier"), - Wm = p((t, e, r) => { - for (let n = 0; n < e.length; n += 1) { - let o = cl(t, e[n], r); - if (o) return o; - } - return r || void 0; - }, "userOrAutoTitle"), - Ko = /\s*\/\s*/, - pl = p( - (t = {}) => - (e, r) => { - if (e.title === r.title && !t.includeNames) return 0; - let n = t.method || "configure", - o = t.order || [], - u = e.title.trim().split(Ko), - a = r.title.trim().split(Ko); - t.includeNames && (u.push(e.name), a.push(r.name)); - let i = 0; - for (; u[i] || a[i]; ) { - if (!u[i]) return -1; - if (!a[i]) return 1; - let s = u[i], - l = a[i]; - if (s !== l) { - let f = o.indexOf(s), - g = o.indexOf(l), - b = o.indexOf("*"); - return f !== -1 || g !== -1 - ? (f === -1 && (b !== -1 ? (f = b) : (f = o.length)), - g === -1 && (b !== -1 ? (g = b) : (g = o.length)), - f - g) - : n === "configure" - ? 0 - : s.localeCompare(l, t.locales ? t.locales : void 0, { - numeric: !0, - sensitivity: "accent", - }); - } - let h = o.indexOf(s); - h === -1 && (h = o.indexOf("*")), - (o = h !== -1 && Array.isArray(o[h + 1]) ? o[h + 1] : []), - (i += 1); - } - return 0; - }, - "storySort", - ), - dl = p((t, e, r) => { - if (e) { - let n; - typeof e == "function" ? (n = e) : (n = pl(e)), t.sort(n); - } else - t.sort((n, o) => r.indexOf(n.importPath) - r.indexOf(o.importPath)); - return t; - }, "sortStoriesCommon"), - Ym = p((t, e, r) => { - try { - return dl(t, e, r); - } catch (n) { - throw new Error(De` - Error sorting stories with sort parameter ${e}: - - > ${n.message} - - Are you using a V6-style sort function in V7 mode? - - More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort - `); - } - }, "sortStoriesV7"), - Kt = new Error("prepareAborted"), - { AbortController: Xo } = globalThis; - function Pr(t) { - try { - let { name: e = "Error", message: r = String(t), stack: n } = t; - return { name: e, message: r, stack: n }; - } catch { - return { name: "Error", message: String(t) }; - } - } - p(Pr, "serializeError"); - var Hu = class { - constructor( - e, - r, - n, - o, - u, - a, - i = { autoplay: !0, forceInitialArgs: !1 }, - s, - ) { - (this.channel = e), - (this.store = r), - (this.renderToScreen = n), - (this.callbacks = o), - (this.id = u), - (this.viewMode = a), - (this.renderOptions = i), - (this.type = "story"), - (this.notYetRendered = !0), - (this.rerenderEnqueued = !1), - (this.disableKeyListeners = !1), - (this.teardownRender = p(() => {}, "teardownRender")), - (this.torndown = !1), - (this.abortController = new Xo()), - s && ((this.story = s), (this.phase = "preparing")); - } - async runPhase(e, r, n) { - (this.phase = r), - this.channel.emit(_e, { newPhase: this.phase, storyId: this.id }), - n && (await n(), this.checkIfAborted(e)); - } - checkIfAborted(e) { - return e.aborted - ? ((this.phase = "aborted"), - this.channel.emit(_e, { newPhase: this.phase, storyId: this.id }), - !0) - : !1; - } - async prepare() { - if ( - (await this.runPhase( - this.abortController.signal, - "preparing", - async () => { - this.story = await this.store.loadStory({ storyId: this.id }); - }, - ), - this.abortController.signal.aborted) - ) - throw (await this.store.cleanupStory(this.story), Kt); - } - isEqual(e) { - return !!(this.id === e.id && this.story && this.story === e.story); - } - isPreparing() { - return ["preparing"].includes(this.phase); - } - isPending() { - return ["loading", "beforeEach", "rendering", "playing"].includes( - this.phase, - ); - } - async renderToElement(e) { - return ( - (this.canvasElement = e), - this.render({ initial: !0, forceRemount: !0 }) - ); - } - storyContext() { - if (!this.story) - throw new Error("Cannot call storyContext before preparing"); - let { forceInitialArgs: e } = this.renderOptions; - return this.store.getStoryContext(this.story, { forceInitialArgs: e }); - } - async render({ initial: e = !1, forceRemount: r = !1 } = {}) { - let { canvasElement: n } = this; - if (!this.story) throw new Error("cannot render when not prepared"); - let o = this.story; - if (!n) throw new Error("cannot render when canvasElement is unset"); - let { - id: u, - componentId: a, - title: i, - name: s, - tags: l, - applyLoaders: h, - applyBeforeEach: f, - unboundStoryFn: g, - playFunction: b, - runStep: w, - } = o; - r && !e && (this.cancelRender(), (this.abortController = new Xo())); - let v = this.abortController.signal, - S = !1, - A = o.usesMount; - try { - let E = { - ...this.storyContext(), - viewMode: this.viewMode, - abortSignal: v, - canvasElement: n, - loaded: {}, - step: p((x, P) => w(x, P, E), "step"), - context: null, - canvas: {}, - renderToCanvas: p(async () => { - let x = await this.renderToScreen(O, n); - (this.teardownRender = x || (() => {})), (S = !0); - }, "renderToCanvas"), - mount: p(async (...x) => { - this.callbacks.showStoryDuringRender?.(); - let P = null; - return ( - await this.runPhase(v, "rendering", async () => { - P = await o.mount(E)(...x); - }), - A && (await this.runPhase(v, "playing")), - P - ); - }, "mount"), - }; - E.context = E; - let O = { - componentId: a, - title: i, - kind: i, - id: u, - name: s, - story: s, - tags: l, - ...this.callbacks, - showError: p( - (x) => ((this.phase = "errored"), this.callbacks.showError(x)), - "showError", - ), - showException: p( - (x) => ( - (this.phase = "errored"), this.callbacks.showException(x) - ), - "showException", - ), - forceRemount: r || this.notYetRendered, - storyContext: E, - storyFn: p(() => g(E), "storyFn"), - unboundStoryFn: g, - }; - if ( - (await this.runPhase(v, "loading", async () => { - E.loaded = await h(E); - }), - v.aborted) - ) - return; - let F = await f(E); - if ( - (this.store.addCleanupCallbacks(o, F), - this.checkIfAborted(v) || - (!S && !A && (await E.mount()), - (this.notYetRendered = !1), - v.aborted)) - ) - return; - let I = - this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors === - !0, - R = new Set(), - T = p((x) => R.add("error" in x ? x.error : x.reason), "onError"); - if ( - this.renderOptions.autoplay && - r && - b && - this.phase !== "errored" - ) { - window.addEventListener("error", T), - window.addEventListener("unhandledrejection", T), - (this.disableKeyListeners = !0); - try { - if ( - (A - ? await b(E) - : ((E.mount = async () => { - throw new Mt({ playFunction: b.toString() }); - }), - await this.runPhase(v, "playing", async () => b(E))), - !S) - ) - throw new Bo(); - this.checkIfAborted(v), - !I && R.size > 0 - ? await this.runPhase(v, "errored") - : await this.runPhase(v, "played"); - } catch (x) { - if ( - (this.callbacks.showStoryDuringRender?.(), - await this.runPhase(v, "errored", async () => { - this.channel.emit(Bt, Pr(x)); - }), - this.story.parameters.throwPlayFunctionExceptions !== !1) - ) - throw x; - console.error(x); - } - if ( - (!I && R.size > 0 && this.channel.emit(Nt, Array.from(R).map(Pr)), - (this.disableKeyListeners = !1), - window.removeEventListener("unhandledrejection", T), - window.removeEventListener("error", T), - v.aborted) - ) - return; - } - await this.runPhase(v, "completed", async () => - this.channel.emit(ht, u), - ); - } catch (E) { - (this.phase = "errored"), this.callbacks.showException(E); - } - this.rerenderEnqueued && ((this.rerenderEnqueued = !1), this.render()); - } - async rerender() { - if (this.isPending() && this.phase !== "playing") - this.rerenderEnqueued = !0; - else return this.render(); - } - async remount() { - return await this.teardown(), this.render({ forceRemount: !0 }); - } - cancelRender() { - this.abortController?.abort(); - } - async teardown() { - (this.torndown = !0), - this.cancelRender(), - this.story && (await this.store.cleanupStory(this.story)); - for (let e = 0; e < 3; e += 1) { - if (!this.isPending()) { - await this.teardownRender(); - return; - } - await new Promise((r) => setTimeout(r, 0)); - } - window.location.reload(), await new Promise(() => {}); - } - }; - p(Hu, "StoryRender"); - var Lr = Hu, - { fetch: fl } = ce, - hl = "./index.json", - Uu = class { - constructor(e, r, n = $e.getChannel(), o = !0) { - (this.importFn = e), - (this.getProjectAnnotations = r), - (this.channel = n), - (this.storyRenders = []), - (this.storeInitializationPromise = new Promise((u, a) => { - (this.resolveStoreInitializationPromise = u), - (this.rejectStoreInitializationPromise = a); - })), - o && this.initialize(); - } - get storyStore() { - return new Proxy( - {}, - { - get: p((e, r) => { - if (this.storyStoreValue) - return ( - Be( - "Accessing the Story Store is deprecated and will be removed in 9.0", - ), - this.storyStoreValue[r] - ); - throw new To(); - }, "get"), - }, - ); - } - async initialize() { - this.setupListeners(); - try { - let e = await this.getProjectAnnotationsOrRenderError(); - await this.runBeforeAllHook(e), - await this.initializeWithProjectAnnotations(e); - } catch (e) { - this.rejectStoreInitializationPromise(e); - } - } - ready() { - return this.storeInitializationPromise; - } - setupListeners() { - this.channel.on(to, this.onStoryIndexChanged.bind(this)), - this.channel.on(kt, this.onUpdateGlobals.bind(this)), - this.channel.on(jt, this.onUpdateArgs.bind(this)), - this.channel.on(Gn, this.onRequestArgTypesInfo.bind(this)), - this.channel.on(Pt, this.onResetArgs.bind(this)), - this.channel.on(_t, this.onForceReRender.bind(this)), - this.channel.on(ft, this.onForceRemount.bind(this)); - } - async getProjectAnnotationsOrRenderError() { - try { - let e = await this.getProjectAnnotations(); - if ( - ((this.renderToCanvas = e.renderToCanvas), !this.renderToCanvas) - ) - throw new mo(); - return e; - } catch (e) { - throw ( - (this.renderPreviewEntryError("Error reading preview.js:", e), e) - ); - } - } - async initializeWithProjectAnnotations(e) { - this.projectAnnotationsBeforeInitialization = e; - try { - let r = await this.getStoryIndexFromServer(); - return this.initializeWithStoryIndex(r); - } catch (r) { - throw ( - (this.renderPreviewEntryError("Error loading story index:", r), r) - ); - } - } - async runBeforeAllHook(e) { - try { - await this.beforeAllCleanup?.(), - (this.beforeAllCleanup = await e.beforeAll?.()); - } catch (r) { - throw ( - (this.renderPreviewEntryError("Error in beforeAll hook:", r), r) - ); - } - } - async getStoryIndexFromServer() { - let e = await fl(hl); - if (e.status === 200) return e.json(); - throw new bo({ text: await e.text() }); - } - initializeWithStoryIndex(e) { - if (!this.projectAnnotationsBeforeInitialization) - throw new Error( - "Cannot call initializeWithStoryIndex until project annotations resolve", - ); - (this.storyStoreValue = new sl( - e, - this.importFn, - this.projectAnnotationsBeforeInitialization, - )), - delete this.projectAnnotationsBeforeInitialization, - this.setInitialGlobals(), - this.resolveStoreInitializationPromise(); - } - async setInitialGlobals() { - this.emitGlobals(); - } - emitGlobals() { - if (!this.storyStoreValue) - throw new be({ methodName: "emitGlobals" }); - let e = { - globals: this.storyStoreValue.userGlobals.get() || {}, - globalTypes: - this.storyStoreValue.projectAnnotations.globalTypes || {}, - }; - this.channel.emit(Jn, e); - } - async onGetProjectAnnotationsChanged({ getProjectAnnotations: e }) { - delete this.previewEntryError, (this.getProjectAnnotations = e); - let r = await this.getProjectAnnotationsOrRenderError(); - if ((await this.runBeforeAllHook(r), !this.storyStoreValue)) { - await this.initializeWithProjectAnnotations(r); - return; - } - this.storyStoreValue.setProjectAnnotations(r), this.emitGlobals(); - } - async onStoryIndexChanged() { - if ( - (delete this.previewEntryError, - !( - !this.storyStoreValue && - !this.projectAnnotationsBeforeInitialization - )) - ) - try { - let e = await this.getStoryIndexFromServer(); - if (this.projectAnnotationsBeforeInitialization) { - this.initializeWithStoryIndex(e); - return; - } - await this.onStoriesChanged({ storyIndex: e }); - } catch (e) { - throw ( - (this.renderPreviewEntryError("Error loading story index:", e), - e) - ); - } - } - async onStoriesChanged({ importFn: e, storyIndex: r }) { - if (!this.storyStoreValue) - throw new be({ methodName: "onStoriesChanged" }); - await this.storyStoreValue.onStoriesChanged({ - importFn: e, - storyIndex: r, - }); - } - async onUpdateGlobals({ globals: e, currentStory: r }) { - if ( - (this.storyStoreValue || (await this.storeInitializationPromise), - !this.storyStoreValue) - ) - throw new be({ methodName: "onUpdateGlobals" }); - if ((this.storyStoreValue.userGlobals.update(e), r)) { - let { - initialGlobals: n, - storyGlobals: o, - userGlobals: u, - globals: a, - } = this.storyStoreValue.getStoryContext(r); - this.channel.emit(et, { - initialGlobals: n, - userGlobals: u, - storyGlobals: o, - globals: a, - }); - } else { - let { initialGlobals: n, globals: o } = - this.storyStoreValue.userGlobals; - this.channel.emit(et, { - initialGlobals: n, - userGlobals: o, - storyGlobals: {}, - globals: o, - }); - } - await Promise.all(this.storyRenders.map((n) => n.rerender())); - } - async onUpdateArgs({ storyId: e, updatedArgs: r }) { - if (!this.storyStoreValue) - throw new be({ methodName: "onUpdateArgs" }); - this.storyStoreValue.args.update(e, r), - await Promise.all( - this.storyRenders - .filter((n) => n.id === e && !n.renderOptions.forceInitialArgs) - .map((n) => - n.story && n.story.usesMount ? n.remount() : n.rerender(), - ), - ), - this.channel.emit(Qn, { - storyId: e, - args: this.storyStoreValue.args.get(e), - }); - } - async onRequestArgTypesInfo({ id: e, payload: r }) { - try { - await this.storeInitializationPromise; - let n = await this.storyStoreValue?.loadStory(r); - this.channel.emit(dr, { - id: e, - success: !0, - payload: { argTypes: n?.argTypes || {} }, - error: null, - }); - } catch (n) { - this.channel.emit(dr, { id: e, success: !1, error: n?.message }); - } - } - async onResetArgs({ storyId: e, argNames: r }) { - if (!this.storyStoreValue) - throw new be({ methodName: "onResetArgs" }); - let n = - this.storyRenders.find((u) => u.id === e)?.story || - (await this.storyStoreValue.loadStory({ storyId: e })), - o = ( - r || [ - ...new Set([ - ...Object.keys(n.initialArgs), - ...Object.keys(this.storyStoreValue.args.get(e)), - ]), - ] - ).reduce((u, a) => ((u[a] = n.initialArgs[a]), u), {}); - await this.onUpdateArgs({ storyId: e, updatedArgs: o }); - } - async onForceReRender() { - await Promise.all(this.storyRenders.map((e) => e.rerender())); - } - async onForceRemount({ storyId: e }) { - await Promise.all( - this.storyRenders.filter((r) => r.id === e).map((r) => r.remount()), - ); - } - renderStoryToElement(e, r, n, o) { - if (!this.renderToCanvas || !this.storyStoreValue) - throw new be({ methodName: "renderStoryToElement" }); - let u = new Lr( - this.channel, - this.storyStoreValue, - this.renderToCanvas, - n, - e.id, - "docs", - o, - e, - ); - return ( - u.renderToElement(r), - this.storyRenders.push(u), - async () => { - await this.teardownRender(u); - } - ); - } - async teardownRender(e, { viewModeChanged: r } = {}) { - (this.storyRenders = this.storyRenders.filter((n) => n !== e)), - await e?.teardown?.({ viewModeChanged: r }); - } - async loadStory({ storyId: e }) { - if (!this.storyStoreValue) throw new be({ methodName: "loadStory" }); - return this.storyStoreValue.loadStory({ storyId: e }); - } - getStoryContext(e, { forceInitialArgs: r = !1 } = {}) { - if (!this.storyStoreValue) - throw new be({ methodName: "getStoryContext" }); - return this.storyStoreValue.getStoryContext(e, { - forceInitialArgs: r, - }); - } - async extract(e) { - if (!this.storyStoreValue) throw new be({ methodName: "extract" }); - if (this.previewEntryError) throw this.previewEntryError; - return ( - await this.storyStoreValue.cacheAllCSFFiles(), - this.storyStoreValue.extract(e) - ); - } - renderPreviewEntryError(e, r) { - (this.previewEntryError = r), - ee.error(e), - ee.error(r), - this.channel.emit(Wn, r); - } - }; - p(Uu, "Preview"); - var ml = Uu, - gl = !1, - wr = "Invariant failed"; - function zt(t, e) { - if (!t) { - if (gl) throw new Error(wr); - var r = typeof e == "function" ? e() : e, - n = r ? "".concat(wr, ": ").concat(r) : wr; - throw new Error(n); - } - } - p(zt, "invariant"); - var Vu = class { - constructor(e, r, n, o) { - (this.channel = e), - (this.store = r), - (this.renderStoryToElement = n), - (this.storyIdByName = p((u) => { - let a = this.nameToStoryId.get(u); - if (a) return a; - throw new Error(`No story found with that name: ${u}`); - }, "storyIdByName")), - (this.componentStories = p( - () => this.componentStoriesValue, - "componentStories", - )), - (this.componentStoriesFromCSFFile = p( - (u) => this.store.componentStoriesFromCSFFile({ csfFile: u }), - "componentStoriesFromCSFFile", - )), - (this.storyById = p((u) => { - if (!u) { - if (!this.primaryStory) - throw new Error( - "No primary story defined for docs entry. Did you forget to use ``?", - ); - return this.primaryStory; - } - let a = this.storyIdToCSFFile.get(u); - if (!a) - throw new Error( - `Called \`storyById\` for story that was never loaded: ${u}`, - ); - return this.store.storyFromCSFFile({ storyId: u, csfFile: a }); - }, "storyById")), - (this.getStoryContext = p( - (u) => ({ - ...this.store.getStoryContext(u), - loaded: {}, - viewMode: "docs", - }), - "getStoryContext", - )), - (this.loadStory = p( - (u) => this.store.loadStory({ storyId: u }), - "loadStory", - )), - (this.componentStoriesValue = []), - (this.storyIdToCSFFile = new Map()), - (this.exportToStory = new Map()), - (this.exportsToCSFFile = new Map()), - (this.nameToStoryId = new Map()), - (this.attachedCSFFiles = new Set()), - o.forEach((u, a) => { - this.referenceCSFFile(u); - }); - } - referenceCSFFile(e) { - this.exportsToCSFFile.set(e.moduleExports, e), - this.exportsToCSFFile.set(e.moduleExports.default, e), - this.store - .componentStoriesFromCSFFile({ csfFile: e }) - .forEach((r) => { - let n = e.stories[r.id]; - this.storyIdToCSFFile.set(n.id, e), - this.exportToStory.set(n.moduleExport, r); - }); - } - attachCSFFile(e) { - if (!this.exportsToCSFFile.has(e.moduleExports)) - throw new Error( - "Cannot attach a CSF file that has not been referenced", - ); - this.attachedCSFFiles.has(e) || - (this.attachedCSFFiles.add(e), - this.store - .componentStoriesFromCSFFile({ csfFile: e }) - .forEach((r) => { - this.nameToStoryId.set(r.name, r.id), - this.componentStoriesValue.push(r), - this.primaryStory || (this.primaryStory = r); - })); - } - referenceMeta(e, r) { - let n = this.resolveModuleExport(e); - if (n.type !== "meta") - throw new Error( - " must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?", - ); - r && this.attachCSFFile(n.csfFile); - } - get projectAnnotations() { - let { projectAnnotations: e } = this.store; - if (!e) - throw new Error( - "Can't get projectAnnotations from DocsContext before they are initialized", - ); - return e; - } - resolveAttachedModuleExportType(e) { - if (e === "story") { - if (!this.primaryStory) - throw new Error( - "No primary story attached to this docs file, did you forget to use ?", - ); - return { type: "story", story: this.primaryStory }; - } - if (this.attachedCSFFiles.size === 0) - throw new Error( - "No CSF file attached to this docs file, did you forget to use ?", - ); - let r = Array.from(this.attachedCSFFiles)[0]; - if (e === "meta") return { type: "meta", csfFile: r }; - let { component: n } = r.meta; - if (!n) - throw new Error( - "Attached CSF file does not defined a component, did you forget to export one?", - ); - return { type: "component", component: n }; - } - resolveModuleExport(e) { - let r = this.exportsToCSFFile.get(e); - if (r) return { type: "meta", csfFile: r }; - let n = this.exportToStory.get(e); - return n - ? { type: "story", story: n } - : { type: "component", component: e }; - } - resolveOf(e, r = []) { - let n; - if (["component", "meta", "story"].includes(e)) { - let o = e; - n = this.resolveAttachedModuleExportType(o); - } else n = this.resolveModuleExport(e); - if (r.length && !r.includes(n.type)) { - let o = n.type === "component" ? "component or unknown" : n.type; - throw new Error(De`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. - - Did you pass a component to the 'of' prop when the block only supports a story or a meta? - - ... or vice versa? - - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`); - } - switch (n.type) { - case "component": - return { ...n, projectAnnotations: this.projectAnnotations }; - case "meta": - return { - ...n, - preparedMeta: this.store.preparedMetaFromCSFFile({ - csfFile: n.csfFile, - }), - }; - case "story": - default: - return n; - } - } - }; - p(Vu, "DocsContext"); - var Gu = Vu, - Wu = class { - constructor(e, r, n, o) { - (this.channel = e), - (this.store = r), - (this.entry = n), - (this.callbacks = o), - (this.type = "docs"), - (this.subtype = "csf"), - (this.torndown = !1), - (this.disableKeyListeners = !1), - (this.preparing = !1), - (this.id = n.id); - } - isPreparing() { - return this.preparing; - } - async prepare() { - this.preparing = !0; - let { entryExports: e, csfFiles: r = [] } = - await this.store.loadEntry(this.id); - if (this.torndown) throw Kt; - let { importPath: n, title: o } = this.entry, - u = this.store.processCSFFileWithCache(e, n, o), - a = Object.keys(u.stories)[0]; - (this.story = this.store.storyFromCSFFile({ - storyId: a, - csfFile: u, - })), - (this.csfFiles = [u, ...r]), - (this.preparing = !1); - } - isEqual(e) { - return !!(this.id === e.id && this.story && this.story === e.story); - } - docsContext(e) { - if (!this.csfFiles) - throw new Error("Cannot render docs before preparing"); - let r = new Gu(this.channel, this.store, e, this.csfFiles); - return this.csfFiles.forEach((n) => r.attachCSFFile(n)), r; - } - async renderToElement(e, r) { - if (!this.story || !this.csfFiles) - throw new Error("Cannot render docs before preparing"); - let n = this.docsContext(r), - { docs: o } = this.story.parameters || {}; - if (!o) - throw new Error( - "Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed", - ); - let u = await o.renderer(), - { render: a } = u, - i = p(async () => { - try { - await a(n, o, e), this.channel.emit(It, this.id); - } catch (s) { - this.callbacks.showException(s); - } - }, "renderDocs"); - return ( - (this.rerender = async () => i()), - (this.teardownRender = async ({ viewModeChanged: s }) => { - !s || !e || u.unmount(e); - }), - i() - ); - } - async teardown({ viewModeChanged: e } = {}) { - this.teardownRender?.({ viewModeChanged: e }), (this.torndown = !0); - } - }; - p(Wu, "CsfDocsRender"); - var Jo = Wu, - Yu = class { - constructor(e, r, n, o) { - (this.channel = e), - (this.store = r), - (this.entry = n), - (this.callbacks = o), - (this.type = "docs"), - (this.subtype = "mdx"), - (this.torndown = !1), - (this.disableKeyListeners = !1), - (this.preparing = !1), - (this.id = n.id); - } - isPreparing() { - return this.preparing; - } - async prepare() { - this.preparing = !0; - let { entryExports: e, csfFiles: r = [] } = - await this.store.loadEntry(this.id); - if (this.torndown) throw Kt; - (this.csfFiles = r), (this.exports = e), (this.preparing = !1); - } - isEqual(e) { - return !!( - this.id === e.id && - this.exports && - this.exports === e.exports - ); - } - docsContext(e) { - if (!this.csfFiles) - throw new Error("Cannot render docs before preparing"); - return new Gu(this.channel, this.store, e, this.csfFiles); - } - async renderToElement(e, r) { - if (!this.exports || !this.csfFiles || !this.store.projectAnnotations) - throw new Error("Cannot render docs before preparing"); - let n = this.docsContext(r), - { docs: o } = this.store.projectAnnotations.parameters || {}; - if (!o) - throw new Error( - "Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed", - ); - let u = { ...o, page: this.exports.default }, - a = await o.renderer(), - { render: i } = a, - s = p(async () => { - try { - await i(n, u, e), this.channel.emit(It, this.id); - } catch (l) { - this.callbacks.showException(l); - } - }, "renderDocs"); - return ( - (this.rerender = async () => s()), - (this.teardownRender = async ({ viewModeChanged: l } = {}) => { - !l || !e || (a.unmount(e), (this.torndown = !0)); - }), - s() - ); - } - async teardown({ viewModeChanged: e } = {}) { - this.teardownRender?.({ viewModeChanged: e }), (this.torndown = !0); - } - }; - p(Yu, "MdxDocsRender"); - var Qo = Yu, - yl = globalThis; - function Ku(t) { - let e = (t.composedPath && t.composedPath()[0]) || t.target; - return ( - /input|textarea/i.test(e.tagName) || - e.getAttribute("contenteditable") !== null - ); - } - p(Ku, "focusInInput"); - var Xu = "attached-mdx", - bl = "unattached-mdx"; - function Ju({ tags: t }) { - return t?.includes(bl) || t?.includes(Xu); - } - p(Ju, "isMdxEntry"); - function Ht(t) { - return t.type === "story"; - } - p(Ht, "isStoryRender"); - function Qu(t) { - return t.type === "docs"; - } - p(Qu, "isDocsRender"); - function Zu(t) { - return Qu(t) && t.subtype === "csf"; - } - p(Zu, "isCsfDocsRender"); - var ea = class extends ml { - constructor(e, r, n, o) { - super(e, r, void 0, !1), - (this.importFn = e), - (this.getProjectAnnotations = r), - (this.selectionStore = n), - (this.view = o), - this.initialize(); - } - setupListeners() { - super.setupListeners(), - (yl.onkeydown = this.onKeydown.bind(this)), - this.channel.on(hr, this.onSetCurrentStory.bind(this)), - this.channel.on(uo, this.onUpdateQueryParams.bind(this)), - this.channel.on(Kn, this.onPreloadStories.bind(this)); - } - async setInitialGlobals() { - if (!this.storyStoreValue) - throw new be({ methodName: "setInitialGlobals" }); - let { globals: e } = this.selectionStore.selectionSpecifier || {}; - e && this.storyStoreValue.userGlobals.updateFromPersisted(e), - this.emitGlobals(); - } - async initializeWithStoryIndex(e) { - return ( - await super.initializeWithStoryIndex(e), this.selectSpecifiedStory() - ); - } - async selectSpecifiedStory() { - if (!this.storyStoreValue) - throw new be({ methodName: "selectSpecifiedStory" }); - if (this.selectionStore.selection) { - await this.renderSelection(); - return; - } - if (!this.selectionStore.selectionSpecifier) { - this.renderMissingStory(); - return; - } - let { storySpecifier: e, args: r } = - this.selectionStore.selectionSpecifier, - n = this.storyStoreValue.storyIndex.entryFromSpecifier(e); - if (!n) { - e === "*" - ? this.renderStoryLoadingException(e, new wo()) - : this.renderStoryLoadingException( - e, - new vo({ storySpecifier: e.toString() }), - ); - return; - } - let { id: o, type: u } = n; - this.selectionStore.setSelection({ storyId: o, viewMode: u }), - this.channel.emit(no, this.selectionStore.selection), - this.channel.emit(fr, this.selectionStore.selection), - await this.renderSelection({ persistedArgs: r }); - } - async onGetProjectAnnotationsChanged({ getProjectAnnotations: e }) { - await super.onGetProjectAnnotationsChanged({ - getProjectAnnotations: e, - }), - this.selectionStore.selection && this.renderSelection(); - } - async onStoriesChanged({ importFn: e, storyIndex: r }) { - await super.onStoriesChanged({ importFn: e, storyIndex: r }), - this.selectionStore.selection - ? await this.renderSelection() - : await this.selectSpecifiedStory(); - } - onKeydown(e) { - if (!this.storyRenders.find((r) => r.disableKeyListeners) && !Ku(e)) { - let { - altKey: r, - ctrlKey: n, - metaKey: o, - shiftKey: u, - key: a, - code: i, - keyCode: s, - } = e; - this.channel.emit(Xn, { - event: { - altKey: r, - ctrlKey: n, - metaKey: o, - shiftKey: u, - key: a, - code: i, - keyCode: s, - }, - }); - } - } - async onSetCurrentStory(e) { - this.selectionStore.setSelection({ viewMode: "story", ...e }), - await this.storeInitializationPromise, - this.channel.emit(fr, this.selectionStore.selection), - this.renderSelection(); - } - onUpdateQueryParams(e) { - this.selectionStore.setQueryParams(e); - } - async onUpdateGlobals({ globals: e }) { - let r = - (this.currentRender instanceof Lr && this.currentRender.story) || - void 0; - super.onUpdateGlobals({ globals: e, currentStory: r }), - (this.currentRender instanceof Qo || - this.currentRender instanceof Jo) && - (await this.currentRender.rerender?.()); - } - async onUpdateArgs({ storyId: e, updatedArgs: r }) { - super.onUpdateArgs({ storyId: e, updatedArgs: r }); - } - async onPreloadStories({ ids: e }) { - await this.storeInitializationPromise, - this.storyStoreValue && - (await Promise.allSettled( - e.map((r) => this.storyStoreValue?.loadEntry(r)), - )); - } - async renderSelection({ persistedArgs: e } = {}) { - let { renderToCanvas: r } = this; - if (!this.storyStoreValue || !r) - throw new be({ methodName: "renderSelection" }); - let { selection: n } = this.selectionStore; - if (!n) - throw new Error( - "Cannot call renderSelection as no selection was made", - ); - let { storyId: o } = n, - u; - try { - u = await this.storyStoreValue.storyIdToEntry(o); - } catch (g) { - this.currentRender && (await this.teardownRender(this.currentRender)), - this.renderStoryLoadingException(o, g); - return; - } - let a = this.currentSelection?.storyId !== o, - i = this.currentRender?.type !== u.type; - u.type === "story" - ? this.view.showPreparingStory({ immediate: i }) - : this.view.showPreparingDocs({ immediate: i }), - this.currentRender?.isPreparing() && - (await this.teardownRender(this.currentRender)); - let s; - u.type === "story" - ? (s = new Lr( - this.channel, - this.storyStoreValue, - r, - this.mainStoryCallbacks(o), - o, - "story", - )) - : Ju(u) - ? (s = new Qo( - this.channel, - this.storyStoreValue, - u, - this.mainStoryCallbacks(o), - )) - : (s = new Jo( - this.channel, - this.storyStoreValue, - u, - this.mainStoryCallbacks(o), - )); - let l = this.currentSelection; - this.currentSelection = n; - let h = this.currentRender; - this.currentRender = s; - try { - await s.prepare(); - } catch (g) { - h && (await this.teardownRender(h)), - g !== Kt && this.renderStoryLoadingException(o, g); - return; - } - let f = !a && h && !s.isEqual(h); - if ( - (e && - Ht(s) && - (zt(!!s.story), - this.storyStoreValue.args.updateFromPersisted(s.story, e)), - h && !h.torndown && !a && !f && !i) - ) { - (this.currentRender = h), - this.channel.emit(oo, o), - this.view.showMain(); - return; - } - if ( - (h && (await this.teardownRender(h, { viewModeChanged: i })), - l && (a || i) && this.channel.emit(Zn, o), - Ht(s)) - ) { - zt(!!s.story); - let { - parameters: g, - initialArgs: b, - argTypes: w, - unmappedArgs: v, - initialGlobals: S, - userGlobals: A, - storyGlobals: E, - globals: O, - } = this.storyStoreValue.getStoryContext(s.story); - this.channel.emit(ro, { - id: o, - parameters: g, - initialArgs: b, - argTypes: w, - args: v, - }), - this.channel.emit(et, { - userGlobals: A, - storyGlobals: E, - globals: O, - initialGlobals: S, - }); - } else { - let { parameters: g } = this.storyStoreValue.projectAnnotations, - { initialGlobals: b, globals: w } = - this.storyStoreValue.userGlobals; - if ( - (this.channel.emit(et, { - globals: w, - initialGlobals: b, - storyGlobals: {}, - userGlobals: w, - }), - Zu(s) || s.entry.tags?.includes(Xu)) - ) { - if (!s.csfFiles) throw new Ao({ storyId: o }); - ({ parameters: g } = this.storyStoreValue.preparedMetaFromCSFFile({ - csfFile: s.csfFiles[0], - })); - } - this.channel.emit(Yn, { id: o, parameters: g }); - } - Ht(s) - ? (zt(!!s.story), - this.storyRenders.push(s), - this.currentRender.renderToElement( - this.view.prepareForStory(s.story), - )) - : this.currentRender.renderToElement( - this.view.prepareForDocs(), - this.renderStoryToElement.bind(this), - ); - } - async teardownRender(e, { viewModeChanged: r = !1 } = {}) { - (this.storyRenders = this.storyRenders.filter((n) => n !== e)), - await e?.teardown?.({ viewModeChanged: r }); - } - mainStoryCallbacks(e) { - return { - showStoryDuringRender: p( - () => this.view.showStoryDuringRender(), - "showStoryDuringRender", - ), - showMain: p(() => this.view.showMain(), "showMain"), - showError: p((r) => this.renderError(e, r), "showError"), - showException: p((r) => this.renderException(e, r), "showException"), - }; - } - renderPreviewEntryError(e, r) { - super.renderPreviewEntryError(e, r), this.view.showErrorDisplay(r); - } - renderMissingStory() { - this.view.showNoPreview(), this.channel.emit(mr); - } - renderStoryLoadingException(e, r) { - ee.error(r), this.view.showErrorDisplay(r), this.channel.emit(mr, e); - } - renderException(e, r) { - let { name: n = "Error", message: o = String(r), stack: u } = r; - this.channel.emit(Lt, { name: n, message: o, stack: u }), - this.channel.emit(_e, { newPhase: "errored", storyId: e }), - this.view.showErrorDisplay(r), - ee.error(`Error rendering story '${e}':`), - ee.error(r); - } - renderError(e, { title: r, description: n }) { - ee.error(`Error rendering story ${r}: ${n}`), - this.channel.emit(eo, { title: r, description: n }), - this.channel.emit(_e, { newPhase: "errored", storyId: e }), - this.view.showErrorDisplay({ message: r, stack: n }); - } - }; - p(ea, "PreviewWithSelection"); - var El = ea, - Nr = ot($r(), 1), - Al = ot($r(), 1), - Zo = /^[a-zA-Z0-9 _-]*$/, - ta = /^-?[0-9]+(\.[0-9]+)?$/, - Sl = /^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i, - ra = - /^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i, - kr = p( - (t = "", e) => - t === null || t === "" || !Zo.test(t) - ? !1 - : e == null || - e instanceof Date || - typeof e == "number" || - typeof e == "boolean" - ? !0 - : typeof e == "string" - ? Zo.test(e) || ta.test(e) || Sl.test(e) || ra.test(e) - : Array.isArray(e) - ? e.every((r) => kr(t, r)) - : Te(e) - ? Object.entries(e).every(([r, n]) => kr(r, n)) - : !1, - "validateArgs", - ), - wl = { - delimiter: ";", - nesting: !0, - arrayRepeat: !0, - arrayRepeatSyntax: "bracket", - nestingSyntax: "js", - valueDeserializer(t) { - if (t.startsWith("!")) { - if (t === "!undefined") return; - if (t === "!null") return null; - if (t === "!true") return !0; - if (t === "!false") return !1; - if (t.startsWith("!date(") && t.endsWith(")")) - return new Date(t.replaceAll(" ", "+").slice(6, -1)); - if (t.startsWith("!hex(") && t.endsWith(")")) - return `#${t.slice(5, -1)}`; - let e = t.slice(1).match(ra); - if (e) - return t.startsWith("!rgba") || t.startsWith("!RGBA") - ? `${e[1]}(${e[2]}, ${e[3]}, ${e[4]}, ${e[5]})` - : t.startsWith("!hsla") || t.startsWith("!HSLA") - ? `${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%, ${e[5]})` - : t.startsWith("!rgb") || t.startsWith("!RGB") - ? `${e[1]}(${e[2]}, ${e[3]}, ${e[4]})` - : `${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%)`; - } - return ta.test(t) ? Number(t) : t; - }, - }, - eu = p((t) => { - let e = t.split(";").map((r) => r.replace("=", "~").replace(":", "=")); - return Object.entries((0, Al.parse)(e.join(";"), wl)).reduce( - (r, [n, o]) => - kr(n, o) - ? Object.assign(r, { [n]: o }) - : (ke.warn(De` - Omitted potentially unsafe URL args. - - More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url - `), - r), - {}, - ); - }, "parseArgsParam"), - { history: na, document: qe } = ce; - function oa(t) { - let e = (t || "").match(/^\/story\/(.+)/); - if (!e) - throw new Error(`Invalid path '${t}', must start with '/story/'`); - return e[1]; - } - p(oa, "pathToId"); - var ua = p(({ selection: t, extraParams: e }) => { - let r = qe?.location.search.slice(1), - { - path: n, - selectedKind: o, - selectedStory: u, - ...a - } = (0, Nr.parse)(r); - return `?${(0, Nr.stringify)({ ...a, ...e, ...(t && { id: t.storyId, viewMode: t.viewMode }) })}`; - }, "getQueryString"), - Cl = p((t) => { - if (!t) return; - let e = ua({ selection: t }), - { hash: r = "" } = qe.location; - (qe.title = t.storyId), - na.replaceState({}, "", `${qe.location.pathname}${e}${r}`); - }, "setPath"), - vl = p( - (t) => t != null && typeof t == "object" && Array.isArray(t) === !1, - "isObject", - ), - yt = p((t) => { - if (t !== void 0) { - if (typeof t == "string") return t; - if (Array.isArray(t)) return yt(t[0]); - if (vl(t)) return yt(Object.values(t).filter(Boolean)); - } - }, "getFirstString"), - Dl = p(() => { - if (typeof qe < "u") { - let t = qe.location.search.slice(1), - e = (0, Nr.parse)(t), - r = typeof e.args == "string" ? eu(e.args) : void 0, - n = typeof e.globals == "string" ? eu(e.globals) : void 0, - o = yt(e.viewMode); - (typeof o != "string" || !o.match(/docs|story/)) && (o = "story"); - let u = yt(e.path), - a = u ? oa(u) : yt(e.id); - if (a) return { storySpecifier: a, args: r, globals: n, viewMode: o }; - } - return null; - }, "getSelectionSpecifierFromPath"), - aa = class { - constructor() { - this.selectionSpecifier = Dl(); - } - setSelection(e) { - (this.selection = e), Cl(this.selection); - } - setQueryParams(e) { - let r = ua({ extraParams: e }), - { hash: n = "" } = qe.location; - na.replaceState({}, "", `${qe.location.pathname}${r}${n}`); - } - }; - p(aa, "UrlStore"); - var xl = aa, - Fl = ot(ts(), 1), - Tl = ot($r(), 1), - { document: he } = ce, - tu = 100, - ia = ((t) => ( - (t.MAIN = "MAIN"), - (t.NOPREVIEW = "NOPREVIEW"), - (t.PREPARING_STORY = "PREPARING_STORY"), - (t.PREPARING_DOCS = "PREPARING_DOCS"), - (t.ERROR = "ERROR"), - t - ))(ia || {}), - Cr = { - PREPARING_STORY: "sb-show-preparing-story", - PREPARING_DOCS: "sb-show-preparing-docs", - MAIN: "sb-show-main", - NOPREVIEW: "sb-show-nopreview", - ERROR: "sb-show-errordisplay", - }, - vr = { - centered: "sb-main-centered", - fullscreen: "sb-main-fullscreen", - padded: "sb-main-padded", - }, - ru = new Fl.default({ escapeXML: !0 }), - sa = class { - constructor() { - if (((this.testing = !1), typeof he < "u")) { - let { __SPECIAL_TEST_PARAMETER__: e } = (0, Tl.parse)( - he.location.search.slice(1), - ); - switch (e) { - case "preparing-story": { - this.showPreparingStory(), (this.testing = !0); - break; - } - case "preparing-docs": { - this.showPreparingDocs(), (this.testing = !0); - break; - } - default: - } - } - } - prepareForStory(e) { - return ( - this.showStory(), - this.applyLayout(e.parameters.layout), - (he.documentElement.scrollTop = 0), - (he.documentElement.scrollLeft = 0), - this.storyRoot() - ); - } - storyRoot() { - return he.getElementById("storybook-root"); - } - prepareForDocs() { - return ( - this.showMain(), - this.showDocs(), - this.applyLayout("fullscreen"), - (he.documentElement.scrollTop = 0), - (he.documentElement.scrollLeft = 0), - this.docsRoot() - ); - } - docsRoot() { - return he.getElementById("storybook-docs"); - } - applyLayout(e = "padded") { - if (e === "none") { - he.body.classList.remove(this.currentLayoutClass), - (this.currentLayoutClass = null); - return; - } - this.checkIfLayoutExists(e); - let r = vr[e]; - he.body.classList.remove(this.currentLayoutClass), - he.body.classList.add(r), - (this.currentLayoutClass = r); - } - checkIfLayoutExists(e) { - vr[e] || - ee.warn(De` - The desired layout: ${e} is not a valid option. - The possible options are: ${Object.keys(vr).join(", ")}, none. - `); - } - showMode(e) { - clearTimeout(this.preparingTimeout), - Object.keys(ia).forEach((r) => { - r === e - ? he.body.classList.add(Cr[r]) - : he.body.classList.remove(Cr[r]); - }); - } - showErrorDisplay({ message: e = "", stack: r = "" }) { - let n = e, - o = r, - u = e.split(` -`); - u.length > 1 && - (([n] = u), - (o = u - .slice(1) - .join( - ` -`, - ) - .replace(/^\n/, ""))), - (he.getElementById("error-message").innerHTML = ru.toHtml(n)), - (he.getElementById("error-stack").innerHTML = ru.toHtml(o)), - this.showMode("ERROR"); - } - showNoPreview() { - this.testing || - (this.showMode("NOPREVIEW"), - this.storyRoot()?.setAttribute("hidden", "true"), - this.docsRoot()?.setAttribute("hidden", "true")); - } - showPreparingStory({ immediate: e = !1 } = {}) { - clearTimeout(this.preparingTimeout), - e - ? this.showMode("PREPARING_STORY") - : (this.preparingTimeout = setTimeout( - () => this.showMode("PREPARING_STORY"), - tu, - )); - } - showPreparingDocs({ immediate: e = !1 } = {}) { - clearTimeout(this.preparingTimeout), - e - ? this.showMode("PREPARING_DOCS") - : (this.preparingTimeout = setTimeout( - () => this.showMode("PREPARING_DOCS"), - tu, - )); - } - showMain() { - this.showMode("MAIN"); - } - showDocs() { - this.storyRoot().setAttribute("hidden", "true"), - this.docsRoot().removeAttribute("hidden"); - } - showStory() { - this.docsRoot().setAttribute("hidden", "true"), - this.storyRoot().removeAttribute("hidden"); - } - showStoryDuringRender() { - he.body.classList.add(Cr.MAIN); - } - }; - p(sa, "WebView"); - var Ol = sa, - Rl = class extends El { - constructor(e, r) { - super(e, r, new xl(), new Ol()), - (this.importFn = e), - (this.getProjectAnnotations = r), - (ce.__STORYBOOK_PREVIEW__ = this); - } - }; - p(Rl, "PreviewWeb"); - var { document: Ye } = ce, - Il = [ - "application/javascript", - "application/ecmascript", - "application/x-ecmascript", - "application/x-javascript", - "text/ecmascript", - "text/javascript", - "text/javascript1.0", - "text/javascript1.1", - "text/javascript1.2", - "text/javascript1.3", - "text/javascript1.4", - "text/javascript1.5", - "text/jscript", - "text/livescript", - "text/x-ecmascript", - "text/x-javascript", - "module", - ], - _l = "script", - nu = "scripts-root"; - function jr() { - let t = Ye.createEvent("Event"); - t.initEvent("DOMContentLoaded", !0, !0), Ye.dispatchEvent(t); - } - p(jr, "simulateDOMContentLoaded"); - function la(t, e, r) { - let n = Ye.createElement("script"); - (n.type = t.type === "module" ? "module" : "text/javascript"), - t.src - ? ((n.onload = e), (n.onerror = e), (n.src = t.src)) - : (n.textContent = t.innerText), - r ? r.appendChild(n) : Ye.head.appendChild(n), - t.parentNode.removeChild(t), - t.src || e(); - } - p(la, "insertScript"); - function Jr(t, e, r = 0) { - t[r](() => { - r++, r === t.length ? e() : Jr(t, e, r); - }); - } - p(Jr, "insertScriptsSequentially"); - function Bl(t) { - let e = Ye.getElementById(nu); - e - ? (e.innerHTML = "") - : ((e = Ye.createElement("div")), (e.id = nu), Ye.body.appendChild(e)); - let r = Array.from(t.querySelectorAll(_l)); - if (r.length) { - let n = []; - r.forEach((o) => { - let u = o.getAttribute("type"); - (!u || Il.includes(u)) && n.push((a) => la(o, a, e)); - }), - n.length && Jr(n, jr, void 0); - } else jr(); - } - p(Bl, "simulatePageLoad"); - var Pl = ((t) => - typeof ye < "u" - ? ye - : typeof Proxy < "u" - ? new Proxy(t, { get: (e, r) => (typeof ye < "u" ? ye : e)[r] }) - : t)(function (t) { - if (typeof ye < "u") return ye.apply(this, arguments); - throw Error('Dynamic require of "' + t + '" is not supported'); - }), - Ll = { - reset: [0, 0], - bold: [1, 22, "\x1B[22m\x1B[1m"], - dim: [2, 22, "\x1B[22m\x1B[2m"], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29], - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - blackBright: [90, 39], - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39], - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49], - }, - Nl = Object.entries(Ll); - function tn(t) { - return String(t); - } - tn.open = ""; - tn.close = ""; - function kl(t = !1) { - let e = typeof process < "u" ? process : void 0, - r = e?.env || {}, - n = e?.argv || []; - return ( - (!("NO_COLOR" in r || n.includes("--no-color")) && - ("FORCE_COLOR" in r || - n.includes("--color") || - e?.platform === "win32" || - (t && r.TERM !== "dumb") || - "CI" in r)) || - (typeof window < "u" && !!window.chrome) - ); - } - function jl(t = !1) { - let e = kl(t), - r = (a, i, s, l) => { - let h = "", - f = 0; - do - (h += a.substring(f, l) + s), - (f = l + i.length), - (l = a.indexOf(i, f)); - while (~l); - return h + a.substring(f); - }, - n = (a, i, s = a) => { - let l = (h) => { - let f = String(h), - g = f.indexOf(i, a.length); - return ~g ? a + r(f, i, s, g) + i : a + f + i; - }; - return (l.open = a), (l.close = i), l; - }, - o = { isColorSupported: e }, - u = (a) => `\x1B[${a}m`; - for (let [a, i] of Nl) o[a] = e ? n(u(i[0]), u(i[1]), i[2]) : tn; - return o; - } - var Rg = jl(!1); - function Ml(t, e) { - let r = Object.keys(t), - n = e === null ? r : r.sort(e); - if (Object.getOwnPropertySymbols) - for (let o of Object.getOwnPropertySymbols(t)) - Object.getOwnPropertyDescriptor(t, o).enumerable && n.push(o); - return n; - } - function rn(t, e, r, n, o, u, a = ": ") { - let i = "", - s = 0, - l = t.next(); - if (!l.done) { - i += e.spacingOuter; - let h = r + e.indent; - for (; !l.done; ) { - if (((i += h), s++ === e.maxWidth)) { - i += "\u2026"; - break; - } - let f = u(l.value[0], e, h, n, o), - g = u(l.value[1], e, h, n, o); - (i += f + a + g), - (l = t.next()), - l.done ? e.min || (i += ",") : (i += `,${e.spacingInner}`); - } - i += e.spacingOuter + r; - } - return i; - } - function ba(t, e, r, n, o, u) { - let a = "", - i = 0, - s = t.next(); - if (!s.done) { - a += e.spacingOuter; - let l = r + e.indent; - for (; !s.done; ) { - if (((a += l), i++ === e.maxWidth)) { - a += "\u2026"; - break; - } - (a += u(s.value, e, l, n, o)), - (s = t.next()), - s.done ? e.min || (a += ",") : (a += `,${e.spacingInner}`); - } - a += e.spacingOuter + r; - } - return a; - } - function Ea(t, e, r, n, o, u) { - let a = ""; - t = t instanceof ArrayBuffer ? new DataView(t) : t; - let i = (l) => l instanceof DataView, - s = i(t) ? t.byteLength : t.length; - if (s > 0) { - a += e.spacingOuter; - let l = r + e.indent; - for (let h = 0; h < s; h++) { - if (((a += l), h === e.maxWidth)) { - a += "\u2026"; - break; - } - (i(t) || h in t) && (a += u(i(t) ? t.getInt8(h) : t[h], e, l, n, o)), - h < s - 1 ? (a += `,${e.spacingInner}`) : e.min || (a += ","); - } - a += e.spacingOuter + r; - } - return a; - } - function Aa(t, e, r, n, o, u) { - let a = "", - i = Ml(t, e.compareKeys); - if (i.length > 0) { - a += e.spacingOuter; - let s = r + e.indent; - for (let l = 0; l < i.length; l++) { - let h = i[l], - f = u(h, e, s, n, o), - g = u(t[h], e, s, n, o); - (a += `${s + f}: ${g}`), - l < i.length - 1 - ? (a += `,${e.spacingInner}`) - : e.min || (a += ","); - } - a += e.spacingOuter + r; - } - return a; - } - var ql = - typeof Symbol == "function" && Symbol.for - ? Symbol.for("jest.asymmetricMatcher") - : 1267621, - Qr = " ", - $l = (t, e, r, n, o, u) => { - let a = t.toString(); - if (a === "ArrayContaining" || a === "ArrayNotContaining") - return ++n > e.maxDepth - ? `[${a}]` - : `${a + Qr}[${Ea(t.sample, e, r, n, o, u)}]`; - if (a === "ObjectContaining" || a === "ObjectNotContaining") - return ++n > e.maxDepth - ? `[${a}]` - : `${a + Qr}{${Aa(t.sample, e, r, n, o, u)}}`; - if ( - a === "StringMatching" || - a === "StringNotMatching" || - a === "StringContaining" || - a === "StringNotContaining" - ) - return a + Qr + u(t.sample, e, r, n, o); - if (typeof t.toAsymmetricMatcher != "function") - throw new TypeError( - `Asymmetric matcher ${t.constructor.name} does not implement toAsymmetricMatcher()`, - ); - return t.toAsymmetricMatcher(); - }, - zl = (t) => t && t.$$typeof === ql, - Hl = { serialize: $l, test: zl }, - Ul = " ", - Sa = new Set(["DOMStringMap", "NamedNodeMap"]), - Vl = /^(?:HTML\w*Collection|NodeList)$/; - function Gl(t) { - return Sa.has(t) || Vl.test(t); - } - var Wl = (t) => - t && t.constructor && !!t.constructor.name && Gl(t.constructor.name); - function Yl(t) { - return t.constructor.name === "NamedNodeMap"; - } - var Kl = (t, e, r, n, o, u) => { - let a = t.constructor.name; - return ++n > e.maxDepth - ? `[${a}]` - : (e.min ? "" : a + Ul) + - (Sa.has(a) - ? `{${Aa(Yl(t) ? [...t].reduce((i, s) => ((i[s.name] = s.value), i), {}) : { ...t }, e, r, n, o, u)}}` - : `[${Ea([...t], e, r, n, o, u)}]`); - }, - Xl = { serialize: Kl, test: Wl }; - function wa(t) { - return t.replaceAll("<", "<").replaceAll(">", ">"); - } - function nn(t, e, r, n, o, u, a) { - let i = n + r.indent, - s = r.colors; - return t - .map((l) => { - let h = e[l], - f = a(h, r, i, o, u); - return ( - typeof h != "string" && - (f.includes(` -`) && (f = r.spacingOuter + i + f + r.spacingOuter + n), - (f = `{${f}}`)), - `${r.spacingInner + n + s.prop.open + l + s.prop.close}=${s.value.open}${f}${s.value.close}` - ); - }) - .join(""); - } - function on(t, e, r, n, o, u) { - return t - .map( - (a) => - e.spacingOuter + - r + - (typeof a == "string" ? Ca(a, e) : u(a, e, r, n, o)), - ) - .join(""); - } - function Ca(t, e) { - let r = e.colors.content; - return r.open + wa(t) + r.close; - } - function Jl(t, e) { - let r = e.colors.comment; - return `${r.open}${r.close}`; - } - function un(t, e, r, n, o) { - let u = n.colors.tag; - return `${u.open}<${t}${e && u.close + e + n.spacingOuter + o + u.open}${r ? `>${u.close}${r}${n.spacingOuter}${o}${u.open}${u.close}`; - } - function an(t, e) { - let r = e.colors.tag; - return `${r.open}<${t}${r.close} \u2026${r.open} />${r.close}`; - } - var Ql = 1, - va = 3, - Da = 8, - xa = 11, - Zl = /^(?:(?:HTML|SVG)\w*)?Element$/; - function ec(t) { - try { - return typeof t.hasAttribute == "function" && t.hasAttribute("is"); - } catch { - return !1; - } - } - function tc(t) { - let e = t.constructor.name, - { nodeType: r, tagName: n } = t, - o = (typeof n == "string" && n.includes("-")) || ec(t); - return ( - (r === Ql && (Zl.test(e) || o)) || - (r === va && e === "Text") || - (r === Da && e === "Comment") || - (r === xa && e === "DocumentFragment") - ); - } - var rc = (t) => { - var e; - return ((e = t?.constructor) == null ? void 0 : e.name) && tc(t); - }; - function nc(t) { - return t.nodeType === va; - } - function oc(t) { - return t.nodeType === Da; - } - function Zr(t) { - return t.nodeType === xa; - } - var uc = (t, e, r, n, o, u) => { - if (nc(t)) return Ca(t.data, e); - if (oc(t)) return Jl(t.data, e); - let a = Zr(t) ? "DocumentFragment" : t.tagName.toLowerCase(); - return ++n > e.maxDepth - ? an(a, e) - : un( - a, - nn( - Zr(t) ? [] : Array.from(t.attributes, (i) => i.name).sort(), - Zr(t) - ? {} - : [...t.attributes].reduce( - (i, s) => ((i[s.name] = s.value), i), - {}, - ), - e, - r + e.indent, - n, - o, - u, - ), - on( - Array.prototype.slice.call(t.childNodes || t.children), - e, - r + e.indent, - n, - o, - u, - ), - e, - r, - ); - }, - ac = { serialize: uc, test: rc }, - ic = "@@__IMMUTABLE_ITERABLE__@@", - sc = "@@__IMMUTABLE_LIST__@@", - lc = "@@__IMMUTABLE_KEYED__@@", - cc = "@@__IMMUTABLE_MAP__@@", - ca = "@@__IMMUTABLE_ORDERED__@@", - pc = "@@__IMMUTABLE_RECORD__@@", - dc = "@@__IMMUTABLE_SEQ__@@", - fc = "@@__IMMUTABLE_SET__@@", - hc = "@@__IMMUTABLE_STACK__@@", - ut = (t) => `Immutable.${t}`, - Jt = (t) => `[${t}]`, - St = " ", - pa = "\u2026"; - function mc(t, e, r, n, o, u, a) { - return ++n > e.maxDepth - ? Jt(ut(a)) - : `${ut(a) + St}{${rn(t.entries(), e, r, n, o, u)}}`; - } - function gc(t) { - let e = 0; - return { - next() { - if (e < t._keys.length) { - let r = t._keys[e++]; - return { done: !1, value: [r, t.get(r)] }; - } - return { done: !0, value: void 0 }; - }, - }; - } - function yc(t, e, r, n, o, u) { - let a = ut(t._name || "Record"); - return ++n > e.maxDepth - ? Jt(a) - : `${a + St}{${rn(gc(t), e, r, n, o, u)}}`; - } - function bc(t, e, r, n, o, u) { - let a = ut("Seq"); - return ++n > e.maxDepth - ? Jt(a) - : t[lc] - ? `${a + St}{${t._iter || t._object ? rn(t.entries(), e, r, n, o, u) : pa}}` - : `${a + St}[${t._iter || t._array || t._collection || t._iterable ? ba(t.values(), e, r, n, o, u) : pa}]`; - } - function en(t, e, r, n, o, u, a) { - return ++n > e.maxDepth - ? Jt(ut(a)) - : `${ut(a) + St}[${ba(t.values(), e, r, n, o, u)}]`; - } - var Ec = (t, e, r, n, o, u) => - t[cc] - ? mc(t, e, r, n, o, u, t[ca] ? "OrderedMap" : "Map") - : t[sc] - ? en(t, e, r, n, o, u, "List") - : t[fc] - ? en(t, e, r, n, o, u, t[ca] ? "OrderedSet" : "Set") - : t[hc] - ? en(t, e, r, n, o, u, "Stack") - : t[dc] - ? bc(t, e, r, n, o, u) - : yc(t, e, r, n, o, u), - Ac = (t) => t && (t[ic] === !0 || t[pc] === !0), - Sc = { serialize: Ec, test: Ac }, - da = { exports: {} }, - V = {}, - fa; - function wc() { - return ( - fa || - ((fa = 1), - (function () { - var t = Symbol.for("react.element"), - e = Symbol.for("react.portal"), - r = Symbol.for("react.fragment"), - n = Symbol.for("react.strict_mode"), - o = Symbol.for("react.profiler"), - u = Symbol.for("react.provider"), - a = Symbol.for("react.context"), - i = Symbol.for("react.server_context"), - s = Symbol.for("react.forward_ref"), - l = Symbol.for("react.suspense"), - h = Symbol.for("react.suspense_list"), - f = Symbol.for("react.memo"), - g = Symbol.for("react.lazy"), - b = Symbol.for("react.offscreen"), - w = !1, - v = !1, - S = !1, - A = !1, - E = !1, - O; - O = Symbol.for("react.module.reference"); - function F(j) { - return !!( - typeof j == "string" || - typeof j == "function" || - j === r || - j === o || - E || - j === n || - j === l || - j === h || - A || - j === b || - w || - v || - S || - (typeof j == "object" && - j !== null && - (j.$$typeof === g || - j.$$typeof === f || - j.$$typeof === u || - j.$$typeof === a || - j.$$typeof === s || - j.$$typeof === O || - j.getModuleId !== void 0)) - ); - } - function I(j) { - if (typeof j == "object" && j !== null) { - var Z = j.$$typeof; - switch (Z) { - case t: - var Y = j.type; - switch (Y) { - case r: - case o: - case n: - case l: - case h: - return Y; - default: - var ve = Y && Y.$$typeof; - switch (ve) { - case i: - case a: - case s: - case g: - case f: - case u: - return ve; - default: - return Z; - } - } - case e: - return Z; - } - } - } - var R = a, - T = u, - x = t, - P = s, - N = r, - M = g, - q = f, - $ = e, - c = o, - d = n, - y = l, - D = h, - C = !1, - _ = !1; - function B(j) { - return ( - C || - ((C = !0), - console.warn( - "The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - } - function L(j) { - return ( - _ || - ((_ = !0), - console.warn( - "The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.", - )), - !1 - ); - } - function k(j) { - return I(j) === a; - } - function Q(j) { - return I(j) === u; - } - function re(j) { - return typeof j == "object" && j !== null && j.$$typeof === t; - } - function W(j) { - return I(j) === s; - } - function ne(j) { - return I(j) === r; - } - function U(j) { - return I(j) === g; - } - function ae(j) { - return I(j) === f; - } - function ge(j) { - return I(j) === e; - } - function fe(j) { - return I(j) === o; - } - function Ce(j) { - return I(j) === n; - } - function Ve(j) { - return I(j) === l; - } - function pt(j) { - return I(j) === h; - } - (V.ContextConsumer = R), - (V.ContextProvider = T), - (V.Element = x), - (V.ForwardRef = P), - (V.Fragment = N), - (V.Lazy = M), - (V.Memo = q), - (V.Portal = $), - (V.Profiler = c), - (V.StrictMode = d), - (V.Suspense = y), - (V.SuspenseList = D), - (V.isAsyncMode = B), - (V.isConcurrentMode = L), - (V.isContextConsumer = k), - (V.isContextProvider = Q), - (V.isElement = re), - (V.isForwardRef = W), - (V.isFragment = ne), - (V.isLazy = U), - (V.isMemo = ae), - (V.isPortal = ge), - (V.isProfiler = fe), - (V.isStrictMode = Ce), - (V.isSuspense = Ve), - (V.isSuspenseList = pt), - (V.isValidElementType = F), - (V.typeOf = I); - })()), - V - ); - } - var ha; - function Cc() { - return ha || ((ha = 1), (da.exports = wc())), da.exports; - } - var Je = Cc(); - function Fa(t, e = []) { - if (Array.isArray(t)) for (let r of t) Fa(r, e); - else t != null && t !== !1 && t !== "" && e.push(t); - return e; - } - function ma(t) { - let e = t.type; - if (typeof e == "string") return e; - if (typeof e == "function") return e.displayName || e.name || "Unknown"; - if (Je.isFragment(t)) return "React.Fragment"; - if (Je.isSuspense(t)) return "React.Suspense"; - if (typeof e == "object" && e !== null) { - if (Je.isContextProvider(t)) return "Context.Provider"; - if (Je.isContextConsumer(t)) return "Context.Consumer"; - if (Je.isForwardRef(t)) { - if (e.displayName) return e.displayName; - let r = e.render.displayName || e.render.name || ""; - return r === "" ? "ForwardRef" : `ForwardRef(${r})`; - } - if (Je.isMemo(t)) { - let r = e.displayName || e.type.displayName || e.type.name || ""; - return r === "" ? "Memo" : `Memo(${r})`; - } - } - return "UNDEFINED"; - } - function vc(t) { - let { props: e } = t; - return Object.keys(e) - .filter((r) => r !== "children" && e[r] !== void 0) - .sort(); - } - var Dc = (t, e, r, n, o, u) => - ++n > e.maxDepth - ? an(ma(t), e) - : un( - ma(t), - nn(vc(t), t.props, e, r + e.indent, n, o, u), - on(Fa(t.props.children), e, r + e.indent, n, o, u), - e, - r, - ), - xc = (t) => t != null && Je.isElement(t), - Fc = { serialize: Dc, test: xc }, - Tc = - typeof Symbol == "function" && Symbol.for - ? Symbol.for("react.test.json") - : 245830487; - function Oc(t) { - let { props: e } = t; - return e - ? Object.keys(e) - .filter((r) => e[r] !== void 0) - .sort() - : []; - } - var Rc = (t, e, r, n, o, u) => - ++n > e.maxDepth - ? an(t.type, e) - : un( - t.type, - t.props ? nn(Oc(t), t.props, e, r + e.indent, n, o, u) : "", - t.children ? on(t.children, e, r + e.indent, n, o, u) : "", - e, - r, - ), - Ic = (t) => t && t.$$typeof === Tc, - _c = { serialize: Rc, test: Ic }; - var Ig = Date.prototype.toISOString, - _g = Error.prototype.toString, - Bg = RegExp.prototype.toString; - var Ta = { - comment: "gray", - content: "reset", - prop: "yellow", - tag: "cyan", - value: "green", - }, - Pg = Object.keys(Ta), - Lg = { - callToJSON: !0, - compareKeys: void 0, - escapeRegex: !1, - escapeString: !0, - highlight: !1, - indent: 2, - maxDepth: Number.POSITIVE_INFINITY, - maxWidth: Number.POSITIVE_INFINITY, - min: !1, - plugins: [], - printBasicPrototype: !0, - printFunctionName: !0, - theme: Ta, - }; - var Oa = { - AsymmetricMatcher: Hl, - DOMCollection: Xl, - DOMElement: ac, - Immutable: Sc, - ReactElement: Fc, - ReactTestComponent: _c, - }; - var Ng = Number.isNaN || ((t) => t !== t); - var kg = new RegExp( - "['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", - "g", - ); - var Bc = () => "Promise{\u2026}"; - try { - let { - getPromiseDetails: t, - kPending: e, - kRejected: r, - } = process.binding("util"); - Array.isArray(t(Promise.resolve())) && - (Bc = (n, o) => { - let [u, a] = t(n); - return u === e - ? "Promise{}" - : `Promise${u === r ? "!" : ""}{${o.inspect(a, o)}}`; - }); - } catch {} - var Pc = typeof Symbol == "function" && typeof Symbol.for == "function", - jg = Pc ? Symbol.for("chai/inspect") : "@@chai/inspect", - ga = !1; - try { - let t = Pl("util"); - ga = t.inspect ? t.inspect.custom : !1; - } catch { - ga = !1; - } - var { - AsymmetricMatcher: Mg, - DOMCollection: qg, - DOMElement: $g, - Immutable: zg, - ReactElement: Hg, - ReactTestComponent: Ug, - } = Oa; - function Lc(t) { - return t && - t.__esModule && - Object.prototype.hasOwnProperty.call(t, "default") - ? t.default - : t; - } - var Xt = {}, - ya; - function Nc() { - if (ya) return Xt; - (ya = 1), - Object.defineProperty(Xt, "__esModule", { value: !0 }), - (Xt.default = g); - let t = "diff-sequences", - e = 0, - r = (b, w, v, S, A) => { - let E = 0; - for (; b < w && v < S && A(b, v); ) (b += 1), (v += 1), (E += 1); - return E; - }, - n = (b, w, v, S, A) => { - let E = 0; - for (; b <= w && v <= S && A(w, S); ) (w -= 1), (S -= 1), (E += 1); - return E; - }, - o = (b, w, v, S, A, E, O) => { - let F = 0, - I = -b, - R = E[F], - T = R; - E[F] += r(R + 1, w, S + R - I + 1, v, A); - let x = b < O ? b : O; - for (F += 1, I += 2; F <= x; F += 1, I += 2) { - if (F !== b && T < E[F]) R = E[F]; - else if (((R = T + 1), w <= R)) return F - 1; - (T = E[F]), (E[F] = R + r(R + 1, w, S + R - I + 1, v, A)); - } - return O; - }, - u = (b, w, v, S, A, E, O) => { - let F = 0, - I = b, - R = E[F], - T = R; - E[F] -= n(w, R - 1, v, S + R - I - 1, A); - let x = b < O ? b : O; - for (F += 1, I -= 2; F <= x; F += 1, I -= 2) { - if (F !== b && E[F] < T) R = E[F]; - else if (((R = T - 1), R < w)) return F - 1; - (T = E[F]), (E[F] = R - n(w, R - 1, v, S + R - I - 1, A)); - } - return O; - }, - a = (b, w, v, S, A, E, O, F, I, R, T) => { - let x = S - w, - P = v - w, - N = A - S - P, - M = -N - (b - 1), - q = -N + (b - 1), - $ = e, - c = b < F ? b : F; - for (let d = 0, y = -b; d <= c; d += 1, y += 2) { - let D = d === 0 || (d !== b && $ < O[d]), - C = D ? O[d] : $, - _ = D ? C : C + 1, - B = x + _ - y, - L = r(_ + 1, v, B + 1, A, E), - k = _ + L; - if ((($ = O[d]), (O[d] = k), M <= y && y <= q)) { - let Q = (b - 1 - (y + N)) / 2; - if (Q <= R && I[Q] - 1 <= k) { - let re = x + C - (D ? y + 1 : y - 1), - W = n(w, C, S, re, E), - ne = C - W, - U = re - W, - ae = ne + 1, - ge = U + 1; - (T.nChangePreceding = b - 1), - b - 1 === ae + ge - w - S - ? ((T.aEndPreceding = w), (T.bEndPreceding = S)) - : ((T.aEndPreceding = ae), (T.bEndPreceding = ge)), - (T.nCommonPreceding = W), - W !== 0 && - ((T.aCommonPreceding = ae), (T.bCommonPreceding = ge)), - (T.nCommonFollowing = L), - L !== 0 && - ((T.aCommonFollowing = _ + 1), - (T.bCommonFollowing = B + 1)); - let fe = k + 1, - Ce = B + L + 1; - return ( - (T.nChangeFollowing = b - 1), - b - 1 === v + A - fe - Ce - ? ((T.aStartFollowing = v), (T.bStartFollowing = A)) - : ((T.aStartFollowing = fe), (T.bStartFollowing = Ce)), - !0 - ); - } - } - } - return !1; - }, - i = (b, w, v, S, A, E, O, F, I, R, T) => { - let x = A - v, - P = v - w, - N = A - S - P, - M = N - b, - q = N + b, - $ = e, - c = b < R ? b : R; - for (let d = 0, y = b; d <= c; d += 1, y -= 2) { - let D = d === 0 || (d !== b && I[d] < $), - C = D ? I[d] : $, - _ = D ? C : C - 1, - B = x + _ - y, - L = n(w, _ - 1, S, B - 1, E), - k = _ - L; - if ((($ = I[d]), (I[d] = k), M <= y && y <= q)) { - let Q = (b + (y - N)) / 2; - if (Q <= F && k - 1 <= O[Q]) { - let re = B - L; - if ( - ((T.nChangePreceding = b), - b === k + re - w - S - ? ((T.aEndPreceding = w), (T.bEndPreceding = S)) - : ((T.aEndPreceding = k), (T.bEndPreceding = re)), - (T.nCommonPreceding = L), - L !== 0 && - ((T.aCommonPreceding = k), (T.bCommonPreceding = re)), - (T.nChangeFollowing = b - 1), - b === 1) - ) - (T.nCommonFollowing = 0), - (T.aStartFollowing = v), - (T.bStartFollowing = A); - else { - let W = x + C - (D ? y - 1 : y + 1), - ne = r(C, v, W, A, E); - (T.nCommonFollowing = ne), - ne !== 0 && - ((T.aCommonFollowing = C), (T.bCommonFollowing = W)); - let U = C + ne, - ae = W + ne; - b - 1 === v + A - U - ae - ? ((T.aStartFollowing = v), (T.bStartFollowing = A)) - : ((T.aStartFollowing = U), (T.bStartFollowing = ae)); - } - return !0; - } - } - } - return !1; - }, - s = (b, w, v, S, A, E, O, F, I) => { - let R = S - w, - T = A - v, - x = v - w, - P = A - S, - N = P - x, - M = x, - q = x; - if (((O[0] = w - 1), (F[0] = v), N % 2 === 0)) { - let $ = (b || N) / 2, - c = (x + P) / 2; - for (let d = 1; d <= c; d += 1) - if (((M = o(d, v, A, R, E, O, M)), d < $)) - q = u(d, w, S, T, E, F, q); - else if (i(d, w, v, S, A, E, O, M, F, q, I)) return; - } else { - let $ = ((b || N) + 1) / 2, - c = (x + P + 1) / 2, - d = 1; - for (M = o(d, v, A, R, E, O, M), d += 1; d <= c; d += 1) - if (((q = u(d - 1, w, S, T, E, F, q)), d < $)) - M = o(d, v, A, R, E, O, M); - else if (a(d, w, v, S, A, E, O, M, F, q, I)) return; - } - throw new Error( - `${t}: no overlap aStart=${w} aEnd=${v} bStart=${S} bEnd=${A}`, - ); - }, - l = (b, w, v, S, A, E, O, F, I, R) => { - if (A - S < v - w) { - if (((E = !E), E && O.length === 1)) { - let { foundSubsequence: Q, isCommon: re } = O[0]; - O[1] = { - foundSubsequence: (W, ne, U) => { - Q(W, U, ne); - }, - isCommon: (W, ne) => re(ne, W), - }; - } - let L = w, - k = v; - (w = S), (v = A), (S = L), (A = k); - } - let { foundSubsequence: T, isCommon: x } = O[E ? 1 : 0]; - s(b, w, v, S, A, x, F, I, R); - let { - nChangePreceding: P, - aEndPreceding: N, - bEndPreceding: M, - nCommonPreceding: q, - aCommonPreceding: $, - bCommonPreceding: c, - nCommonFollowing: d, - aCommonFollowing: y, - bCommonFollowing: D, - nChangeFollowing: C, - aStartFollowing: _, - bStartFollowing: B, - } = R; - w < N && S < M && l(P, w, N, S, M, E, O, F, I, R), - q !== 0 && T(q, $, c), - d !== 0 && T(d, y, D), - _ < v && B < A && l(C, _, v, B, A, E, O, F, I, R); - }, - h = (b, w) => { - if (typeof w != "number") - throw new TypeError( - `${t}: ${b} typeof ${typeof w} is not a number`, - ); - if (!Number.isSafeInteger(w)) - throw new RangeError(`${t}: ${b} value ${w} is not a safe integer`); - if (w < 0) - throw new RangeError(`${t}: ${b} value ${w} is a negative integer`); - }, - f = (b, w) => { - let v = typeof w; - if (v !== "function") - throw new TypeError(`${t}: ${b} typeof ${v} is not a function`); - }; - function g(b, w, v, S) { - h("aLength", b), - h("bLength", w), - f("isCommon", v), - f("foundSubsequence", S); - let A = r(0, b, 0, w, v); - if ((A !== 0 && S(A, 0, 0), b !== A || w !== A)) { - let E = A, - O = A, - F = n(E, b - 1, O, w - 1, v), - I = b - F, - R = w - F, - T = A + F; - b !== T && - w !== T && - l( - 0, - E, - I, - O, - R, - !1, - [{ foundSubsequence: S, isCommon: v }], - [e], - [e], - { - aCommonFollowing: e, - aCommonPreceding: e, - aEndPreceding: e, - aStartFollowing: e, - bCommonFollowing: e, - bCommonPreceding: e, - bEndPreceding: e, - bStartFollowing: e, - nChangeFollowing: e, - nChangePreceding: e, - nCommonFollowing: e, - nCommonPreceding: e, - }, - ), - F !== 0 && S(F, I, R); - } - } - return Xt; - } - var kc = Nc(), - Vg = Lc(kc); - var { - AsymmetricMatcher: Gg, - DOMCollection: Wg, - DOMElement: Yg, - Immutable: Kg, - ReactElement: Xg, - ReactTestComponent: Jg, - } = Oa; - var Qg = Object.getPrototypeOf({}); - var G = ((t) => ( - (t.DONE = "done"), - (t.ERROR = "error"), - (t.ACTIVE = "active"), - (t.WAITING = "waiting"), - t - ))(G || {}), - ze = { - CALL: "storybook/instrumenter/call", - SYNC: "storybook/instrumenter/sync", - START: "storybook/instrumenter/start", - BACK: "storybook/instrumenter/back", - GOTO: "storybook/instrumenter/goto", - NEXT: "storybook/instrumenter/next", - END: "storybook/instrumenter/end", - }; - var Zg = new Error( - "This function ran after the play function completed. Did you forget to `await` it?", - ); - var u1 = __STORYBOOK_THEMING__, - { - CacheProvider: a1, - ClassNames: i1, - Global: s1, - ThemeProvider: l1, - background: c1, - color: p1, - convert: d1, - create: f1, - createCache: h1, - createGlobal: m1, - createReset: g1, - css: y1, - darken: b1, - ensure: E1, - ignoreSsrWarning: A1, - isPropValid: S1, - jsx: w1, - keyframes: C1, - lighten: v1, - styled: H, - themes: D1, - typography: Pe, - useTheme: at, - withTheme: x1, - } = __STORYBOOK_THEMING__; - function me() { - return ( - (me = Object.assign - ? Object.assign.bind() - : function (t) { - for (var e = 1; e < arguments.length; e++) { - var r = arguments[e]; - for (var n in r) - Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]); - } - return t; - }), - me.apply(this, arguments) - ); - } - function sn(t) { - if (t === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return t; - } - function Le(t, e) { - return ( - (Le = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (n, o) { - return (n.__proto__ = o), n; - }), - Le(t, e) - ); - } - function ln(t, e) { - (t.prototype = Object.create(e.prototype)), - (t.prototype.constructor = t), - Le(t, e); - } - function wt(t) { - return ( - (wt = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (r) { - return r.__proto__ || Object.getPrototypeOf(r); - }), - wt(t) - ); - } - function cn(t) { - try { - return Function.toString.call(t).indexOf("[native code]") !== -1; - } catch { - return typeof t == "function"; - } - } - function pn() { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) - return !1; - if (typeof Proxy == "function") return !0; - try { - return ( - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ), - !0 - ); - } catch { - return !1; - } - } - function it(t, e, r) { - return ( - pn() - ? (it = Reflect.construct.bind()) - : (it = function (o, u, a) { - var i = [null]; - i.push.apply(i, u); - var s = Function.bind.apply(o, i), - l = new s(); - return a && Le(l, a.prototype), l; - }), - it.apply(null, arguments) - ); - } - function Ct(t) { - var e = typeof Map == "function" ? new Map() : void 0; - return ( - (Ct = function (n) { - if (n === null || !cn(n)) return n; - if (typeof n != "function") - throw new TypeError( - "Super expression must either be null or a function", - ); - if (typeof e < "u") { - if (e.has(n)) return e.get(n); - e.set(n, o); - } - function o() { - return it(n, arguments, wt(this).constructor); - } - return ( - (o.prototype = Object.create(n.prototype, { - constructor: { - value: o, - enumerable: !1, - writable: !0, - configurable: !0, - }, - })), - Le(o, n) - ); - }), - Ct(t) - ); - } - var Ee = (function (t) { - ln(e, t); - function e(r) { - var n; - if (1) - n = - t.call( - this, - "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + - r + - " for more information.", - ) || this; - else for (var o, u, a; a < o; a++); - return sn(n); - } - return e; - })(Ct(Error)); - function Ra(t, e) { - return t.substr(-e.length) === e; - } - var jc = /^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/; - function Ia(t) { - if (typeof t != "string") return t; - var e = t.match(jc); - return e ? parseFloat(t) : t; - } - var Mc = function (e) { - return function (r, n) { - n === void 0 && (n = "16px"); - var o = r, - u = n; - if (typeof r == "string") { - if (!Ra(r, "px")) throw new Ee(69, e, r); - o = Ia(r); - } - if (typeof n == "string") { - if (!Ra(n, "px")) throw new Ee(70, e, n); - u = Ia(n); - } - if (typeof o == "string") throw new Ee(71, r, e); - if (typeof u == "string") throw new Ee(72, n, e); - return "" + o / u + e; - }; - }, - Ba = Mc, - Ry = Ba("em"); - var Iy = Ba("rem"); - function dn(t) { - return Math.round(t * 255); - } - function qc(t, e, r) { - return dn(t) + "," + dn(e) + "," + dn(r); - } - function vt(t, e, r, n) { - if ((n === void 0 && (n = qc), e === 0)) return n(r, r, r); - var o = (((t % 360) + 360) % 360) / 60, - u = (1 - Math.abs(2 * r - 1)) * e, - a = u * (1 - Math.abs((o % 2) - 1)), - i = 0, - s = 0, - l = 0; - o >= 0 && o < 1 - ? ((i = u), (s = a)) - : o >= 1 && o < 2 - ? ((i = a), (s = u)) - : o >= 2 && o < 3 - ? ((s = u), (l = a)) - : o >= 3 && o < 4 - ? ((s = a), (l = u)) - : o >= 4 && o < 5 - ? ((i = a), (l = u)) - : o >= 5 && o < 6 && ((i = u), (l = a)); - var h = r - u / 2, - f = i + h, - g = s + h, - b = l + h; - return n(f, g, b); - } - var _a = { - 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 $c(t) { - if (typeof t != "string") return t; - var e = t.toLowerCase(); - return _a[e] ? "#" + _a[e] : t; - } - var zc = /^#[a-fA-F0-9]{6}$/, - Hc = /^#[a-fA-F0-9]{8}$/, - Uc = /^#[a-fA-F0-9]{3}$/, - Vc = /^#[a-fA-F0-9]{4}$/, - fn = - /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, - Gc = - /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, - Wc = - /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, - Yc = - /^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 st(t) { - if (typeof t != "string") throw new Ee(3); - var e = $c(t); - if (e.match(zc)) - return { - red: parseInt("" + e[1] + e[2], 16), - green: parseInt("" + e[3] + e[4], 16), - blue: parseInt("" + e[5] + e[6], 16), - }; - if (e.match(Hc)) { - var r = parseFloat((parseInt("" + e[7] + e[8], 16) / 255).toFixed(2)); - return { - red: parseInt("" + e[1] + e[2], 16), - green: parseInt("" + e[3] + e[4], 16), - blue: parseInt("" + e[5] + e[6], 16), - alpha: r, - }; - } - if (e.match(Uc)) - return { - red: parseInt("" + e[1] + e[1], 16), - green: parseInt("" + e[2] + e[2], 16), - blue: parseInt("" + e[3] + e[3], 16), - }; - if (e.match(Vc)) { - var n = parseFloat((parseInt("" + e[4] + e[4], 16) / 255).toFixed(2)); - return { - red: parseInt("" + e[1] + e[1], 16), - green: parseInt("" + e[2] + e[2], 16), - blue: parseInt("" + e[3] + e[3], 16), - alpha: n, - }; - } - var o = fn.exec(e); - if (o) - return { - red: parseInt("" + o[1], 10), - green: parseInt("" + o[2], 10), - blue: parseInt("" + o[3], 10), - }; - var u = Gc.exec(e.substring(0, 50)); - if (u) - return { - red: parseInt("" + u[1], 10), - green: parseInt("" + u[2], 10), - blue: parseInt("" + u[3], 10), - alpha: - parseFloat("" + u[4]) > 1 - ? parseFloat("" + u[4]) / 100 - : parseFloat("" + u[4]), - }; - var a = Wc.exec(e); - if (a) { - var i = parseInt("" + a[1], 10), - s = parseInt("" + a[2], 10) / 100, - l = parseInt("" + a[3], 10) / 100, - h = "rgb(" + vt(i, s, l) + ")", - f = fn.exec(h); - if (!f) throw new Ee(4, e, h); - return { - red: parseInt("" + f[1], 10), - green: parseInt("" + f[2], 10), - blue: parseInt("" + f[3], 10), - }; - } - var g = Yc.exec(e.substring(0, 50)); - if (g) { - var b = parseInt("" + g[1], 10), - w = parseInt("" + g[2], 10) / 100, - v = parseInt("" + g[3], 10) / 100, - S = "rgb(" + vt(b, w, v) + ")", - A = fn.exec(S); - if (!A) throw new Ee(4, e, S); - return { - red: parseInt("" + A[1], 10), - green: parseInt("" + A[2], 10), - blue: parseInt("" + A[3], 10), - alpha: - parseFloat("" + g[4]) > 1 - ? parseFloat("" + g[4]) / 100 - : parseFloat("" + g[4]), - }; - } - throw new Ee(5); - } - function Kc(t) { - var e = t.red / 255, - r = t.green / 255, - n = t.blue / 255, - o = Math.max(e, r, n), - u = Math.min(e, r, n), - a = (o + u) / 2; - if (o === u) - return t.alpha !== void 0 - ? { hue: 0, saturation: 0, lightness: a, alpha: t.alpha } - : { hue: 0, saturation: 0, lightness: a }; - var i, - s = o - u, - l = a > 0.5 ? s / (2 - o - u) : s / (o + u); - switch (o) { - case e: - i = (r - n) / s + (r < n ? 6 : 0); - break; - case r: - i = (n - e) / s + 2; - break; - default: - i = (e - r) / s + 4; - break; - } - return ( - (i *= 60), - t.alpha !== void 0 - ? { hue: i, saturation: l, lightness: a, alpha: t.alpha } - : { hue: i, saturation: l, lightness: a } - ); - } - function He(t) { - return Kc(st(t)); - } - var Xc = 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; - }, - mn = Xc; - function Qe(t) { - var e = t.toString(16); - return e.length === 1 ? "0" + e : e; - } - function hn(t) { - return Qe(Math.round(t * 255)); - } - function Jc(t, e, r) { - return mn("#" + hn(t) + hn(e) + hn(r)); - } - function Qt(t, e, r) { - return vt(t, e, r, Jc); - } - function Qc(t, e, r) { - if (typeof t == "number" && typeof e == "number" && typeof r == "number") - return Qt(t, e, r); - if (typeof t == "object" && e === void 0 && r === void 0) - return Qt(t.hue, t.saturation, t.lightness); - throw new Ee(1); - } - function Zc(t, e, r, n) { - if ( - typeof t == "number" && - typeof e == "number" && - typeof r == "number" && - typeof n == "number" - ) - return n >= 1 ? Qt(t, e, r) : "rgba(" + vt(t, e, r) + "," + n + ")"; - if (typeof t == "object" && e === void 0 && r === void 0 && n === void 0) - return t.alpha >= 1 - ? Qt(t.hue, t.saturation, t.lightness) - : "rgba(" + - vt(t.hue, t.saturation, t.lightness) + - "," + - t.alpha + - ")"; - throw new Ee(2); - } - function gn(t, e, r) { - if (typeof t == "number" && typeof e == "number" && typeof r == "number") - return mn("#" + Qe(t) + Qe(e) + Qe(r)); - if (typeof t == "object" && e === void 0 && r === void 0) - return mn("#" + Qe(t.red) + Qe(t.green) + Qe(t.blue)); - throw new Ee(6); - } - function Zt(t, e, r, n) { - if (typeof t == "string" && typeof e == "number") { - var o = st(t); - return "rgba(" + o.red + "," + o.green + "," + o.blue + "," + e + ")"; - } else { - if ( - typeof t == "number" && - typeof e == "number" && - typeof r == "number" && - typeof n == "number" - ) - return n >= 1 - ? gn(t, e, r) - : "rgba(" + t + "," + e + "," + r + "," + n + ")"; - if ( - typeof t == "object" && - e === void 0 && - r === void 0 && - n === void 0 - ) - return t.alpha >= 1 - ? gn(t.red, t.green, t.blue) - : "rgba(" + - t.red + - "," + - t.green + - "," + - t.blue + - "," + - t.alpha + - ")"; - } - throw new Ee(7); - } - var e2 = function (e) { - return ( - typeof e.red == "number" && - typeof e.green == "number" && - typeof e.blue == "number" && - (typeof e.alpha != "number" || typeof e.alpha > "u") - ); - }, - t2 = function (e) { - return ( - typeof e.red == "number" && - typeof e.green == "number" && - typeof e.blue == "number" && - typeof e.alpha == "number" - ); - }, - r2 = function (e) { - return ( - typeof e.hue == "number" && - typeof e.saturation == "number" && - typeof e.lightness == "number" && - (typeof e.alpha != "number" || typeof e.alpha > "u") - ); - }, - n2 = function (e) { - return ( - typeof e.hue == "number" && - typeof e.saturation == "number" && - typeof e.lightness == "number" && - typeof e.alpha == "number" - ); - }; - function Ue(t) { - if (typeof t != "object") throw new Ee(8); - if (t2(t)) return Zt(t); - if (e2(t)) return gn(t); - if (n2(t)) return Zc(t); - if (r2(t)) return Qc(t); - throw new Ee(8); - } - function Pa(t, e, r) { - return function () { - var o = r.concat(Array.prototype.slice.call(arguments)); - return o.length >= e ? t.apply(this, o) : Pa(t, e, o); - }; - } - function we(t) { - return Pa(t, t.length, []); - } - function o2(t, e) { - if (e === "transparent") return e; - var r = He(e); - return Ue(me({}, r, { hue: r.hue + parseFloat(t) })); - } - var _y = we(o2); - function lt(t, e, r) { - return Math.max(t, Math.min(e, r)); - } - function u2(t, e) { - if (e === "transparent") return e; - var r = He(e); - return Ue( - me({}, r, { lightness: lt(0, 1, r.lightness - parseFloat(t)) }), - ); - } - var By = we(u2); - function a2(t, e) { - if (e === "transparent") return e; - var r = He(e); - return Ue( - me({}, r, { saturation: lt(0, 1, r.saturation - parseFloat(t)) }), - ); - } - var Py = we(a2); - function i2(t, e) { - if (e === "transparent") return e; - var r = He(e); - return Ue( - me({}, r, { lightness: lt(0, 1, r.lightness + parseFloat(t)) }), - ); - } - var Ly = we(i2); - function s2(t, e, r) { - if (e === "transparent") return r; - if (r === "transparent") return e; - if (t === 0) return r; - var n = st(e), - o = me({}, n, { alpha: typeof n.alpha == "number" ? n.alpha : 1 }), - u = st(r), - a = me({}, u, { alpha: typeof u.alpha == "number" ? u.alpha : 1 }), - i = o.alpha - a.alpha, - s = parseFloat(t) * 2 - 1, - l = s * i === -1 ? s : s + i, - h = 1 + s * i, - f = (l / h + 1) / 2, - g = 1 - f, - b = { - red: Math.floor(o.red * f + a.red * g), - green: Math.floor(o.green * f + a.green * g), - blue: Math.floor(o.blue * f + a.blue * g), - alpha: o.alpha * parseFloat(t) + a.alpha * (1 - parseFloat(t)), - }; - return Zt(b); - } - var l2 = we(s2), - La = l2; - function c2(t, e) { - if (e === "transparent") return e; - var r = st(e), - n = typeof r.alpha == "number" ? r.alpha : 1, - o = me({}, r, { - alpha: lt(0, 1, (n * 100 + parseFloat(t) * 100) / 100), - }); - return Zt(o); - } - var Ny = we(c2); - function p2(t, e) { - if (e === "transparent") return e; - var r = He(e); - return Ue( - me({}, r, { saturation: lt(0, 1, r.saturation + parseFloat(t)) }), - ); - } - var ky = we(p2); - function d2(t, e) { - return e === "transparent" - ? e - : Ue(me({}, He(e), { hue: parseFloat(t) })); - } - var jy = we(d2); - function f2(t, e) { - return e === "transparent" - ? e - : Ue(me({}, He(e), { lightness: parseFloat(t) })); - } - var My = we(f2); - function h2(t, e) { - return e === "transparent" - ? e - : Ue(me({}, He(e), { saturation: parseFloat(t) })); - } - var qy = we(h2); - function m2(t, e) { - return e === "transparent" ? e : La(parseFloat(t), "rgb(0, 0, 0)", e); - } - var $y = we(m2); - function g2(t, e) { - return e === "transparent" - ? e - : La(parseFloat(t), "rgb(255, 255, 255)", e); - } - var zy = we(g2); - function y2(t, e) { - if (e === "transparent") return e; - var r = st(e), - n = typeof r.alpha == "number" ? r.alpha : 1, - o = me({}, r, { - alpha: lt(0, 1, +(n * 100 - parseFloat(t) * 100).toFixed(2) / 100), - }); - return Zt(o); - } - var b2 = we(y2), - er = b2; - var Wy = __STORYBOOK_ICONS__, - { - AccessibilityAltIcon: Yy, - AccessibilityIcon: Ky, - AddIcon: Xy, - AdminIcon: Jy, - AlertAltIcon: Qy, - AlertIcon: Zy, - AlignLeftIcon: eb, - AlignRightIcon: tb, - AppleIcon: rb, - ArrowBottomLeftIcon: nb, - ArrowBottomRightIcon: ob, - ArrowDownIcon: ub, - ArrowLeftIcon: ab, - ArrowRightIcon: ib, - ArrowSolidDownIcon: sb, - ArrowSolidLeftIcon: lb, - ArrowSolidRightIcon: cb, - ArrowSolidUpIcon: pb, - ArrowTopLeftIcon: db, - ArrowTopRightIcon: fb, - ArrowUpIcon: hb, - AzureDevOpsIcon: mb, - BackIcon: gb, - BasketIcon: yb, - BatchAcceptIcon: bb, - BatchDenyIcon: Eb, - BeakerIcon: Ab, - BellIcon: Sb, - BitbucketIcon: wb, - BoldIcon: Cb, - BookIcon: vb, - BookmarkHollowIcon: Db, - BookmarkIcon: xb, - BottomBarIcon: Fb, - BottomBarToggleIcon: Tb, - BoxIcon: Ob, - BranchIcon: Rb, - BrowserIcon: Ib, - ButtonIcon: _b, - CPUIcon: Bb, - CalendarIcon: Pb, - CameraIcon: Lb, - CategoryIcon: Nb, - CertificateIcon: kb, - ChangedIcon: jb, - ChatIcon: Mb, - CheckIcon: Na, - ChevronDownIcon: qb, - ChevronLeftIcon: $b, - ChevronRightIcon: zb, - ChevronSmallDownIcon: Hb, - ChevronSmallLeftIcon: Ub, - ChevronSmallRightIcon: Vb, - ChevronSmallUpIcon: Gb, - ChevronUpIcon: Wb, - ChromaticIcon: Yb, - ChromeIcon: Kb, - CircleHollowIcon: Xb, - CircleIcon: ka, - ClearIcon: Jb, - CloseAltIcon: Qb, - CloseIcon: Zb, - CloudHollowIcon: eE, - CloudIcon: tE, - CogIcon: rE, - CollapseIcon: nE, - CommandIcon: oE, - CommentAddIcon: uE, - CommentIcon: aE, - CommentsIcon: iE, - CommitIcon: sE, - CompassIcon: lE, - ComponentDrivenIcon: cE, - ComponentIcon: pE, - ContrastIcon: dE, - ControlsIcon: fE, - CopyIcon: hE, - CreditIcon: mE, - CrossIcon: gE, - DashboardIcon: yE, - DatabaseIcon: bE, - DeleteIcon: EE, - DiamondIcon: AE, - DirectionIcon: SE, - DiscordIcon: wE, - DocChartIcon: CE, - DocListIcon: vE, - DocumentIcon: ja, - DownloadIcon: DE, - DragIcon: xE, - EditIcon: FE, - EllipsisIcon: TE, - EmailIcon: OE, - ExpandAltIcon: RE, - ExpandIcon: IE, - EyeCloseIcon: _E, - EyeIcon: BE, - FaceHappyIcon: PE, - FaceNeutralIcon: LE, - FaceSadIcon: NE, - FacebookIcon: kE, - FailedIcon: jE, - FastForwardIcon: Ma, - FigmaIcon: ME, - FilterIcon: qE, - FlagIcon: $E, - FolderIcon: zE, - FormIcon: HE, - GDriveIcon: UE, - GithubIcon: VE, - GitlabIcon: GE, - GlobeIcon: WE, - GoogleIcon: YE, - GraphBarIcon: KE, - GraphLineIcon: XE, - GraphqlIcon: JE, - GridAltIcon: QE, - GridIcon: ZE, - GrowIcon: eA, - HeartHollowIcon: tA, - HeartIcon: rA, - HomeIcon: nA, - HourglassIcon: oA, - InfoIcon: uA, - ItalicIcon: aA, - JumpToIcon: iA, - KeyIcon: sA, - LightningIcon: lA, - LightningOffIcon: cA, - LinkBrokenIcon: pA, - LinkIcon: dA, - LinkedinIcon: fA, - LinuxIcon: hA, - ListOrderedIcon: mA, - ListUnorderedIcon: qa, - LocationIcon: gA, - LockIcon: yA, - MarkdownIcon: bA, - MarkupIcon: EA, - MediumIcon: AA, - MemoryIcon: SA, - MenuIcon: wA, - MergeIcon: CA, - MirrorIcon: vA, - MobileIcon: DA, - MoonIcon: xA, - NutIcon: FA, - OutboxIcon: TA, - OutlineIcon: OA, - PaintBrushIcon: RA, - PaperClipIcon: IA, - ParagraphIcon: _A, - PassedIcon: BA, - PhoneIcon: PA, - PhotoDragIcon: LA, - PhotoIcon: NA, - PinAltIcon: kA, - PinIcon: jA, - PlayAllHollowIcon: MA, - PlayBackIcon: $a, - PlayHollowIcon: qA, - PlayIcon: za, - PlayNextIcon: Ha, - PlusIcon: $A, - PointerDefaultIcon: zA, - PointerHandIcon: HA, - PowerIcon: UA, - PrintIcon: VA, - ProceedIcon: GA, - ProfileIcon: WA, - PullRequestIcon: YA, - QuestionIcon: KA, - RSSIcon: XA, - RedirectIcon: JA, - ReduxIcon: QA, - RefreshIcon: ZA, - ReplyIcon: eS, - RepoIcon: tS, - RequestChangeIcon: rS, - RewindIcon: Ua, - RulerIcon: nS, - SaveIcon: oS, - SearchIcon: uS, - ShareAltIcon: aS, - ShareIcon: iS, - ShieldIcon: sS, - SideBySideIcon: lS, - SidebarAltIcon: cS, - SidebarAltToggleIcon: pS, - SidebarIcon: dS, - SidebarToggleIcon: fS, - SpeakerIcon: hS, - StackedIcon: mS, - StarHollowIcon: gS, - StarIcon: yS, - StatusFailIcon: bS, - StatusPassIcon: ES, - StatusWarnIcon: AS, - StickerIcon: SS, - StopAltHollowIcon: wS, - StopAltIcon: Va, - StopIcon: CS, - StorybookIcon: vS, - StructureIcon: DS, - SubtractIcon: xS, - SunIcon: FS, - SupportIcon: TS, - SwitchAltIcon: OS, - SyncIcon: Ga, - TabletIcon: RS, - ThumbsUpIcon: IS, - TimeIcon: _S, - TimerIcon: BS, - TransferIcon: PS, - TrashIcon: LS, - TwitterIcon: NS, - TypeIcon: kS, - UbuntuIcon: jS, - UndoIcon: MS, - UnfoldIcon: qS, - UnlockIcon: $S, - UnpinIcon: zS, - UploadIcon: HS, - UserAddIcon: US, - UserAltIcon: VS, - UserIcon: GS, - UsersIcon: WS, - VSCodeIcon: YS, - VerifiedIcon: KS, - VideoIcon: Wa, - WandIcon: XS, - WatchIcon: JS, - WindowsIcon: QS, - WrenchIcon: ZS, - XIcon: ew, - YoutubeIcon: tw, - ZoomIcon: rw, - ZoomOutIcon: nw, - ZoomResetIcon: ow, - iconList: uw, - } = __STORYBOOK_ICONS__; - var E2 = Object.create, - si = Object.defineProperty, - A2 = Object.getOwnPropertyDescriptor, - li = Object.getOwnPropertyNames, - S2 = Object.getPrototypeOf, - w2 = Object.prototype.hasOwnProperty, - ue = (t, e) => - function () { - return ( - e || (0, t[li(t)[0]])((e = { exports: {} }).exports, e), e.exports - ); - }, - C2 = (t, e, r, n) => { - if ((e && typeof e == "object") || typeof e == "function") - for (let o of li(e)) - !w2.call(t, o) && - o !== r && - si(t, o, { - get: () => e[o], - enumerable: !(n = A2(e, o)) || n.enumerable, - }); - return t; - }, - xe = (t, e, r) => ( - (r = t != null ? E2(S2(t)) : {}), - C2( - e || !t || !t.__esModule - ? si(r, "default", { value: t, enumerable: !0 }) - : r, - t, - ) - ), - ci = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"( - t, - e, - ) { - e.exports = { - Aacute: "\xC1", - aacute: "\xE1", - Abreve: "\u0102", - abreve: "\u0103", - ac: "\u223E", - acd: "\u223F", - acE: "\u223E\u0333", - Acirc: "\xC2", - acirc: "\xE2", - acute: "\xB4", - Acy: "\u0410", - acy: "\u0430", - AElig: "\xC6", - aelig: "\xE6", - af: "\u2061", - Afr: "\u{1D504}", - afr: "\u{1D51E}", - Agrave: "\xC0", - agrave: "\xE0", - alefsym: "\u2135", - aleph: "\u2135", - Alpha: "\u0391", - alpha: "\u03B1", - Amacr: "\u0100", - amacr: "\u0101", - amalg: "\u2A3F", - amp: "&", - AMP: "&", - andand: "\u2A55", - And: "\u2A53", - and: "\u2227", - andd: "\u2A5C", - andslope: "\u2A58", - andv: "\u2A5A", - ang: "\u2220", - ange: "\u29A4", - angle: "\u2220", - angmsdaa: "\u29A8", - angmsdab: "\u29A9", - angmsdac: "\u29AA", - angmsdad: "\u29AB", - angmsdae: "\u29AC", - angmsdaf: "\u29AD", - angmsdag: "\u29AE", - angmsdah: "\u29AF", - angmsd: "\u2221", - angrt: "\u221F", - angrtvb: "\u22BE", - angrtvbd: "\u299D", - angsph: "\u2222", - angst: "\xC5", - angzarr: "\u237C", - Aogon: "\u0104", - aogon: "\u0105", - Aopf: "\u{1D538}", - aopf: "\u{1D552}", - apacir: "\u2A6F", - ap: "\u2248", - apE: "\u2A70", - ape: "\u224A", - apid: "\u224B", - apos: "'", - ApplyFunction: "\u2061", - approx: "\u2248", - approxeq: "\u224A", - Aring: "\xC5", - aring: "\xE5", - Ascr: "\u{1D49C}", - ascr: "\u{1D4B6}", - Assign: "\u2254", - ast: "*", - asymp: "\u2248", - asympeq: "\u224D", - Atilde: "\xC3", - atilde: "\xE3", - Auml: "\xC4", - auml: "\xE4", - awconint: "\u2233", - awint: "\u2A11", - backcong: "\u224C", - backepsilon: "\u03F6", - backprime: "\u2035", - backsim: "\u223D", - backsimeq: "\u22CD", - Backslash: "\u2216", - Barv: "\u2AE7", - barvee: "\u22BD", - barwed: "\u2305", - Barwed: "\u2306", - barwedge: "\u2305", - bbrk: "\u23B5", - bbrktbrk: "\u23B6", - bcong: "\u224C", - Bcy: "\u0411", - bcy: "\u0431", - bdquo: "\u201E", - becaus: "\u2235", - because: "\u2235", - Because: "\u2235", - bemptyv: "\u29B0", - bepsi: "\u03F6", - bernou: "\u212C", - Bernoullis: "\u212C", - Beta: "\u0392", - beta: "\u03B2", - beth: "\u2136", - between: "\u226C", - Bfr: "\u{1D505}", - bfr: "\u{1D51F}", - bigcap: "\u22C2", - bigcirc: "\u25EF", - bigcup: "\u22C3", - bigodot: "\u2A00", - bigoplus: "\u2A01", - bigotimes: "\u2A02", - bigsqcup: "\u2A06", - bigstar: "\u2605", - bigtriangledown: "\u25BD", - bigtriangleup: "\u25B3", - biguplus: "\u2A04", - bigvee: "\u22C1", - bigwedge: "\u22C0", - bkarow: "\u290D", - blacklozenge: "\u29EB", - blacksquare: "\u25AA", - blacktriangle: "\u25B4", - blacktriangledown: "\u25BE", - blacktriangleleft: "\u25C2", - blacktriangleright: "\u25B8", - blank: "\u2423", - blk12: "\u2592", - blk14: "\u2591", - blk34: "\u2593", - block: "\u2588", - bne: "=\u20E5", - bnequiv: "\u2261\u20E5", - bNot: "\u2AED", - bnot: "\u2310", - Bopf: "\u{1D539}", - bopf: "\u{1D553}", - bot: "\u22A5", - bottom: "\u22A5", - bowtie: "\u22C8", - boxbox: "\u29C9", - boxdl: "\u2510", - boxdL: "\u2555", - boxDl: "\u2556", - boxDL: "\u2557", - boxdr: "\u250C", - boxdR: "\u2552", - boxDr: "\u2553", - boxDR: "\u2554", - boxh: "\u2500", - boxH: "\u2550", - boxhd: "\u252C", - boxHd: "\u2564", - boxhD: "\u2565", - boxHD: "\u2566", - boxhu: "\u2534", - boxHu: "\u2567", - boxhU: "\u2568", - boxHU: "\u2569", - boxminus: "\u229F", - boxplus: "\u229E", - boxtimes: "\u22A0", - boxul: "\u2518", - boxuL: "\u255B", - boxUl: "\u255C", - boxUL: "\u255D", - boxur: "\u2514", - boxuR: "\u2558", - boxUr: "\u2559", - boxUR: "\u255A", - boxv: "\u2502", - boxV: "\u2551", - boxvh: "\u253C", - boxvH: "\u256A", - boxVh: "\u256B", - boxVH: "\u256C", - boxvl: "\u2524", - boxvL: "\u2561", - boxVl: "\u2562", - boxVL: "\u2563", - boxvr: "\u251C", - boxvR: "\u255E", - boxVr: "\u255F", - boxVR: "\u2560", - bprime: "\u2035", - breve: "\u02D8", - Breve: "\u02D8", - brvbar: "\xA6", - bscr: "\u{1D4B7}", - Bscr: "\u212C", - bsemi: "\u204F", - bsim: "\u223D", - bsime: "\u22CD", - bsolb: "\u29C5", - bsol: "\\", - bsolhsub: "\u27C8", - bull: "\u2022", - bullet: "\u2022", - bump: "\u224E", - bumpE: "\u2AAE", - bumpe: "\u224F", - Bumpeq: "\u224E", - bumpeq: "\u224F", - Cacute: "\u0106", - cacute: "\u0107", - capand: "\u2A44", - capbrcup: "\u2A49", - capcap: "\u2A4B", - cap: "\u2229", - Cap: "\u22D2", - capcup: "\u2A47", - capdot: "\u2A40", - CapitalDifferentialD: "\u2145", - caps: "\u2229\uFE00", - caret: "\u2041", - caron: "\u02C7", - Cayleys: "\u212D", - ccaps: "\u2A4D", - Ccaron: "\u010C", - ccaron: "\u010D", - Ccedil: "\xC7", - ccedil: "\xE7", - Ccirc: "\u0108", - ccirc: "\u0109", - Cconint: "\u2230", - ccups: "\u2A4C", - ccupssm: "\u2A50", - Cdot: "\u010A", - cdot: "\u010B", - cedil: "\xB8", - Cedilla: "\xB8", - cemptyv: "\u29B2", - cent: "\xA2", - centerdot: "\xB7", - CenterDot: "\xB7", - cfr: "\u{1D520}", - Cfr: "\u212D", - CHcy: "\u0427", - chcy: "\u0447", - check: "\u2713", - checkmark: "\u2713", - Chi: "\u03A7", - chi: "\u03C7", - circ: "\u02C6", - circeq: "\u2257", - circlearrowleft: "\u21BA", - circlearrowright: "\u21BB", - circledast: "\u229B", - circledcirc: "\u229A", - circleddash: "\u229D", - CircleDot: "\u2299", - circledR: "\xAE", - circledS: "\u24C8", - CircleMinus: "\u2296", - CirclePlus: "\u2295", - CircleTimes: "\u2297", - cir: "\u25CB", - cirE: "\u29C3", - cire: "\u2257", - cirfnint: "\u2A10", - cirmid: "\u2AEF", - cirscir: "\u29C2", - ClockwiseContourIntegral: "\u2232", - CloseCurlyDoubleQuote: "\u201D", - CloseCurlyQuote: "\u2019", - clubs: "\u2663", - clubsuit: "\u2663", - colon: ":", - Colon: "\u2237", - Colone: "\u2A74", - colone: "\u2254", - coloneq: "\u2254", - comma: ",", - commat: "@", - comp: "\u2201", - compfn: "\u2218", - complement: "\u2201", - complexes: "\u2102", - cong: "\u2245", - congdot: "\u2A6D", - Congruent: "\u2261", - conint: "\u222E", - Conint: "\u222F", - ContourIntegral: "\u222E", - copf: "\u{1D554}", - Copf: "\u2102", - coprod: "\u2210", - Coproduct: "\u2210", - copy: "\xA9", - COPY: "\xA9", - copysr: "\u2117", - CounterClockwiseContourIntegral: "\u2233", - crarr: "\u21B5", - cross: "\u2717", - Cross: "\u2A2F", - Cscr: "\u{1D49E}", - cscr: "\u{1D4B8}", - csub: "\u2ACF", - csube: "\u2AD1", - csup: "\u2AD0", - csupe: "\u2AD2", - ctdot: "\u22EF", - cudarrl: "\u2938", - cudarrr: "\u2935", - cuepr: "\u22DE", - cuesc: "\u22DF", - cularr: "\u21B6", - cularrp: "\u293D", - cupbrcap: "\u2A48", - cupcap: "\u2A46", - CupCap: "\u224D", - cup: "\u222A", - Cup: "\u22D3", - cupcup: "\u2A4A", - cupdot: "\u228D", - cupor: "\u2A45", - cups: "\u222A\uFE00", - curarr: "\u21B7", - curarrm: "\u293C", - curlyeqprec: "\u22DE", - curlyeqsucc: "\u22DF", - curlyvee: "\u22CE", - curlywedge: "\u22CF", - curren: "\xA4", - curvearrowleft: "\u21B6", - curvearrowright: "\u21B7", - cuvee: "\u22CE", - cuwed: "\u22CF", - cwconint: "\u2232", - cwint: "\u2231", - cylcty: "\u232D", - dagger: "\u2020", - Dagger: "\u2021", - daleth: "\u2138", - darr: "\u2193", - Darr: "\u21A1", - dArr: "\u21D3", - dash: "\u2010", - Dashv: "\u2AE4", - dashv: "\u22A3", - dbkarow: "\u290F", - dblac: "\u02DD", - Dcaron: "\u010E", - dcaron: "\u010F", - Dcy: "\u0414", - dcy: "\u0434", - ddagger: "\u2021", - ddarr: "\u21CA", - DD: "\u2145", - dd: "\u2146", - DDotrahd: "\u2911", - ddotseq: "\u2A77", - deg: "\xB0", - Del: "\u2207", - Delta: "\u0394", - delta: "\u03B4", - demptyv: "\u29B1", - dfisht: "\u297F", - Dfr: "\u{1D507}", - dfr: "\u{1D521}", - dHar: "\u2965", - dharl: "\u21C3", - dharr: "\u21C2", - DiacriticalAcute: "\xB4", - DiacriticalDot: "\u02D9", - DiacriticalDoubleAcute: "\u02DD", - DiacriticalGrave: "`", - DiacriticalTilde: "\u02DC", - diam: "\u22C4", - diamond: "\u22C4", - Diamond: "\u22C4", - diamondsuit: "\u2666", - diams: "\u2666", - die: "\xA8", - DifferentialD: "\u2146", - digamma: "\u03DD", - disin: "\u22F2", - div: "\xF7", - divide: "\xF7", - divideontimes: "\u22C7", - divonx: "\u22C7", - DJcy: "\u0402", - djcy: "\u0452", - dlcorn: "\u231E", - dlcrop: "\u230D", - dollar: "$", - Dopf: "\u{1D53B}", - dopf: "\u{1D555}", - Dot: "\xA8", - dot: "\u02D9", - DotDot: "\u20DC", - doteq: "\u2250", - doteqdot: "\u2251", - DotEqual: "\u2250", - dotminus: "\u2238", - dotplus: "\u2214", - dotsquare: "\u22A1", - doublebarwedge: "\u2306", - DoubleContourIntegral: "\u222F", - DoubleDot: "\xA8", - DoubleDownArrow: "\u21D3", - DoubleLeftArrow: "\u21D0", - DoubleLeftRightArrow: "\u21D4", - DoubleLeftTee: "\u2AE4", - DoubleLongLeftArrow: "\u27F8", - DoubleLongLeftRightArrow: "\u27FA", - DoubleLongRightArrow: "\u27F9", - DoubleRightArrow: "\u21D2", - DoubleRightTee: "\u22A8", - DoubleUpArrow: "\u21D1", - DoubleUpDownArrow: "\u21D5", - DoubleVerticalBar: "\u2225", - DownArrowBar: "\u2913", - downarrow: "\u2193", - DownArrow: "\u2193", - Downarrow: "\u21D3", - DownArrowUpArrow: "\u21F5", - DownBreve: "\u0311", - downdownarrows: "\u21CA", - downharpoonleft: "\u21C3", - downharpoonright: "\u21C2", - DownLeftRightVector: "\u2950", - DownLeftTeeVector: "\u295E", - DownLeftVectorBar: "\u2956", - DownLeftVector: "\u21BD", - DownRightTeeVector: "\u295F", - DownRightVectorBar: "\u2957", - DownRightVector: "\u21C1", - DownTeeArrow: "\u21A7", - DownTee: "\u22A4", - drbkarow: "\u2910", - drcorn: "\u231F", - drcrop: "\u230C", - Dscr: "\u{1D49F}", - dscr: "\u{1D4B9}", - DScy: "\u0405", - dscy: "\u0455", - dsol: "\u29F6", - Dstrok: "\u0110", - dstrok: "\u0111", - dtdot: "\u22F1", - dtri: "\u25BF", - dtrif: "\u25BE", - duarr: "\u21F5", - duhar: "\u296F", - dwangle: "\u29A6", - DZcy: "\u040F", - dzcy: "\u045F", - dzigrarr: "\u27FF", - Eacute: "\xC9", - eacute: "\xE9", - easter: "\u2A6E", - Ecaron: "\u011A", - ecaron: "\u011B", - Ecirc: "\xCA", - ecirc: "\xEA", - ecir: "\u2256", - ecolon: "\u2255", - Ecy: "\u042D", - ecy: "\u044D", - eDDot: "\u2A77", - Edot: "\u0116", - edot: "\u0117", - eDot: "\u2251", - ee: "\u2147", - efDot: "\u2252", - Efr: "\u{1D508}", - efr: "\u{1D522}", - eg: "\u2A9A", - Egrave: "\xC8", - egrave: "\xE8", - egs: "\u2A96", - egsdot: "\u2A98", - el: "\u2A99", - Element: "\u2208", - elinters: "\u23E7", - ell: "\u2113", - els: "\u2A95", - elsdot: "\u2A97", - Emacr: "\u0112", - emacr: "\u0113", - empty: "\u2205", - emptyset: "\u2205", - EmptySmallSquare: "\u25FB", - emptyv: "\u2205", - EmptyVerySmallSquare: "\u25AB", - emsp13: "\u2004", - emsp14: "\u2005", - emsp: "\u2003", - ENG: "\u014A", - eng: "\u014B", - ensp: "\u2002", - Eogon: "\u0118", - eogon: "\u0119", - Eopf: "\u{1D53C}", - eopf: "\u{1D556}", - epar: "\u22D5", - eparsl: "\u29E3", - eplus: "\u2A71", - epsi: "\u03B5", - Epsilon: "\u0395", - epsilon: "\u03B5", - epsiv: "\u03F5", - eqcirc: "\u2256", - eqcolon: "\u2255", - eqsim: "\u2242", - eqslantgtr: "\u2A96", - eqslantless: "\u2A95", - Equal: "\u2A75", - equals: "=", - EqualTilde: "\u2242", - equest: "\u225F", - Equilibrium: "\u21CC", - equiv: "\u2261", - equivDD: "\u2A78", - eqvparsl: "\u29E5", - erarr: "\u2971", - erDot: "\u2253", - escr: "\u212F", - Escr: "\u2130", - esdot: "\u2250", - Esim: "\u2A73", - esim: "\u2242", - Eta: "\u0397", - eta: "\u03B7", - ETH: "\xD0", - eth: "\xF0", - Euml: "\xCB", - euml: "\xEB", - euro: "\u20AC", - excl: "!", - exist: "\u2203", - Exists: "\u2203", - expectation: "\u2130", - exponentiale: "\u2147", - ExponentialE: "\u2147", - fallingdotseq: "\u2252", - Fcy: "\u0424", - fcy: "\u0444", - female: "\u2640", - ffilig: "\uFB03", - fflig: "\uFB00", - ffllig: "\uFB04", - Ffr: "\u{1D509}", - ffr: "\u{1D523}", - filig: "\uFB01", - FilledSmallSquare: "\u25FC", - FilledVerySmallSquare: "\u25AA", - fjlig: "fj", - flat: "\u266D", - fllig: "\uFB02", - fltns: "\u25B1", - fnof: "\u0192", - Fopf: "\u{1D53D}", - fopf: "\u{1D557}", - forall: "\u2200", - ForAll: "\u2200", - fork: "\u22D4", - forkv: "\u2AD9", - Fouriertrf: "\u2131", - fpartint: "\u2A0D", - frac12: "\xBD", - frac13: "\u2153", - frac14: "\xBC", - frac15: "\u2155", - frac16: "\u2159", - frac18: "\u215B", - frac23: "\u2154", - frac25: "\u2156", - frac34: "\xBE", - frac35: "\u2157", - frac38: "\u215C", - frac45: "\u2158", - frac56: "\u215A", - frac58: "\u215D", - frac78: "\u215E", - frasl: "\u2044", - frown: "\u2322", - fscr: "\u{1D4BB}", - Fscr: "\u2131", - gacute: "\u01F5", - Gamma: "\u0393", - gamma: "\u03B3", - Gammad: "\u03DC", - gammad: "\u03DD", - gap: "\u2A86", - Gbreve: "\u011E", - gbreve: "\u011F", - Gcedil: "\u0122", - Gcirc: "\u011C", - gcirc: "\u011D", - Gcy: "\u0413", - gcy: "\u0433", - Gdot: "\u0120", - gdot: "\u0121", - ge: "\u2265", - gE: "\u2267", - gEl: "\u2A8C", - gel: "\u22DB", - geq: "\u2265", - geqq: "\u2267", - geqslant: "\u2A7E", - gescc: "\u2AA9", - ges: "\u2A7E", - gesdot: "\u2A80", - gesdoto: "\u2A82", - gesdotol: "\u2A84", - gesl: "\u22DB\uFE00", - gesles: "\u2A94", - Gfr: "\u{1D50A}", - gfr: "\u{1D524}", - gg: "\u226B", - Gg: "\u22D9", - ggg: "\u22D9", - gimel: "\u2137", - GJcy: "\u0403", - gjcy: "\u0453", - gla: "\u2AA5", - gl: "\u2277", - glE: "\u2A92", - glj: "\u2AA4", - gnap: "\u2A8A", - gnapprox: "\u2A8A", - gne: "\u2A88", - gnE: "\u2269", - gneq: "\u2A88", - gneqq: "\u2269", - gnsim: "\u22E7", - Gopf: "\u{1D53E}", - gopf: "\u{1D558}", - grave: "`", - GreaterEqual: "\u2265", - GreaterEqualLess: "\u22DB", - GreaterFullEqual: "\u2267", - GreaterGreater: "\u2AA2", - GreaterLess: "\u2277", - GreaterSlantEqual: "\u2A7E", - GreaterTilde: "\u2273", - Gscr: "\u{1D4A2}", - gscr: "\u210A", - gsim: "\u2273", - gsime: "\u2A8E", - gsiml: "\u2A90", - gtcc: "\u2AA7", - gtcir: "\u2A7A", - gt: ">", - GT: ">", - Gt: "\u226B", - gtdot: "\u22D7", - gtlPar: "\u2995", - gtquest: "\u2A7C", - gtrapprox: "\u2A86", - gtrarr: "\u2978", - gtrdot: "\u22D7", - gtreqless: "\u22DB", - gtreqqless: "\u2A8C", - gtrless: "\u2277", - gtrsim: "\u2273", - gvertneqq: "\u2269\uFE00", - gvnE: "\u2269\uFE00", - Hacek: "\u02C7", - hairsp: "\u200A", - half: "\xBD", - hamilt: "\u210B", - HARDcy: "\u042A", - hardcy: "\u044A", - harrcir: "\u2948", - harr: "\u2194", - hArr: "\u21D4", - harrw: "\u21AD", - Hat: "^", - hbar: "\u210F", - Hcirc: "\u0124", - hcirc: "\u0125", - hearts: "\u2665", - heartsuit: "\u2665", - hellip: "\u2026", - hercon: "\u22B9", - hfr: "\u{1D525}", - Hfr: "\u210C", - HilbertSpace: "\u210B", - hksearow: "\u2925", - hkswarow: "\u2926", - hoarr: "\u21FF", - homtht: "\u223B", - hookleftarrow: "\u21A9", - hookrightarrow: "\u21AA", - hopf: "\u{1D559}", - Hopf: "\u210D", - horbar: "\u2015", - HorizontalLine: "\u2500", - hscr: "\u{1D4BD}", - Hscr: "\u210B", - hslash: "\u210F", - Hstrok: "\u0126", - hstrok: "\u0127", - HumpDownHump: "\u224E", - HumpEqual: "\u224F", - hybull: "\u2043", - hyphen: "\u2010", - Iacute: "\xCD", - iacute: "\xED", - ic: "\u2063", - Icirc: "\xCE", - icirc: "\xEE", - Icy: "\u0418", - icy: "\u0438", - Idot: "\u0130", - IEcy: "\u0415", - iecy: "\u0435", - iexcl: "\xA1", - iff: "\u21D4", - ifr: "\u{1D526}", - Ifr: "\u2111", - Igrave: "\xCC", - igrave: "\xEC", - ii: "\u2148", - iiiint: "\u2A0C", - iiint: "\u222D", - iinfin: "\u29DC", - iiota: "\u2129", - IJlig: "\u0132", - ijlig: "\u0133", - Imacr: "\u012A", - imacr: "\u012B", - image: "\u2111", - ImaginaryI: "\u2148", - imagline: "\u2110", - imagpart: "\u2111", - imath: "\u0131", - Im: "\u2111", - imof: "\u22B7", - imped: "\u01B5", - Implies: "\u21D2", - incare: "\u2105", - in: "\u2208", - infin: "\u221E", - infintie: "\u29DD", - inodot: "\u0131", - intcal: "\u22BA", - int: "\u222B", - Int: "\u222C", - integers: "\u2124", - Integral: "\u222B", - intercal: "\u22BA", - Intersection: "\u22C2", - intlarhk: "\u2A17", - intprod: "\u2A3C", - InvisibleComma: "\u2063", - InvisibleTimes: "\u2062", - IOcy: "\u0401", - iocy: "\u0451", - Iogon: "\u012E", - iogon: "\u012F", - Iopf: "\u{1D540}", - iopf: "\u{1D55A}", - Iota: "\u0399", - iota: "\u03B9", - iprod: "\u2A3C", - iquest: "\xBF", - iscr: "\u{1D4BE}", - Iscr: "\u2110", - isin: "\u2208", - isindot: "\u22F5", - isinE: "\u22F9", - isins: "\u22F4", - isinsv: "\u22F3", - isinv: "\u2208", - it: "\u2062", - Itilde: "\u0128", - itilde: "\u0129", - Iukcy: "\u0406", - iukcy: "\u0456", - Iuml: "\xCF", - iuml: "\xEF", - Jcirc: "\u0134", - jcirc: "\u0135", - Jcy: "\u0419", - jcy: "\u0439", - Jfr: "\u{1D50D}", - jfr: "\u{1D527}", - jmath: "\u0237", - Jopf: "\u{1D541}", - jopf: "\u{1D55B}", - Jscr: "\u{1D4A5}", - jscr: "\u{1D4BF}", - Jsercy: "\u0408", - jsercy: "\u0458", - Jukcy: "\u0404", - jukcy: "\u0454", - Kappa: "\u039A", - kappa: "\u03BA", - kappav: "\u03F0", - Kcedil: "\u0136", - kcedil: "\u0137", - Kcy: "\u041A", - kcy: "\u043A", - Kfr: "\u{1D50E}", - kfr: "\u{1D528}", - kgreen: "\u0138", - KHcy: "\u0425", - khcy: "\u0445", - KJcy: "\u040C", - kjcy: "\u045C", - Kopf: "\u{1D542}", - kopf: "\u{1D55C}", - Kscr: "\u{1D4A6}", - kscr: "\u{1D4C0}", - lAarr: "\u21DA", - Lacute: "\u0139", - lacute: "\u013A", - laemptyv: "\u29B4", - lagran: "\u2112", - Lambda: "\u039B", - lambda: "\u03BB", - lang: "\u27E8", - Lang: "\u27EA", - langd: "\u2991", - langle: "\u27E8", - lap: "\u2A85", - Laplacetrf: "\u2112", - laquo: "\xAB", - larrb: "\u21E4", - larrbfs: "\u291F", - larr: "\u2190", - Larr: "\u219E", - lArr: "\u21D0", - larrfs: "\u291D", - larrhk: "\u21A9", - larrlp: "\u21AB", - larrpl: "\u2939", - larrsim: "\u2973", - larrtl: "\u21A2", - latail: "\u2919", - lAtail: "\u291B", - lat: "\u2AAB", - late: "\u2AAD", - lates: "\u2AAD\uFE00", - lbarr: "\u290C", - lBarr: "\u290E", - lbbrk: "\u2772", - lbrace: "{", - lbrack: "[", - lbrke: "\u298B", - lbrksld: "\u298F", - lbrkslu: "\u298D", - Lcaron: "\u013D", - lcaron: "\u013E", - Lcedil: "\u013B", - lcedil: "\u013C", - lceil: "\u2308", - lcub: "{", - Lcy: "\u041B", - lcy: "\u043B", - ldca: "\u2936", - ldquo: "\u201C", - ldquor: "\u201E", - ldrdhar: "\u2967", - ldrushar: "\u294B", - ldsh: "\u21B2", - le: "\u2264", - lE: "\u2266", - LeftAngleBracket: "\u27E8", - LeftArrowBar: "\u21E4", - leftarrow: "\u2190", - LeftArrow: "\u2190", - Leftarrow: "\u21D0", - LeftArrowRightArrow: "\u21C6", - leftarrowtail: "\u21A2", - LeftCeiling: "\u2308", - LeftDoubleBracket: "\u27E6", - LeftDownTeeVector: "\u2961", - LeftDownVectorBar: "\u2959", - LeftDownVector: "\u21C3", - LeftFloor: "\u230A", - leftharpoondown: "\u21BD", - leftharpoonup: "\u21BC", - leftleftarrows: "\u21C7", - leftrightarrow: "\u2194", - LeftRightArrow: "\u2194", - Leftrightarrow: "\u21D4", - leftrightarrows: "\u21C6", - leftrightharpoons: "\u21CB", - leftrightsquigarrow: "\u21AD", - LeftRightVector: "\u294E", - LeftTeeArrow: "\u21A4", - LeftTee: "\u22A3", - LeftTeeVector: "\u295A", - leftthreetimes: "\u22CB", - LeftTriangleBar: "\u29CF", - LeftTriangle: "\u22B2", - LeftTriangleEqual: "\u22B4", - LeftUpDownVector: "\u2951", - LeftUpTeeVector: "\u2960", - LeftUpVectorBar: "\u2958", - LeftUpVector: "\u21BF", - LeftVectorBar: "\u2952", - LeftVector: "\u21BC", - lEg: "\u2A8B", - leg: "\u22DA", - leq: "\u2264", - leqq: "\u2266", - leqslant: "\u2A7D", - lescc: "\u2AA8", - les: "\u2A7D", - lesdot: "\u2A7F", - lesdoto: "\u2A81", - lesdotor: "\u2A83", - lesg: "\u22DA\uFE00", - lesges: "\u2A93", - lessapprox: "\u2A85", - lessdot: "\u22D6", - lesseqgtr: "\u22DA", - lesseqqgtr: "\u2A8B", - LessEqualGreater: "\u22DA", - LessFullEqual: "\u2266", - LessGreater: "\u2276", - lessgtr: "\u2276", - LessLess: "\u2AA1", - lesssim: "\u2272", - LessSlantEqual: "\u2A7D", - LessTilde: "\u2272", - lfisht: "\u297C", - lfloor: "\u230A", - Lfr: "\u{1D50F}", - lfr: "\u{1D529}", - lg: "\u2276", - lgE: "\u2A91", - lHar: "\u2962", - lhard: "\u21BD", - lharu: "\u21BC", - lharul: "\u296A", - lhblk: "\u2584", - LJcy: "\u0409", - ljcy: "\u0459", - llarr: "\u21C7", - ll: "\u226A", - Ll: "\u22D8", - llcorner: "\u231E", - Lleftarrow: "\u21DA", - llhard: "\u296B", - lltri: "\u25FA", - Lmidot: "\u013F", - lmidot: "\u0140", - lmoustache: "\u23B0", - lmoust: "\u23B0", - lnap: "\u2A89", - lnapprox: "\u2A89", - lne: "\u2A87", - lnE: "\u2268", - lneq: "\u2A87", - lneqq: "\u2268", - lnsim: "\u22E6", - loang: "\u27EC", - loarr: "\u21FD", - lobrk: "\u27E6", - longleftarrow: "\u27F5", - LongLeftArrow: "\u27F5", - Longleftarrow: "\u27F8", - longleftrightarrow: "\u27F7", - LongLeftRightArrow: "\u27F7", - Longleftrightarrow: "\u27FA", - longmapsto: "\u27FC", - longrightarrow: "\u27F6", - LongRightArrow: "\u27F6", - Longrightarrow: "\u27F9", - looparrowleft: "\u21AB", - looparrowright: "\u21AC", - lopar: "\u2985", - Lopf: "\u{1D543}", - lopf: "\u{1D55D}", - loplus: "\u2A2D", - lotimes: "\u2A34", - lowast: "\u2217", - lowbar: "_", - LowerLeftArrow: "\u2199", - LowerRightArrow: "\u2198", - loz: "\u25CA", - lozenge: "\u25CA", - lozf: "\u29EB", - lpar: "(", - lparlt: "\u2993", - lrarr: "\u21C6", - lrcorner: "\u231F", - lrhar: "\u21CB", - lrhard: "\u296D", - lrm: "\u200E", - lrtri: "\u22BF", - lsaquo: "\u2039", - lscr: "\u{1D4C1}", - Lscr: "\u2112", - lsh: "\u21B0", - Lsh: "\u21B0", - lsim: "\u2272", - lsime: "\u2A8D", - lsimg: "\u2A8F", - lsqb: "[", - lsquo: "\u2018", - lsquor: "\u201A", - Lstrok: "\u0141", - lstrok: "\u0142", - ltcc: "\u2AA6", - ltcir: "\u2A79", - lt: "<", - LT: "<", - Lt: "\u226A", - ltdot: "\u22D6", - lthree: "\u22CB", - ltimes: "\u22C9", - ltlarr: "\u2976", - ltquest: "\u2A7B", - ltri: "\u25C3", - ltrie: "\u22B4", - ltrif: "\u25C2", - ltrPar: "\u2996", - lurdshar: "\u294A", - luruhar: "\u2966", - lvertneqq: "\u2268\uFE00", - lvnE: "\u2268\uFE00", - macr: "\xAF", - male: "\u2642", - malt: "\u2720", - maltese: "\u2720", - Map: "\u2905", - map: "\u21A6", - mapsto: "\u21A6", - mapstodown: "\u21A7", - mapstoleft: "\u21A4", - mapstoup: "\u21A5", - marker: "\u25AE", - mcomma: "\u2A29", - Mcy: "\u041C", - mcy: "\u043C", - mdash: "\u2014", - mDDot: "\u223A", - measuredangle: "\u2221", - MediumSpace: "\u205F", - Mellintrf: "\u2133", - Mfr: "\u{1D510}", - mfr: "\u{1D52A}", - mho: "\u2127", - micro: "\xB5", - midast: "*", - midcir: "\u2AF0", - mid: "\u2223", - middot: "\xB7", - minusb: "\u229F", - minus: "\u2212", - minusd: "\u2238", - minusdu: "\u2A2A", - MinusPlus: "\u2213", - mlcp: "\u2ADB", - mldr: "\u2026", - mnplus: "\u2213", - models: "\u22A7", - Mopf: "\u{1D544}", - mopf: "\u{1D55E}", - mp: "\u2213", - mscr: "\u{1D4C2}", - Mscr: "\u2133", - mstpos: "\u223E", - Mu: "\u039C", - mu: "\u03BC", - multimap: "\u22B8", - mumap: "\u22B8", - nabla: "\u2207", - Nacute: "\u0143", - nacute: "\u0144", - nang: "\u2220\u20D2", - nap: "\u2249", - napE: "\u2A70\u0338", - napid: "\u224B\u0338", - napos: "\u0149", - napprox: "\u2249", - natural: "\u266E", - naturals: "\u2115", - natur: "\u266E", - nbsp: "\xA0", - nbump: "\u224E\u0338", - nbumpe: "\u224F\u0338", - ncap: "\u2A43", - Ncaron: "\u0147", - ncaron: "\u0148", - Ncedil: "\u0145", - ncedil: "\u0146", - ncong: "\u2247", - ncongdot: "\u2A6D\u0338", - ncup: "\u2A42", - Ncy: "\u041D", - ncy: "\u043D", - ndash: "\u2013", - nearhk: "\u2924", - nearr: "\u2197", - neArr: "\u21D7", - nearrow: "\u2197", - ne: "\u2260", - nedot: "\u2250\u0338", - NegativeMediumSpace: "\u200B", - NegativeThickSpace: "\u200B", - NegativeThinSpace: "\u200B", - NegativeVeryThinSpace: "\u200B", - nequiv: "\u2262", - nesear: "\u2928", - nesim: "\u2242\u0338", - NestedGreaterGreater: "\u226B", - NestedLessLess: "\u226A", - NewLine: ` -`, - nexist: "\u2204", - nexists: "\u2204", - Nfr: "\u{1D511}", - nfr: "\u{1D52B}", - ngE: "\u2267\u0338", - nge: "\u2271", - ngeq: "\u2271", - ngeqq: "\u2267\u0338", - ngeqslant: "\u2A7E\u0338", - nges: "\u2A7E\u0338", - nGg: "\u22D9\u0338", - ngsim: "\u2275", - nGt: "\u226B\u20D2", - ngt: "\u226F", - ngtr: "\u226F", - nGtv: "\u226B\u0338", - nharr: "\u21AE", - nhArr: "\u21CE", - nhpar: "\u2AF2", - ni: "\u220B", - nis: "\u22FC", - nisd: "\u22FA", - niv: "\u220B", - NJcy: "\u040A", - njcy: "\u045A", - nlarr: "\u219A", - nlArr: "\u21CD", - nldr: "\u2025", - nlE: "\u2266\u0338", - nle: "\u2270", - nleftarrow: "\u219A", - nLeftarrow: "\u21CD", - nleftrightarrow: "\u21AE", - nLeftrightarrow: "\u21CE", - nleq: "\u2270", - nleqq: "\u2266\u0338", - nleqslant: "\u2A7D\u0338", - nles: "\u2A7D\u0338", - nless: "\u226E", - nLl: "\u22D8\u0338", - nlsim: "\u2274", - nLt: "\u226A\u20D2", - nlt: "\u226E", - nltri: "\u22EA", - nltrie: "\u22EC", - nLtv: "\u226A\u0338", - nmid: "\u2224", - NoBreak: "\u2060", - NonBreakingSpace: "\xA0", - nopf: "\u{1D55F}", - Nopf: "\u2115", - Not: "\u2AEC", - not: "\xAC", - NotCongruent: "\u2262", - NotCupCap: "\u226D", - NotDoubleVerticalBar: "\u2226", - NotElement: "\u2209", - NotEqual: "\u2260", - NotEqualTilde: "\u2242\u0338", - NotExists: "\u2204", - NotGreater: "\u226F", - NotGreaterEqual: "\u2271", - NotGreaterFullEqual: "\u2267\u0338", - NotGreaterGreater: "\u226B\u0338", - NotGreaterLess: "\u2279", - NotGreaterSlantEqual: "\u2A7E\u0338", - NotGreaterTilde: "\u2275", - NotHumpDownHump: "\u224E\u0338", - NotHumpEqual: "\u224F\u0338", - notin: "\u2209", - notindot: "\u22F5\u0338", - notinE: "\u22F9\u0338", - notinva: "\u2209", - notinvb: "\u22F7", - notinvc: "\u22F6", - NotLeftTriangleBar: "\u29CF\u0338", - NotLeftTriangle: "\u22EA", - NotLeftTriangleEqual: "\u22EC", - NotLess: "\u226E", - NotLessEqual: "\u2270", - NotLessGreater: "\u2278", - NotLessLess: "\u226A\u0338", - NotLessSlantEqual: "\u2A7D\u0338", - NotLessTilde: "\u2274", - NotNestedGreaterGreater: "\u2AA2\u0338", - NotNestedLessLess: "\u2AA1\u0338", - notni: "\u220C", - notniva: "\u220C", - notnivb: "\u22FE", - notnivc: "\u22FD", - NotPrecedes: "\u2280", - NotPrecedesEqual: "\u2AAF\u0338", - NotPrecedesSlantEqual: "\u22E0", - NotReverseElement: "\u220C", - NotRightTriangleBar: "\u29D0\u0338", - NotRightTriangle: "\u22EB", - NotRightTriangleEqual: "\u22ED", - NotSquareSubset: "\u228F\u0338", - NotSquareSubsetEqual: "\u22E2", - NotSquareSuperset: "\u2290\u0338", - NotSquareSupersetEqual: "\u22E3", - NotSubset: "\u2282\u20D2", - NotSubsetEqual: "\u2288", - NotSucceeds: "\u2281", - NotSucceedsEqual: "\u2AB0\u0338", - NotSucceedsSlantEqual: "\u22E1", - NotSucceedsTilde: "\u227F\u0338", - NotSuperset: "\u2283\u20D2", - NotSupersetEqual: "\u2289", - NotTilde: "\u2241", - NotTildeEqual: "\u2244", - NotTildeFullEqual: "\u2247", - NotTildeTilde: "\u2249", - NotVerticalBar: "\u2224", - nparallel: "\u2226", - npar: "\u2226", - nparsl: "\u2AFD\u20E5", - npart: "\u2202\u0338", - npolint: "\u2A14", - npr: "\u2280", - nprcue: "\u22E0", - nprec: "\u2280", - npreceq: "\u2AAF\u0338", - npre: "\u2AAF\u0338", - nrarrc: "\u2933\u0338", - nrarr: "\u219B", - nrArr: "\u21CF", - nrarrw: "\u219D\u0338", - nrightarrow: "\u219B", - nRightarrow: "\u21CF", - nrtri: "\u22EB", - nrtrie: "\u22ED", - nsc: "\u2281", - nsccue: "\u22E1", - nsce: "\u2AB0\u0338", - Nscr: "\u{1D4A9}", - nscr: "\u{1D4C3}", - nshortmid: "\u2224", - nshortparallel: "\u2226", - nsim: "\u2241", - nsime: "\u2244", - nsimeq: "\u2244", - nsmid: "\u2224", - nspar: "\u2226", - nsqsube: "\u22E2", - nsqsupe: "\u22E3", - nsub: "\u2284", - nsubE: "\u2AC5\u0338", - nsube: "\u2288", - nsubset: "\u2282\u20D2", - nsubseteq: "\u2288", - nsubseteqq: "\u2AC5\u0338", - nsucc: "\u2281", - nsucceq: "\u2AB0\u0338", - nsup: "\u2285", - nsupE: "\u2AC6\u0338", - nsupe: "\u2289", - nsupset: "\u2283\u20D2", - nsupseteq: "\u2289", - nsupseteqq: "\u2AC6\u0338", - ntgl: "\u2279", - Ntilde: "\xD1", - ntilde: "\xF1", - ntlg: "\u2278", - ntriangleleft: "\u22EA", - ntrianglelefteq: "\u22EC", - ntriangleright: "\u22EB", - ntrianglerighteq: "\u22ED", - Nu: "\u039D", - nu: "\u03BD", - num: "#", - numero: "\u2116", - numsp: "\u2007", - nvap: "\u224D\u20D2", - nvdash: "\u22AC", - nvDash: "\u22AD", - nVdash: "\u22AE", - nVDash: "\u22AF", - nvge: "\u2265\u20D2", - nvgt: ">\u20D2", - nvHarr: "\u2904", - nvinfin: "\u29DE", - nvlArr: "\u2902", - nvle: "\u2264\u20D2", - nvlt: "<\u20D2", - nvltrie: "\u22B4\u20D2", - nvrArr: "\u2903", - nvrtrie: "\u22B5\u20D2", - nvsim: "\u223C\u20D2", - nwarhk: "\u2923", - nwarr: "\u2196", - nwArr: "\u21D6", - nwarrow: "\u2196", - nwnear: "\u2927", - Oacute: "\xD3", - oacute: "\xF3", - oast: "\u229B", - Ocirc: "\xD4", - ocirc: "\xF4", - ocir: "\u229A", - Ocy: "\u041E", - ocy: "\u043E", - odash: "\u229D", - Odblac: "\u0150", - odblac: "\u0151", - odiv: "\u2A38", - odot: "\u2299", - odsold: "\u29BC", - OElig: "\u0152", - oelig: "\u0153", - ofcir: "\u29BF", - Ofr: "\u{1D512}", - ofr: "\u{1D52C}", - ogon: "\u02DB", - Ograve: "\xD2", - ograve: "\xF2", - ogt: "\u29C1", - ohbar: "\u29B5", - ohm: "\u03A9", - oint: "\u222E", - olarr: "\u21BA", - olcir: "\u29BE", - olcross: "\u29BB", - oline: "\u203E", - olt: "\u29C0", - Omacr: "\u014C", - omacr: "\u014D", - Omega: "\u03A9", - omega: "\u03C9", - Omicron: "\u039F", - omicron: "\u03BF", - omid: "\u29B6", - ominus: "\u2296", - Oopf: "\u{1D546}", - oopf: "\u{1D560}", - opar: "\u29B7", - OpenCurlyDoubleQuote: "\u201C", - OpenCurlyQuote: "\u2018", - operp: "\u29B9", - oplus: "\u2295", - orarr: "\u21BB", - Or: "\u2A54", - or: "\u2228", - ord: "\u2A5D", - order: "\u2134", - orderof: "\u2134", - ordf: "\xAA", - ordm: "\xBA", - origof: "\u22B6", - oror: "\u2A56", - orslope: "\u2A57", - orv: "\u2A5B", - oS: "\u24C8", - Oscr: "\u{1D4AA}", - oscr: "\u2134", - Oslash: "\xD8", - oslash: "\xF8", - osol: "\u2298", - Otilde: "\xD5", - otilde: "\xF5", - otimesas: "\u2A36", - Otimes: "\u2A37", - otimes: "\u2297", - Ouml: "\xD6", - ouml: "\xF6", - ovbar: "\u233D", - OverBar: "\u203E", - OverBrace: "\u23DE", - OverBracket: "\u23B4", - OverParenthesis: "\u23DC", - para: "\xB6", - parallel: "\u2225", - par: "\u2225", - parsim: "\u2AF3", - parsl: "\u2AFD", - part: "\u2202", - PartialD: "\u2202", - Pcy: "\u041F", - pcy: "\u043F", - percnt: "%", - period: ".", - permil: "\u2030", - perp: "\u22A5", - pertenk: "\u2031", - Pfr: "\u{1D513}", - pfr: "\u{1D52D}", - Phi: "\u03A6", - phi: "\u03C6", - phiv: "\u03D5", - phmmat: "\u2133", - phone: "\u260E", - Pi: "\u03A0", - pi: "\u03C0", - pitchfork: "\u22D4", - piv: "\u03D6", - planck: "\u210F", - planckh: "\u210E", - plankv: "\u210F", - plusacir: "\u2A23", - plusb: "\u229E", - pluscir: "\u2A22", - plus: "+", - plusdo: "\u2214", - plusdu: "\u2A25", - pluse: "\u2A72", - PlusMinus: "\xB1", - plusmn: "\xB1", - plussim: "\u2A26", - plustwo: "\u2A27", - pm: "\xB1", - Poincareplane: "\u210C", - pointint: "\u2A15", - popf: "\u{1D561}", - Popf: "\u2119", - pound: "\xA3", - prap: "\u2AB7", - Pr: "\u2ABB", - pr: "\u227A", - prcue: "\u227C", - precapprox: "\u2AB7", - prec: "\u227A", - preccurlyeq: "\u227C", - Precedes: "\u227A", - PrecedesEqual: "\u2AAF", - PrecedesSlantEqual: "\u227C", - PrecedesTilde: "\u227E", - preceq: "\u2AAF", - precnapprox: "\u2AB9", - precneqq: "\u2AB5", - precnsim: "\u22E8", - pre: "\u2AAF", - prE: "\u2AB3", - precsim: "\u227E", - prime: "\u2032", - Prime: "\u2033", - primes: "\u2119", - prnap: "\u2AB9", - prnE: "\u2AB5", - prnsim: "\u22E8", - prod: "\u220F", - Product: "\u220F", - profalar: "\u232E", - profline: "\u2312", - profsurf: "\u2313", - prop: "\u221D", - Proportional: "\u221D", - Proportion: "\u2237", - propto: "\u221D", - prsim: "\u227E", - prurel: "\u22B0", - Pscr: "\u{1D4AB}", - pscr: "\u{1D4C5}", - Psi: "\u03A8", - psi: "\u03C8", - puncsp: "\u2008", - Qfr: "\u{1D514}", - qfr: "\u{1D52E}", - qint: "\u2A0C", - qopf: "\u{1D562}", - Qopf: "\u211A", - qprime: "\u2057", - Qscr: "\u{1D4AC}", - qscr: "\u{1D4C6}", - quaternions: "\u210D", - quatint: "\u2A16", - quest: "?", - questeq: "\u225F", - quot: '"', - QUOT: '"', - rAarr: "\u21DB", - race: "\u223D\u0331", - Racute: "\u0154", - racute: "\u0155", - radic: "\u221A", - raemptyv: "\u29B3", - rang: "\u27E9", - Rang: "\u27EB", - rangd: "\u2992", - range: "\u29A5", - rangle: "\u27E9", - raquo: "\xBB", - rarrap: "\u2975", - rarrb: "\u21E5", - rarrbfs: "\u2920", - rarrc: "\u2933", - rarr: "\u2192", - Rarr: "\u21A0", - rArr: "\u21D2", - rarrfs: "\u291E", - rarrhk: "\u21AA", - rarrlp: "\u21AC", - rarrpl: "\u2945", - rarrsim: "\u2974", - Rarrtl: "\u2916", - rarrtl: "\u21A3", - rarrw: "\u219D", - ratail: "\u291A", - rAtail: "\u291C", - ratio: "\u2236", - rationals: "\u211A", - rbarr: "\u290D", - rBarr: "\u290F", - RBarr: "\u2910", - rbbrk: "\u2773", - rbrace: "}", - rbrack: "]", - rbrke: "\u298C", - rbrksld: "\u298E", - rbrkslu: "\u2990", - Rcaron: "\u0158", - rcaron: "\u0159", - Rcedil: "\u0156", - rcedil: "\u0157", - rceil: "\u2309", - rcub: "}", - Rcy: "\u0420", - rcy: "\u0440", - rdca: "\u2937", - rdldhar: "\u2969", - rdquo: "\u201D", - rdquor: "\u201D", - rdsh: "\u21B3", - real: "\u211C", - realine: "\u211B", - realpart: "\u211C", - reals: "\u211D", - Re: "\u211C", - rect: "\u25AD", - reg: "\xAE", - REG: "\xAE", - ReverseElement: "\u220B", - ReverseEquilibrium: "\u21CB", - ReverseUpEquilibrium: "\u296F", - rfisht: "\u297D", - rfloor: "\u230B", - rfr: "\u{1D52F}", - Rfr: "\u211C", - rHar: "\u2964", - rhard: "\u21C1", - rharu: "\u21C0", - rharul: "\u296C", - Rho: "\u03A1", - rho: "\u03C1", - rhov: "\u03F1", - RightAngleBracket: "\u27E9", - RightArrowBar: "\u21E5", - rightarrow: "\u2192", - RightArrow: "\u2192", - Rightarrow: "\u21D2", - RightArrowLeftArrow: "\u21C4", - rightarrowtail: "\u21A3", - RightCeiling: "\u2309", - RightDoubleBracket: "\u27E7", - RightDownTeeVector: "\u295D", - RightDownVectorBar: "\u2955", - RightDownVector: "\u21C2", - RightFloor: "\u230B", - rightharpoondown: "\u21C1", - rightharpoonup: "\u21C0", - rightleftarrows: "\u21C4", - rightleftharpoons: "\u21CC", - rightrightarrows: "\u21C9", - rightsquigarrow: "\u219D", - RightTeeArrow: "\u21A6", - RightTee: "\u22A2", - RightTeeVector: "\u295B", - rightthreetimes: "\u22CC", - RightTriangleBar: "\u29D0", - RightTriangle: "\u22B3", - RightTriangleEqual: "\u22B5", - RightUpDownVector: "\u294F", - RightUpTeeVector: "\u295C", - RightUpVectorBar: "\u2954", - RightUpVector: "\u21BE", - RightVectorBar: "\u2953", - RightVector: "\u21C0", - ring: "\u02DA", - risingdotseq: "\u2253", - rlarr: "\u21C4", - rlhar: "\u21CC", - rlm: "\u200F", - rmoustache: "\u23B1", - rmoust: "\u23B1", - rnmid: "\u2AEE", - roang: "\u27ED", - roarr: "\u21FE", - robrk: "\u27E7", - ropar: "\u2986", - ropf: "\u{1D563}", - Ropf: "\u211D", - roplus: "\u2A2E", - rotimes: "\u2A35", - RoundImplies: "\u2970", - rpar: ")", - rpargt: "\u2994", - rppolint: "\u2A12", - rrarr: "\u21C9", - Rrightarrow: "\u21DB", - rsaquo: "\u203A", - rscr: "\u{1D4C7}", - Rscr: "\u211B", - rsh: "\u21B1", - Rsh: "\u21B1", - rsqb: "]", - rsquo: "\u2019", - rsquor: "\u2019", - rthree: "\u22CC", - rtimes: "\u22CA", - rtri: "\u25B9", - rtrie: "\u22B5", - rtrif: "\u25B8", - rtriltri: "\u29CE", - RuleDelayed: "\u29F4", - ruluhar: "\u2968", - rx: "\u211E", - Sacute: "\u015A", - sacute: "\u015B", - sbquo: "\u201A", - scap: "\u2AB8", - Scaron: "\u0160", - scaron: "\u0161", - Sc: "\u2ABC", - sc: "\u227B", - sccue: "\u227D", - sce: "\u2AB0", - scE: "\u2AB4", - Scedil: "\u015E", - scedil: "\u015F", - Scirc: "\u015C", - scirc: "\u015D", - scnap: "\u2ABA", - scnE: "\u2AB6", - scnsim: "\u22E9", - scpolint: "\u2A13", - scsim: "\u227F", - Scy: "\u0421", - scy: "\u0441", - sdotb: "\u22A1", - sdot: "\u22C5", - sdote: "\u2A66", - searhk: "\u2925", - searr: "\u2198", - seArr: "\u21D8", - searrow: "\u2198", - sect: "\xA7", - semi: ";", - seswar: "\u2929", - setminus: "\u2216", - setmn: "\u2216", - sext: "\u2736", - Sfr: "\u{1D516}", - sfr: "\u{1D530}", - sfrown: "\u2322", - sharp: "\u266F", - SHCHcy: "\u0429", - shchcy: "\u0449", - SHcy: "\u0428", - shcy: "\u0448", - ShortDownArrow: "\u2193", - ShortLeftArrow: "\u2190", - shortmid: "\u2223", - shortparallel: "\u2225", - ShortRightArrow: "\u2192", - ShortUpArrow: "\u2191", - shy: "\xAD", - Sigma: "\u03A3", - sigma: "\u03C3", - sigmaf: "\u03C2", - sigmav: "\u03C2", - sim: "\u223C", - simdot: "\u2A6A", - sime: "\u2243", - simeq: "\u2243", - simg: "\u2A9E", - simgE: "\u2AA0", - siml: "\u2A9D", - simlE: "\u2A9F", - simne: "\u2246", - simplus: "\u2A24", - simrarr: "\u2972", - slarr: "\u2190", - SmallCircle: "\u2218", - smallsetminus: "\u2216", - smashp: "\u2A33", - smeparsl: "\u29E4", - smid: "\u2223", - smile: "\u2323", - smt: "\u2AAA", - smte: "\u2AAC", - smtes: "\u2AAC\uFE00", - SOFTcy: "\u042C", - softcy: "\u044C", - solbar: "\u233F", - solb: "\u29C4", - sol: "/", - Sopf: "\u{1D54A}", - sopf: "\u{1D564}", - spades: "\u2660", - spadesuit: "\u2660", - spar: "\u2225", - sqcap: "\u2293", - sqcaps: "\u2293\uFE00", - sqcup: "\u2294", - sqcups: "\u2294\uFE00", - Sqrt: "\u221A", - sqsub: "\u228F", - sqsube: "\u2291", - sqsubset: "\u228F", - sqsubseteq: "\u2291", - sqsup: "\u2290", - sqsupe: "\u2292", - sqsupset: "\u2290", - sqsupseteq: "\u2292", - square: "\u25A1", - Square: "\u25A1", - SquareIntersection: "\u2293", - SquareSubset: "\u228F", - SquareSubsetEqual: "\u2291", - SquareSuperset: "\u2290", - SquareSupersetEqual: "\u2292", - SquareUnion: "\u2294", - squarf: "\u25AA", - squ: "\u25A1", - squf: "\u25AA", - srarr: "\u2192", - Sscr: "\u{1D4AE}", - sscr: "\u{1D4C8}", - ssetmn: "\u2216", - ssmile: "\u2323", - sstarf: "\u22C6", - Star: "\u22C6", - star: "\u2606", - starf: "\u2605", - straightepsilon: "\u03F5", - straightphi: "\u03D5", - strns: "\xAF", - sub: "\u2282", - Sub: "\u22D0", - subdot: "\u2ABD", - subE: "\u2AC5", - sube: "\u2286", - subedot: "\u2AC3", - submult: "\u2AC1", - subnE: "\u2ACB", - subne: "\u228A", - subplus: "\u2ABF", - subrarr: "\u2979", - subset: "\u2282", - Subset: "\u22D0", - subseteq: "\u2286", - subseteqq: "\u2AC5", - SubsetEqual: "\u2286", - subsetneq: "\u228A", - subsetneqq: "\u2ACB", - subsim: "\u2AC7", - subsub: "\u2AD5", - subsup: "\u2AD3", - succapprox: "\u2AB8", - succ: "\u227B", - succcurlyeq: "\u227D", - Succeeds: "\u227B", - SucceedsEqual: "\u2AB0", - SucceedsSlantEqual: "\u227D", - SucceedsTilde: "\u227F", - succeq: "\u2AB0", - succnapprox: "\u2ABA", - succneqq: "\u2AB6", - succnsim: "\u22E9", - succsim: "\u227F", - SuchThat: "\u220B", - sum: "\u2211", - Sum: "\u2211", - sung: "\u266A", - sup1: "\xB9", - sup2: "\xB2", - sup3: "\xB3", - sup: "\u2283", - Sup: "\u22D1", - supdot: "\u2ABE", - supdsub: "\u2AD8", - supE: "\u2AC6", - supe: "\u2287", - supedot: "\u2AC4", - Superset: "\u2283", - SupersetEqual: "\u2287", - suphsol: "\u27C9", - suphsub: "\u2AD7", - suplarr: "\u297B", - supmult: "\u2AC2", - supnE: "\u2ACC", - supne: "\u228B", - supplus: "\u2AC0", - supset: "\u2283", - Supset: "\u22D1", - supseteq: "\u2287", - supseteqq: "\u2AC6", - supsetneq: "\u228B", - supsetneqq: "\u2ACC", - supsim: "\u2AC8", - supsub: "\u2AD4", - supsup: "\u2AD6", - swarhk: "\u2926", - swarr: "\u2199", - swArr: "\u21D9", - swarrow: "\u2199", - swnwar: "\u292A", - szlig: "\xDF", - Tab: " ", - target: "\u2316", - Tau: "\u03A4", - tau: "\u03C4", - tbrk: "\u23B4", - Tcaron: "\u0164", - tcaron: "\u0165", - Tcedil: "\u0162", - tcedil: "\u0163", - Tcy: "\u0422", - tcy: "\u0442", - tdot: "\u20DB", - telrec: "\u2315", - Tfr: "\u{1D517}", - tfr: "\u{1D531}", - there4: "\u2234", - therefore: "\u2234", - Therefore: "\u2234", - Theta: "\u0398", - theta: "\u03B8", - thetasym: "\u03D1", - thetav: "\u03D1", - thickapprox: "\u2248", - thicksim: "\u223C", - ThickSpace: "\u205F\u200A", - ThinSpace: "\u2009", - thinsp: "\u2009", - thkap: "\u2248", - thksim: "\u223C", - THORN: "\xDE", - thorn: "\xFE", - tilde: "\u02DC", - Tilde: "\u223C", - TildeEqual: "\u2243", - TildeFullEqual: "\u2245", - TildeTilde: "\u2248", - timesbar: "\u2A31", - timesb: "\u22A0", - times: "\xD7", - timesd: "\u2A30", - tint: "\u222D", - toea: "\u2928", - topbot: "\u2336", - topcir: "\u2AF1", - top: "\u22A4", - Topf: "\u{1D54B}", - topf: "\u{1D565}", - topfork: "\u2ADA", - tosa: "\u2929", - tprime: "\u2034", - trade: "\u2122", - TRADE: "\u2122", - triangle: "\u25B5", - triangledown: "\u25BF", - triangleleft: "\u25C3", - trianglelefteq: "\u22B4", - triangleq: "\u225C", - triangleright: "\u25B9", - trianglerighteq: "\u22B5", - tridot: "\u25EC", - trie: "\u225C", - triminus: "\u2A3A", - TripleDot: "\u20DB", - triplus: "\u2A39", - trisb: "\u29CD", - tritime: "\u2A3B", - trpezium: "\u23E2", - Tscr: "\u{1D4AF}", - tscr: "\u{1D4C9}", - TScy: "\u0426", - tscy: "\u0446", - TSHcy: "\u040B", - tshcy: "\u045B", - Tstrok: "\u0166", - tstrok: "\u0167", - twixt: "\u226C", - twoheadleftarrow: "\u219E", - twoheadrightarrow: "\u21A0", - Uacute: "\xDA", - uacute: "\xFA", - uarr: "\u2191", - Uarr: "\u219F", - uArr: "\u21D1", - Uarrocir: "\u2949", - Ubrcy: "\u040E", - ubrcy: "\u045E", - Ubreve: "\u016C", - ubreve: "\u016D", - Ucirc: "\xDB", - ucirc: "\xFB", - Ucy: "\u0423", - ucy: "\u0443", - udarr: "\u21C5", - Udblac: "\u0170", - udblac: "\u0171", - udhar: "\u296E", - ufisht: "\u297E", - Ufr: "\u{1D518}", - ufr: "\u{1D532}", - Ugrave: "\xD9", - ugrave: "\xF9", - uHar: "\u2963", - uharl: "\u21BF", - uharr: "\u21BE", - uhblk: "\u2580", - ulcorn: "\u231C", - ulcorner: "\u231C", - ulcrop: "\u230F", - ultri: "\u25F8", - Umacr: "\u016A", - umacr: "\u016B", - uml: "\xA8", - UnderBar: "_", - UnderBrace: "\u23DF", - UnderBracket: "\u23B5", - UnderParenthesis: "\u23DD", - Union: "\u22C3", - UnionPlus: "\u228E", - Uogon: "\u0172", - uogon: "\u0173", - Uopf: "\u{1D54C}", - uopf: "\u{1D566}", - UpArrowBar: "\u2912", - uparrow: "\u2191", - UpArrow: "\u2191", - Uparrow: "\u21D1", - UpArrowDownArrow: "\u21C5", - updownarrow: "\u2195", - UpDownArrow: "\u2195", - Updownarrow: "\u21D5", - UpEquilibrium: "\u296E", - upharpoonleft: "\u21BF", - upharpoonright: "\u21BE", - uplus: "\u228E", - UpperLeftArrow: "\u2196", - UpperRightArrow: "\u2197", - upsi: "\u03C5", - Upsi: "\u03D2", - upsih: "\u03D2", - Upsilon: "\u03A5", - upsilon: "\u03C5", - UpTeeArrow: "\u21A5", - UpTee: "\u22A5", - upuparrows: "\u21C8", - urcorn: "\u231D", - urcorner: "\u231D", - urcrop: "\u230E", - Uring: "\u016E", - uring: "\u016F", - urtri: "\u25F9", - Uscr: "\u{1D4B0}", - uscr: "\u{1D4CA}", - utdot: "\u22F0", - Utilde: "\u0168", - utilde: "\u0169", - utri: "\u25B5", - utrif: "\u25B4", - uuarr: "\u21C8", - Uuml: "\xDC", - uuml: "\xFC", - uwangle: "\u29A7", - vangrt: "\u299C", - varepsilon: "\u03F5", - varkappa: "\u03F0", - varnothing: "\u2205", - varphi: "\u03D5", - varpi: "\u03D6", - varpropto: "\u221D", - varr: "\u2195", - vArr: "\u21D5", - varrho: "\u03F1", - varsigma: "\u03C2", - varsubsetneq: "\u228A\uFE00", - varsubsetneqq: "\u2ACB\uFE00", - varsupsetneq: "\u228B\uFE00", - varsupsetneqq: "\u2ACC\uFE00", - vartheta: "\u03D1", - vartriangleleft: "\u22B2", - vartriangleright: "\u22B3", - vBar: "\u2AE8", - Vbar: "\u2AEB", - vBarv: "\u2AE9", - Vcy: "\u0412", - vcy: "\u0432", - vdash: "\u22A2", - vDash: "\u22A8", - Vdash: "\u22A9", - VDash: "\u22AB", - Vdashl: "\u2AE6", - veebar: "\u22BB", - vee: "\u2228", - Vee: "\u22C1", - veeeq: "\u225A", - vellip: "\u22EE", - verbar: "|", - Verbar: "\u2016", - vert: "|", - Vert: "\u2016", - VerticalBar: "\u2223", - VerticalLine: "|", - VerticalSeparator: "\u2758", - VerticalTilde: "\u2240", - VeryThinSpace: "\u200A", - Vfr: "\u{1D519}", - vfr: "\u{1D533}", - vltri: "\u22B2", - vnsub: "\u2282\u20D2", - vnsup: "\u2283\u20D2", - Vopf: "\u{1D54D}", - vopf: "\u{1D567}", - vprop: "\u221D", - vrtri: "\u22B3", - Vscr: "\u{1D4B1}", - vscr: "\u{1D4CB}", - vsubnE: "\u2ACB\uFE00", - vsubne: "\u228A\uFE00", - vsupnE: "\u2ACC\uFE00", - vsupne: "\u228B\uFE00", - Vvdash: "\u22AA", - vzigzag: "\u299A", - Wcirc: "\u0174", - wcirc: "\u0175", - wedbar: "\u2A5F", - wedge: "\u2227", - Wedge: "\u22C0", - wedgeq: "\u2259", - weierp: "\u2118", - Wfr: "\u{1D51A}", - wfr: "\u{1D534}", - Wopf: "\u{1D54E}", - wopf: "\u{1D568}", - wp: "\u2118", - wr: "\u2240", - wreath: "\u2240", - Wscr: "\u{1D4B2}", - wscr: "\u{1D4CC}", - xcap: "\u22C2", - xcirc: "\u25EF", - xcup: "\u22C3", - xdtri: "\u25BD", - Xfr: "\u{1D51B}", - xfr: "\u{1D535}", - xharr: "\u27F7", - xhArr: "\u27FA", - Xi: "\u039E", - xi: "\u03BE", - xlarr: "\u27F5", - xlArr: "\u27F8", - xmap: "\u27FC", - xnis: "\u22FB", - xodot: "\u2A00", - Xopf: "\u{1D54F}", - xopf: "\u{1D569}", - xoplus: "\u2A01", - xotime: "\u2A02", - xrarr: "\u27F6", - xrArr: "\u27F9", - Xscr: "\u{1D4B3}", - xscr: "\u{1D4CD}", - xsqcup: "\u2A06", - xuplus: "\u2A04", - xutri: "\u25B3", - xvee: "\u22C1", - xwedge: "\u22C0", - Yacute: "\xDD", - yacute: "\xFD", - YAcy: "\u042F", - yacy: "\u044F", - Ycirc: "\u0176", - ycirc: "\u0177", - Ycy: "\u042B", - ycy: "\u044B", - yen: "\xA5", - Yfr: "\u{1D51C}", - yfr: "\u{1D536}", - YIcy: "\u0407", - yicy: "\u0457", - Yopf: "\u{1D550}", - yopf: "\u{1D56A}", - Yscr: "\u{1D4B4}", - yscr: "\u{1D4CE}", - YUcy: "\u042E", - yucy: "\u044E", - yuml: "\xFF", - Yuml: "\u0178", - Zacute: "\u0179", - zacute: "\u017A", - Zcaron: "\u017D", - zcaron: "\u017E", - Zcy: "\u0417", - zcy: "\u0437", - Zdot: "\u017B", - zdot: "\u017C", - zeetrf: "\u2128", - ZeroWidthSpace: "\u200B", - Zeta: "\u0396", - zeta: "\u03B6", - zfr: "\u{1D537}", - Zfr: "\u2128", - ZHcy: "\u0416", - zhcy: "\u0436", - zigrarr: "\u21DD", - zopf: "\u{1D56B}", - Zopf: "\u2124", - Zscr: "\u{1D4B5}", - zscr: "\u{1D4CF}", - zwj: "\u200D", - zwnj: "\u200C", - }; - }, - }), - v2 = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"( - t, - e, - ) { - e.exports = { - Aacute: "\xC1", - aacute: "\xE1", - Acirc: "\xC2", - acirc: "\xE2", - acute: "\xB4", - AElig: "\xC6", - aelig: "\xE6", - Agrave: "\xC0", - agrave: "\xE0", - amp: "&", - AMP: "&", - Aring: "\xC5", - aring: "\xE5", - Atilde: "\xC3", - atilde: "\xE3", - Auml: "\xC4", - auml: "\xE4", - brvbar: "\xA6", - Ccedil: "\xC7", - ccedil: "\xE7", - cedil: "\xB8", - cent: "\xA2", - copy: "\xA9", - COPY: "\xA9", - curren: "\xA4", - deg: "\xB0", - divide: "\xF7", - Eacute: "\xC9", - eacute: "\xE9", - Ecirc: "\xCA", - ecirc: "\xEA", - Egrave: "\xC8", - egrave: "\xE8", - ETH: "\xD0", - eth: "\xF0", - Euml: "\xCB", - euml: "\xEB", - frac12: "\xBD", - frac14: "\xBC", - frac34: "\xBE", - gt: ">", - GT: ">", - Iacute: "\xCD", - iacute: "\xED", - Icirc: "\xCE", - icirc: "\xEE", - iexcl: "\xA1", - Igrave: "\xCC", - igrave: "\xEC", - iquest: "\xBF", - Iuml: "\xCF", - iuml: "\xEF", - laquo: "\xAB", - lt: "<", - LT: "<", - macr: "\xAF", - micro: "\xB5", - middot: "\xB7", - nbsp: "\xA0", - not: "\xAC", - Ntilde: "\xD1", - ntilde: "\xF1", - Oacute: "\xD3", - oacute: "\xF3", - Ocirc: "\xD4", - ocirc: "\xF4", - Ograve: "\xD2", - ograve: "\xF2", - ordf: "\xAA", - ordm: "\xBA", - Oslash: "\xD8", - oslash: "\xF8", - Otilde: "\xD5", - otilde: "\xF5", - Ouml: "\xD6", - ouml: "\xF6", - para: "\xB6", - plusmn: "\xB1", - pound: "\xA3", - quot: '"', - QUOT: '"', - raquo: "\xBB", - reg: "\xAE", - REG: "\xAE", - sect: "\xA7", - shy: "\xAD", - sup1: "\xB9", - sup2: "\xB2", - sup3: "\xB3", - szlig: "\xDF", - THORN: "\xDE", - thorn: "\xFE", - times: "\xD7", - Uacute: "\xDA", - uacute: "\xFA", - Ucirc: "\xDB", - ucirc: "\xFB", - Ugrave: "\xD9", - ugrave: "\xF9", - uml: "\xA8", - Uuml: "\xDC", - uuml: "\xFC", - Yacute: "\xDD", - yacute: "\xFD", - yen: "\xA5", - yuml: "\xFF", - }; - }, - }), - pi = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"( - t, - e, - ) { - e.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' }; - }, - }), - D2 = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"( - t, - e, - ) { - e.exports = { - 0: 65533, - 128: 8364, - 130: 8218, - 131: 402, - 132: 8222, - 133: 8230, - 134: 8224, - 135: 8225, - 136: 710, - 137: 8240, - 138: 352, - 139: 8249, - 140: 338, - 142: 381, - 145: 8216, - 146: 8217, - 147: 8220, - 148: 8221, - 149: 8226, - 150: 8211, - 151: 8212, - 152: 732, - 153: 8482, - 154: 353, - 155: 8250, - 156: 339, - 158: 382, - 159: 376, - }; - }, - }), - x2 = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"( - t, - ) { - var e = - (t && t.__importDefault) || - function (u) { - return u && u.__esModule ? u : { default: u }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }); - var r = e(D2()), - n = - String.fromCodePoint || - function (u) { - var a = ""; - return ( - u > 65535 && - ((u -= 65536), - (a += String.fromCharCode(((u >>> 10) & 1023) | 55296)), - (u = 56320 | (u & 1023))), - (a += String.fromCharCode(u)), - a - ); - }; - function o(u) { - return (u >= 55296 && u <= 57343) || u > 1114111 - ? "\uFFFD" - : (u in r.default && (u = r.default[u]), n(u)); - } - t.default = o; - }, - }), - Ya = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"( - t, - ) { - var e = - (t && t.__importDefault) || - function (h) { - return h && h.__esModule ? h : { default: h }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.decodeHTML = t.decodeHTMLStrict = t.decodeXML = void 0); - var r = e(ci()), - n = e(v2()), - o = e(pi()), - u = e(x2()), - a = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g; - (t.decodeXML = i(o.default)), (t.decodeHTMLStrict = i(r.default)); - function i(h) { - var f = l(h); - return function (g) { - return String(g).replace(a, f); - }; - } - var s = function (h, f) { - return h < f ? 1 : -1; - }; - t.decodeHTML = (function () { - for ( - var h = Object.keys(n.default).sort(s), - f = Object.keys(r.default).sort(s), - g = 0, - b = 0; - g < f.length; - g++ - ) - h[b] === f[g] ? ((f[g] += ";?"), b++) : (f[g] += ";"); - var w = new RegExp( - "&(?:" + f.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", - "g", - ), - v = l(r.default); - function S(A) { - return A.substr(-1) !== ";" && (A += ";"), v(A); - } - return function (A) { - return String(A).replace(w, S); - }; - })(); - function l(h) { - return function (f) { - if (f.charAt(1) === "#") { - var g = f.charAt(2); - return g === "X" || g === "x" - ? u.default(parseInt(f.substr(3), 16)) - : u.default(parseInt(f.substr(2), 10)); - } - return h[f.slice(1, -1)] || f; - }; - } - }, - }), - Ka = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/encode.js"( - t, - ) { - var e = - (t && t.__importDefault) || - function (E) { - return E && E.__esModule ? E : { default: E }; - }; - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.escapeUTF8 = - t.escape = - t.encodeNonAsciiHTML = - t.encodeHTML = - t.encodeXML = - void 0); - var r = e(pi()), - n = s(r.default), - o = l(n); - t.encodeXML = A(n); - var u = e(ci()), - a = s(u.default), - i = l(a); - (t.encodeHTML = b(a, i)), (t.encodeNonAsciiHTML = A(a)); - function s(E) { - return Object.keys(E) - .sort() - .reduce(function (O, F) { - return (O[E[F]] = "&" + F + ";"), O; - }, {}); - } - function l(E) { - for ( - var O = [], F = [], I = 0, R = Object.keys(E); - I < R.length; - I++ - ) { - var T = R[I]; - T.length === 1 ? O.push("\\" + T) : F.push(T); - } - O.sort(); - for (var x = 0; x < O.length - 1; x++) { - for ( - var P = x; - P < O.length - 1 && - O[P].charCodeAt(1) + 1 === O[P + 1].charCodeAt(1); - - ) - P += 1; - var N = 1 + P - x; - N < 3 || O.splice(x, N, O[x] + "-" + O[P]); - } - return ( - F.unshift("[" + O.join("") + "]"), new RegExp(F.join("|"), "g") - ); - } - var h = - /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, - f = - String.prototype.codePointAt != null - ? function (E) { - return E.codePointAt(0); - } - : function (E) { - return ( - (E.charCodeAt(0) - 55296) * 1024 + - E.charCodeAt(1) - - 56320 + - 65536 - ); - }; - function g(E) { - return ( - "&#x" + - (E.length > 1 ? f(E) : E.charCodeAt(0)) - .toString(16) - .toUpperCase() + - ";" - ); - } - function b(E, O) { - return function (F) { - return F.replace(O, function (I) { - return E[I]; - }).replace(h, g); - }; - } - var w = new RegExp(o.source + "|" + h.source, "g"); - function v(E) { - return E.replace(w, g); - } - t.escape = v; - function S(E) { - return E.replace(o, g); - } - t.escapeUTF8 = S; - function A(E) { - return function (O) { - return O.replace(w, function (F) { - return E[F] || g(F); - }); - }; - } - }, - }), - F2 = ue({ - "../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"( - t, - ) { - Object.defineProperty(t, "__esModule", { value: !0 }), - (t.decodeXMLStrict = - t.decodeHTML5Strict = - t.decodeHTML4Strict = - t.decodeHTML5 = - t.decodeHTML4 = - t.decodeHTMLStrict = - t.decodeHTML = - t.decodeXML = - t.encodeHTML5 = - t.encodeHTML4 = - t.escapeUTF8 = - t.escape = - t.encodeNonAsciiHTML = - t.encodeHTML = - t.encodeXML = - t.encode = - t.decodeStrict = - t.decode = - void 0); - var e = Ya(), - r = Ka(); - function n(s, l) { - return (!l || l <= 0 ? e.decodeXML : e.decodeHTML)(s); - } - t.decode = n; - function o(s, l) { - return (!l || l <= 0 ? e.decodeXML : e.decodeHTMLStrict)(s); - } - t.decodeStrict = o; - function u(s, l) { - return (!l || l <= 0 ? r.encodeXML : r.encodeHTML)(s); - } - t.encode = u; - var a = Ka(); - Object.defineProperty(t, "encodeXML", { - enumerable: !0, - get: function () { - return a.encodeXML; - }, - }), - Object.defineProperty(t, "encodeHTML", { - enumerable: !0, - get: function () { - return a.encodeHTML; - }, - }), - Object.defineProperty(t, "encodeNonAsciiHTML", { - enumerable: !0, - get: function () { - return a.encodeNonAsciiHTML; - }, - }), - Object.defineProperty(t, "escape", { - enumerable: !0, - get: function () { - return a.escape; - }, - }), - Object.defineProperty(t, "escapeUTF8", { - enumerable: !0, - get: function () { - return a.escapeUTF8; - }, - }), - Object.defineProperty(t, "encodeHTML4", { - enumerable: !0, - get: function () { - return a.encodeHTML; - }, - }), - Object.defineProperty(t, "encodeHTML5", { - enumerable: !0, - get: function () { - return a.encodeHTML; - }, - }); - var i = Ya(); - Object.defineProperty(t, "decodeXML", { - enumerable: !0, - get: function () { - return i.decodeXML; - }, - }), - Object.defineProperty(t, "decodeHTML", { - enumerable: !0, - get: function () { - return i.decodeHTML; - }, - }), - Object.defineProperty(t, "decodeHTMLStrict", { - enumerable: !0, - get: function () { - return i.decodeHTMLStrict; - }, - }), - Object.defineProperty(t, "decodeHTML4", { - enumerable: !0, - get: function () { - return i.decodeHTML; - }, - }), - Object.defineProperty(t, "decodeHTML5", { - enumerable: !0, - get: function () { - return i.decodeHTML; - }, - }), - Object.defineProperty(t, "decodeHTML4Strict", { - enumerable: !0, - get: function () { - return i.decodeHTMLStrict; - }, - }), - Object.defineProperty(t, "decodeHTML5Strict", { - enumerable: !0, - get: function () { - return i.decodeHTMLStrict; - }, - }), - Object.defineProperty(t, "decodeXMLStrict", { - enumerable: !0, - get: function () { - return i.decodeXML; - }, - }); - }, - }), - T2 = ue({ - "../../node_modules/ansi-to-html/lib/ansi_to_html.js"(t, e) { - function r(c, d) { - if (!(c instanceof d)) - throw new TypeError("Cannot call a class as a function"); - } - function n(c, d) { - for (var y = 0; y < d.length; y++) { - var D = d[y]; - (D.enumerable = D.enumerable || !1), - (D.configurable = !0), - "value" in D && (D.writable = !0), - Object.defineProperty(c, D.key, D); - } - } - function o(c, d, y) { - return d && n(c.prototype, d), y && n(c, y), c; - } - function u(c, d) { - var y = - (typeof Symbol < "u" && c[Symbol.iterator]) || c["@@iterator"]; - if (!y) { - if ( - Array.isArray(c) || - (y = a(c)) || - (d && c && typeof c.length == "number") - ) { - y && (c = y); - var D = 0, - C = function () {}; - return { - s: C, - n: function () { - return D >= c.length - ? { done: !0 } - : { done: !1, value: c[D++] }; - }, - e: function (k) { - throw k; - }, - f: C, - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - var _ = !0, - B = !1, - L; - return { - s: function () { - y = y.call(c); - }, - n: function () { - var k = y.next(); - return (_ = k.done), k; - }, - e: function (k) { - (B = !0), (L = k); - }, - f: function () { - try { - !_ && y.return != null && y.return(); - } finally { - if (B) throw L; - } - }, - }; - } - function a(c, d) { - if (c) { - if (typeof c == "string") return i(c, d); - var y = Object.prototype.toString.call(c).slice(8, -1); - if ( - (y === "Object" && c.constructor && (y = c.constructor.name), - y === "Map" || y === "Set") - ) - return Array.from(c); - if ( - y === "Arguments" || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y) - ) - return i(c, d); - } - } - function i(c, d) { - (d == null || d > c.length) && (d = c.length); - for (var y = 0, D = new Array(d); y < d; y++) D[y] = c[y]; - return D; - } - var s = F2(), - l = { - fg: "#FFF", - bg: "#000", - newline: !1, - escapeXML: !1, - stream: !1, - colors: h(), - }; - function h() { - var c = { - 0: "#000", - 1: "#A00", - 2: "#0A0", - 3: "#A50", - 4: "#00A", - 5: "#A0A", - 6: "#0AA", - 7: "#AAA", - 8: "#555", - 9: "#F55", - 10: "#5F5", - 11: "#FF5", - 12: "#55F", - 13: "#F5F", - 14: "#5FF", - 15: "#FFF", - }; - return ( - E(0, 5).forEach(function (d) { - E(0, 5).forEach(function (y) { - E(0, 5).forEach(function (D) { - return f(d, y, D, c); - }); - }); - }), - E(0, 23).forEach(function (d) { - var y = d + 232, - D = g(d * 10 + 8); - c[y] = "#" + D + D + D; - }), - c - ); - } - function f(c, d, y, D) { - var C = 16 + c * 36 + d * 6 + y, - _ = c > 0 ? c * 40 + 55 : 0, - B = d > 0 ? d * 40 + 55 : 0, - L = y > 0 ? y * 40 + 55 : 0; - D[C] = b([_, B, L]); - } - function g(c) { - for (var d = c.toString(16); d.length < 2; ) d = "0" + d; - return d; - } - function b(c) { - var d = [], - y = u(c), - D; - try { - for (y.s(); !(D = y.n()).done; ) { - var C = D.value; - d.push(g(C)); - } - } catch (_) { - y.e(_); - } finally { - y.f(); - } - return "#" + d.join(""); - } - function w(c, d, y, D) { - var C; - return ( - d === "text" - ? (C = I(y, D)) - : d === "display" - ? (C = S(c, y, D)) - : d === "xterm256Foreground" - ? (C = x(c, D.colors[y])) - : d === "xterm256Background" - ? (C = P(c, D.colors[y])) - : d === "rgb" && (C = v(c, y)), - C - ); - } - function v(c, d) { - d = d.substring(2).slice(0, -1); - var y = +d.substr(0, 2), - D = d.substring(5).split(";"), - C = D.map(function (_) { - return ("0" + Number(_).toString(16)).substr(-2); - }).join(""); - return T(c, (y === 38 ? "color:#" : "background-color:#") + C); - } - function S(c, d, y) { - d = parseInt(d, 10); - var D = { - "-1": function () { - return "
"; - }, - 0: function () { - return c.length && A(c); - }, - 1: function () { - return R(c, "b"); - }, - 3: function () { - return R(c, "i"); - }, - 4: function () { - return R(c, "u"); - }, - 8: function () { - return T(c, "display:none"); - }, - 9: function () { - return R(c, "strike"); - }, - 22: function () { - return T( - c, - "font-weight:normal;text-decoration:none;font-style:normal", - ); - }, - 23: function () { - return N(c, "i"); - }, - 24: function () { - return N(c, "u"); - }, - 39: function () { - return x(c, y.fg); - }, - 49: function () { - return P(c, y.bg); - }, - 53: function () { - return T(c, "text-decoration:overline"); - }, - }, - C; - return ( - D[d] - ? (C = D[d]()) - : 4 < d && d < 7 - ? (C = R(c, "blink")) - : 29 < d && d < 38 - ? (C = x(c, y.colors[d - 30])) - : 39 < d && d < 48 - ? (C = P(c, y.colors[d - 40])) - : 89 < d && d < 98 - ? (C = x(c, y.colors[8 + (d - 90)])) - : 99 < d && - d < 108 && - (C = P(c, y.colors[8 + (d - 100)])), - C - ); - } - function A(c) { - var d = c.slice(0); - return ( - (c.length = 0), - d - .reverse() - .map(function (y) { - return ""; - }) - .join("") - ); - } - function E(c, d) { - for (var y = [], D = c; D <= d; D++) y.push(D); - return y; - } - function O(c) { - return function (d) { - return (c === null || d.category !== c) && c !== "all"; - }; - } - function F(c) { - c = parseInt(c, 10); - var d = null; - return ( - c === 0 - ? (d = "all") - : c === 1 - ? (d = "bold") - : 2 < c && c < 5 - ? (d = "underline") - : 4 < c && c < 7 - ? (d = "blink") - : c === 8 - ? (d = "hide") - : c === 9 - ? (d = "strike") - : (29 < c && c < 38) || c === 39 || (89 < c && c < 98) - ? (d = "foreground-color") - : ((39 < c && c < 48) || - c === 49 || - (99 < c && c < 108)) && - (d = "background-color"), - d - ); - } - function I(c, d) { - return d.escapeXML ? s.encodeXML(c) : c; - } - function R(c, d, y) { - return ( - y || (y = ""), - c.push(d), - "<".concat(d).concat(y ? ' style="'.concat(y, '"') : "", ">") - ); - } - function T(c, d) { - return R(c, "span", d); - } - function x(c, d) { - return R(c, "span", "color:" + d); - } - function P(c, d) { - return R(c, "span", "background-color:" + d); - } - function N(c, d) { - var y; - if ((c.slice(-1)[0] === d && (y = c.pop()), y)) - return ""; - } - function M(c, d, y) { - var D = !1, - C = 3; - function _() { - return ""; - } - function B(Z, Y) { - return y("xterm256Foreground", Y), ""; - } - function L(Z, Y) { - return y("xterm256Background", Y), ""; - } - function k(Z) { - return d.newline ? y("display", -1) : y("text", Z), ""; - } - function Q(Z, Y) { - (D = !0), - Y.trim().length === 0 && (Y = "0"), - (Y = Y.trimRight(";").split(";")); - var ve = u(Y), - dt; - try { - for (ve.s(); !(dt = ve.n()).done; ) { - var or = dt.value; - y("display", or); - } - } catch (ur) { - ve.e(ur); - } finally { - ve.f(); - } - return ""; - } - function re(Z) { - return y("text", Z), ""; - } - function W(Z) { - return y("rgb", Z), ""; - } - var ne = [ - { pattern: /^\x08+/, sub: _ }, - { pattern: /^\x1b\[[012]?K/, sub: _ }, - { pattern: /^\x1b\[\(B/, sub: _ }, - { pattern: /^\x1b\[[34]8;2;\d+;\d+;\d+m/, sub: W }, - { pattern: /^\x1b\[38;5;(\d+)m/, sub: B }, - { pattern: /^\x1b\[48;5;(\d+)m/, sub: L }, - { pattern: /^\n/, sub: k }, - { pattern: /^\r+\n/, sub: k }, - { pattern: /^\r/, sub: k }, - { pattern: /^\x1b\[((?:\d{1,3};?)+|)m/, sub: Q }, - { pattern: /^\x1b\[\d?J/, sub: _ }, - { pattern: /^\x1b\[\d{0,3};\d{0,3}f/, sub: _ }, - { pattern: /^\x1b\[?[\d;]{0,3}/, sub: _ }, - { pattern: /^(([^\x1b\x08\r\n])+)/, sub: re }, - ]; - function U(Z, Y) { - (Y > C && D) || ((D = !1), (c = c.replace(Z.pattern, Z.sub))); - } - var ae = [], - ge = c, - fe = ge.length; - e: for (; fe > 0; ) { - for (var Ce = 0, Ve = 0, pt = ne.length; Ve < pt; Ce = ++Ve) { - var j = ne[Ce]; - if ((U(j, Ce), c.length !== fe)) { - fe = c.length; - continue e; - } - } - if (c.length === fe) break; - ae.push(0), (fe = c.length); - } - return ae; - } - function q(c, d, y) { - return ( - d !== "text" && - ((c = c.filter(O(F(y)))), - c.push({ token: d, data: y, category: F(y) })), - c - ); - } - var $ = (function () { - function c(d) { - r(this, c), - (d = d || {}), - d.colors && (d.colors = Object.assign({}, l.colors, d.colors)), - (this.options = Object.assign({}, l, d)), - (this.stack = []), - (this.stickyStack = []); - } - return ( - o(c, [ - { - key: "toHtml", - value: function (d) { - var y = this; - d = typeof d == "string" ? [d] : d; - var D = this.stack, - C = this.options, - _ = []; - return ( - this.stickyStack.forEach(function (B) { - var L = w(D, B.token, B.data, C); - L && _.push(L); - }), - M(d.join(""), C, function (B, L) { - var k = w(D, B, L, C); - k && _.push(k), - C.stream && (y.stickyStack = q(y.stickyStack, B, L)); - }), - D.length && _.push(A(D)), - _.join("") - ); - }, - }, - ]), - c - ); - })(); - e.exports = $; - }, - }), - xn = ue({ - "../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/extends.js"( - t, - e, - ) { - function r() { - return ( - (e.exports = r = - Object.assign || - function (n) { - for (var o = 1; o < arguments.length; o++) { - var u = arguments[o]; - for (var a in u) - Object.prototype.hasOwnProperty.call(u, a) && - (n[a] = u[a]); - } - return n; - }), - r.apply(this, arguments) - ); - } - e.exports = r; - }, - }), - O2 = ue({ - "../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"( - t, - e, - ) { - function r(n, o) { - if (n == null) return {}; - var u = {}, - a = Object.keys(n), - i, - s; - for (s = 0; s < a.length; s++) - (i = a[s]), !(o.indexOf(i) >= 0) && (u[i] = n[i]); - return u; - } - e.exports = r; - }, - }), - Fn = ue({ - "../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"( - t, - e, - ) { - var r = O2(); - function n(o, u) { - if (o == null) return {}; - var a = r(o, u), - i, - s; - if (Object.getOwnPropertySymbols) { - var l = Object.getOwnPropertySymbols(o); - for (s = 0; s < l.length; s++) - (i = l[s]), - !(u.indexOf(i) >= 0) && - Object.prototype.propertyIsEnumerable.call(o, i) && - (a[i] = o[i]); - } - return a; - } - e.exports = n; - }, - }), - R2 = ue({ - "../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/defineProperty.js"( - t, - e, - ) { - function r(n, o, u) { - return ( - o in n - ? Object.defineProperty(n, o, { - value: u, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (n[o] = u), - n - ); - } - e.exports = r; - }, - }), - I2 = ue({ - "../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectSpread2.js"( - t, - e, - ) { - var r = R2(); - function n(u, a) { - var i = Object.keys(u); - if (Object.getOwnPropertySymbols) { - var s = Object.getOwnPropertySymbols(u); - a && - (s = s.filter(function (l) { - return Object.getOwnPropertyDescriptor(u, l).enumerable; - })), - i.push.apply(i, s); - } - return i; - } - function o(u) { - for (var a = 1; a < arguments.length; a++) { - var i = arguments[a] != null ? arguments[a] : {}; - a % 2 - ? n(i, !0).forEach(function (s) { - r(u, s, i[s]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - u, - Object.getOwnPropertyDescriptors(i), - ) - : n(i).forEach(function (s) { - Object.defineProperty( - u, - s, - Object.getOwnPropertyDescriptor(i, s), - ); - }); - } - return u; - } - e.exports = o; - }, - }), - _2 = ue({ - "../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"( - t, - e, - ) { - function r(n, o) { - if (n == null) return {}; - var u = {}, - a = Object.keys(n), - i, - s; - for (s = 0; s < a.length; s++) - (i = a[s]), !(o.indexOf(i) >= 0) && (u[i] = n[i]); - return u; - } - e.exports = r; - }, - }), - B2 = ue({ - "../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"( - t, - e, - ) { - var r = _2(); - function n(o, u) { - if (o == null) return {}; - var a = r(o, u), - i, - s; - if (Object.getOwnPropertySymbols) { - var l = Object.getOwnPropertySymbols(o); - for (s = 0; s < l.length; s++) - (i = l[s]), - !(u.indexOf(i) >= 0) && - Object.prototype.propertyIsEnumerable.call(o, i) && - (a[i] = o[i]); - } - return a; - } - e.exports = n; - }, - }), - P2 = ue({ - "../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/defineProperty.js"( - t, - e, - ) { - function r(n, o, u) { - return ( - o in n - ? Object.defineProperty(n, o, { - value: u, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (n[o] = u), - n - ); - } - e.exports = r; - }, - }), - L2 = ue({ - "../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectSpread2.js"( - t, - e, - ) { - var r = P2(); - function n(u, a) { - var i = Object.keys(u); - if (Object.getOwnPropertySymbols) { - var s = Object.getOwnPropertySymbols(u); - a && - (s = s.filter(function (l) { - return Object.getOwnPropertyDescriptor(u, l).enumerable; - })), - i.push.apply(i, s); - } - return i; - } - function o(u) { - for (var a = 1; a < arguments.length; a++) { - var i = arguments[a] != null ? arguments[a] : {}; - a % 2 - ? n(i, !0).forEach(function (s) { - r(u, s, i[s]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - u, - Object.getOwnPropertyDescriptors(i), - ) - : n(i).forEach(function (s) { - Object.defineProperty( - u, - s, - Object.getOwnPropertyDescriptor(i, s), - ); - }); - } - return u; - } - e.exports = o; - }, - }), - N2 = ue({ - "../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/extends.js"( - t, - e, - ) { - function r() { - return ( - (e.exports = r = - Object.assign || - function (n) { - for (var o = 1; o < arguments.length; o++) { - var u = arguments[o]; - for (var a in u) - Object.prototype.hasOwnProperty.call(u, a) && - (n[a] = u[a]); - } - return n; - }), - r.apply(this, arguments) - ); - } - e.exports = r; - }, - }), - k2 = ue({ - "../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"( - t, - e, - ) { - function r(n, o) { - if (n == null) return {}; - var u = {}, - a = Object.keys(n), - i, - s; - for (s = 0; s < a.length; s++) - (i = a[s]), !(o.indexOf(i) >= 0) && (u[i] = n[i]); - return u; - } - e.exports = r; - }, - }), - j2 = ue({ - "../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"( - t, - e, - ) { - var r = k2(); - function n(o, u) { - if (o == null) return {}; - var a = r(o, u), - i, - s; - if (Object.getOwnPropertySymbols) { - var l = Object.getOwnPropertySymbols(o); - for (s = 0; s < l.length; s++) - (i = l[s]), - !(u.indexOf(i) >= 0) && - Object.prototype.propertyIsEnumerable.call(o, i) && - (a[i] = o[i]); - } - return a; - } - e.exports = n; - }, - }), - M2 = xe(T2()); - function q2(t) { - return di(t) || fi(t); - } - function di(t) { - return ( - t && - typeof t == "object" && - "name" in t && - typeof t.name == "string" && - t.name === "AssertionError" - ); - } - function fi(t) { - return ( - t && - typeof t == "object" && - "message" in t && - typeof t.message == "string" && - t.message.startsWith("expect(") - ); - } - function $2(t) { - return new M2.default({ - fg: t.color.defaultText, - bg: t.background.content, - escapeXML: !0, - }); - } - function Tn() { - let t = at(); - return $2(t); - } - var rr = "storybook/interactions", - z2 = `${rr}/panel`, - H2 = "https://youtu.be/Waht9qq7AoA", - U2 = "writing-tests/interaction-testing", - V2 = H.div(({ theme: t }) => ({ - display: "flex", - fontSize: t.typography.size.s2 - 1, - gap: 25, - })), - G2 = H.div(({ theme: t }) => ({ - width: 1, - height: 16, - backgroundColor: t.appBorderColor, - })), - W2 = () => { - let [t, e] = Fe(!0), - r = Vn().getDocsUrl({ subpath: U2, versioned: !0, renderer: !0 }); - return ( - Ne(() => { - let n = setTimeout(() => { - e(!1); - }, 100); - return () => clearTimeout(n); - }, []), - t - ? null - : m.createElement(kn, { - title: "Interaction testing", - description: m.createElement( - m.Fragment, - null, - "Interaction tests allow you to verify the functional aspects of UIs. Write a play function for your story and you'll see it run here.", - ), - footer: m.createElement( - V2, - null, - m.createElement( - sr, - { href: H2, target: "_blank", withArrow: !0 }, - m.createElement(Wa, null), - " Watch 8m video", - ), - m.createElement(G2, null), - m.createElement( - sr, - { href: r, target: "_blank", withArrow: !0 }, - m.createElement(ja, null), - " Read docs", - ), - ), - }) - ); - }, - Y2 = xe(xn()), - K2 = xe(Fn()); - function vn(t) { - var e, - r, - n = ""; - if (t) - if (typeof t == "object") - if (Array.isArray(t)) - for (e = 0; e < t.length; e++) - t[e] && (r = vn(t[e])) && (n && (n += " "), (n += r)); - else for (e in t) t[e] && (r = vn(e)) && (n && (n += " "), (n += r)); - else typeof t != "boolean" && !t.call && (n && (n += " "), (n += t)); - return n; - } - function Ie() { - for (var t = 0, e, r = ""; t < arguments.length; ) - (e = vn(arguments[t++])) && (r && (r += " "), (r += e)); - return r; - } - var On = (t) => - Array.isArray(t) || (ArrayBuffer.isView(t) && !(t instanceof DataView)), - hi = (t) => - t !== null && - typeof t == "object" && - !On(t) && - !(t instanceof Date) && - !(t instanceof RegExp) && - !(t instanceof Error) && - !(t instanceof WeakMap) && - !(t instanceof WeakSet), - X2 = (t) => - hi(t) || On(t) || typeof t == "function" || t instanceof Promise, - mi = (t) => { - let e = /unique/; - return Promise.race([t, e]).then( - (r) => (r === e ? ["pending"] : ["fulfilled", r]), - (r) => ["rejected", r], - ); - }, - Re = async (t, e, r, n, o, u) => { - let a = { key: t, depth: r, value: e, type: "value", parent: void 0 }; - if (e && X2(e) && r < 100) { - let i = [], - s = "object"; - if (On(e)) { - for (let l = 0; l < e.length; l++) - i.push(async () => { - let h = await Re(l.toString(), e[l], r + 1, n); - return (h.parent = a), h; - }); - s = "array"; - } else { - let l = Object.getOwnPropertyNames(e); - n && l.sort(); - for (let h = 0; h < l.length; h++) { - let f; - try { - f = e[l[h]]; - } catch {} - i.push(async () => { - let g = await Re(l[h], f, r + 1, n); - return (g.parent = a), g; - }); - } - if ( - (typeof e == "function" && (s = "function"), e instanceof Promise) - ) { - let [h, f] = await mi(e); - i.push(async () => { - let g = await Re("", h, r + 1, n); - return (g.parent = a), g; - }), - h !== "pending" && - i.push(async () => { - let g = await Re("", f, r + 1, n); - return (g.parent = a), g; - }), - (s = "promise"); - } - if (e instanceof Map) { - let h = Array.from(e.entries()).map((f) => { - let [g, b] = f; - return { "": g, "": b }; - }); - i.push(async () => { - let f = await Re("", h, r + 1, n); - return (f.parent = a), f; - }), - i.push(async () => { - let f = await Re("size", e.size, r + 1, n); - return (f.parent = a), f; - }), - (s = "map"); - } - if (e instanceof Set) { - let h = Array.from(e.entries()).map((f) => f[1]); - i.push(async () => { - let f = await Re("", h, r + 1, n); - return (f.parent = a), f; - }), - i.push(async () => { - let f = await Re("size", e.size, r + 1, n); - return (f.parent = a), f; - }), - (s = "set"); - } - } - e !== Object.prototype && - u && - i.push(async () => { - let l = await Re( - "", - Object.getPrototypeOf(e), - r + 1, - n, - !0, - ); - return (l.parent = a), l; - }), - (a.type = s), - (a.children = i), - (a.isPrototype = o); - } - return a; - }, - J2 = (t, e, r) => - Re("root", t, 0, e === !1 ? e : !0, void 0, r === !1 ? r : !0), - Xa = xe(I2()), - Q2 = xe(B2()), - Z2 = ["children"], - Dn = m.createContext({ theme: "chrome", colorScheme: "light" }), - ep = (t) => { - let { children: e } = t, - r = (0, Q2.default)(t, Z2), - n = m.useContext(Dn); - return m.createElement( - Dn.Provider, - { value: (0, Xa.default)((0, Xa.default)({}, n), r) }, - e, - ); - }, - nr = (t, e = {}) => { - let r = m.useContext(Dn), - n = t.theme || r.theme || "chrome", - o = t.colorScheme || r.colorScheme || "light", - u = Ie(e[n], e[o]); - return { currentColorScheme: o, currentTheme: n, themeClass: u }; - }, - Ja = xe(L2()), - yn = xe(N2()), - tp = xe(j2()), - rp = m.createContext({ isChild: !1, depth: 0, hasHover: !0 }), - bn = rp, - Ae = { - tree: "Tree-tree-fbbbe38", - item: "Tree-item-353d6f3", - group: "Tree-group-d3c3d8a", - label: "Tree-label-d819155", - focusWhite: "Tree-focusWhite-f1e00c2", - arrow: "Tree-arrow-03ab2e7", - hover: "Tree-hover-3cc4e5d", - open: "Tree-open-3f1a336", - dark: "Tree-dark-1b4aa00", - chrome: "Tree-chrome-bcbcac6", - light: "Tree-light-09174ee", - }, - np = [ - "theme", - "hover", - "colorScheme", - "children", - "label", - "className", - "onUpdate", - "onSelect", - "open", - ], - tr = (t) => { - let { - theme: e, - hover: r, - colorScheme: n, - children: o, - label: u, - className: a, - onUpdate: i, - onSelect: s, - open: l, - } = t, - h = (0, tp.default)(t, np), - { themeClass: f, currentTheme: g } = nr( - { theme: e, colorScheme: n }, - Ae, - ), - [b, w] = Fe(l); - Ne(() => { - w(l); - }, [l]); - let v = (C) => { - w(C), i && i(C); - }, - S = m.Children.count(o) > 0, - A = (C, _) => { - if (C.isSameNode(_ || null)) return; - C.querySelector('[tabindex="-1"]')?.focus(), - C.setAttribute("aria-selected", "true"), - _?.removeAttribute("aria-selected"); - }, - E = (C, _) => { - let B = C; - for (; B && B.parentElement; ) { - if (B.getAttribute("role") === _) return B; - B = B.parentElement; - } - return null; - }, - O = (C) => { - let _ = E(C, "tree"); - return _ ? Array.from(_.querySelectorAll("li")) : []; - }, - F = (C) => { - let _ = E(C, "group"), - B = _?.previousElementSibling; - if (B && B.getAttribute("tabindex") === "-1") { - let L = B.parentElement, - k = C.parentElement; - A(L, k); - } - }, - I = (C, _) => { - let B = O(C); - B.forEach((L) => { - L.removeAttribute("aria-selected"); - }), - _ === "start" && B[0] && A(B[0]), - _ === "end" && B[B.length - 1] && A(B[B.length - 1]); - }, - R = (C, _) => { - let B = O(C) || []; - for (let L = 0; L < B.length; L++) { - let k = B[L]; - if (k.getAttribute("aria-selected") === "true") { - _ === "up" && B[L - 1] - ? A(B[L - 1], k) - : _ === "down" && B[L + 1] && A(B[L + 1], k); - return; - } - } - A(B[0]); - }, - T = (C, _) => { - let B = C.target; - (C.key === "Enter" || C.key === " ") && v(!b), - C.key === "ArrowRight" && b && !_ - ? R(B, "down") - : C.key === "ArrowRight" && v(!0), - C.key === "ArrowLeft" && (!b || _) - ? F(B) - : C.key === "ArrowLeft" && v(!1), - C.key === "ArrowDown" && R(B, "down"), - C.key === "ArrowUp" && R(B, "up"), - C.key === "Home" && I(B, "start"), - C.key === "End" && I(B, "end"); - }, - x = (C, _) => { - let B = C.target, - L = E(B, "treeitem"), - k = O(B) || [], - Q = !1; - for (let re = 0; re < k.length; re++) { - let W = k[re]; - if (W.getAttribute("aria-selected") === "true") { - L && ((Q = !0), A(L, W)); - break; - } - } - !Q && L && A(L), _ || v(!b); - }, - P = (C) => { - let _ = C.currentTarget; - !_.contains(document.activeElement) && - _.getAttribute("role") === "tree" && - _.setAttribute("tabindex", "0"); - }, - N = (C) => { - let _ = C.target; - if (_.getAttribute("role") === "tree") { - let B = _.querySelector('[aria-selected="true"]'); - B ? A(B) : R(_, "down"), _.setAttribute("tabindex", "-1"); - } - }, - M = () => { - s?.(); - }, - q = (C) => { - let _ = C * 0.9 + 0.3; - return { paddingLeft: `${_}em`, width: `calc(100% - ${_}em)` }; - }, - { isChild: $, depth: c, hasHover: d } = m.useContext(bn), - y = d ? r : !1; - if (!$) - return m.createElement( - "ul", - (0, yn.default)( - { - role: "tree", - tabIndex: 0, - className: Ie(Ae.tree, Ae.group, f, a), - onFocus: N, - onBlur: P, - }, - h, - ), - m.createElement( - bn.Provider, - { value: { isChild: !0, depth: 0, hasHover: y } }, - m.createElement(tr, t), - ), - ); - if (!S) - return m.createElement( - "li", - (0, yn.default)({ role: "treeitem", className: Ae.item }, h), - m.createElement( - "div", - { - role: "button", - className: Ie(Ae.label, { - [Ae.hover]: y, - [Ae.focusWhite]: g === "firefox", - }), - tabIndex: -1, - style: q(c), - onKeyDown: (C) => { - T(C, $); - }, - onClick: (C) => x(C, !0), - onFocus: M, - }, - m.createElement("span", null, u), - ), - ); - let D = Ie(Ae.arrow, { [Ae.open]: b }); - return m.createElement( - "li", - { role: "treeitem", "aria-expanded": b, className: Ae.item }, - m.createElement( - "div", - { - role: "button", - tabIndex: -1, - className: Ie(Ae.label, { - [Ae.hover]: y, - [Ae.focusWhite]: g === "firefox", - }), - style: q(c), - onClick: (C) => x(C), - onKeyDown: (C) => T(C), - onFocus: M, - }, - m.createElement( - "span", - null, - m.createElement("span", { "aria-hidden": !0, className: D }), - m.createElement("span", null, u), - ), - ), - m.createElement( - "ul", - (0, yn.default)({ role: "group", className: Ie(a, Ae.group) }, h), - b && - m.Children.map(o, (C) => - m.createElement( - bn.Provider, - { value: { isChild: !0, depth: c + 1, hasHover: y } }, - C, - ), - ), - ), - ); - }; - tr.defaultProps = { open: !1, hover: !0 }; - var op = xe(xn()), - up = xe(Fn()), - te = { - "object-inspector": "ObjectInspector-object-inspector-0c33e82", - objectInspector: "ObjectInspector-object-inspector-0c33e82", - "object-label": "ObjectInspector-object-label-b81482b", - objectLabel: "ObjectInspector-object-label-b81482b", - text: "ObjectInspector-text-25f57f3", - key: "ObjectInspector-key-4f712bb", - value: "ObjectInspector-value-f7ec2e5", - string: "ObjectInspector-string-c496000", - regex: "ObjectInspector-regex-59d45a3", - error: "ObjectInspector-error-b818698", - boolean: "ObjectInspector-boolean-2dd1642", - number: "ObjectInspector-number-a6daabb", - undefined: "ObjectInspector-undefined-3a68263", - null: "ObjectInspector-null-74acb50", - function: "ObjectInspector-function-07bbdcd", - "function-decorator": "ObjectInspector-function-decorator-3d22c24", - functionDecorator: "ObjectInspector-function-decorator-3d22c24", - prototype: "ObjectInspector-prototype-f2449ee", - dark: "ObjectInspector-dark-0c96c97", - chrome: "ObjectInspector-chrome-2f3ca98", - light: "ObjectInspector-light-78bef54", - }, - ap = ["ast", "theme", "showKey", "colorScheme", "className"], - Se = (t, e, r, n, o) => { - let u = t.includes("-") ? `"${t}"` : t, - a = o <= 0; - return m.createElement( - "span", - { className: te.text }, - !a && - n && - m.createElement( - m.Fragment, - null, - m.createElement("span", { className: te.key }, u), - m.createElement("span", null, ":\xA0"), - ), - m.createElement("span", { className: r }, e), - ); - }, - gi = (t) => { - let { ast: e, theme: r, showKey: n, colorScheme: o, className: u } = t, - a = (0, up.default)(t, ap), - { themeClass: i } = nr({ theme: r, colorScheme: o }, te), - [s, l] = Fe(m.createElement("span", null)), - h = m.createElement("span", null); - return ( - Ne(() => { - e.value instanceof Promise && - (async (f) => { - l( - Se(e.key, `Promise { "${await mi(f)}" }`, te.key, n, e.depth), - ); - })(e.value); - }, [e, n]), - typeof e.value == "number" || typeof e.value == "bigint" - ? (h = Se(e.key, String(e.value), te.number, n, e.depth)) - : typeof e.value == "boolean" - ? (h = Se(e.key, String(e.value), te.boolean, n, e.depth)) - : typeof e.value == "string" - ? (h = Se(e.key, `"${e.value}"`, te.string, n, e.depth)) - : typeof e.value > "u" - ? (h = Se(e.key, "undefined", te.undefined, n, e.depth)) - : typeof e.value == "symbol" - ? (h = Se(e.key, e.value.toString(), te.string, n, e.depth)) - : typeof e.value == "function" - ? (h = Se(e.key, `${e.value.name}()`, te.key, n, e.depth)) - : typeof e.value == "object" && - (e.value === null - ? (h = Se(e.key, "null", te.null, n, e.depth)) - : Array.isArray(e.value) - ? (h = Se( - e.key, - `Array(${e.value.length})`, - te.key, - n, - e.depth, - )) - : e.value instanceof Date - ? (h = Se( - e.key, - `Date ${e.value.toString()}`, - te.value, - n, - e.depth, - )) - : e.value instanceof RegExp - ? (h = Se( - e.key, - e.value.toString(), - te.regex, - n, - e.depth, - )) - : e.value instanceof Error - ? (h = Se( - e.key, - e.value.toString(), - te.error, - n, - e.depth, - )) - : hi(e.value) - ? (h = Se( - e.key, - "{\u2026}", - te.key, - n, - e.depth, - )) - : (h = Se( - e.key, - e.value.constructor.name, - te.key, - n, - e.depth, - ))), - m.createElement( - "span", - (0, op.default)({ className: Ie(i, u) }, a), - s, - h, - ) - ); - }; - gi.defaultProps = { showKey: !0 }; - var yi = gi, - ct = xe(xn()), - ip = xe(Fn()), - sp = ["ast", "theme", "previewMax", "open", "colorScheme", "className"], - Ft = (t, e, r) => { - let n = []; - for (let o = 0; o < t.length; o++) { - let u = t[o]; - if ( - (u.isPrototype || - (n.push(m.createElement(yi, { key: u.key, ast: u, showKey: r })), - o < t.length - 1 ? n.push(", ") : n.push(" ")), - u.isPrototype && o === t.length - 1 && (n.pop(), n.push(" ")), - o === e - 1 && t.length > e) - ) { - n.push("\u2026 "); - break; - } - } - return n; - }, - lp = (t, e, r, n) => { - let o = t.value.length; - return e - ? m.createElement("span", null, "Array(", o, ")") - : m.createElement( - m.Fragment, - null, - m.createElement( - "span", - null, - `${n === "firefox" ? "Array" : ""}(${o}) [ `, - ), - Ft(t.children, r, !1), - m.createElement("span", null, "]"), - ); - }, - cp = (t, e, r, n) => - t.isPrototype - ? m.createElement( - "span", - null, - `Object ${n === "firefox" ? "{ \u2026 }" : ""}`, - ) - : e - ? m.createElement("span", null, "{\u2026}") - : m.createElement( - m.Fragment, - null, - m.createElement( - "span", - null, - `${n === "firefox" ? "Object " : ""}{ `, - ), - Ft(t.children, r, !0), - m.createElement("span", null, "}"), - ), - pp = (t, e, r) => - e - ? m.createElement( - "span", - null, - `Promise { "${String(t.children[0].value)}" }`, - ) - : m.createElement( - m.Fragment, - null, - m.createElement("span", null, "Promise { "), - Ft(t.children, r, !0), - m.createElement("span", null, "}"), - ), - dp = (t, e, r, n) => { - let { size: o } = t.value; - return e - ? m.createElement("span", null, `Map(${o})`) - : m.createElement( - m.Fragment, - null, - m.createElement( - "span", - null, - `Map${n === "chrome" ? `(${o})` : ""} { `, - ), - Ft(t.children, r, !0), - m.createElement("span", null, "}"), - ); - }, - fp = (t, e, r) => { - let { size: n } = t.value; - return e - ? m.createElement("span", null, "Set(", n, ")") - : m.createElement( - m.Fragment, - null, - m.createElement("span", null, `Set(${t.value.size}) {`), - Ft(t.children, r, !0), - m.createElement("span", null, "}"), - ); - }, - bi = (t) => { - let { - ast: e, - theme: r, - previewMax: n, - open: o, - colorScheme: u, - className: a, - } = t, - i = (0, ip.default)(t, sp), - { themeClass: s, currentTheme: l } = nr( - { theme: r, colorScheme: u }, - te, - ), - h = e.isPrototype || !1, - f = Ie(te.objectLabel, s, a, { [te.prototype]: h }), - g = e.depth <= 0, - b = () => - m.createElement( - "span", - { className: h ? te.prototype : te.key }, - g ? "" : `${e.key}: `, - ); - return e.type === "array" - ? m.createElement( - "span", - (0, ct.default)({ className: f }, i), - m.createElement(b, null), - lp(e, o, n, l), - ) - : e.type === "function" - ? m.createElement( - "span", - (0, ct.default)({ className: f }, i), - m.createElement(b, null), - l === "chrome" && - m.createElement( - "span", - { className: te.functionDecorator }, - "\u0192 ", - ), - m.createElement( - "span", - { className: Ie({ [te.function]: !h }) }, - `${e.value.name}()`, - ), - ) - : e.type === "promise" - ? m.createElement( - "span", - (0, ct.default)({ className: f }, i), - m.createElement(b, null), - pp(e, o, n), - ) - : e.type === "map" - ? m.createElement( - "span", - (0, ct.default)({ className: f }, i), - m.createElement(b, null), - dp(e, o, n, l), - ) - : e.type === "set" - ? m.createElement( - "span", - (0, ct.default)({ className: f }, i), - m.createElement(b, null), - fp(e, o, n), - ) - : m.createElement( - "span", - (0, ct.default)({ className: f }, i), - m.createElement(b, null), - cp(e, o, n, l), - ); - }; - bi.defaultProps = { previewMax: 8, open: !1 }; - var hp = bi, - Rn = (t) => { - let { ast: e, expandLevel: r, depth: n } = t, - [o, u] = Fe(), - [a, i] = Fe(n < r); - return ( - Ne(() => { - (async () => { - if (e.type !== "value") { - let s = e.children.map((f) => f()), - l = await Promise.all(s), - h = (0, Ja.default)( - (0, Ja.default)({}, e), - {}, - { children: l }, - ); - u(h); - } - })(); - }, [e]), - o - ? m.createElement( - tr, - { - hover: !1, - open: a, - label: m.createElement(hp, { open: a, ast: o }), - onSelect: () => { - var s; - (s = t.onSelect) === null || s === void 0 || s.call(t, e); - }, - onUpdate: (s) => { - i(s); - }, - }, - o.children.map((s) => - m.createElement(Rn, { - key: s.key, - ast: s, - depth: n + 1, - expandLevel: r, - onSelect: t.onSelect, - }), - ), - ) - : m.createElement(tr, { - hover: !1, - label: m.createElement(yi, { ast: e }), - onSelect: () => { - var s; - (s = t.onSelect) === null || s === void 0 || s.call(t, e); - }, - }) - ); - }; - Rn.defaultProps = { expandLevel: 0, depth: 0 }; - var mp = Rn, - gp = [ - "data", - "expandLevel", - "sortKeys", - "includePrototypes", - "className", - "theme", - "colorScheme", - "onSelect", - ], - Ei = (t) => { - let { - data: e, - expandLevel: r, - sortKeys: n, - includePrototypes: o, - className: u, - theme: a, - colorScheme: i, - onSelect: s, - } = t, - l = (0, K2.default)(t, gp), - [h, f] = Fe(void 0), - { - themeClass: g, - currentTheme: b, - currentColorScheme: w, - } = nr({ theme: a, colorScheme: i }, te); - return ( - Ne(() => { - (async () => f(await J2(e, n, o)))(); - }, [e, n, o]), - m.createElement( - "div", - (0, Y2.default)({ className: Ie(te.objectInspector, u, g) }, l), - h && - m.createElement( - ep, - { theme: b, colorScheme: w }, - m.createElement(mp, { ast: h, expandLevel: r, onSelect: s }), - ), - ) - ); - }; - Ei.defaultProps = { expandLevel: 0, sortKeys: !0, includePrototypes: !0 }; - var yp = { - base: "#444", - nullish: "#7D99AA", - string: "#16B242", - number: "#5D40D0", - boolean: "#f41840", - objectkey: "#698394", - instance: "#A15C20", - function: "#EA7509", - muted: "#7D99AA", - tag: { name: "#6F2CAC", suffix: "#1F99E5" }, - date: "#459D9C", - error: { name: "#D43900", message: "#444" }, - regex: { source: "#A15C20", flags: "#EA7509" }, - meta: "#EA7509", - method: "#0271B6", - }, - bp = { - base: "#eee", - nullish: "#aaa", - string: "#5FE584", - number: "#6ba5ff", - boolean: "#ff4191", - objectkey: "#accfe6", - instance: "#E3B551", - function: "#E3B551", - muted: "#aaa", - tag: { name: "#f57bff", suffix: "#8EB5FF" }, - date: "#70D4D3", - error: { name: "#f40", message: "#eee" }, - regex: { source: "#FAD483", flags: "#E3B551" }, - meta: "#FAD483", - method: "#5EC1FF", - }, - de = () => { - let { base: t } = at(); - return t === "dark" ? bp : yp; - }, - Ep = /[^A-Z0-9]/i, - Qa = /[\s.,…]+$/gm, - Ai = (t, e) => { - if (t.length <= e) return t; - for (let r = e - 1; r >= 0; r -= 1) - if (Ep.test(t[r]) && r > 10) - return `${t.slice(0, r).replace(Qa, "")}\u2026`; - return `${t.slice(0, e).replace(Qa, "")}\u2026`; - }, - Ap = (t) => { - try { - return JSON.stringify(t, null, 1); - } catch { - return String(t); - } - }, - Si = (t, e) => - t.flatMap((r, n) => - n === t.length - 1 ? [r] : [r, m.cloneElement(e, { key: `sep${n}` })], - ), - Ze = ({ - value: t, - nested: e, - showObjectInspector: r, - callsById: n, - ...o - }) => { - switch (!0) { - case t === null: - return m.createElement(Sp, { ...o }); - case t === void 0: - return m.createElement(wp, { ...o }); - case Array.isArray(t): - return m.createElement(xp, { ...o, value: t, callsById: n }); - case typeof t == "string": - return m.createElement(Cp, { ...o, value: t }); - case typeof t == "number": - return m.createElement(vp, { ...o, value: t }); - case typeof t == "boolean": - return m.createElement(Dp, { ...o, value: t }); - case Object.prototype.hasOwnProperty.call(t, "__date__"): - return m.createElement(Ip, { ...o, ...t.__date__ }); - case Object.prototype.hasOwnProperty.call(t, "__error__"): - return m.createElement(_p, { ...o, ...t.__error__ }); - case Object.prototype.hasOwnProperty.call(t, "__regexp__"): - return m.createElement(Bp, { ...o, ...t.__regexp__ }); - case Object.prototype.hasOwnProperty.call(t, "__function__"): - return m.createElement(Op, { ...o, ...t.__function__ }); - case Object.prototype.hasOwnProperty.call(t, "__symbol__"): - return m.createElement(Pp, { ...o, ...t.__symbol__ }); - case Object.prototype.hasOwnProperty.call(t, "__element__"): - return m.createElement(Rp, { ...o, ...t.__element__ }); - case Object.prototype.hasOwnProperty.call(t, "__class__"): - return m.createElement(Tp, { ...o, ...t.__class__ }); - case Object.prototype.hasOwnProperty.call(t, "__callId__"): - return m.createElement(In, { - call: n.get(t.__callId__), - callsById: n, - }); - case Object.prototype.toString.call(t) === "[object Object]": - return m.createElement(Fp, { - value: t, - showInspector: r, - callsById: n, - ...o, - }); - default: - return m.createElement(Lp, { value: t, ...o }); - } - }, - Sp = (t) => { - let e = de(); - return m.createElement( - "span", - { style: { color: e.nullish }, ...t }, - "null", - ); - }, - wp = (t) => { - let e = de(); - return m.createElement( - "span", - { style: { color: e.nullish }, ...t }, - "undefined", - ); - }, - Cp = ({ value: t, ...e }) => { - let r = de(); - return m.createElement( - "span", - { style: { color: r.string }, ...e }, - JSON.stringify(Ai(t, 50)), - ); - }, - vp = ({ value: t, ...e }) => { - let r = de(); - return m.createElement("span", { style: { color: r.number }, ...e }, t); - }, - Dp = ({ value: t, ...e }) => { - let r = de(); - return m.createElement( - "span", - { style: { color: r.boolean }, ...e }, - String(t), - ); - }, - xp = ({ value: t, nested: e = !1, callsById: r }) => { - let n = de(); - if (e) - return m.createElement( - "span", - { style: { color: n.base } }, - "[\u2026]", - ); - let o = t.slice(0, 3).map((a, i) => - m.createElement(Ze, { - key: `${i}--${JSON.stringify(a)}`, - value: a, - nested: !0, - callsById: r, - }), - ), - u = Si(o, m.createElement("span", null, ", ")); - return t.length <= 3 - ? m.createElement("span", { style: { color: n.base } }, "[", u, "]") - : m.createElement( - "span", - { style: { color: n.base } }, - "(", - t.length, - ") [", - u, - ", \u2026]", - ); - }, - Fp = ({ showInspector: t, value: e, callsById: r, nested: n = !1 }) => { - let o = at().base === "dark", - u = de(); - if (t) - return m.createElement( - m.Fragment, - null, - m.createElement(Ei, { - id: "interactions-object-inspector", - data: e, - includePrototypes: !1, - colorScheme: o ? "dark" : "light", - }), - ); - if (n) - return m.createElement( - "span", - { style: { color: u.base } }, - "{\u2026}", - ); - let a = Si( - Object.entries(e) - .slice(0, 2) - .map(([i, s]) => - m.createElement( - Tt, - { key: i }, - m.createElement( - "span", - { style: { color: u.objectkey } }, - i, - ": ", - ), - m.createElement(Ze, { value: s, callsById: r, nested: !0 }), - ), - ), - m.createElement("span", null, ", "), - ); - return Object.keys(e).length <= 2 - ? m.createElement("span", { style: { color: u.base } }, "{ ", a, " }") - : m.createElement( - "span", - { style: { color: u.base } }, - "(", - Object.keys(e).length, - ") ", - "{ ", - a, - ", \u2026 }", - ); - }, - Tp = ({ name: t }) => { - let e = de(); - return m.createElement("span", { style: { color: e.instance } }, t); - }, - Op = ({ name: t }) => { - let e = de(); - return t - ? m.createElement("span", { style: { color: e.function } }, t) - : m.createElement( - "span", - { style: { color: e.nullish, fontStyle: "italic" } }, - "anonymous", - ); - }, - Rp = ({ - prefix: t, - localName: e, - id: r, - classNames: n = [], - innerText: o, - }) => { - let u = t ? `${t}:${e}` : e, - a = de(); - return m.createElement( - "span", - { style: { wordBreak: "keep-all" } }, - m.createElement( - "span", - { key: `${u}_lt`, style: { color: a.muted } }, - "<", - ), - m.createElement( - "span", - { key: `${u}_tag`, style: { color: a.tag.name } }, - u, - ), - m.createElement( - "span", - { key: `${u}_suffix`, style: { color: a.tag.suffix } }, - r ? `#${r}` : n.reduce((i, s) => `${i}.${s}`, ""), - ), - m.createElement( - "span", - { key: `${u}_gt`, style: { color: a.muted } }, - ">", - ), - !r && - n.length === 0 && - o && - m.createElement( - m.Fragment, - null, - m.createElement("span", { key: `${u}_text` }, o), - m.createElement( - "span", - { key: `${u}_close_lt`, style: { color: a.muted } }, - "<", - ), - m.createElement( - "span", - { key: `${u}_close_tag`, style: { color: a.tag.name } }, - "/", - u, - ), - m.createElement( - "span", - { key: `${u}_close_gt`, style: { color: a.muted } }, - ">", - ), - ), - ); - }, - Ip = ({ value: t }) => { - let [e, r, n] = t.split(/[T.Z]/), - o = de(); - return m.createElement( - "span", - { style: { whiteSpace: "nowrap", color: o.date } }, - e, - m.createElement("span", { style: { opacity: 0.7 } }, "T"), - r === "00:00:00" - ? m.createElement("span", { style: { opacity: 0.7 } }, r) - : r, - n === "000" - ? m.createElement("span", { style: { opacity: 0.7 } }, ".", n) - : `.${n}`, - m.createElement("span", { style: { opacity: 0.7 } }, "Z"), - ); - }, - _p = ({ name: t, message: e }) => { - let r = de(); - return m.createElement( - "span", - { style: { color: r.error.name } }, - t, - e && ": ", - e && - m.createElement( - "span", - { - style: { color: r.error.message }, - title: e.length > 50 ? e : "", - }, - Ai(e, 50), - ), - ); - }, - Bp = ({ flags: t, source: e }) => { - let r = de(); - return m.createElement( - "span", - { style: { whiteSpace: "nowrap", color: r.regex.flags } }, - "/", - m.createElement("span", { style: { color: r.regex.source } }, e), - "/", - t, - ); - }, - Pp = ({ description: t }) => { - let e = de(); - return m.createElement( - "span", - { style: { whiteSpace: "nowrap", color: e.instance } }, - "Symbol(", - t && - m.createElement("span", { style: { color: e.meta } }, '"', t, '"'), - ")", - ); - }, - Lp = ({ value: t }) => { - let e = de(); - return m.createElement("span", { style: { color: e.meta } }, Ap(t)); - }, - Np = ({ label: t }) => { - let e = de(), - { typography: r } = at(); - return m.createElement( - "span", - { - style: { - color: e.base, - fontFamily: r.fonts.base, - fontSize: r.size.s2 - 1, - }, - }, - t, - ); - }, - In = ({ call: t, callsById: e }) => { - if (!t) return null; - if (t.method === "step" && t.path.length === 0) - return m.createElement(Np, { label: t.args[0] }); - let r = t.path.flatMap((u, a) => { - let i = u.__callId__; - return [ - i - ? m.createElement(In, { - key: `elem${a}`, - call: e.get(i), - callsById: e, - }) - : m.createElement("span", { key: `elem${a}` }, u), - m.createElement("wbr", { key: `wbr${a}` }), - m.createElement("span", { key: `dot${a}` }, "."), - ]; - }), - n = t.args.flatMap((u, a, i) => { - let s = m.createElement(Ze, { - key: `node${a}`, - value: u, - callsById: e, - }); - return a < i.length - 1 - ? [ - s, - m.createElement("span", { key: `comma${a}` }, ",\xA0"), - m.createElement("wbr", { key: `wbr${a}` }), - ] - : [s]; - }), - o = de(); - return m.createElement( - m.Fragment, - null, - m.createElement("span", { style: { color: o.base } }, r), - m.createElement("span", { style: { color: o.method } }, t.method), - m.createElement( - "span", - { style: { color: o.base } }, - "(", - m.createElement("wbr", null), - n, - m.createElement("wbr", null), - ")", - ), - ); - }, - Za = (t, e = 0) => { - for (let r = e, n = 1; r < t.length; r += 1) - if ((t[r] === "(" ? (n += 1) : t[r] === ")" && (n -= 1), n === 0)) - return t.slice(e, r); - return ""; - }, - En = (t) => { - try { - return t === "undefined" ? void 0 : JSON.parse(t); - } catch { - return t; - } - }, - kp = H.span(({ theme: t }) => ({ - color: t.base === "light" ? t.color.positiveText : t.color.positive, - })), - jp = H.span(({ theme: t }) => ({ - color: t.base === "light" ? t.color.negativeText : t.color.negative, - })), - An = ({ value: t, parsed: e }) => - e - ? m.createElement(Ze, { - showObjectInspector: !0, - value: t, - style: { color: "#D43900" }, - }) - : m.createElement(jp, null, t), - Sn = ({ value: t, parsed: e }) => - e - ? typeof t == "string" && t.startsWith("called with") - ? m.createElement(m.Fragment, null, t) - : m.createElement(Ze, { - showObjectInspector: !0, - value: t, - style: { color: "#16B242" }, - }) - : m.createElement(kp, null, t), - ei = ({ message: t, style: e = {} }) => { - let r = Tn(), - n = t.split(` -`); - return m.createElement( - "pre", - { - style: { - margin: 0, - padding: "8px 10px 8px 36px", - fontSize: Pe.size.s1, - ...e, - }, - }, - n.flatMap((o, u) => { - if (o.startsWith("expect(")) { - let f = Za(o, 7), - g = f && 7 + f.length, - b = f && o.slice(g).match(/\.(to|last|nth)[A-Z]\w+\(/); - if (b) { - let w = g + b.index + b[0].length, - v = Za(o, w); - if (v) - return [ - "expect(", - m.createElement(An, { key: `received_${f}`, value: f }), - o.slice(g, w), - m.createElement(Sn, { key: `expected_${v}`, value: v }), - o.slice(w + v.length), - m.createElement("br", { key: `br${u}` }), - ]; - } - } - if (o.match(/^\s*- /)) - return [ - m.createElement(Sn, { key: o + u, value: o }), - m.createElement("br", { key: `br${u}` }), - ]; - if (o.match(/^\s*\+ /) || o.match(/^Received: $/)) - return [ - m.createElement(An, { key: o + u, value: o }), - m.createElement("br", { key: `br${u}` }), - ]; - let [, a, i] = o.match(/^(Expected|Received): (.*)$/) || []; - if (a && i) - return a === "Expected" - ? [ - "Expected: ", - m.createElement(Sn, { - key: o + u, - value: En(i), - parsed: !0, - }), - m.createElement("br", { key: `br${u}` }), - ] - : [ - "Received: ", - m.createElement(An, { - key: o + u, - value: En(i), - parsed: !0, - }), - m.createElement("br", { key: `br${u}` }), - ]; - let [, s, l] = - o.match( - /(Expected number|Received number|Number) of calls: (\d+)$/i, - ) || []; - if (s && l) - return [ - `${s} of calls: `, - m.createElement(Ze, { key: o + u, value: Number(l) }), - m.createElement("br", { key: `br${u}` }), - ]; - let [, h] = o.match(/^Received has value: (.+)$/) || []; - return h - ? [ - "Received has value: ", - m.createElement(Ze, { key: o + u, value: En(h) }), - m.createElement("br", { key: `br${u}` }), - ] - : [ - m.createElement("span", { - key: o + u, - dangerouslySetInnerHTML: { __html: r.toHtml(o) }, - }), - m.createElement("br", { key: `br${u}` }), - ]; - }), - ); - }, - Mp = H.div({ - width: 14, - height: 14, - display: "flex", - alignItems: "center", - justifyContent: "center", - }), - qp = ({ status: t }) => { - let e = at(); - switch (t) { - case G.DONE: - return m.createElement(Na, { - color: e.color.positive, - "data-testid": "icon-done", - }); - case G.ERROR: - return m.createElement(Va, { - color: e.color.negative, - "data-testid": "icon-error", - }); - case G.ACTIVE: - return m.createElement(za, { - color: e.color.secondary, - "data-testid": "icon-active", - }); - case G.WAITING: - return m.createElement( - Mp, - { "data-testid": "icon-waiting" }, - m.createElement(ka, { color: er(0.5, "#CCCCCC"), size: 6 }), - ); - default: - return null; - } - }, - $p = H.div(() => ({ - fontFamily: Pe.fonts.mono, - fontSize: Pe.size.s1, - overflowWrap: "break-word", - inlineSize: "calc( 100% - 40px )", - })), - zp = H("div", { - shouldForwardProp: (t) => !["call", "pausedAt"].includes(t.toString()), - })( - ({ theme: t, call: e }) => ({ - position: "relative", - display: "flex", - flexDirection: "column", - borderBottom: `1px solid ${t.appBorderColor}`, - fontFamily: Pe.fonts.base, - fontSize: 13, - ...(e.status === G.ERROR && { - backgroundColor: - t.base === "dark" - ? er(0.93, t.color.negative) - : t.background.warning, - }), - paddingLeft: e.ancestors.length * 20, - }), - ({ theme: t, call: e, pausedAt: r }) => - r === e.id && { - "&::before": { - content: '""', - position: "absolute", - top: -5, - zIndex: 1, - borderTop: "4.5px solid transparent", - borderLeft: `7px solid ${t.color.warning}`, - borderBottom: "4.5px solid transparent", - }, - "&::after": { - content: '""', - position: "absolute", - top: -1, - zIndex: 1, - width: "100%", - borderTop: `1.5px solid ${t.color.warning}`, - }, - }, - ), - Hp = H.div(({ theme: t, isInteractive: e }) => ({ - display: "flex", - "&:hover": e ? {} : { background: t.background.hoverable }, - })), - Up = H("button", { - shouldForwardProp: (t) => !["call"].includes(t.toString()), - })(({ theme: t, disabled: e, call: r }) => ({ - flex: 1, - display: "grid", - background: "none", - border: 0, - gridTemplateColumns: "15px 1fr", - alignItems: "center", - minHeight: 40, - margin: 0, - padding: "8px 15px", - textAlign: "start", - cursor: e || r.status === G.ERROR ? "default" : "pointer", - "&:focus-visible": { - outline: 0, - boxShadow: `inset 3px 0 0 0 ${r.status === G.ERROR ? t.color.warning : t.color.secondary}`, - background: - r.status === G.ERROR ? "transparent" : t.background.hoverable, - }, - "& > div": { opacity: r.status === G.WAITING ? 0.5 : 1 }, - })), - Vp = H.div({ padding: 6 }), - Gp = H(ir)(({ theme: t }) => ({ - color: t.textMutedColor, - margin: "0 3px", - })), - Wp = H(lr)(({ theme: t }) => ({ fontFamily: t.typography.fonts.base })), - ti = H("div")(({ theme: t }) => ({ - padding: "8px 10px 8px 36px", - fontSize: Pe.size.s1, - color: t.color.defaultText, - pre: { margin: 0, padding: 0 }, - })), - Yp = ({ exception: t }) => { - let e = Tn(); - if (fi(t)) return z(ei, { ...t }); - if (di(t)) - return z( - ti, - null, - z(ei, { - message: `${t.message}${ - t.diff - ? ` - -${t.diff}` - : "" - }`, - style: { padding: 0 }, - }), - z("p", null, "See the full stack trace in the browser console."), - ); - let r = t.message.split(` - -`), - n = r.length > 1; - return z( - ti, - null, - z("pre", { dangerouslySetInnerHTML: { __html: e.toHtml(r[0]) } }), - n && z("p", null, "See the full stack trace in the browser console."), - ); - }, - Kp = ({ - call: t, - callsById: e, - controls: r, - controlStates: n, - childCallIds: o, - isHidden: u, - isCollapsed: a, - toggleCollapsed: i, - pausedAt: s, - }) => { - let [l, h] = Fe(!1), - f = !n.goto || !t.interceptable || !!t.ancestors.length; - return u - ? null - : z( - zp, - { call: t, pausedAt: s }, - z( - Hp, - { isInteractive: f }, - z( - Up, - { - "aria-label": "Interaction step", - call: t, - onClick: () => r.goto(t.id), - disabled: f, - onMouseEnter: () => n.goto && h(!0), - onMouseLeave: () => n.goto && h(!1), - }, - z(qp, { status: l ? G.ACTIVE : t.status }), - z( - $p, - { style: { marginLeft: 6, marginBottom: 1 } }, - z(In, { call: t, callsById: e }), - ), - ), - z( - Vp, - null, - o?.length > 0 && - z( - Ge, - { - hasChrome: !1, - tooltip: z(Wp, { - note: `${a ? "Show" : "Hide"} interactions`, - }), - }, - z(Gp, { onClick: i }, z(qa, null)), - ), - ), - ), - t.status === G.ERROR && - t.exception?.callId === t.id && - z(Yp, { exception: t.exception }), - ); - }, - Xp = H.div(({ theme: t, status: e }) => ({ - padding: "4px 6px 4px 8px;", - borderRadius: "4px", - backgroundColor: { - [G.DONE]: t.color.positive, - [G.ERROR]: t.color.negative, - [G.ACTIVE]: t.color.warning, - [G.WAITING]: t.color.warning, - }[e], - color: "white", - fontFamily: Pe.fonts.base, - textTransform: "uppercase", - fontSize: Pe.size.s1, - letterSpacing: 3, - fontWeight: Pe.weight.bold, - width: 65, - textAlign: "center", - })), - Jp = ({ status: t }) => { - let e = { - [G.DONE]: "Pass", - [G.ERROR]: "Fail", - [G.ACTIVE]: "Runs", - [G.WAITING]: "Runs", - }[t]; - return m.createElement( - Xp, - { "aria-label": "Status of the test run", status: t }, - e, - ); - }, - Qp = H.div(({ theme: t }) => ({ - background: t.background.app, - borderBottom: `1px solid ${t.appBorderColor}`, - position: "sticky", - top: 0, - zIndex: 1, - })), - Zp = H.nav(({ theme: t }) => ({ - height: 40, - display: "flex", - alignItems: "center", - justifyContent: "space-between", - paddingLeft: 15, - })), - ed = H(Nn)(({ theme: t }) => ({ - borderRadius: 4, - padding: 6, - color: t.textMutedColor, - "&:not(:disabled)": { - "&:hover,&:focus-visible": { color: t.color.secondary }, - }, - })), - Dt = H(lr)(({ theme: t }) => ({ fontFamily: t.typography.fonts.base })), - xt = H(ir)(({ theme: t }) => ({ - color: t.textMutedColor, - margin: "0 3px", - })), - td = H(Mn)({ marginTop: 0 }), - rd = H(jn)(({ theme: t }) => ({ - color: t.textMutedColor, - justifyContent: "flex-end", - textAlign: "right", - whiteSpace: "nowrap", - marginTop: "auto", - marginBottom: 1, - paddingRight: 15, - fontSize: 13, - })), - ri = H.div({ display: "flex", alignItems: "center" }), - nd = H(xt)({ marginLeft: 9 }), - od = H(ed)({ - marginLeft: 9, - marginRight: 9, - marginBottom: 1, - lineHeight: "12px", - }), - ud = H(xt)(({ theme: t, animating: e, disabled: r }) => ({ - opacity: r ? 0.5 : 1, - svg: { animation: e && `${t.animation.rotate360} 200ms ease-out` }, - })), - ad = ({ - controls: t, - controlStates: e, - status: r, - storyFileName: n, - onScrollToEnd: o, - }) => { - let u = r === G.ERROR ? "Scroll to error" : "Scroll to end"; - return m.createElement( - Qp, - null, - m.createElement( - Ln, - null, - m.createElement( - Zp, - null, - m.createElement( - ri, - null, - m.createElement(Jp, { status: r }), - m.createElement(od, { onClick: o, disabled: !o }, u), - m.createElement(td, null), - m.createElement( - Ge, - { - trigger: "hover", - hasChrome: !1, - tooltip: m.createElement(Dt, { note: "Go to start" }), - }, - m.createElement( - nd, - { - "aria-label": "Go to start", - onClick: t.start, - disabled: !e.start, - }, - m.createElement(Ua, null), - ), - ), - m.createElement( - Ge, - { - trigger: "hover", - hasChrome: !1, - tooltip: m.createElement(Dt, { note: "Go back" }), - }, - m.createElement( - xt, - { - "aria-label": "Go back", - onClick: t.back, - disabled: !e.back, - }, - m.createElement($a, null), - ), - ), - m.createElement( - Ge, - { - trigger: "hover", - hasChrome: !1, - tooltip: m.createElement(Dt, { note: "Go forward" }), - }, - m.createElement( - xt, - { - "aria-label": "Go forward", - onClick: t.next, - disabled: !e.next, - }, - m.createElement(Ha, null), - ), - ), - m.createElement( - Ge, - { - trigger: "hover", - hasChrome: !1, - tooltip: m.createElement(Dt, { note: "Go to end" }), - }, - m.createElement( - xt, - { - "aria-label": "Go to end", - onClick: t.end, - disabled: !e.end, - }, - m.createElement(Ma, null), - ), - ), - m.createElement( - Ge, - { - trigger: "hover", - hasChrome: !1, - tooltip: m.createElement(Dt, { note: "Rerun" }), - }, - m.createElement( - ud, - { "aria-label": "Rerun", onClick: t.rerun }, - m.createElement(Ga, null), - ), - ), - ), - n && m.createElement(ri, null, m.createElement(rd, null, n)), - ), - ), - ); - }, - id = H.div(({ theme: t }) => ({ - height: "100%", - background: t.background.content, - })), - ni = H.div(({ theme: t }) => ({ - borderBottom: `1px solid ${t.appBorderColor}`, - backgroundColor: - t.base === "dark" ? er(0.93, t.color.negative) : t.background.warning, - padding: 15, - fontSize: t.typography.size.s2 - 1, - lineHeight: "19px", - })), - wn = H.code(({ theme: t }) => ({ - margin: "0 1px", - padding: 3, - fontSize: t.typography.size.s1 - 1, - lineHeight: 1, - verticalAlign: "top", - background: "rgba(0, 0, 0, 0.05)", - border: `1px solid ${t.appBorderColor}`, - borderRadius: 3, - })), - oi = H.div({ paddingBottom: 4, fontWeight: "bold" }), - sd = H.p({ margin: 0, padding: "0 0 20px" }), - ui = H.pre(({ theme: t }) => ({ - margin: 0, - padding: 0, - "&:not(:last-child)": { paddingBottom: 16 }, - fontSize: t.typography.size.s1 - 1, - })), - ld = Ot(function ({ - calls: t, - controls: e, - controlStates: r, - interactions: n, - fileName: o, - hasException: u, - caughtException: a, - unhandledErrors: i, - isPlaying: s, - pausedAt: l, - onScrollToEnd: h, - endRef: f, - }) { - let g = Tn(); - return z( - id, - null, - (n.length > 0 || u) && - z(ad, { - controls: e, - controlStates: r, - status: s ? G.ACTIVE : u ? G.ERROR : G.DONE, - storyFileName: o, - onScrollToEnd: h, - }), - z( - "div", - { "aria-label": "Interactions list" }, - n.map((b) => - z(Kp, { - key: b.id, - call: b, - callsById: t, - controls: e, - controlStates: r, - childCallIds: b.childCallIds, - isHidden: b.isHidden, - isCollapsed: b.isCollapsed, - toggleCollapsed: b.toggleCollapsed, - pausedAt: l, - }), - ), - ), - a && - !q2(a) && - z( - ni, - null, - z( - oi, - null, - "Caught exception in ", - z(wn, null, "play"), - " function", - ), - z(ui, { - "data-chromatic": "ignore", - dangerouslySetInnerHTML: { __html: g.toHtml(ai(a)) }, - }), - ), - i && - z( - ni, - null, - z(oi, null, "Unhandled Errors"), - z( - sd, - null, - "Found ", - i.length, - " unhandled error", - i.length > 1 ? "s" : "", - " ", - "while running the play function. This might cause false positive assertions. Resolve unhandled errors or ignore unhandled errors with setting the", - z(wn, null, "test.dangerouslyIgnoreUnhandledErrors"), - " ", - "parameter to ", - z(wn, null, "true"), - ".", - ), - i.map((b, w) => - z(ui, { key: w, "data-chromatic": "ignore" }, ai(b)), - ), - ), - z("div", { ref: f }), - !s && !a && n.length === 0 && z(W2, null), - ); - }); - function ai(t) { - return t.stack || `${t.name}: ${t.message}`; - } - var Cn = { start: !1, back: !1, goto: !1, next: !1, end: !1 }, - ii = ({ log: t, calls: e, collapsed: r, setCollapsed: n }) => { - let o = new Map(), - u = new Map(); - return t - .map(({ callId: a, ancestors: i, status: s }) => { - let l = !1; - return ( - i.forEach((h) => { - r.has(h) && (l = !0), u.set(h, (u.get(h) || []).concat(a)); - }), - { ...e.get(a), status: s, isHidden: l } - ); - }) - .map((a) => { - let i = - a.status === G.ERROR && - o.get(a.ancestors.slice(-1)[0])?.status === G.ACTIVE - ? G.ACTIVE - : a.status; - return ( - o.set(a.id, { ...a, status: i }), - { - ...a, - status: i, - childCallIds: u.get(a.id), - isCollapsed: r.has(a.id), - toggleCollapsed: () => - n( - (s) => ( - s.has(a.id) ? s.delete(a.id) : s.add(a.id), new Set(s) - ), - ), - } - ); - }); - }, - cd = Ot(function ({ storyId: t }) { - let [e, r] = pr(rr, { - controlStates: Cn, - isErrored: !1, - pausedAt: void 0, - interactions: [], - isPlaying: !1, - hasException: !1, - caughtException: void 0, - interactionsCount: 0, - unhandledErrors: void 0, - }), - [n, o] = Fe(void 0), - [u, a] = Fe(new Set()), - { - controlStates: i = Cn, - isErrored: s = !1, - pausedAt: l = void 0, - interactions: h = [], - isPlaying: f = !1, - caughtException: g = void 0, - unhandledErrors: b = void 0, - } = e, - w = Rt([]), - v = Rt(new Map()), - S = ({ status: x, ...P }) => v.current.set(P.id, P), - A = Rt(); - Ne(() => { - let x; - return ( - mt.IntersectionObserver && - ((x = new mt.IntersectionObserver( - ([P]) => o(P.isIntersecting ? void 0 : P.target), - { root: mt.document.querySelector("#panel-tab-content") }, - )), - A.current && x.observe(A.current)), - () => x?.disconnect() - ); - }, []); - let E = Hn( - { - [ze.CALL]: S, - [ze.SYNC]: (x) => { - r((P) => { - let N = ii({ - log: x.logItems, - calls: v.current, - collapsed: u, - setCollapsed: a, - }); - return { - ...P, - controlStates: x.controlStates, - pausedAt: x.pausedAt, - interactions: N, - interactionsCount: N.filter(({ method: M }) => M !== "step") - .length, - }; - }), - (w.current = x.logItems); - }, - [_e]: (x) => { - if (x.newPhase === "preparing") { - r({ - controlStates: Cn, - isErrored: !1, - pausedAt: void 0, - interactions: [], - isPlaying: !1, - hasException: !1, - caughtException: void 0, - interactionsCount: 0, - unhandledErrors: void 0, - }); - return; - } - r((P) => ({ - ...P, - isPlaying: x.newPhase === "playing", - pausedAt: void 0, - ...(x.newPhase === "rendering" - ? { isErrored: !1, caughtException: void 0 } - : {}), - })); - }, - [Lt]: () => { - r((x) => ({ ...x, isErrored: !0, hasException: !0 })); - }, - [Bt]: (x) => { - r((P) => ({ ...P, caughtException: x, hasException: !0 })); - }, - [Nt]: (x) => { - r((P) => ({ ...P, unhandledErrors: x, hasException: !0 })); - }, - }, - [u], - ); - Ne(() => { - r((x) => { - let P = ii({ - log: w.current, - calls: v.current, - collapsed: u, - setCollapsed: a, - }); - return { - ...x, - interactions: P, - interactionsCount: P.filter(({ method: N }) => N !== "step") - .length, - }; - }); - }, [u]); - let O = Bn( - () => ({ - start: () => E(ze.START, { storyId: t }), - back: () => E(ze.BACK, { storyId: t }), - goto: (x) => E(ze.GOTO, { storyId: t, callId: x }), - next: () => E(ze.NEXT, { storyId: t }), - end: () => E(ze.END, { storyId: t }), - rerun: () => { - E(ft, { storyId: t }); - }, - }), - [t], - ), - F = Un("fileName", ""), - [I] = F.toString().split("/").slice(-1), - R = () => n?.scrollIntoView({ behavior: "smooth", block: "end" }), - T = !!g || !!b || h.some((x) => x.status === G.ERROR); - return s - ? m.createElement(Tt, { key: "interactions" }) - : m.createElement( - Tt, - { key: "interactions" }, - m.createElement(ld, { - calls: v.current, - controls: O, - controlStates: i, - interactions: h, - fileName: I, - hasException: T, - caughtException: g, - unhandledErrors: b, - isPlaying: f, - pausedAt: l, - endRef: A, - onScrollToEnd: n && R, - }), - ); - }); - function pd() { - let [t = {}] = pr(rr), - { hasException: e, interactionsCount: r } = t; - return m.createElement( - "div", - null, - m.createElement( - qn, - { col: 1 }, - m.createElement( - "span", - { style: { display: "inline-block", verticalAlign: "middle" } }, - "Interactions", - ), - r && !e ? m.createElement(ar, { status: "neutral" }, r) : null, - e ? m.createElement(ar, { status: "negative" }, r) : null, - ), - ); - } - cr.register(rr, (t) => { - cr.add(z2, { - type: zn.PANEL, - title: pd, - match: ({ viewMode: e }) => e === "story", - render: ({ active: e }) => { - let r = _n(({ state: n }) => ({ storyId: n.storyId }), []); - return m.createElement( - Pn, - { active: e }, - m.createElement($n, { filter: r }, ({ storyId: n }) => - m.createElement(cd, { storyId: n }), - ), - ); - }, - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/onboarding-1/manager-bundle.js b/docs/public/stories/sb-addons/onboarding-1/manager-bundle.js deleted file mode 100644 index d50a08d0..00000000 --- a/docs/public/stories/sb-addons/onboarding-1/manager-bundle.js +++ /dev/null @@ -1,9766 +0,0 @@ -try { - (() => { - var io = Object.create; - var wt = Object.defineProperty; - var ao = Object.getOwnPropertyDescriptor; - var so = Object.getOwnPropertyNames; - var lo = Object.getPrototypeOf, - co = Object.prototype.hasOwnProperty; - var ye = (e, t) => () => (e && (t = e((e = 0))), t); - var uo = (e, t) => () => ( - t || e((t = { exports: {} }).exports, t), t.exports - ), - gn = (e, t) => { - for (var n in t) wt(e, n, { get: t[n], enumerable: !0 }); - }, - bn = (e, t, n, r) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let i of so(t)) - !co.call(e, i) && - i !== n && - wt(e, i, { - get: () => t[i], - enumerable: !(r = ao(t, i)) || r.enumerable, - }); - return e; - }; - var po = (e, t, n) => ( - (n = e != null ? io(lo(e)) : {}), - bn( - t || !e || !e.__esModule - ? wt(n, "default", { value: e, enumerable: !0 }) - : n, - e, - ) - ), - vn = (e) => bn(wt({}, "__esModule", { value: !0 }), e); - var J = ye(() => {}); - var X = ye(() => {}); - var Z = ye(() => {}); - var St = {}; - gn(St, { - Children: () => fo, - Component: () => xe, - Fragment: () => ho, - Profiler: () => yo, - PureComponent: () => mo, - StrictMode: () => go, - Suspense: () => Wt, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => bo, - cloneElement: () => vo, - createContext: () => Eo, - createElement: () => V, - createFactory: () => Oo, - createRef: () => wo, - default: () => E, - forwardRef: () => Ut, - isValidElement: () => Ht, - lazy: () => Gt, - memo: () => So, - startTransition: () => To, - unstable_act: () => Io, - useCallback: () => ze, - useContext: () => Co, - useDebugValue: () => Po, - useDeferredValue: () => Ro, - useEffect: () => ce, - useId: () => _o, - useImperativeHandle: () => xo, - useInsertionEffect: () => Ao, - useLayoutEffect: () => No, - useMemo: () => ko, - useReducer: () => Mo, - useRef: () => jo, - useState: () => ue, - useSyncExternalStore: () => Lo, - useTransition: () => Do, - version: () => Fo, - }); - var E, - fo, - xe, - ho, - yo, - mo, - go, - Wt, - bo, - vo, - Eo, - V, - Oo, - wo, - Ut, - Ht, - Gt, - So, - To, - Io, - ze, - Co, - Po, - Ro, - ce, - _o, - xo, - Ao, - No, - ko, - Mo, - jo, - ue, - Lo, - Do, - Fo, - Ye = ye(() => { - J(); - X(); - Z(); - (E = __REACT__), - ({ - Children: fo, - Component: xe, - Fragment: ho, - Profiler: yo, - PureComponent: mo, - StrictMode: go, - Suspense: Wt, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: bo, - cloneElement: vo, - createContext: Eo, - createElement: V, - createFactory: Oo, - createRef: wo, - forwardRef: Ut, - isValidElement: Ht, - lazy: Gt, - memo: So, - startTransition: To, - unstable_act: Io, - useCallback: ze, - useContext: Co, - useDebugValue: Po, - useDeferredValue: Ro, - useEffect: ce, - useId: _o, - useImperativeHandle: xo, - useInsertionEffect: Ao, - useLayoutEffect: No, - useMemo: ko, - useReducer: Mo, - useRef: jo, - useState: ue, - useSyncExternalStore: Lo, - useTransition: Do, - version: Fo, - } = __REACT__); - }); - var De, - tl, - it, - nl, - rl, - ol, - il, - al, - sl, - En, - ll, - On, - cl, - Tt = ye(() => { - J(); - X(); - Z(); - (De = __REACT_DOM__), - ({ - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: tl, - createPortal: it, - createRoot: nl, - findDOMNode: rl, - flushSync: ol, - hydrate: il, - hydrateRoot: al, - render: sl, - unmountComponentAtNode: En, - unstable_batchedUpdates: ll, - unstable_renderSubtreeIntoContainer: On, - version: cl, - } = __REACT_DOM__); - }); - var dl, - hl, - yl, - ml, - gl, - bl, - vl, - El, - Ol, - wl, - Sl, - Tl, - Il, - Cl, - Pl, - Rl, - _l, - xl, - Al, - Nl, - kl, - Ml, - jl, - Ll, - Dl, - Fl, - wn, - Bl, - Wl, - Ul, - Hl, - Gl, - zl, - Yl, - ql, - $l, - Vl, - Kl, - Ql, - Jl, - Xl, - Zl, - ec, - tc, - nc, - rc, - oc, - Sn, - ic, - ac, - sc, - lc, - cc, - uc, - pc, - fc, - dc, - hc, - yc, - mc, - gc, - bc, - vc, - Tn = ye(() => { - J(); - X(); - Z(); - (dl = __STORYBOOK_CORE_EVENTS__), - ({ - ARGTYPES_INFO_REQUEST: hl, - ARGTYPES_INFO_RESPONSE: yl, - CHANNEL_CREATED: ml, - CHANNEL_WS_DISCONNECT: gl, - CONFIG_ERROR: bl, - CREATE_NEW_STORYFILE_REQUEST: vl, - CREATE_NEW_STORYFILE_RESPONSE: El, - CURRENT_STORY_WAS_SET: Ol, - DOCS_PREPARED: wl, - DOCS_RENDERED: Sl, - FILE_COMPONENT_SEARCH_REQUEST: Tl, - FILE_COMPONENT_SEARCH_RESPONSE: Il, - FORCE_REMOUNT: Cl, - FORCE_RE_RENDER: Pl, - GLOBALS_UPDATED: Rl, - NAVIGATE_URL: _l, - PLAY_FUNCTION_THREW_EXCEPTION: xl, - PRELOAD_ENTRIES: Al, - PREVIEW_BUILDER_PROGRESS: Nl, - PREVIEW_KEYDOWN: kl, - REGISTER_SUBSCRIPTION: Ml, - REQUEST_WHATS_NEW_DATA: jl, - RESET_STORY_ARGS: Ll, - RESULT_WHATS_NEW_DATA: Dl, - SAVE_STORY_REQUEST: Fl, - SAVE_STORY_RESPONSE: wn, - SELECT_STORY: Bl, - SET_CONFIG: Wl, - SET_CURRENT_STORY: Ul, - SET_FILTER: Hl, - SET_GLOBALS: Gl, - SET_INDEX: zl, - SET_STORIES: Yl, - SET_WHATS_NEW_CACHE: ql, - SHARED_STATE_CHANGED: $l, - SHARED_STATE_SET: Vl, - STORIES_COLLAPSE_ALL: Kl, - STORIES_EXPAND_ALL: Ql, - STORY_ARGS_UPDATED: Jl, - STORY_CHANGED: Xl, - STORY_ERRORED: Zl, - STORY_INDEX_INVALIDATED: ec, - STORY_MISSING: tc, - STORY_PREPARED: nc, - STORY_RENDERED: rc, - STORY_RENDER_PHASE_CHANGED: oc, - STORY_SPECIFIED: Sn, - STORY_THREW_EXCEPTION: ic, - STORY_UNCHANGED: ac, - TELEMETRY_ERROR: sc, - TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: lc, - TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: cc, - TESTING_MODULE_CRASH_REPORT: uc, - TESTING_MODULE_PROGRESS_REPORT: pc, - TESTING_MODULE_RUN_ALL_REQUEST: fc, - TESTING_MODULE_RUN_REQUEST: dc, - TESTING_MODULE_WATCH_MODE_REQUEST: hc, - TOGGLE_WHATS_NEW_NOTIFICATIONS: yc, - UNHANDLED_ERRORS_WHILE_PLAYING: mc, - UPDATE_GLOBALS: gc, - UPDATE_QUERY_PARAMS: bc, - UPDATE_STORY_ARGS: vc, - } = __STORYBOOK_CORE_EVENTS__); - }); - var zt = ye(() => { - J(); - X(); - Z(); - Tn(); - }); - var pu, - fu, - du, - hu, - yu, - mu, - gu, - bu, - vu, - Eu, - Ou, - wu, - Su, - Tu, - Iu, - Cu, - Pu, - Ru, - _u, - xu, - Au, - Nu, - ku, - Mu, - Cn, - ju, - Lu, - Du, - Fu, - Bu, - Wu, - Uu, - Hu, - Gu, - zu, - Yu, - qu, - $u, - Vu, - Ku, - Qu, - Ju, - Xu, - Zu, - ep, - Pn, - tp, - np, - rp, - op, - ip, - ap, - sp, - lp, - cp, - up, - pp, - fp, - dp, - hp, - yp, - mp, - gp, - bp, - vp, - Ep, - Op, - wp, - Sp, - Rn = ye(() => { - J(); - X(); - Z(); - (pu = __STORYBOOK_COMPONENTS__), - ({ - A: fu, - ActionBar: du, - AddonPanel: hu, - Badge: yu, - Bar: mu, - Blockquote: gu, - Button: bu, - ClipboardCode: vu, - Code: Eu, - DL: Ou, - Div: wu, - DocumentWrapper: Su, - EmptyTabContent: Tu, - ErrorFormatter: Iu, - FlexBar: Cu, - Form: Pu, - H1: Ru, - H2: _u, - H3: xu, - H4: Au, - H5: Nu, - H6: ku, - HR: Mu, - IconButton: Cn, - IconButtonSkeleton: ju, - Icons: Lu, - Img: Du, - LI: Fu, - Link: Bu, - ListItem: Wu, - Loader: Uu, - Modal: Hu, - OL: Gu, - P: zu, - Placeholder: Yu, - Pre: qu, - ResetWrapper: $u, - ScrollArea: Vu, - Separator: Ku, - Spaced: Qu, - Span: Ju, - StorybookIcon: Xu, - StorybookLogo: Zu, - Symbols: ep, - SyntaxHighlighter: Pn, - TT: tp, - TabBar: np, - TabButton: rp, - TabWrapper: op, - Table: ip, - Tabs: ap, - TabsState: sp, - TooltipLinkList: lp, - TooltipMessage: cp, - TooltipNote: up, - UL: pp, - WithTooltip: fp, - WithTooltipPure: dp, - Zoom: hp, - codeCommon: yp, - components: mp, - createCopyToClipboardFunction: gp, - getStoryHref: bp, - icons: vp, - interleaveSeparators: Ep, - nameSpaceClassNames: Op, - resetComponents: wp, - withReset: Sp, - } = __STORYBOOK_COMPONENTS__); - }); - var Rp, - _p, - xp, - Ap, - Yt, - Np, - It, - qt, - kp, - Mp, - jp, - Lp, - Dp, - Fp, - Bp, - Wp, - Up, - Hp, - at, - Gp, - re, - _n, - zp, - xn, - Yp, - An = ye(() => { - J(); - X(); - Z(); - (Rp = __STORYBOOK_THEMING__), - ({ - CacheProvider: _p, - ClassNames: xp, - Global: Ap, - ThemeProvider: Yt, - background: Np, - color: It, - convert: qt, - create: kp, - createCache: Mp, - createGlobal: jp, - createReset: Lp, - css: Dp, - darken: Fp, - ensure: Bp, - ignoreSsrWarning: Wp, - isPropValid: Up, - jsx: Hp, - keyframes: at, - lighten: Gp, - styled: re, - themes: _n, - typography: zp, - useTheme: xn, - withTheme: Yp, - } = __STORYBOOK_THEMING__); - }); - var Nn = uo((st, $t) => { - J(); - X(); - Z(); - (function (e, t) { - typeof st == "object" && typeof $t == "object" - ? ($t.exports = t((Ye(), vn(St)))) - : typeof define == "function" && define.amd - ? define(["react"], t) - : typeof st == "object" - ? (st.ReactConfetti = t((Ye(), vn(St)))) - : (e.ReactConfetti = t(e.React)); - })(typeof self < "u" ? self : st, function (e) { - return (function (t) { - var n = {}; - function r(i) { - if (n[i]) return n[i].exports; - var o = (n[i] = { i, l: !1, exports: {} }); - return t[i].call(o.exports, o, o.exports, r), (o.l = !0), o.exports; - } - return ( - (r.m = t), - (r.c = n), - (r.d = function (i, o, a) { - r.o(i, o) || - Object.defineProperty(i, o, { enumerable: !0, get: a }); - }), - (r.r = function (i) { - typeof Symbol < "u" && - Symbol.toStringTag && - Object.defineProperty(i, Symbol.toStringTag, { - value: "Module", - }), - Object.defineProperty(i, "__esModule", { value: !0 }); - }), - (r.t = function (i, o) { - if ( - (1 & o && (i = r(i)), - 8 & o || (4 & o && typeof i == "object" && i && i.__esModule)) - ) - return i; - var a = Object.create(null); - if ( - (r.r(a), - Object.defineProperty(a, "default", { - enumerable: !0, - value: i, - }), - 2 & o && typeof i != "string") - ) - for (var s in i) - r.d( - a, - s, - function (l) { - return i[l]; - }.bind(null, s), - ); - return a; - }), - (r.n = function (i) { - var o = - i && i.__esModule - ? function () { - return i.default; - } - : function () { - return i; - }; - return r.d(o, "a", o), o; - }), - (r.o = function (i, o) { - return Object.prototype.hasOwnProperty.call(i, o); - }), - (r.p = ""), - r((r.s = 2)) - ); - })([ - function (t, n) { - t.exports = e; - }, - function (t, n, r) { - "use strict"; - var i = { - linear: function (o, a, s, l) { - return ((s - a) * o) / l + a; - }, - easeInQuad: function (o, a, s, l) { - return (s - a) * (o /= l) * o + a; - }, - easeOutQuad: function (o, a, s, l) { - return -(s - a) * (o /= l) * (o - 2) + a; - }, - easeInOutQuad: function (o, a, s, l) { - var c = s - a; - return (o /= l / 2) < 1 - ? (c / 2) * o * o + a - : (-c / 2) * (--o * (o - 2) - 1) + a; - }, - easeInCubic: function (o, a, s, l) { - return (s - a) * (o /= l) * o * o + a; - }, - easeOutCubic: function (o, a, s, l) { - return (s - a) * ((o = o / l - 1) * o * o + 1) + a; - }, - easeInOutCubic: function (o, a, s, l) { - var c = s - a; - return (o /= l / 2) < 1 - ? (c / 2) * o * o * o + a - : (c / 2) * ((o -= 2) * o * o + 2) + a; - }, - easeInQuart: function (o, a, s, l) { - return (s - a) * (o /= l) * o * o * o + a; - }, - easeOutQuart: function (o, a, s, l) { - return -(s - a) * ((o = o / l - 1) * o * o * o - 1) + a; - }, - easeInOutQuart: function (o, a, s, l) { - var c = s - a; - return (o /= l / 2) < 1 - ? (c / 2) * o * o * o * o + a - : (-c / 2) * ((o -= 2) * o * o * o - 2) + a; - }, - easeInQuint: function (o, a, s, l) { - return (s - a) * (o /= l) * o * o * o * o + a; - }, - easeOutQuint: function (o, a, s, l) { - return (s - a) * ((o = o / l - 1) * o * o * o * o + 1) + a; - }, - easeInOutQuint: function (o, a, s, l) { - var c = s - a; - return (o /= l / 2) < 1 - ? (c / 2) * o * o * o * o * o + a - : (c / 2) * ((o -= 2) * o * o * o * o + 2) + a; - }, - easeInSine: function (o, a, s, l) { - var c = s - a; - return -c * Math.cos((o / l) * (Math.PI / 2)) + c + a; - }, - easeOutSine: function (o, a, s, l) { - return (s - a) * Math.sin((o / l) * (Math.PI / 2)) + a; - }, - easeInOutSine: function (o, a, s, l) { - return (-(s - a) / 2) * (Math.cos((Math.PI * o) / l) - 1) + a; - }, - easeInExpo: function (o, a, s, l) { - return o == 0 ? a : (s - a) * Math.pow(2, 10 * (o / l - 1)) + a; - }, - easeOutExpo: function (o, a, s, l) { - var c = s - a; - return o == l - ? a + c - : c * (1 - Math.pow(2, (-10 * o) / l)) + a; - }, - easeInOutExpo: function (o, a, s, l) { - var c = s - a; - return o === 0 - ? a - : o === l - ? a + c - : (o /= l / 2) < 1 - ? (c / 2) * Math.pow(2, 10 * (o - 1)) + a - : (c / 2) * (2 - Math.pow(2, -10 * --o)) + a; - }, - easeInCirc: function (o, a, s, l) { - return -(s - a) * (Math.sqrt(1 - (o /= l) * o) - 1) + a; - }, - easeOutCirc: function (o, a, s, l) { - return (s - a) * Math.sqrt(1 - (o = o / l - 1) * o) + a; - }, - easeInOutCirc: function (o, a, s, l) { - var c = s - a; - return (o /= l / 2) < 1 - ? (-c / 2) * (Math.sqrt(1 - o * o) - 1) + a - : (c / 2) * (Math.sqrt(1 - (o -= 2) * o) + 1) + a; - }, - easeInElastic: function (o, a, s, l) { - var c, - p, - u, - f = s - a; - return ( - (u = 1.70158), - o === 0 - ? a - : (o /= l) == 1 - ? a + f - : ((p = 0) || (p = 0.3 * l), - (c = f) < Math.abs(f) - ? ((c = f), (u = p / 4)) - : (u = (p / (2 * Math.PI)) * Math.asin(f / c)), - -c * - Math.pow(2, 10 * (o -= 1)) * - Math.sin(((o * l - u) * (2 * Math.PI)) / p) + - a) - ); - }, - easeOutElastic: function (o, a, s, l) { - var c, - p, - u, - f = s - a; - return ( - (u = 1.70158), - o === 0 - ? a - : (o /= l) == 1 - ? a + f - : ((p = 0) || (p = 0.3 * l), - (c = f) < Math.abs(f) - ? ((c = f), (u = p / 4)) - : (u = (p / (2 * Math.PI)) * Math.asin(f / c)), - c * - Math.pow(2, -10 * o) * - Math.sin(((o * l - u) * (2 * Math.PI)) / p) + - f + - a) - ); - }, - easeInOutElastic: function (o, a, s, l) { - var c, - p, - u, - f = s - a; - return ( - (u = 1.70158), - o === 0 - ? a - : (o /= l / 2) == 2 - ? a + f - : ((p = 0) || (p = l * 0.44999999999999996), - (c = f) < Math.abs(f) - ? ((c = f), (u = p / 4)) - : (u = (p / (2 * Math.PI)) * Math.asin(f / c)), - o < 1 - ? c * - Math.pow(2, 10 * (o -= 1)) * - Math.sin(((o * l - u) * (2 * Math.PI)) / p) * - -0.5 + - a - : c * - Math.pow(2, -10 * (o -= 1)) * - Math.sin(((o * l - u) * (2 * Math.PI)) / p) * - 0.5 + - f + - a) - ); - }, - easeInBack: function (o, a, s, l, c) { - return ( - c === void 0 && (c = 1.70158), - (s - a) * (o /= l) * o * ((c + 1) * o - c) + a - ); - }, - easeOutBack: function (o, a, s, l, c) { - return ( - c === void 0 && (c = 1.70158), - (s - a) * ((o = o / l - 1) * o * ((c + 1) * o + c) + 1) + a - ); - }, - easeInOutBack: function (o, a, s, l, c) { - var p = s - a; - return ( - c === void 0 && (c = 1.70158), - (o /= l / 2) < 1 - ? (p / 2) * (o * o * ((1 + (c *= 1.525)) * o - c)) + a - : (p / 2) * - ((o -= 2) * o * ((1 + (c *= 1.525)) * o + c) + 2) + - a - ); - }, - easeInBounce: function (o, a, s, l) { - var c = s - a; - return c - i.easeOutBounce(l - o, 0, c, l) + a; - }, - easeOutBounce: function (o, a, s, l) { - var c = s - a; - return (o /= l) < 0.36363636363636365 - ? c * (7.5625 * o * o) + a - : o < 0.7272727272727273 - ? c * (7.5625 * (o -= 0.5454545454545454) * o + 0.75) + a - : o < 0.9090909090909091 - ? c * (7.5625 * (o -= 0.8181818181818182) * o + 0.9375) + - a - : c * - (7.5625 * (o -= 0.9545454545454546) * o + 0.984375) + - a; - }, - easeInOutBounce: function (o, a, s, l) { - var c = s - a; - return o < l / 2 - ? 0.5 * i.easeInBounce(2 * o, 0, c, l) + a - : 0.5 * i.easeOutBounce(2 * o - l, 0, c, l) + 0.5 * c + a; - }, - }; - t.exports = i; - }, - function (t, n, r) { - t.exports = r(3); - }, - function (t, n, r) { - "use strict"; - r.r(n), - r.d(n, "ReactConfetti", function () { - return G; - }); - var i, - o, - a = r(0), - s = r.n(a), - l = r(1), - c = r.n(l); - function p(d, h) { - return d + Math.random() * (h - d); - } - function u(d, h) { - for (var g = 0; g < h.length; g++) { - var y = h[g]; - (y.enumerable = y.enumerable || !1), - (y.configurable = !0), - "value" in y && (y.writable = !0), - Object.defineProperty(d, y.key, y); - } - } - function f(d, h, g) { - return ( - h in d - ? Object.defineProperty(d, h, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (d[h] = g), - d - ); - } - (function (d) { - (d[(d.Circle = 0)] = "Circle"), - (d[(d.Square = 1)] = "Square"), - (d[(d.Strip = 2)] = "Strip"); - })(i || (i = {})), - (function (d) { - (d[(d.Positive = 1)] = "Positive"), - (d[(d.Negative = -1)] = "Negative"); - })(o || (o = {})); - var b = (function () { - function d(N, j, w, O) { - (function (Dt, nt) { - if (!(Dt instanceof nt)) - throw new TypeError("Cannot call a class as a function"); - })(this, d), - f(this, "context", void 0), - f(this, "radius", void 0), - f(this, "x", void 0), - f(this, "y", void 0), - f(this, "w", void 0), - f(this, "h", void 0), - f(this, "vx", void 0), - f(this, "vy", void 0), - f(this, "shape", void 0), - f(this, "angle", void 0), - f(this, "angularSpin", void 0), - f(this, "color", void 0), - f(this, "rotateY", void 0), - f(this, "rotationDirection", void 0), - f(this, "getOptions", void 0), - (this.getOptions = j); - var U, - z, - ne = this.getOptions(), - _e = ne.colors, - ie = ne.initialVelocityX, - Ge = ne.initialVelocityY; - (this.context = N), - (this.x = w), - (this.y = O), - (this.w = p(5, 20)), - (this.h = p(5, 20)), - (this.radius = p(5, 10)), - (this.vx = - typeof ie == "number" ? p(-ie, ie) : p(ie.min, ie.max)), - (this.vy = - typeof Ge == "number" ? p(-Ge, 0) : p(Ge.min, Ge.max)), - (this.shape = - ((U = 0), - (z = 2), - Math.floor(U + Math.random() * (z - U + 1)))), - (this.angle = (p(0, 360) * Math.PI) / 180), - (this.angularSpin = p(-0.2, 0.2)), - (this.color = _e[Math.floor(Math.random() * _e.length)]), - (this.rotateY = p(0, 1)), - (this.rotationDirection = p(0, 1) ? o.Positive : o.Negative); - } - var h, g, y; - return ( - (h = d), - (g = [ - { - key: "update", - value: function () { - var N = this.getOptions(), - j = N.gravity, - w = N.wind, - O = N.friction, - U = N.opacity, - z = N.drawShape; - (this.x += this.vx), - (this.y += this.vy), - (this.vy += j), - (this.vx += w), - (this.vx *= O), - (this.vy *= O), - this.rotateY >= 1 && - this.rotationDirection === o.Positive - ? (this.rotationDirection = o.Negative) - : this.rotateY <= -1 && - this.rotationDirection === o.Negative && - (this.rotationDirection = o.Positive); - var ne = 0.1 * this.rotationDirection; - if ( - ((this.rotateY += ne), - (this.angle += this.angularSpin), - this.context.save(), - this.context.translate(this.x, this.y), - this.context.rotate(this.angle), - this.context.scale(1, this.rotateY), - this.context.rotate(this.angle), - this.context.beginPath(), - (this.context.fillStyle = this.color), - (this.context.strokeStyle = this.color), - (this.context.globalAlpha = U), - (this.context.lineCap = "round"), - (this.context.lineWidth = 2), - z && typeof z == "function") - ) - z.call(this, this.context); - else - switch (this.shape) { - case i.Circle: - this.context.beginPath(), - this.context.arc( - 0, - 0, - this.radius, - 0, - 2 * Math.PI, - ), - this.context.fill(); - break; - case i.Square: - this.context.fillRect( - -this.w / 2, - -this.h / 2, - this.w, - this.h, - ); - break; - case i.Strip: - this.context.fillRect( - -this.w / 6, - -this.h / 2, - this.w / 3, - this.h, - ); - } - this.context.closePath(), this.context.restore(); - }, - }, - ]) && u(h.prototype, g), - y && u(h, y), - d - ); - })(); - function m(d, h, g) { - return ( - h in d - ? Object.defineProperty(d, h, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (d[h] = g), - d - ); - } - var T = function d(h, g) { - var y = this; - (function (j, w) { - if (!(j instanceof w)) - throw new TypeError("Cannot call a class as a function"); - })(this, d), - m(this, "canvas", void 0), - m(this, "context", void 0), - m(this, "getOptions", void 0), - m(this, "x", 0), - m(this, "y", 0), - m(this, "w", 0), - m(this, "h", 0), - m(this, "lastNumberOfPieces", 0), - m(this, "tweenInitTime", Date.now()), - m(this, "particles", []), - m(this, "particlesGenerated", 0), - m(this, "removeParticleAt", function (j) { - y.particles.splice(j, 1); - }), - m(this, "getParticle", function () { - var j = p(y.x, y.w + y.x), - w = p(y.y, y.h + y.y); - return new b(y.context, y.getOptions, j, w); - }), - m(this, "animate", function () { - var j = y.canvas, - w = y.context, - O = y.particlesGenerated, - U = y.lastNumberOfPieces, - z = y.getOptions(), - ne = z.run, - _e = z.recycle, - ie = z.numberOfPieces, - Ge = z.debug, - Dt = z.tweenFunction, - nt = z.tweenDuration; - if (!ne) return !1; - var Ft = y.particles.length, - rt = _e ? Ft : O, - Bt = Date.now(); - if (rt < ie) { - U !== ie && - ((y.tweenInitTime = Bt), (y.lastNumberOfPieces = ie)); - for ( - var dn = y.tweenInitTime, - oo = Dt( - Bt - dn > nt ? nt : Math.max(0, Bt - dn), - rt, - ie, - nt, - ), - hn = Math.round(oo - rt), - yn = 0; - yn < hn; - yn++ - ) - y.particles.push(y.getParticle()); - y.particlesGenerated += hn; - } - return ( - Ge && - ((w.font = "12px sans-serif"), - (w.fillStyle = "#333"), - (w.textAlign = "right"), - w.fillText( - "Particles: ".concat(Ft), - j.width - 10, - j.height - 20, - )), - y.particles.forEach(function (ot, mn) { - ot.update(), - (ot.y > j.height || - ot.y < -100 || - ot.x > j.width + 100 || - ot.x < -100) && - (_e && rt <= ie - ? (y.particles[mn] = y.getParticle()) - : y.removeParticleAt(mn)); - }), - Ft > 0 || rt < ie - ); - }), - (this.canvas = h); - var N = this.canvas.getContext("2d"); - if (!N) throw new Error("Could not get canvas context"); - (this.context = N), (this.getOptions = g); - }; - function F(d, h) { - var g = Object.keys(d); - if (Object.getOwnPropertySymbols) { - var y = Object.getOwnPropertySymbols(d); - h && - (y = y.filter(function (N) { - return Object.getOwnPropertyDescriptor(d, N).enumerable; - })), - g.push.apply(g, y); - } - return g; - } - function I(d) { - for (var h = 1; h < arguments.length; h++) { - var g = arguments[h] != null ? arguments[h] : {}; - h % 2 - ? F(Object(g), !0).forEach(function (y) { - v(d, y, g[y]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - d, - Object.getOwnPropertyDescriptors(g), - ) - : F(Object(g)).forEach(function (y) { - Object.defineProperty( - d, - y, - Object.getOwnPropertyDescriptor(g, y), - ); - }); - } - return d; - } - function _(d, h) { - for (var g = 0; g < h.length; g++) { - var y = h[g]; - (y.enumerable = y.enumerable || !1), - (y.configurable = !0), - "value" in y && (y.writable = !0), - Object.defineProperty(d, y.key, y); - } - } - function v(d, h, g) { - return ( - h in d - ? Object.defineProperty(d, h, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (d[h] = g), - d - ); - } - var P = { - width: typeof window < "u" ? window.innerWidth : 300, - height: typeof window < "u" ? window.innerHeight : 200, - numberOfPieces: 200, - friction: 0.99, - wind: 0, - gravity: 0.1, - initialVelocityX: 4, - initialVelocityY: 10, - colors: [ - "#f44336", - "#e91e63", - "#9c27b0", - "#673ab7", - "#3f51b5", - "#2196f3", - "#03a9f4", - "#00bcd4", - "#009688", - "#4CAF50", - "#8BC34A", - "#CDDC39", - "#FFEB3B", - "#FFC107", - "#FF9800", - "#FF5722", - "#795548", - ], - opacity: 1, - debug: !1, - tweenFunction: c.a.easeInOutQuad, - tweenDuration: 5e3, - recycle: !0, - run: !0, - }, - R = (function () { - function d(N, j) { - var w = this; - (function (U, z) { - if (!(U instanceof z)) - throw new TypeError("Cannot call a class as a function"); - })(this, d), - v(this, "canvas", void 0), - v(this, "context", void 0), - v(this, "_options", void 0), - v(this, "generator", void 0), - v(this, "rafId", void 0), - v(this, "setOptionsWithDefaults", function (U) { - var z = { - confettiSource: { x: 0, y: 0, w: w.canvas.width, h: 0 }, - }; - (w._options = I(I(I({}, z), P), U)), - Object.assign(w, U.confettiSource); - }), - v(this, "update", function () { - var U = w.options, - z = U.run, - ne = U.onConfettiComplete, - _e = w.canvas, - ie = w.context; - z && - ((ie.fillStyle = "white"), - ie.clearRect(0, 0, _e.width, _e.height)), - w.generator.animate() - ? (w.rafId = requestAnimationFrame(w.update)) - : (ne && - typeof ne == "function" && - w.generator.particlesGenerated > 0 && - ne.call(w, w), - (w._options.run = !1)); - }), - v(this, "reset", function () { - w.generator && - w.generator.particlesGenerated > 0 && - ((w.generator.particlesGenerated = 0), - (w.generator.particles = []), - (w.generator.lastNumberOfPieces = 0)); - }), - v(this, "stop", function () { - (w.options = { run: !1 }), - w.rafId && - (cancelAnimationFrame(w.rafId), (w.rafId = void 0)); - }), - (this.canvas = N); - var O = this.canvas.getContext("2d"); - if (!O) throw new Error("Could not get canvas context"); - (this.context = O), - (this.generator = new T(this.canvas, function () { - return w.options; - })), - (this.options = j), - this.update(); - } - var h, g, y; - return ( - (h = d), - (g = [ - { - key: "options", - get: function () { - return this._options; - }, - set: function (N) { - var j = this._options && this._options.run, - w = this._options && this._options.recycle; - this.setOptionsWithDefaults(N), - this.generator && - (Object.assign( - this.generator, - this.options.confettiSource, - ), - typeof N.recycle == "boolean" && - N.recycle && - w === !1 && - (this.generator.lastNumberOfPieces = - this.generator.particles.length)), - typeof N.run == "boolean" && - N.run && - j === !1 && - this.update(); - }, - }, - ]) && _(h.prototype, g), - y && _(h, y), - d - ); - })(); - function K(d) { - return ( - (function (h) { - if (Array.isArray(h)) return Re(h); - })(d) || - (function (h) { - if (typeof Symbol < "u" && Symbol.iterator in Object(h)) - return Array.from(h); - })(d) || - Ue(d) || - (function () { - throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - })() - ); - } - function B(d) { - return (B = - typeof Symbol == "function" && - typeof Symbol.iterator == "symbol" - ? function (h) { - return typeof h; - } - : function (h) { - return h && - typeof Symbol == "function" && - h.constructor === Symbol && - h !== Symbol.prototype - ? "symbol" - : typeof h; - })(d); - } - function te() { - return (te = - Object.assign || - function (d) { - for (var h = 1; h < arguments.length; h++) { - var g = arguments[h]; - for (var y in g) - Object.prototype.hasOwnProperty.call(g, y) && - (d[y] = g[y]); - } - return d; - }).apply(this, arguments); - } - function Q(d, h) { - var g = Object.keys(d); - if (Object.getOwnPropertySymbols) { - var y = Object.getOwnPropertySymbols(d); - h && - (y = y.filter(function (N) { - return Object.getOwnPropertyDescriptor(d, N).enumerable; - })), - g.push.apply(g, y); - } - return g; - } - function se(d) { - for (var h = 1; h < arguments.length; h++) { - var g = arguments[h] != null ? arguments[h] : {}; - h % 2 - ? Q(Object(g), !0).forEach(function (y) { - we(d, y, g[y]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties( - d, - Object.getOwnPropertyDescriptors(g), - ) - : Q(Object(g)).forEach(function (y) { - Object.defineProperty( - d, - y, - Object.getOwnPropertyDescriptor(g, y), - ); - }); - } - return d; - } - function Ze(d, h) { - return ( - (function (g) { - if (Array.isArray(g)) return g; - })(d) || - (function (g, y) { - if ( - !(typeof Symbol > "u" || !(Symbol.iterator in Object(g))) - ) { - var N = [], - j = !0, - w = !1, - O = void 0; - try { - for ( - var U, z = g[Symbol.iterator](); - !(j = (U = z.next()).done) && - (N.push(U.value), !y || N.length !== y); - j = !0 - ); - } catch (ne) { - (w = !0), (O = ne); - } finally { - try { - j || z.return == null || z.return(); - } finally { - if (w) throw O; - } - } - return N; - } - })(d, h) || - Ue(d, h) || - (function () { - throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - })() - ); - } - function Ue(d, h) { - if (d) { - if (typeof d == "string") return Re(d, h); - var g = Object.prototype.toString.call(d).slice(8, -1); - return ( - g === "Object" && d.constructor && (g = d.constructor.name), - g === "Map" || g === "Set" - ? Array.from(d) - : g === "Arguments" || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g) - ? Re(d, h) - : void 0 - ); - } - } - function Re(d, h) { - (h == null || h > d.length) && (h = d.length); - for (var g = 0, y = new Array(h); g < h; g++) y[g] = d[g]; - return y; - } - function et(d, h) { - if (!(d instanceof h)) - throw new TypeError("Cannot call a class as a function"); - } - function He(d, h) { - for (var g = 0; g < h.length; g++) { - var y = h[g]; - (y.enumerable = y.enumerable || !1), - (y.configurable = !0), - "value" in y && (y.writable = !0), - Object.defineProperty(d, y.key, y); - } - } - function Ce(d, h) { - return (Ce = - Object.setPrototypeOf || - function (g, y) { - return (g.__proto__ = y), g; - })(d, h); - } - function tt(d) { - var h = (function () { - if ( - typeof Reflect > "u" || - !Reflect.construct || - Reflect.construct.sham - ) - return !1; - if (typeof Proxy == "function") return !0; - try { - return ( - Date.prototype.toString.call( - Reflect.construct(Date, [], function () {}), - ), - !0 - ); - } catch { - return !1; - } - })(); - return function () { - var g, - y = Le(d); - if (h) { - var N = Le(this).constructor; - g = Reflect.construct(y, arguments, N); - } else g = y.apply(this, arguments); - return pe(this, g); - }; - } - function pe(d, h) { - return !h || (B(h) !== "object" && typeof h != "function") - ? fe(d) - : h; - } - function fe(d) { - if (d === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return d; - } - function Le(d) { - return (Le = Object.setPrototypeOf - ? Object.getPrototypeOf - : function (h) { - return h.__proto__ || Object.getPrototypeOf(h); - })(d); - } - function we(d, h, g) { - return ( - h in d - ? Object.defineProperty(d, h, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (d[h] = g), - d - ); - } - var S = s.a.createRef(), - k = (function (d) { - (function (w, O) { - if (typeof O != "function" && O !== null) - throw new TypeError( - "Super expression must either be null or a function", - ); - (w.prototype = Object.create(O && O.prototype, { - constructor: { value: w, writable: !0, configurable: !0 }, - })), - O && Ce(w, O); - })(j, d); - var h, - g, - y, - N = tt(j); - function j(w) { - var O; - et(this, j); - for ( - var U = arguments.length, - z = new Array(U > 1 ? U - 1 : 0), - ne = 1; - ne < U; - ne++ - ) - z[ne - 1] = arguments[ne]; - return ( - we( - fe((O = N.call.apply(N, [this, w].concat(z)))), - "canvas", - s.a.createRef(), - ), - we(fe(O), "confetti", void 0), - (O.canvas = w.canvasRef || S), - O - ); - } - return ( - (h = j), - (g = [ - { - key: "componentDidMount", - value: function () { - if (this.canvas.current) { - var w = H(this.props)[0]; - this.confetti = new R(this.canvas.current, w); - } - }, - }, - { - key: "componentDidUpdate", - value: function () { - var w = H(this.props)[0]; - this.confetti && (this.confetti.options = w); - }, - }, - { - key: "componentWillUnmount", - value: function () { - this.confetti && this.confetti.stop(), - (this.confetti = void 0); - }, - }, - { - key: "render", - value: function () { - var w = Ze(H(this.props), 2), - O = w[0], - U = w[1], - z = se( - { - zIndex: 2, - position: "absolute", - pointerEvents: "none", - top: 0, - left: 0, - bottom: 0, - right: 0, - }, - U.style, - ); - return s.a.createElement( - "canvas", - te( - { - width: O.width, - height: O.height, - ref: this.canvas, - }, - U, - { style: z }, - ), - ); - }, - }, - ]) && He(h.prototype, g), - y && He(h, y), - j - ); - })(a.Component); - function H(d) { - var h = {}, - g = {}, - y = [].concat(K(Object.keys(P)), [ - "confettiSource", - "drawShape", - "onConfettiComplete", - ]), - N = ["canvasRef"]; - for (var j in d) { - var w = d[j]; - y.includes(j) - ? (h[j] = w) - : N.includes(j) - ? (N[j] = w) - : (g[j] = w); - } - return [h, g, {}]; - } - we(k, "defaultProps", se({}, P)), - we(k, "displayName", "ReactConfetti"); - var G = s.a.forwardRef(function (d, h) { - return s.a.createElement(k, te({ canvasRef: h }, d)); - }); - n.default = G; - }, - ]).default; - }); - }); - var Zp, - ef, - tf, - nf, - rf, - of, - af, - sf, - lf, - cf, - uf, - pf, - ff, - df, - kn, - hf, - yf, - mf, - gf, - bf, - vf, - Ef, - Of, - wf, - Sf, - Tf, - If, - Cf, - Pf, - Rf, - _f, - xf, - Af, - Nf, - kf, - Mf, - jf, - Lf, - Df, - Ff, - Bf, - Wf, - Uf, - Hf, - Gf, - zf, - Yf, - qf, - $f, - Vf, - Kf, - Qf, - Jf, - Xf, - Zf, - ed, - td, - nd, - rd, - od, - id, - Mn, - ad, - sd, - ld, - cd, - ud, - pd, - fd, - dd, - hd, - yd, - md, - gd, - bd, - vd, - Ed, - Od, - wd, - Sd, - Td, - Id, - Cd, - Pd, - Rd, - _d, - xd, - Ad, - Nd, - kd, - Md, - jd, - Ld, - Dd, - Fd, - Bd, - Wd, - Ud, - Hd, - Gd, - zd, - Yd, - qd, - $d, - Vd, - Kd, - Qd, - Jd, - Xd, - Zd, - eh, - th, - nh, - rh, - oh, - ih, - ah, - sh, - lh, - ch, - uh, - ph, - fh, - dh, - hh, - yh, - mh, - gh, - bh, - vh, - Eh, - Oh, - wh, - Sh, - Th, - Ih, - Ch, - Ph, - Rh, - _h, - xh, - Ah, - Nh, - kh, - Mh, - jh, - Lh, - Dh, - Fh, - Bh, - Wh, - Uh, - Hh, - Gh, - zh, - Yh, - qh, - $h, - Vh, - Kh, - Qh, - Jh, - Xh, - Zh, - ey, - ty, - ny, - ry, - oy, - iy, - ay, - sy, - ly, - cy, - uy, - py, - fy, - dy, - hy, - yy, - my, - gy, - by, - vy, - Ey, - Oy, - wy, - Sy, - Ty, - Iy, - Cy, - Py, - Ry, - _y, - xy, - Ay, - Ny, - ky, - My, - jy, - Ly, - Dy, - Fy, - By, - Wy, - Uy, - Hy, - Gy, - zy, - Yy, - qy, - $y, - Vy, - Ky, - Qy, - Jy, - Xy, - Zy, - em, - tm, - nm, - rm, - om, - im, - am, - sm, - lm, - cm, - um, - pm, - fm, - dm, - hm, - ym, - mm, - gm, - bm, - vm, - Em, - Om, - wm, - jn = ye(() => { - J(); - X(); - Z(); - (Zp = __STORYBOOK_ICONS__), - ({ - AccessibilityAltIcon: ef, - AccessibilityIcon: tf, - AddIcon: nf, - AdminIcon: rf, - AlertAltIcon: of, - AlertIcon: af, - AlignLeftIcon: sf, - AlignRightIcon: lf, - AppleIcon: cf, - ArrowBottomLeftIcon: uf, - ArrowBottomRightIcon: pf, - ArrowDownIcon: ff, - ArrowLeftIcon: df, - ArrowRightIcon: kn, - ArrowSolidDownIcon: hf, - ArrowSolidLeftIcon: yf, - ArrowSolidRightIcon: mf, - ArrowSolidUpIcon: gf, - ArrowTopLeftIcon: bf, - ArrowTopRightIcon: vf, - ArrowUpIcon: Ef, - AzureDevOpsIcon: Of, - BackIcon: wf, - BasketIcon: Sf, - BatchAcceptIcon: Tf, - BatchDenyIcon: If, - BeakerIcon: Cf, - BellIcon: Pf, - BitbucketIcon: Rf, - BoldIcon: _f, - BookIcon: xf, - BookmarkHollowIcon: Af, - BookmarkIcon: Nf, - BottomBarIcon: kf, - BottomBarToggleIcon: Mf, - BoxIcon: jf, - BranchIcon: Lf, - BrowserIcon: Df, - ButtonIcon: Ff, - CPUIcon: Bf, - CalendarIcon: Wf, - CameraIcon: Uf, - CategoryIcon: Hf, - CertificateIcon: Gf, - ChangedIcon: zf, - ChatIcon: Yf, - CheckIcon: qf, - ChevronDownIcon: $f, - ChevronLeftIcon: Vf, - ChevronRightIcon: Kf, - ChevronSmallDownIcon: Qf, - ChevronSmallLeftIcon: Jf, - ChevronSmallRightIcon: Xf, - ChevronSmallUpIcon: Zf, - ChevronUpIcon: ed, - ChromaticIcon: td, - ChromeIcon: nd, - CircleHollowIcon: rd, - CircleIcon: od, - ClearIcon: id, - CloseAltIcon: Mn, - CloseIcon: ad, - CloudHollowIcon: sd, - CloudIcon: ld, - CogIcon: cd, - CollapseIcon: ud, - CommandIcon: pd, - CommentAddIcon: fd, - CommentIcon: dd, - CommentsIcon: hd, - CommitIcon: yd, - CompassIcon: md, - ComponentDrivenIcon: gd, - ComponentIcon: bd, - ContrastIcon: vd, - ControlsIcon: Ed, - CopyIcon: Od, - CreditIcon: wd, - CrossIcon: Sd, - DashboardIcon: Td, - DatabaseIcon: Id, - DeleteIcon: Cd, - DiamondIcon: Pd, - DirectionIcon: Rd, - DiscordIcon: _d, - DocChartIcon: xd, - DocListIcon: Ad, - DocumentIcon: Nd, - DownloadIcon: kd, - DragIcon: Md, - EditIcon: jd, - EllipsisIcon: Ld, - EmailIcon: Dd, - ExpandAltIcon: Fd, - ExpandIcon: Bd, - EyeCloseIcon: Wd, - EyeIcon: Ud, - FaceHappyIcon: Hd, - FaceNeutralIcon: Gd, - FaceSadIcon: zd, - FacebookIcon: Yd, - FailedIcon: qd, - FastForwardIcon: $d, - FigmaIcon: Vd, - FilterIcon: Kd, - FlagIcon: Qd, - FolderIcon: Jd, - FormIcon: Xd, - GDriveIcon: Zd, - GithubIcon: eh, - GitlabIcon: th, - GlobeIcon: nh, - GoogleIcon: rh, - GraphBarIcon: oh, - GraphLineIcon: ih, - GraphqlIcon: ah, - GridAltIcon: sh, - GridIcon: lh, - GrowIcon: ch, - HeartHollowIcon: uh, - HeartIcon: ph, - HomeIcon: fh, - HourglassIcon: dh, - InfoIcon: hh, - ItalicIcon: yh, - JumpToIcon: mh, - KeyIcon: gh, - LightningIcon: bh, - LightningOffIcon: vh, - LinkBrokenIcon: Eh, - LinkIcon: Oh, - LinkedinIcon: wh, - LinuxIcon: Sh, - ListOrderedIcon: Th, - ListUnorderedIcon: Ih, - LocationIcon: Ch, - LockIcon: Ph, - MarkdownIcon: Rh, - MarkupIcon: _h, - MediumIcon: xh, - MemoryIcon: Ah, - MenuIcon: Nh, - MergeIcon: kh, - MirrorIcon: Mh, - MobileIcon: jh, - MoonIcon: Lh, - NutIcon: Dh, - OutboxIcon: Fh, - OutlineIcon: Bh, - PaintBrushIcon: Wh, - PaperClipIcon: Uh, - ParagraphIcon: Hh, - PassedIcon: Gh, - PhoneIcon: zh, - PhotoDragIcon: Yh, - PhotoIcon: qh, - PinAltIcon: $h, - PinIcon: Vh, - PlayAllHollowIcon: Kh, - PlayBackIcon: Qh, - PlayHollowIcon: Jh, - PlayIcon: Xh, - PlayNextIcon: Zh, - PlusIcon: ey, - PointerDefaultIcon: ty, - PointerHandIcon: ny, - PowerIcon: ry, - PrintIcon: oy, - ProceedIcon: iy, - ProfileIcon: ay, - PullRequestIcon: sy, - QuestionIcon: ly, - RSSIcon: cy, - RedirectIcon: uy, - ReduxIcon: py, - RefreshIcon: fy, - ReplyIcon: dy, - RepoIcon: hy, - RequestChangeIcon: yy, - RewindIcon: my, - RulerIcon: gy, - SaveIcon: by, - SearchIcon: vy, - ShareAltIcon: Ey, - ShareIcon: Oy, - ShieldIcon: wy, - SideBySideIcon: Sy, - SidebarAltIcon: Ty, - SidebarAltToggleIcon: Iy, - SidebarIcon: Cy, - SidebarToggleIcon: Py, - SpeakerIcon: Ry, - StackedIcon: _y, - StarHollowIcon: xy, - StarIcon: Ay, - StatusFailIcon: Ny, - StatusPassIcon: ky, - StatusWarnIcon: My, - StickerIcon: jy, - StopAltHollowIcon: Ly, - StopAltIcon: Dy, - StopIcon: Fy, - StorybookIcon: By, - StructureIcon: Wy, - SubtractIcon: Uy, - SunIcon: Hy, - SupportIcon: Gy, - SwitchAltIcon: zy, - SyncIcon: Yy, - TabletIcon: qy, - ThumbsUpIcon: $y, - TimeIcon: Vy, - TimerIcon: Ky, - TransferIcon: Qy, - TrashIcon: Jy, - TwitterIcon: Xy, - TypeIcon: Zy, - UbuntuIcon: em, - UndoIcon: tm, - UnfoldIcon: nm, - UnlockIcon: rm, - UnpinIcon: om, - UploadIcon: im, - UserAddIcon: am, - UserAltIcon: sm, - UserIcon: lm, - UsersIcon: cm, - VSCodeIcon: um, - VerifiedIcon: pm, - VideoIcon: fm, - WandIcon: dm, - WatchIcon: hm, - WindowsIcon: ym, - WrenchIcon: mm, - XIcon: gm, - YoutubeIcon: bm, - ZoomIcon: vm, - ZoomOutIcon: Em, - ZoomResetIcon: Om, - iconList: wm, - } = __STORYBOOK_ICONS__); - }); - var no = {}; - gn(no, { default: () => Gs }); - function ei({ - top: e = 0, - left: t = 0, - width: n = window.innerWidth, - height: r = window.innerHeight, - colors: i = [ - "#CA90FF", - "#FC521F", - "#66BF3C", - "#FF4785", - "#FFAE00", - "#1EA7FD", - ], - ...o - }) { - let [a] = ue(() => { - let s = document.createElement("div"); - return ( - s.setAttribute("id", "confetti-container"), - s.setAttribute( - "style", - "position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999;", - ), - s - ); - }); - return ( - ce( - () => ( - document.body.appendChild(a), - () => { - document.body.removeChild(a); - } - ), - [], - ), - it( - E.createElement( - Zo, - { top: e, left: t, width: n, height: r }, - E.createElement(hr.default, { colors: i, drawShape: ni, ...o }), - ), - a, - ) - ); - } - function ti(e, t) { - return Math.floor(Math.random() * (t - e)) + e; - } - function ni(e) { - switch (((this.shape = this.shape || ti(1, 6)), this.shape)) { - case 2: { - let t = this.w / 2, - n = this.h / 2; - e.moveTo(-t + 2, -n), - e.lineTo(t - 2, -n), - e.arcTo(t, -n, t, -n + 2, 2), - e.lineTo(t, n - 2), - e.arcTo(t, n, t - 2, n, 2), - e.lineTo(-t + 2, n), - e.arcTo(-t, n, -t, n - 2, 2), - e.lineTo(-t, -n + 2), - e.arcTo(-t, -n, -t + 2, -n, 2); - break; - } - case 3: { - e.rect(-4, -4, 8, 16), e.rect(-12, -4, 24, 8); - break; - } - case 4: { - e.rect(-4, -4, 8, 16), e.rect(-4, -4, 24, 8); - break; - } - case 1: { - e.arc(0, 0, this.radius, 0, 2 * Math.PI); - break; - } - case 5: { - e.moveTo(16, 4), e.lineTo(4, 24), e.lineTo(24, 24); - break; - } - case 6: { - e.arc(4, -4, 4, -Math.PI / 2, 0), e.lineTo(4, 0); - break; - } - } - e.closePath(), e.fill(); - } - function Ln({ targetSelector: e, pulsating: t = !1 }) { - return ( - ce(() => { - let n = document.querySelector(e); - if (n) - if (t) { - (n.style.animation = "pulsate 3s infinite"), - (n.style.transformOrigin = "center"), - (n.style.animationTimingFunction = "ease-in-out"); - let r = ` - @keyframes pulsate { - 0% { - box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 0 rgba(2, 156, 253, 0.7), 0 0 0 0 rgba(2, 156, 253, 0.4); - } - 50% { - box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 20px rgba(2, 156, 253, 0), 0 0 0 40px rgba(2, 156, 253, 0); - } - 100% { - box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 0 rgba(2, 156, 253, 0), 0 0 0 0 rgba(2, 156, 253, 0); - } - } - `, - i = document.createElement("style"); - (i.id = "sb-onboarding-pulsating-effect"), - (i.innerHTML = r), - document.head.appendChild(i); - } else n.style.boxShadow = "rgba(2,156,253,1) 0 0 2px 1px"; - return () => { - let r = document.querySelector("#sb-onboarding-pulsating-effect"); - r && r.remove(), - n && ((n.style.animation = ""), (n.style.boxShadow = "")); - }; - }, [e, t]), - null - ); - } - function Er(e) { - return (t) => typeof t === e; - } - function ai(e, t) { - let { length: n } = e; - if (n !== t.length) return !1; - for (let r = n; r-- !== 0; ) if (!ae(e[r], t[r])) return !1; - return !0; - } - function si(e, t) { - if (e.byteLength !== t.byteLength) return !1; - let n = new DataView(e.buffer), - r = new DataView(t.buffer), - i = e.byteLength; - for (; i--; ) if (n.getUint8(i) !== r.getUint8(i)) return !1; - return !0; - } - function li(e, t) { - if (e.size !== t.size) return !1; - for (let n of e.entries()) if (!t.has(n[0])) return !1; - for (let n of e.entries()) if (!ae(n[1], t.get(n[0]))) return !1; - return !0; - } - function ci(e, t) { - if (e.size !== t.size) return !1; - for (let n of e.entries()) if (!t.has(n[0])) return !1; - return !0; - } - function ae(e, t) { - if (e === t) return !0; - if (e && Bn(e) && t && Bn(t)) { - if (e.constructor !== t.constructor) return !1; - if (Array.isArray(e) && Array.isArray(t)) return ai(e, t); - if (e instanceof Map && t instanceof Map) return li(e, t); - if (e instanceof Set && t instanceof Set) return ci(e, t); - if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) return si(e, t); - if (Fn(e) && Fn(t)) return e.source === t.source && e.flags === t.flags; - if (e.valueOf !== Object.prototype.valueOf) - return e.valueOf() === t.valueOf(); - if (e.toString !== Object.prototype.toString) - return e.toString() === t.toString(); - let n = Object.keys(e), - r = Object.keys(t); - if (n.length !== r.length) return !1; - for (let i = n.length; i-- !== 0; ) - if (!Object.prototype.hasOwnProperty.call(t, n[i])) return !1; - for (let i = n.length; i-- !== 0; ) { - let o = n[i]; - if (!(o === "_owner" && e.$$typeof) && !ae(e[o], t[o])) return !1; - } - return !0; - } - return Number.isNaN(e) && Number.isNaN(t) ? !0 : e === t; - } - function kt(e) { - let t = Object.prototype.toString.call(e).slice(8, -1); - if (/HTML\w+Element/.test(t)) return "HTMLElement"; - if (fi(t)) return t; - } - function Ee(e) { - return (t) => kt(t) === e; - } - function fi(e) { - return ui.includes(e); - } - function Qe(e) { - return (t) => typeof t === e; - } - function di(e) { - return pi.includes(e); - } - function x(e) { - if (e === null) return "null"; - switch (typeof e) { - case "bigint": - return "bigint"; - case "boolean": - return "boolean"; - case "number": - return "number"; - case "string": - return "string"; - case "symbol": - return "symbol"; - case "undefined": - return "undefined"; - } - return x.array(e) - ? "Array" - : x.plainFunction(e) - ? "Function" - : kt(e) || "Object"; - } - function yi(...e) { - return e.every((t) => M.string(t) || M.array(t) || M.plainObject(t)); - } - function mi(e, t, n) { - return Or(e, t) - ? [e, t].every(M.array) - ? !e.some(zn(n)) && t.some(zn(n)) - : [e, t].every(M.plainObject) - ? !Object.entries(e).some(Gn(n)) && Object.entries(t).some(Gn(n)) - : t === n - : !1; - } - function Wn(e, t, n) { - let { actual: r, key: i, previous: o, type: a } = n, - s = Te(e, i), - l = Te(t, i), - c = [s, l].every(M.number) && (a === "increased" ? s < l : s > l); - return ( - M.undefined(r) || (c = c && l === r), - M.undefined(o) || (c = c && s === o), - c - ); - } - function Un(e, t, n) { - let { key: r, type: i, value: o } = n, - a = Te(e, r), - s = Te(t, r), - l = i === "added" ? a : s, - c = i === "added" ? s : a; - if (!M.nullOrUndefined(o)) { - if (M.defined(l)) { - if (M.array(l) || M.plainObject(l)) return mi(l, c, o); - } else return ae(c, o); - return !1; - } - return [a, s].every(M.array) - ? !c.every(on(l)) - : [a, s].every(M.plainObject) - ? gi(Object.keys(l), Object.keys(c)) - : ![a, s].every((p) => M.primitive(p) && M.defined(p)) && - (i === "added" - ? !M.defined(a) && M.defined(s) - : M.defined(a) && !M.defined(s)); - } - function Hn(e, t, { key: n } = {}) { - let r = Te(e, n), - i = Te(t, n); - if (!Or(r, i)) throw new TypeError("Inputs have different types"); - if (!yi(r, i)) throw new TypeError("Inputs don't have length"); - return ( - [r, i].every(M.plainObject) && - ((r = Object.keys(r)), (i = Object.keys(i))), - [r, i] - ); - } - function Gn(e) { - return ([t, n]) => - M.array(e) - ? ae(e, n) || e.some((r) => ae(r, n) || (M.array(n) && on(n)(r))) - : M.plainObject(e) && e[t] - ? !!e[t] && ae(e[t], n) - : ae(e, n); - } - function gi(e, t) { - return t.some((n) => !e.includes(n)); - } - function zn(e) { - return (t) => - M.array(e) - ? e.some((n) => ae(n, t) || (M.array(t) && on(t)(n))) - : ae(e, t); - } - function lt(e, t) { - return M.array(e) ? e.some((n) => ae(n, t)) : ae(e, t); - } - function on(e) { - return (t) => e.some((n) => ae(n, t)); - } - function Or(...e) { - return ( - e.every(M.array) || - e.every(M.number) || - e.every(M.plainObject) || - e.every(M.string) - ); - } - function Te(e, t) { - return M.plainObject(e) || M.array(e) - ? M.string(t) - ? t.split(".").reduce((n, r) => n && n[r], e) - : M.number(t) - ? e[t] - : e - : e; - } - function _t(e, t) { - if ([e, t].some(M.nullOrUndefined)) - throw new Error("Missing required parameters"); - if (![e, t].every((n) => M.plainObject(n) || M.array(n))) - throw new Error("Expected plain objects or array"); - return { - added: (n, r) => { - try { - return Un(e, t, { key: n, type: "added", value: r }); - } catch { - return !1; - } - }, - changed: (n, r, i) => { - try { - let o = Te(e, n), - a = Te(t, n), - s = M.defined(r), - l = M.defined(i); - if (s || l) { - let c = l ? lt(i, o) : !lt(r, o), - p = lt(r, a); - return c && p; - } - return [o, a].every(M.array) || [o, a].every(M.plainObject) - ? !ae(o, a) - : o !== a; - } catch { - return !1; - } - }, - changedFrom: (n, r, i) => { - if (!M.defined(n)) return !1; - try { - let o = Te(e, n), - a = Te(t, n), - s = M.defined(i); - return lt(r, o) && (s ? lt(i, a) : !s); - } catch { - return !1; - } - }, - decreased: (n, r, i) => { - if (!M.defined(n)) return !1; - try { - return Wn(e, t, { - key: n, - actual: r, - previous: i, - type: "decreased", - }); - } catch { - return !1; - } - }, - emptied: (n) => { - try { - let [r, i] = Hn(e, t, { key: n }); - return !!r.length && !i.length; - } catch { - return !1; - } - }, - filled: (n) => { - try { - let [r, i] = Hn(e, t, { key: n }); - return !r.length && !!i.length; - } catch { - return !1; - } - }, - increased: (n, r, i) => { - if (!M.defined(n)) return !1; - try { - return Wn(e, t, { - key: n, - actual: r, - previous: i, - type: "increased", - }); - } catch { - return !1; - } - }, - removed: (n, r) => { - try { - return Un(e, t, { key: n, type: "removed", value: r }); - } catch { - return !1; - } - }, - }; - } - function Ei(e) { - var t = !1; - return function () { - t || - ((t = !0), - window.Promise.resolve().then(function () { - (t = !1), e(); - })); - }; - } - function Oi(e) { - var t = !1; - return function () { - t || - ((t = !0), - setTimeout(function () { - (t = !1), e(); - }, vi)); - }; - } - function Sr(e) { - var t = {}; - return e && t.toString.call(e) === "[object Function]"; - } - function We(e, t) { - if (e.nodeType !== 1) return []; - var n = e.ownerDocument.defaultView, - r = n.getComputedStyle(e, null); - return t ? r[t] : r; - } - function an(e) { - return e.nodeName === "HTML" ? e : e.parentNode || e.host; - } - function yt(e) { - if (!e) return document.body; - switch (e.nodeName) { - case "HTML": - case "BODY": - return e.ownerDocument.body; - case "#document": - return e.body; - } - var t = We(e), - n = t.overflow, - r = t.overflowX, - i = t.overflowY; - return /(auto|scroll|overlay)/.test(n + i + r) ? e : yt(an(e)); - } - function Tr(e) { - return e && e.referenceNode ? e.referenceNode : e; - } - function Je(e) { - return e === 11 ? Yn : e === 10 ? qn : Yn || qn; - } - function $e(e) { - if (!e) return document.documentElement; - for ( - var t = Je(10) ? document.body : null, n = e.offsetParent || null; - n === t && e.nextElementSibling; - - ) - n = (e = e.nextElementSibling).offsetParent; - var r = n && n.nodeName; - return !r || r === "BODY" || r === "HTML" - ? e - ? e.ownerDocument.documentElement - : document.documentElement - : ["TH", "TD", "TABLE"].indexOf(n.nodeName) !== -1 && - We(n, "position") === "static" - ? $e(n) - : n; - } - function Ti(e) { - var t = e.nodeName; - return t === "BODY" ? !1 : t === "HTML" || $e(e.firstElementChild) === e; - } - function Jt(e) { - return e.parentNode !== null ? Jt(e.parentNode) : e; - } - function xt(e, t) { - if (!e || !e.nodeType || !t || !t.nodeType) - return document.documentElement; - var n = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING, - r = n ? e : t, - i = n ? t : e, - o = document.createRange(); - o.setStart(r, 0), o.setEnd(i, 0); - var a = o.commonAncestorContainer; - if ((e !== a && t !== a) || r.contains(i)) return Ti(a) ? a : $e(a); - var s = Jt(e); - return s.host ? xt(s.host, t) : xt(e, Jt(t).host); - } - function Ve(e) { - var t = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : "top", - n = t === "top" ? "scrollTop" : "scrollLeft", - r = e.nodeName; - if (r === "BODY" || r === "HTML") { - var i = e.ownerDocument.documentElement, - o = e.ownerDocument.scrollingElement || i; - return o[n]; - } - return e[n]; - } - function Ii(e, t) { - var n = - arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, - r = Ve(t, "top"), - i = Ve(t, "left"), - o = n ? -1 : 1; - return ( - (e.top += r * o), - (e.bottom += r * o), - (e.left += i * o), - (e.right += i * o), - e - ); - } - function $n(e, t) { - var n = t === "x" ? "Left" : "Top", - r = n === "Left" ? "Right" : "Bottom"; - return ( - parseFloat(e["border" + n + "Width"]) + - parseFloat(e["border" + r + "Width"]) - ); - } - function Vn(e, t, n, r) { - return Math.max( - t["offset" + e], - t["scroll" + e], - n["client" + e], - n["offset" + e], - n["scroll" + e], - Je(10) - ? parseInt(n["offset" + e]) + - parseInt(r["margin" + (e === "Height" ? "Top" : "Left")]) + - parseInt(r["margin" + (e === "Height" ? "Bottom" : "Right")]) - : 0, - ); - } - function Ir(e) { - var t = e.body, - n = e.documentElement, - r = Je(10) && getComputedStyle(n); - return { height: Vn("Height", t, n, r), width: Vn("Width", t, n, r) }; - } - function Me(e) { - return de({}, e, { right: e.left + e.width, bottom: e.top + e.height }); - } - function Xt(e) { - var t = {}; - try { - if (Je(10)) { - t = e.getBoundingClientRect(); - var n = Ve(e, "top"), - r = Ve(e, "left"); - (t.top += n), (t.left += r), (t.bottom += n), (t.right += r); - } else t = e.getBoundingClientRect(); - } catch {} - var i = { - left: t.left, - top: t.top, - width: t.right - t.left, - height: t.bottom - t.top, - }, - o = e.nodeName === "HTML" ? Ir(e.ownerDocument) : {}, - a = o.width || e.clientWidth || i.width, - s = o.height || e.clientHeight || i.height, - l = e.offsetWidth - a, - c = e.offsetHeight - s; - if (l || c) { - var p = We(e); - (l -= $n(p, "x")), (c -= $n(p, "y")), (i.width -= l), (i.height -= c); - } - return Me(i); - } - function sn(e, t) { - var n = - arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, - r = Je(10), - i = t.nodeName === "HTML", - o = Xt(e), - a = Xt(t), - s = yt(e), - l = We(t), - c = parseFloat(l.borderTopWidth), - p = parseFloat(l.borderLeftWidth); - n && i && ((a.top = Math.max(a.top, 0)), (a.left = Math.max(a.left, 0))); - var u = Me({ - top: o.top - a.top - c, - left: o.left - a.left - p, - width: o.width, - height: o.height, - }); - if (((u.marginTop = 0), (u.marginLeft = 0), !r && i)) { - var f = parseFloat(l.marginTop), - b = parseFloat(l.marginLeft); - (u.top -= c - f), - (u.bottom -= c - f), - (u.left -= p - b), - (u.right -= p - b), - (u.marginTop = f), - (u.marginLeft = b); - } - return ( - (r && !n ? t.contains(s) : t === s && s.nodeName !== "BODY") && - (u = Ii(u, t)), - u - ); - } - function Ri(e) { - var t = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, - n = e.ownerDocument.documentElement, - r = sn(e, n), - i = Math.max(n.clientWidth, window.innerWidth || 0), - o = Math.max(n.clientHeight, window.innerHeight || 0), - a = t ? 0 : Ve(n), - s = t ? 0 : Ve(n, "left"), - l = { - top: a - r.top + r.marginTop, - left: s - r.left + r.marginLeft, - width: i, - height: o, - }; - return Me(l); - } - function Cr(e) { - var t = e.nodeName; - if (t === "BODY" || t === "HTML") return !1; - if (We(e, "position") === "fixed") return !0; - var n = an(e); - return n ? Cr(n) : !1; - } - function Pr(e) { - if (!e || !e.parentElement || Je()) return document.documentElement; - for (var t = e.parentElement; t && We(t, "transform") === "none"; ) - t = t.parentElement; - return t || document.documentElement; - } - function ln(e, t, n, r) { - var i = - arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1, - o = { top: 0, left: 0 }, - a = i ? Pr(e) : xt(e, Tr(t)); - if (r === "viewport") o = Ri(a, i); - else { - var s = void 0; - r === "scrollParent" - ? ((s = yt(an(t))), - s.nodeName === "BODY" && (s = e.ownerDocument.documentElement)) - : r === "window" - ? (s = e.ownerDocument.documentElement) - : (s = r); - var l = sn(s, a, i); - if (s.nodeName === "HTML" && !Cr(a)) { - var c = Ir(e.ownerDocument), - p = c.height, - u = c.width; - (o.top += l.top - l.marginTop), - (o.bottom = p + l.top), - (o.left += l.left - l.marginLeft), - (o.right = u + l.left); - } else o = l; - } - n = n || 0; - var f = typeof n == "number"; - return ( - (o.left += f ? n : n.left || 0), - (o.top += f ? n : n.top || 0), - (o.right -= f ? n : n.right || 0), - (o.bottom -= f ? n : n.bottom || 0), - o - ); - } - function _i(e) { - var t = e.width, - n = e.height; - return t * n; - } - function Rr(e, t, n, r, i) { - var o = - arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : 0; - if (e.indexOf("auto") === -1) return e; - var a = ln(n, r, o, i), - s = { - top: { width: a.width, height: t.top - a.top }, - right: { width: a.right - t.right, height: a.height }, - bottom: { width: a.width, height: a.bottom - t.bottom }, - left: { width: t.left - a.left, height: a.height }, - }, - l = Object.keys(s) - .map(function (f) { - return de({ key: f }, s[f], { area: _i(s[f]) }); - }) - .sort(function (f, b) { - return b.area - f.area; - }), - c = l.filter(function (f) { - var b = f.width, - m = f.height; - return b >= n.clientWidth && m >= n.clientHeight; - }), - p = c.length > 0 ? c[0].key : l[0].key, - u = e.split("-")[1]; - return p + (u ? "-" + u : ""); - } - function _r(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null, - i = r ? Pr(t) : xt(t, Tr(n)); - return sn(n, i, r); - } - function xr(e) { - var t = e.ownerDocument.defaultView, - n = t.getComputedStyle(e), - r = parseFloat(n.marginTop || 0) + parseFloat(n.marginBottom || 0), - i = parseFloat(n.marginLeft || 0) + parseFloat(n.marginRight || 0), - o = { width: e.offsetWidth + i, height: e.offsetHeight + r }; - return o; - } - function At(e) { - var t = { left: "right", right: "left", bottom: "top", top: "bottom" }; - return e.replace(/left|right|bottom|top/g, function (n) { - return t[n]; - }); - } - function Ar(e, t, n) { - n = n.split("-")[0]; - var r = xr(e), - i = { width: r.width, height: r.height }, - o = ["right", "left"].indexOf(n) !== -1, - a = o ? "top" : "left", - s = o ? "left" : "top", - l = o ? "height" : "width", - c = o ? "width" : "height"; - return ( - (i[a] = t[a] + t[l] / 2 - r[l] / 2), - n === s ? (i[s] = t[s] - r[c]) : (i[s] = t[At(s)]), - i - ); - } - function mt(e, t) { - return Array.prototype.find ? e.find(t) : e.filter(t)[0]; - } - function xi(e, t, n) { - if (Array.prototype.findIndex) - return e.findIndex(function (i) { - return i[t] === n; - }); - var r = mt(e, function (i) { - return i[t] === n; - }); - return e.indexOf(r); - } - function Nr(e, t, n) { - var r = n === void 0 ? e : e.slice(0, xi(e, "name", n)); - return ( - r.forEach(function (i) { - i.function && - console.warn( - "`modifier.function` is deprecated, use `modifier.fn`!", - ); - var o = i.function || i.fn; - i.enabled && - Sr(o) && - ((t.offsets.popper = Me(t.offsets.popper)), - (t.offsets.reference = Me(t.offsets.reference)), - (t = o(t, i))); - }), - t - ); - } - function Ai() { - if (!this.state.isDestroyed) { - var e = { - instance: this, - styles: {}, - arrowStyles: {}, - attributes: {}, - flipped: !1, - offsets: {}, - }; - (e.offsets.reference = _r( - this.state, - this.popper, - this.reference, - this.options.positionFixed, - )), - (e.placement = Rr( - this.options.placement, - e.offsets.reference, - this.popper, - this.reference, - this.options.modifiers.flip.boundariesElement, - this.options.modifiers.flip.padding, - )), - (e.originalPlacement = e.placement), - (e.positionFixed = this.options.positionFixed), - (e.offsets.popper = Ar( - this.popper, - e.offsets.reference, - e.placement, - )), - (e.offsets.popper.position = this.options.positionFixed - ? "fixed" - : "absolute"), - (e = Nr(this.modifiers, e)), - this.state.isCreated - ? this.options.onUpdate(e) - : ((this.state.isCreated = !0), this.options.onCreate(e)); - } - } - function kr(e, t) { - return e.some(function (n) { - var r = n.name, - i = n.enabled; - return i && r === t; - }); - } - function cn(e) { - for ( - var t = [!1, "ms", "Webkit", "Moz", "O"], - n = e.charAt(0).toUpperCase() + e.slice(1), - r = 0; - r < t.length; - r++ - ) { - var i = t[r], - o = i ? "" + i + n : e; - if (typeof document.body.style[o] < "u") return o; - } - return null; - } - function Ni() { - return ( - (this.state.isDestroyed = !0), - kr(this.modifiers, "applyStyle") && - (this.popper.removeAttribute("x-placement"), - (this.popper.style.position = ""), - (this.popper.style.top = ""), - (this.popper.style.left = ""), - (this.popper.style.right = ""), - (this.popper.style.bottom = ""), - (this.popper.style.willChange = ""), - (this.popper.style[cn("transform")] = "")), - this.disableEventListeners(), - this.options.removeOnDestroy && - this.popper.parentNode.removeChild(this.popper), - this - ); - } - function Mr(e) { - var t = e.ownerDocument; - return t ? t.defaultView : window; - } - function jr(e, t, n, r) { - var i = e.nodeName === "BODY", - o = i ? e.ownerDocument.defaultView : e; - o.addEventListener(t, n, { passive: !0 }), - i || jr(yt(o.parentNode), t, n, r), - r.push(o); - } - function ki(e, t, n, r) { - (n.updateBound = r), - Mr(e).addEventListener("resize", n.updateBound, { passive: !0 }); - var i = yt(e); - return ( - jr(i, "scroll", n.updateBound, n.scrollParents), - (n.scrollElement = i), - (n.eventsEnabled = !0), - n - ); - } - function Mi() { - this.state.eventsEnabled || - (this.state = ki( - this.reference, - this.options, - this.state, - this.scheduleUpdate, - )); - } - function ji(e, t) { - return ( - Mr(e).removeEventListener("resize", t.updateBound), - t.scrollParents.forEach(function (n) { - n.removeEventListener("scroll", t.updateBound); - }), - (t.updateBound = null), - (t.scrollParents = []), - (t.scrollElement = null), - (t.eventsEnabled = !1), - t - ); - } - function Li() { - this.state.eventsEnabled && - (cancelAnimationFrame(this.scheduleUpdate), - (this.state = ji(this.reference, this.state))); - } - function un(e) { - return e !== "" && !isNaN(parseFloat(e)) && isFinite(e); - } - function Zt(e, t) { - Object.keys(t).forEach(function (n) { - var r = ""; - ["width", "height", "top", "right", "bottom", "left"].indexOf(n) !== - -1 && - un(t[n]) && - (r = "px"), - (e.style[n] = t[n] + r); - }); - } - function Di(e, t) { - Object.keys(t).forEach(function (n) { - var r = t[n]; - r !== !1 ? e.setAttribute(n, t[n]) : e.removeAttribute(n); - }); - } - function Fi(e) { - return ( - Zt(e.instance.popper, e.styles), - Di(e.instance.popper, e.attributes), - e.arrowElement && - Object.keys(e.arrowStyles).length && - Zt(e.arrowElement, e.arrowStyles), - e - ); - } - function Bi(e, t, n, r, i) { - var o = _r(i, t, e, n.positionFixed), - a = Rr( - n.placement, - o, - t, - e, - n.modifiers.flip.boundariesElement, - n.modifiers.flip.padding, - ); - return ( - t.setAttribute("x-placement", a), - Zt(t, { position: n.positionFixed ? "fixed" : "absolute" }), - n - ); - } - function Wi(e, t) { - var n = e.offsets, - r = n.popper, - i = n.reference, - o = Math.round, - a = Math.floor, - s = function (F) { - return F; - }, - l = o(i.width), - c = o(r.width), - p = ["left", "right"].indexOf(e.placement) !== -1, - u = e.placement.indexOf("-") !== -1, - f = l % 2 === c % 2, - b = l % 2 === 1 && c % 2 === 1, - m = t ? (p || u || f ? o : a) : s, - T = t ? o : s; - return { - left: m(b && !u && t ? r.left - 1 : r.left), - top: T(r.top), - bottom: T(r.bottom), - right: m(r.right), - }; - } - function Hi(e, t) { - var n = t.x, - r = t.y, - i = e.offsets.popper, - o = mt(e.instance.modifiers, function (v) { - return v.name === "applyStyle"; - }).gpuAcceleration; - o !== void 0 && - console.warn( - "WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!", - ); - var a = o !== void 0 ? o : t.gpuAcceleration, - s = $e(e.instance.popper), - l = Xt(s), - c = { position: i.position }, - p = Wi(e, window.devicePixelRatio < 2 || !Ui), - u = n === "bottom" ? "top" : "bottom", - f = r === "right" ? "left" : "right", - b = cn("transform"), - m = void 0, - T = void 0; - if ( - (u === "bottom" - ? s.nodeName === "HTML" - ? (T = -s.clientHeight + p.bottom) - : (T = -l.height + p.bottom) - : (T = p.top), - f === "right" - ? s.nodeName === "HTML" - ? (m = -s.clientWidth + p.right) - : (m = -l.width + p.right) - : (m = p.left), - a && b) - ) - (c[b] = "translate3d(" + m + "px, " + T + "px, 0)"), - (c[u] = 0), - (c[f] = 0), - (c.willChange = "transform"); - else { - var F = u === "bottom" ? -1 : 1, - I = f === "right" ? -1 : 1; - (c[u] = T * F), (c[f] = m * I), (c.willChange = u + ", " + f); - } - var _ = { "x-placement": e.placement }; - return ( - (e.attributes = de({}, _, e.attributes)), - (e.styles = de({}, c, e.styles)), - (e.arrowStyles = de({}, e.offsets.arrow, e.arrowStyles)), - e - ); - } - function Lr(e, t, n) { - var r = mt(e, function (s) { - var l = s.name; - return l === t; - }), - i = - !!r && - e.some(function (s) { - return s.name === n && s.enabled && s.order < r.order; - }); - if (!i) { - var o = "`" + t + "`", - a = "`" + n + "`"; - console.warn( - a + - " modifier is required by " + - o + - " modifier in order to work, be sure to include it before " + - o + - "!", - ); - } - return i; - } - function Gi(e, t) { - var n; - if (!Lr(e.instance.modifiers, "arrow", "keepTogether")) return e; - var r = t.element; - if (typeof r == "string") { - if (((r = e.instance.popper.querySelector(r)), !r)) return e; - } else if (!e.instance.popper.contains(r)) - return ( - console.warn( - "WARNING: `arrow.element` must be child of its popper element!", - ), - e - ); - var i = e.placement.split("-")[0], - o = e.offsets, - a = o.popper, - s = o.reference, - l = ["left", "right"].indexOf(i) !== -1, - c = l ? "height" : "width", - p = l ? "Top" : "Left", - u = p.toLowerCase(), - f = l ? "left" : "top", - b = l ? "bottom" : "right", - m = xr(r)[c]; - s[b] - m < a[u] && (e.offsets.popper[u] -= a[u] - (s[b] - m)), - s[u] + m > a[b] && (e.offsets.popper[u] += s[u] + m - a[b]), - (e.offsets.popper = Me(e.offsets.popper)); - var T = s[u] + s[c] / 2 - m / 2, - F = We(e.instance.popper), - I = parseFloat(F["margin" + p]), - _ = parseFloat(F["border" + p + "Width"]), - v = T - e.offsets.popper[u] - I - _; - return ( - (v = Math.max(Math.min(a[c] - m, v), 0)), - (e.arrowElement = r), - (e.offsets.arrow = - ((n = {}), Ke(n, u, Math.round(v)), Ke(n, f, ""), n)), - e - ); - } - function zi(e) { - return e === "end" ? "start" : e === "start" ? "end" : e; - } - function Kn(e) { - var t = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, - n = Vt.indexOf(e), - r = Vt.slice(n + 1).concat(Vt.slice(0, n)); - return t ? r.reverse() : r; - } - function Yi(e, t) { - if ( - kr(e.instance.modifiers, "inner") || - (e.flipped && e.placement === e.originalPlacement) - ) - return e; - var n = ln( - e.instance.popper, - e.instance.reference, - t.padding, - t.boundariesElement, - e.positionFixed, - ), - r = e.placement.split("-")[0], - i = At(r), - o = e.placement.split("-")[1] || "", - a = []; - switch (t.behavior) { - case Kt.FLIP: - a = [r, i]; - break; - case Kt.CLOCKWISE: - a = Kn(r); - break; - case Kt.COUNTERCLOCKWISE: - a = Kn(r, !0); - break; - default: - a = t.behavior; - } - return ( - a.forEach(function (s, l) { - if (r !== s || a.length === l + 1) return e; - (r = e.placement.split("-")[0]), (i = At(r)); - var c = e.offsets.popper, - p = e.offsets.reference, - u = Math.floor, - f = - (r === "left" && u(c.right) > u(p.left)) || - (r === "right" && u(c.left) < u(p.right)) || - (r === "top" && u(c.bottom) > u(p.top)) || - (r === "bottom" && u(c.top) < u(p.bottom)), - b = u(c.left) < u(n.left), - m = u(c.right) > u(n.right), - T = u(c.top) < u(n.top), - F = u(c.bottom) > u(n.bottom), - I = - (r === "left" && b) || - (r === "right" && m) || - (r === "top" && T) || - (r === "bottom" && F), - _ = ["top", "bottom"].indexOf(r) !== -1, - v = - !!t.flipVariations && - ((_ && o === "start" && b) || - (_ && o === "end" && m) || - (!_ && o === "start" && T) || - (!_ && o === "end" && F)), - P = - !!t.flipVariationsByContent && - ((_ && o === "start" && m) || - (_ && o === "end" && b) || - (!_ && o === "start" && F) || - (!_ && o === "end" && T)), - R = v || P; - (f || I || R) && - ((e.flipped = !0), - (f || I) && (r = a[l + 1]), - R && (o = zi(o)), - (e.placement = r + (o ? "-" + o : "")), - (e.offsets.popper = de( - {}, - e.offsets.popper, - Ar(e.instance.popper, e.offsets.reference, e.placement), - )), - (e = Nr(e.instance.modifiers, e, "flip"))); - }), - e - ); - } - function qi(e) { - var t = e.offsets, - n = t.popper, - r = t.reference, - i = e.placement.split("-")[0], - o = Math.floor, - a = ["top", "bottom"].indexOf(i) !== -1, - s = a ? "right" : "bottom", - l = a ? "left" : "top", - c = a ? "width" : "height"; - return ( - n[s] < o(r[l]) && (e.offsets.popper[l] = o(r[l]) - n[c]), - n[l] > o(r[s]) && (e.offsets.popper[l] = o(r[s])), - e - ); - } - function $i(e, t, n, r) { - var i = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), - o = +i[1], - a = i[2]; - if (!o) return e; - if (a.indexOf("%") === 0) { - var s = void 0; - switch (a) { - case "%p": - s = n; - break; - case "%": - case "%r": - default: - s = r; - } - var l = Me(s); - return (l[t] / 100) * o; - } else if (a === "vh" || a === "vw") { - var c = void 0; - return ( - a === "vh" - ? (c = Math.max( - document.documentElement.clientHeight, - window.innerHeight || 0, - )) - : (c = Math.max( - document.documentElement.clientWidth, - window.innerWidth || 0, - )), - (c / 100) * o - ); - } else return o; - } - function Vi(e, t, n, r) { - var i = [0, 0], - o = ["right", "left"].indexOf(r) !== -1, - a = e.split(/(\+|\-)/).map(function (p) { - return p.trim(); - }), - s = a.indexOf( - mt(a, function (p) { - return p.search(/,|\s/) !== -1; - }), - ); - a[s] && - a[s].indexOf(",") === -1 && - console.warn( - "Offsets separated by white space(s) are deprecated, use a comma (,) instead.", - ); - var l = /\s*,\s*|\s+/, - c = - s !== -1 - ? [ - a.slice(0, s).concat([a[s].split(l)[0]]), - [a[s].split(l)[1]].concat(a.slice(s + 1)), - ] - : [a]; - return ( - (c = c.map(function (p, u) { - var f = (u === 1 ? !o : o) ? "height" : "width", - b = !1; - return p - .reduce(function (m, T) { - return m[m.length - 1] === "" && ["+", "-"].indexOf(T) !== -1 - ? ((m[m.length - 1] = T), (b = !0), m) - : b - ? ((m[m.length - 1] += T), (b = !1), m) - : m.concat(T); - }, []) - .map(function (m) { - return $i(m, f, t, n); - }); - })), - c.forEach(function (p, u) { - p.forEach(function (f, b) { - un(f) && (i[u] += f * (p[b - 1] === "-" ? -1 : 1)); - }); - }), - i - ); - } - function Ki(e, t) { - var n = t.offset, - r = e.placement, - i = e.offsets, - o = i.popper, - a = i.reference, - s = r.split("-")[0], - l = void 0; - return ( - un(+n) ? (l = [+n, 0]) : (l = Vi(n, o, a, s)), - s === "left" - ? ((o.top += l[0]), (o.left -= l[1])) - : s === "right" - ? ((o.top += l[0]), (o.left += l[1])) - : s === "top" - ? ((o.left += l[0]), (o.top -= l[1])) - : s === "bottom" && ((o.left += l[0]), (o.top += l[1])), - (e.popper = o), - e - ); - } - function Qi(e, t) { - var n = t.boundariesElement || $e(e.instance.popper); - e.instance.reference === n && (n = $e(n)); - var r = cn("transform"), - i = e.instance.popper.style, - o = i.top, - a = i.left, - s = i[r]; - (i.top = ""), (i.left = ""), (i[r] = ""); - var l = ln( - e.instance.popper, - e.instance.reference, - t.padding, - n, - e.positionFixed, - ); - (i.top = o), (i.left = a), (i[r] = s), (t.boundaries = l); - var c = t.priority, - p = e.offsets.popper, - u = { - primary: function (f) { - var b = p[f]; - return ( - p[f] < l[f] && - !t.escapeWithReference && - (b = Math.max(p[f], l[f])), - Ke({}, f, b) - ); - }, - secondary: function (f) { - var b = f === "right" ? "left" : "top", - m = p[b]; - return ( - p[f] > l[f] && - !t.escapeWithReference && - (m = Math.min( - p[b], - l[f] - (f === "right" ? p.width : p.height), - )), - Ke({}, b, m) - ); - }, - }; - return ( - c.forEach(function (f) { - var b = ["left", "top"].indexOf(f) !== -1 ? "primary" : "secondary"; - p = de({}, p, u[b](f)); - }), - (e.offsets.popper = p), - e - ); - } - function Ji(e) { - var t = e.placement, - n = t.split("-")[0], - r = t.split("-")[1]; - if (r) { - var i = e.offsets, - o = i.reference, - a = i.popper, - s = ["bottom", "top"].indexOf(n) !== -1, - l = s ? "left" : "top", - c = s ? "width" : "height", - p = { start: Ke({}, l, o[l]), end: Ke({}, l, o[l] + o[c] - a[c]) }; - e.offsets.popper = de({}, a, p[r]); - } - return e; - } - function Xi(e) { - if (!Lr(e.instance.modifiers, "hide", "preventOverflow")) return e; - var t = e.offsets.reference, - n = mt(e.instance.modifiers, function (r) { - return r.name === "preventOverflow"; - }).boundaries; - if ( - t.bottom < n.top || - t.left > n.right || - t.top > n.bottom || - t.right < n.left - ) { - if (e.hide === !0) return e; - (e.hide = !0), (e.attributes["x-out-of-boundaries"] = ""); - } else { - if (e.hide === !1) return e; - (e.hide = !1), (e.attributes["x-out-of-boundaries"] = !1); - } - return e; - } - function Zi(e) { - var t = e.placement, - n = t.split("-")[0], - r = e.offsets, - i = r.popper, - o = r.reference, - a = ["left", "right"].indexOf(n) !== -1, - s = ["top", "left"].indexOf(n) === -1; - return ( - (i[a ? "left" : "top"] = o[n] - (s ? i[a ? "width" : "height"] : 0)), - (e.placement = At(t)), - (e.offsets.popper = Me(i)), - e - ); - } - function jt(e) { - var t = Object.prototype.toString.call(e).slice(8, -1); - if (/HTML\w+Element/.test(t)) return "HTMLElement"; - if (ia(t)) return t; - } - function Oe(e) { - return function (t) { - return jt(t) === e; - }; - } - function ia(e) { - return ra.includes(e); - } - function Xe(e) { - return function (t) { - return typeof t === e; - }; - } - function aa(e) { - return oa.includes(e); - } - function A(e) { - if (e === null) return "null"; - switch (typeof e) { - case "bigint": - return "bigint"; - case "boolean": - return "boolean"; - case "number": - return "number"; - case "string": - return "string"; - case "symbol": - return "symbol"; - case "undefined": - return "undefined"; - } - if (A.array(e)) return "Array"; - if (A.plainFunction(e)) return "Function"; - var t = jt(e); - return t || "Object"; - } - function Fr(e) { - return function (t) { - return typeof t === e; - }; - } - function ua(e, t) { - var n = e.length; - if (n !== t.length) return !1; - for (var r = n; r-- !== 0; ) if (!le(e[r], t[r])) return !1; - return !0; - } - function pa(e, t) { - if (e.byteLength !== t.byteLength) return !1; - for ( - var n = new DataView(e.buffer), - r = new DataView(t.buffer), - i = e.byteLength; - i--; - - ) - if (n.getUint8(i) !== r.getUint8(i)) return !1; - return !0; - } - function fa(e, t) { - var n, r, i, o; - if (e.size !== t.size) return !1; - try { - for (var a = tn(e.entries()), s = a.next(); !s.done; s = a.next()) { - var l = s.value; - if (!t.has(l[0])) return !1; - } - } catch (u) { - n = { error: u }; - } finally { - try { - s && !s.done && (r = a.return) && r.call(a); - } finally { - if (n) throw n.error; - } - } - try { - for (var c = tn(e.entries()), p = c.next(); !p.done; p = c.next()) { - var l = p.value; - if (!le(l[1], t.get(l[0]))) return !1; - } - } catch (u) { - i = { error: u }; - } finally { - try { - p && !p.done && (o = c.return) && o.call(c); - } finally { - if (i) throw i.error; - } - } - return !0; - } - function da(e, t) { - var n, r; - if (e.size !== t.size) return !1; - try { - for (var i = tn(e.entries()), o = i.next(); !o.done; o = i.next()) { - var a = o.value; - if (!t.has(a[0])) return !1; - } - } catch (s) { - n = { error: s }; - } finally { - try { - o && !o.done && (r = i.return) && r.call(i); - } finally { - if (n) throw n.error; - } - } - return !0; - } - function le(e, t) { - if (e === t) return !0; - if (e && Xn(e) && t && Xn(t)) { - if (e.constructor !== t.constructor) return !1; - if (Array.isArray(e) && Array.isArray(t)) return ua(e, t); - if (e instanceof Map && t instanceof Map) return fa(e, t); - if (e instanceof Set && t instanceof Set) return da(e, t); - if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) return pa(e, t); - if (Jn(e) && Jn(t)) return e.source === t.source && e.flags === t.flags; - if (e.valueOf !== Object.prototype.valueOf) - return e.valueOf() === t.valueOf(); - if (e.toString !== Object.prototype.toString) - return e.toString() === t.toString(); - var n = Object.keys(e), - r = Object.keys(t); - if (n.length !== r.length) return !1; - for (var i = n.length; i-- !== 0; ) - if (!Object.prototype.hasOwnProperty.call(t, n[i])) return !1; - for (var i = n.length; i-- !== 0; ) { - var o = n[i]; - if (!(o === "_owner" && e.$$typeof) && !le(e[o], t[o])) return !1; - } - return !0; - } - return Number.isNaN(e) && Number.isNaN(t) ? !0 : e === t; - } - function ha() { - for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; - return e.every(function (n) { - return D.string(n) || D.array(n) || D.plainObject(n); - }); - } - function ya(e, t, n) { - return Br(e, t) - ? [e, t].every(D.array) - ? !e.some(rr(n)) && t.some(rr(n)) - : [e, t].every(D.plainObject) - ? !Object.entries(e).some(nr(n)) && Object.entries(t).some(nr(n)) - : t === n - : !1; - } - function Zn(e, t, n) { - var r = n.actual, - i = n.key, - o = n.previous, - a = n.type, - s = Ie(e, i), - l = Ie(t, i), - c = [s, l].every(D.number) && (a === "increased" ? s < l : s > l); - return ( - D.undefined(r) || (c = c && l === r), - D.undefined(o) || (c = c && s === o), - c - ); - } - function er(e, t, n) { - var r = n.key, - i = n.type, - o = n.value, - a = Ie(e, r), - s = Ie(t, r), - l = i === "added" ? a : s, - c = i === "added" ? s : a; - if (!D.nullOrUndefined(o)) { - if (D.defined(l)) { - if (D.array(l) || D.plainObject(l)) return ya(l, c, o); - } else return le(c, o); - return !1; - } - return [a, s].every(D.array) - ? !c.every(pn(l)) - : [a, s].every(D.plainObject) - ? ma(Object.keys(l), Object.keys(c)) - : ![a, s].every(function (p) { - return D.primitive(p) && D.defined(p); - }) && - (i === "added" - ? !D.defined(a) && D.defined(s) - : D.defined(a) && !D.defined(s)); - } - function tr(e, t, n) { - var r = n === void 0 ? {} : n, - i = r.key, - o = Ie(e, i), - a = Ie(t, i); - if (!Br(o, a)) throw new TypeError("Inputs have different types"); - if (!ha(o, a)) throw new TypeError("Inputs don't have length"); - return ( - [o, a].every(D.plainObject) && - ((o = Object.keys(o)), (a = Object.keys(a))), - [o, a] - ); - } - function nr(e) { - return function (t) { - var n = t[0], - r = t[1]; - return D.array(e) - ? le(e, r) || - e.some(function (i) { - return le(i, r) || (D.array(r) && pn(r)(i)); - }) - : D.plainObject(e) && e[n] - ? !!e[n] && le(e[n], r) - : le(e, r); - }; - } - function ma(e, t) { - return t.some(function (n) { - return !e.includes(n); - }); - } - function rr(e) { - return function (t) { - return D.array(e) - ? e.some(function (n) { - return le(n, t) || (D.array(t) && pn(t)(n)); - }) - : le(e, t); - }; - } - function ct(e, t) { - return D.array(e) - ? e.some(function (n) { - return le(n, t); - }) - : le(e, t); - } - function pn(e) { - return function (t) { - return e.some(function (n) { - return le(n, t); - }); - }; - } - function Br() { - for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; - return ( - e.every(D.array) || - e.every(D.number) || - e.every(D.plainObject) || - e.every(D.string) - ); - } - function Ie(e, t) { - if (D.plainObject(e) || D.array(e)) { - if (D.string(t)) { - var n = t.split("."); - return n.reduce(function (r, i) { - return r && r[i]; - }, e); - } - return D.number(t) ? e[t] : e; - } - return e; - } - function ga(e, t) { - if ([e, t].some(D.nullOrUndefined)) - throw new Error("Missing required parameters"); - if ( - ![e, t].every(function (u) { - return D.plainObject(u) || D.array(u); - }) - ) - throw new Error("Expected plain objects or array"); - var n = function (u, f) { - try { - return er(e, t, { key: u, type: "added", value: f }); - } catch { - return !1; - } - }, - r = function (u, f, b) { - try { - var m = Ie(e, u), - T = Ie(t, u), - F = D.defined(f), - I = D.defined(b); - if (F || I) { - var _ = I ? ct(b, m) : !ct(f, m), - v = ct(f, T); - return _ && v; - } - return [m, T].every(D.array) || [m, T].every(D.plainObject) - ? !le(m, T) - : m !== T; - } catch { - return !1; - } - }, - i = function (u, f, b) { - if (!D.defined(u)) return !1; - try { - var m = Ie(e, u), - T = Ie(t, u), - F = D.defined(b); - return ct(f, m) && (F ? ct(b, T) : !F); - } catch { - return !1; - } - }, - o = function (u, f) { - return D.defined(u) - ? (console.warn( - "`changedTo` is deprecated! Replace it with `change`", - ), - r(u, f)) - : !1; - }, - a = function (u, f, b) { - if (!D.defined(u)) return !1; - try { - return Zn(e, t, { - key: u, - actual: f, - previous: b, - type: "decreased", - }); - } catch { - return !1; - } - }, - s = function (u) { - try { - var f = tr(e, t, { key: u }), - b = f[0], - m = f[1]; - return !!b.length && !m.length; - } catch { - return !1; - } - }, - l = function (u) { - try { - var f = tr(e, t, { key: u }), - b = f[0], - m = f[1]; - return !b.length && !!m.length; - } catch { - return !1; - } - }, - c = function (u, f, b) { - if (!D.defined(u)) return !1; - try { - return Zn(e, t, { - key: u, - actual: f, - previous: b, - type: "increased", - }); - } catch { - return !1; - } - }, - p = function (u, f) { - try { - return er(e, t, { key: u, type: "removed", value: f }); - } catch { - return !1; - } - }; - return { - added: n, - changed: r, - changedFrom: i, - changedTo: o, - decreased: a, - emptied: s, - filled: l, - increased: c, - removed: p, - }; - } - function or(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var r = Object.getOwnPropertySymbols(e); - t && - (r = r.filter(function (i) { - return Object.getOwnPropertyDescriptor(e, i).enumerable; - })), - n.push.apply(n, r); - } - return n; - } - function ee(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 - ? or(Object(n), !0).forEach(function (r) { - oe(e, r, n[r]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : or(Object(n)).forEach(function (r) { - Object.defineProperty( - e, - r, - Object.getOwnPropertyDescriptor(n, r), - ); - }); - } - return e; - } - function gt(e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function"); - } - function ir(e, t) { - for (var n = 0; n < t.length; n++) { - var r = t[n]; - (r.enumerable = r.enumerable || !1), - (r.configurable = !0), - "value" in r && (r.writable = !0), - Object.defineProperty(e, Ur(r.key), r); - } - } - function bt(e, t, n) { - return ( - t && ir(e.prototype, t), - n && ir(e, n), - Object.defineProperty(e, "prototype", { writable: !1 }), - e - ); - } - function oe(e, t, n) { - return ( - (t = Ur(t)), - t in e - ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (e[t] = n), - e - ); - } - function vt(e, t) { - if (typeof t != "function" && t !== null) - throw new TypeError( - "Super expression must either be null or a function", - ); - (e.prototype = Object.create(t && t.prototype, { - constructor: { value: e, writable: !0, configurable: !0 }, - })), - Object.defineProperty(e, "prototype", { writable: !1 }), - t && nn(e, t); - } - function Nt(e) { - return ( - (Nt = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (t) { - return t.__proto__ || Object.getPrototypeOf(t); - }), - Nt(e) - ); - } - function nn(e, t) { - return ( - (nn = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (n, r) { - return (n.__proto__ = r), n; - }), - nn(e, t) - ); - } - function ba() { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) - return !1; - if (typeof Proxy == "function") return !0; - try { - return ( - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}), - ), - !0 - ); - } catch { - return !1; - } - } - function va(e, t) { - if (e == null) return {}; - var n = {}, - r = Object.keys(e), - i, - o; - for (o = 0; o < r.length; o++) - (i = r[o]), !(t.indexOf(i) >= 0) && (n[i] = e[i]); - return n; - } - function Wr(e, t) { - if (e == null) return {}; - var n = va(e, t), - r, - i; - if (Object.getOwnPropertySymbols) { - var o = Object.getOwnPropertySymbols(e); - for (i = 0; i < o.length; i++) - (r = o[i]), - !(t.indexOf(r) >= 0) && - Object.prototype.propertyIsEnumerable.call(e, r) && - (n[r] = e[r]); - } - return n; - } - function Pe(e) { - if (e === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called", - ); - return e; - } - function Ea(e, t) { - if (t && (typeof t == "object" || typeof t == "function")) return t; - if (t !== void 0) - throw new TypeError( - "Derived constructors may only return object or undefined", - ); - return Pe(e); - } - function Et(e) { - var t = ba(); - return function () { - var n = Nt(e), - r; - if (t) { - var i = Nt(this).constructor; - r = Reflect.construct(n, arguments, i); - } else r = n.apply(this, arguments); - return Ea(this, r); - }; - } - function Oa(e, t) { - if (typeof e != "object" || e === null) return e; - var n = e[Symbol.toPrimitive]; - if (n !== void 0) { - var r = n.call(e, t || "default"); - if (typeof r != "object") return r; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (t === "string" ? String : Number)(e); - } - function Ur(e) { - var t = Oa(e, "string"); - return typeof t == "symbol" ? t : String(t); - } - function Ia(e, t, n, r) { - return typeof e == "boolean" - ? e - : typeof e == "function" - ? e(t, n, r) - : e - ? !!e - : !1; - } - function Ca(e, t) { - return Object.hasOwnProperty.call(e, t); - } - function Pa(e, t, n, r) { - return r - ? new Error(r) - : new Error( - "Required " - .concat(e[t], " `") - .concat(t, "` was not specified in `") - .concat(n, "`."), - ); - } - function Ra(e, t) { - if (typeof e != "function") throw new TypeError(Sa); - if (t && typeof t != "string") throw new TypeError(Ta); - } - function ar(e, t, n) { - return ( - Ra(e, n), - function (r, i, o) { - for ( - var a = arguments.length, s = new Array(a > 3 ? a - 3 : 0), l = 3; - l < a; - l++ - ) - s[l - 3] = arguments[l]; - return Ia(t, r, i, o) - ? Ca(r, i) - ? e.apply(void 0, [r, i, o].concat(s)) - : Pa(r, i, o, n) - : e.apply(void 0, [r, i, o].concat(s)); - } - ); - } - function Se() { - return !!( - typeof window < "u" && - window.document && - window.document.createElement - ); - } - function Qt() { - return "ontouchstart" in window && /Mobi/.test(navigator.userAgent); - } - function Rt(e) { - var t = e.title, - n = e.data, - r = e.warn, - i = r === void 0 ? !1 : r, - o = e.debug, - a = o === void 0 ? !1 : o, - s = i ? console.warn || console.error : console.log; - a && - t && - n && - (console.groupCollapsed( - "%creact-floater: ".concat(t), - "color: #9b00ff; font-weight: bold; font-size: 12px;", - ), - Array.isArray(n) - ? n.forEach(function (l) { - D.plainObject(l) && l.key - ? s.apply(console, [l.key, l.value]) - : s.apply(console, [l]); - }) - : s.apply(console, [n]), - console.groupEnd()); - } - function _a(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1; - e.addEventListener(t, n, r); - } - function xa(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1; - e.removeEventListener(t, n, r); - } - function Aa(e, t, n) { - var r = - arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1, - i; - (i = function (o) { - n(o), xa(e, t, i); - }), - _a(e, t, i, r); - } - function sr() {} - function zr(e) { - var t = e.handleClick, - n = e.styles, - r = n.color, - i = n.height, - o = n.width, - a = Wr(n, Na); - return E.createElement( - "button", - { "aria-label": "close", onClick: t, style: a, type: "button" }, - E.createElement( - "svg", - { - width: "".concat(o, "px"), - height: "".concat(i, "px"), - viewBox: "0 0 18 18", - version: "1.1", - xmlns: "http://www.w3.org/2000/svg", - preserveAspectRatio: "xMidYMid", - }, - E.createElement( - "g", - null, - E.createElement("path", { - d: "M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z", - fill: r, - }), - ), - ), - ); - } - function Yr(e) { - var t = e.content, - n = e.footer, - r = e.handleClick, - i = e.open, - o = e.positionWrapper, - a = e.showCloseButton, - s = e.title, - l = e.styles, - c = { - content: E.isValidElement(t) - ? t - : E.createElement( - "div", - { className: "__floater__content", style: l.content }, - t, - ), - }; - return ( - s && - (c.title = E.isValidElement(s) - ? s - : E.createElement( - "div", - { className: "__floater__title", style: l.title }, - s, - )), - n && - (c.footer = E.isValidElement(n) - ? n - : E.createElement( - "div", - { className: "__floater__footer", style: l.footer }, - n, - )), - (a || o) && - !D.boolean(i) && - (c.close = E.createElement(zr, { styles: l.close, handleClick: r })), - E.createElement( - "div", - { className: "__floater__container", style: l.container }, - c.close, - c.title, - c.content, - c.footer, - ) - ); - } - function Ma(e) { - var t = (0, en.default)(ka, e.options || {}); - return { - wrapper: { - cursor: "help", - display: "inline-flex", - flexDirection: "column", - zIndex: t.zIndex, - }, - wrapperPosition: { - left: -1e3, - position: "absolute", - top: -1e3, - visibility: "hidden", - }, - floater: { - display: "inline-block", - filter: "drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))", - maxWidth: 300, - opacity: 0, - position: "relative", - transition: "opacity 0.3s", - visibility: "hidden", - zIndex: t.zIndex, - }, - floaterOpening: { opacity: 1, visibility: "visible" }, - floaterWithAnimation: { - opacity: 1, - transition: "opacity 0.3s, transform 0.2s", - visibility: "visible", - }, - floaterWithComponent: { maxWidth: "100%" }, - floaterClosing: { opacity: 0, visibility: "visible" }, - floaterCentered: { - left: "50%", - position: "fixed", - top: "50%", - transform: "translate(-50%, -50%)", - }, - container: { - backgroundColor: "#fff", - color: "#666", - minHeight: 60, - minWidth: 200, - padding: 20, - position: "relative", - zIndex: 10, - }, - title: { - borderBottom: "1px solid #555", - color: "#555", - fontSize: 18, - marginBottom: 5, - paddingBottom: 6, - paddingRight: 18, - }, - content: { fontSize: 15 }, - close: { - backgroundColor: "transparent", - border: 0, - borderRadius: 0, - color: "#555", - fontSize: 0, - height: 15, - outline: "none", - padding: 10, - position: "absolute", - right: 0, - top: 0, - width: 15, - WebkitAppearance: "none", - }, - footer: { - borderTop: "1px solid #ccc", - fontSize: 13, - marginTop: 10, - paddingTop: 5, - }, - arrow: { - color: "#fff", - display: "inline-flex", - length: 16, - margin: 8, - position: "absolute", - spread: 32, - }, - options: t, - }; - } - function Ae() { - return !!( - typeof window < "u" && - window.document && - window.document.createElement - ); - } - function Vr(e) { - return e ? e.getBoundingClientRect() : null; - } - function Wa(e = !0) { - let { body: t, documentElement: n } = document; - if (!t || !n) return 0; - if (e) { - let r = [ - t.scrollHeight, - t.offsetHeight, - n.clientHeight, - n.scrollHeight, - n.offsetHeight, - ].sort((o, a) => o - a), - i = Math.floor(r.length / 2); - return r.length % 2 === 0 ? (r[i - 1] + r[i]) / 2 : r[i]; - } - return Math.max( - t.scrollHeight, - t.offsetHeight, - n.clientHeight, - n.scrollHeight, - n.offsetHeight, - ); - } - function ke(e) { - return typeof e == "string" ? document.querySelector(e) : e; - } - function Ua(e) { - return !e || e.nodeType !== 1 ? null : getComputedStyle(e); - } - function Lt(e, t, n) { - if (!e) return Fe(); - let r = (0, wr.default)(e); - if (r) { - if (r.isSameNode(Fe())) return n ? document : Fe(); - if (!(r.scrollHeight > r.offsetHeight) && !t) - return (r.style.overflow = "initial"), Fe(); - } - return r; - } - function Ot(e, t) { - if (!e) return !1; - let n = Lt(e, t); - return n ? !n.isSameNode(Fe()) : !1; - } - function Ha(e) { - return e.offsetParent !== document.body; - } - function dt(e, t = "fixed") { - if (!e || !(e instanceof HTMLElement)) return !1; - let { nodeName: n } = e, - r = Ua(e); - return n === "BODY" || n === "HTML" - ? !1 - : r && r.position === t - ? !0 - : e.parentNode - ? dt(e.parentNode, t) - : !1; - } - function Ga(e) { - var t; - if (!e) return !1; - let n = e; - for (; n && n !== document.body; ) { - if (n instanceof HTMLElement) { - let { display: r, visibility: i } = getComputedStyle(n); - if (r === "none" || i === "hidden") return !1; - } - n = (t = n.parentElement) != null ? t : null; - } - return !0; - } - function za(e, t, n) { - var r; - let i = Vr(e), - o = Lt(e, n), - a = Ot(e, n), - s = 0, - l = (r = i?.top) != null ? r : 0; - return ( - o instanceof HTMLElement && - ((s = o.scrollTop), - !a && !dt(e) && (l += s), - o.isSameNode(Fe()) || (l += Fe().scrollTop)), - Math.floor(l - t) - ); - } - function Ya(e, t, n) { - var r; - if (!e) return 0; - let { offsetTop: i = 0, scrollTop: o = 0 } = - (r = (0, wr.default)(e)) != null ? r : {}, - a = e.getBoundingClientRect().top + o; - i && (Ot(e, n) || Ha(e)) && (a -= i); - let s = Math.floor(a - t); - return s < 0 ? 0 : s; - } - function Fe() { - var e; - return (e = document.scrollingElement) != null - ? e - : document.documentElement; - } - function qa(e, t) { - let { duration: n, element: r } = t; - return new Promise((i, o) => { - let { scrollTop: a } = r, - s = e > a ? e - a : a - e; - bi.default.top(r, e, { duration: s < 100 ? 50 : n }, (l) => - l && l.message !== "Element already at target scroll position" - ? o(l) - : i(), - ); - }); - } - function Kr(e = navigator.userAgent) { - let t = e; - return ( - typeof window > "u" - ? (t = "node") - : document.documentMode - ? (t = "ie") - : /Edge/.test(e) - ? (t = "edge") - : window.opera || e.includes(" OPR/") - ? (t = "opera") - : typeof window.InstallTrigger < "u" - ? (t = "firefox") - : window.chrome - ? (t = "chrome") - : /(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test( - e, - ) && (t = "safari"), - t - ); - } - function Ne(e) { - let t = [], - n = (r) => { - if (typeof r == "string" || typeof r == "number") t.push(r); - else if (Array.isArray(r)) r.forEach((i) => n(i)); - else if (Ht(r)) { - let { children: i } = r.props; - Array.isArray(i) ? i.forEach((o) => n(o)) : n(i); - } - }; - return n(e), t.join(" ").trim(); - } - function $a(e, t) { - return !M.plainObject(e) || !M.array(t) - ? !1 - : Object.keys(e).every((n) => t.includes(n)); - } - function Va(e) { - let t = /^#?([\da-f])([\da-f])([\da-f])$/i, - n = e.replace(t, (i, o, a, s) => o + o + a + a + s + s), - r = /^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(n); - return r - ? [parseInt(r[1], 16), parseInt(r[2], 16), parseInt(r[3], 16)] - : []; - } - function lr(e) { - return e.disableBeacon || e.placement === "center"; - } - function cr() { - return !["chrome", "safari", "firefox", "opera"].includes(Kr()); - } - function je({ data: e, debug: t = !1, title: n, warn: r = !1 }) { - let i = r ? console.warn || console.error : console.log; - t && - (n && e - ? (console.groupCollapsed( - `%creact-joyride: ${n}`, - "color: #ff0044; font-weight: bold; font-size: 12px;", - ), - Array.isArray(e) - ? e.forEach((o) => { - M.plainObject(o) && o.key - ? i.apply(console, [o.key, o.value]) - : i.apply(console, [o]); - }) - : i.apply(console, [e]), - console.groupEnd()) - : console.error("Missing title or data props")); - } - function Ka(e) { - return Object.keys(e); - } - function Qr(e, ...t) { - if (!M.plainObject(e)) throw new TypeError("Expected an object"); - let n = {}; - for (let r in e) - ({}).hasOwnProperty.call(e, r) && (t.includes(r) || (n[r] = e[r])); - return n; - } - function Qa(e, ...t) { - if (!M.plainObject(e)) throw new TypeError("Expected an object"); - if (!t.length) return e; - let n = {}; - for (let r in e) - ({}).hasOwnProperty.call(e, r) && t.includes(r) && (n[r] = e[r]); - return n; - } - function Ja(e) { - let { - isFirstStep: t, - lifecycle: n, - previousLifecycle: r, - scrollToFirstStep: i, - step: o, - target: a, - } = e; - return ( - !o.disableScrolling && - (!t || i || n === W.TOOLTIP) && - o.placement !== "center" && - (!o.isFixed || !dt(a)) && - r !== n && - [W.BEACON, W.TOOLTIP].includes(n) - ); - } - function ns(e, t) { - var n, r, i, o, a; - let { floaterProps: s, styles: l } = e, - c = (0, Pt.default)((n = t.floaterProps) != null ? n : {}, s ?? {}), - p = (0, Pt.default)(l ?? {}, (r = t.styles) != null ? r : {}), - u = (0, Pt.default)(ts, p.options || {}), - f = t.placement === "center" || t.disableBeacon, - { width: b } = u; - window.innerWidth > 480 && (b = 380), - "width" in u && - (b = - typeof u.width == "number" && window.innerWidth < u.width - ? window.innerWidth - 30 - : u.width); - let m = { - bottom: 0, - left: 0, - overflow: "hidden", - position: "absolute", - right: 0, - top: 0, - zIndex: u.zIndex, - }, - T = { - beacon: { - ...ft, - display: f ? "none" : "inline-block", - height: u.beaconSize, - position: "relative", - width: u.beaconSize, - zIndex: u.zIndex, - }, - beaconInner: { - animation: "joyride-beacon-inner 1.2s infinite ease-in-out", - backgroundColor: u.primaryColor, - borderRadius: "50%", - display: "block", - height: "50%", - left: "50%", - opacity: 0.7, - position: "absolute", - top: "50%", - transform: "translate(-50%, -50%)", - width: "50%", - }, - beaconOuter: { - animation: "joyride-beacon-outer 1.2s infinite ease-in-out", - backgroundColor: `rgba(${Va(u.primaryColor).join(",")}, 0.2)`, - border: `2px solid ${u.primaryColor}`, - borderRadius: "50%", - boxSizing: "border-box", - display: "block", - height: "100%", - left: 0, - opacity: 0.9, - position: "absolute", - top: 0, - transformOrigin: "center", - width: "100%", - }, - tooltip: { - backgroundColor: u.backgroundColor, - borderRadius: 5, - boxSizing: "border-box", - color: u.textColor, - fontSize: 16, - maxWidth: "100%", - padding: 15, - position: "relative", - width: b, - }, - tooltipContainer: { lineHeight: 1.4, textAlign: "center" }, - tooltipTitle: { fontSize: 18, margin: 0 }, - tooltipContent: { padding: "20px 10px" }, - tooltipFooter: { - alignItems: "center", - display: "flex", - justifyContent: "flex-end", - marginTop: 15, - }, - tooltipFooterSpacer: { flex: 1 }, - buttonNext: { - ...ft, - backgroundColor: u.primaryColor, - borderRadius: 4, - color: "#fff", - }, - buttonBack: { - ...ft, - color: u.primaryColor, - marginLeft: "auto", - marginRight: 5, - }, - buttonClose: { - ...ft, - color: u.textColor, - height: 14, - padding: 15, - position: "absolute", - right: 0, - top: 0, - width: 14, - }, - buttonSkip: { ...ft, color: u.textColor, fontSize: 14 }, - overlay: { - ...m, - backgroundColor: u.overlayColor, - mixBlendMode: "hard-light", - }, - overlayLegacy: { ...m }, - overlayLegacyCenter: { ...m, backgroundColor: u.overlayColor }, - spotlight: { ...ur, backgroundColor: "gray" }, - spotlightLegacy: { - ...ur, - boxShadow: `0 0 0 9999px ${u.overlayColor}, ${u.spotlightShadow}`, - }, - floaterStyles: { - arrow: { - color: - (a = - (o = (i = c?.styles) == null ? void 0 : i.arrow) == null - ? void 0 - : o.color) != null - ? a - : u.arrowColor, - }, - options: { zIndex: u.zIndex + 100 }, - }, - options: u, - }; - return (0, Pt.default)(T, p); - } - function rs(e) { - return Qa( - e, - "beaconComponent", - "disableCloseOnEsc", - "disableOverlay", - "disableOverlayClose", - "disableScrolling", - "disableScrollParentFix", - "floaterProps", - "hideBackButton", - "hideCloseButton", - "locale", - "showProgress", - "showSkipButton", - "spotlightClicks", - "spotlightPadding", - "styles", - "tooltipComponent", - ); - } - function qe(e, t) { - var n, r, i, o, a, s; - let l = t ?? {}, - c = Ct.default.all([Za, rs(e), l], { - isMergeableObject: M.plainObject, - }), - p = ns(e, c), - u = Ot(ke(c.target), c.disableScrollParentFix), - f = Ct.default.all([ - Xa, - (n = e.floaterProps) != null ? n : {}, - (r = c.floaterProps) != null ? r : {}, - ]); - return ( - (f.offset = c.offset), - (f.styles = (0, Ct.default)( - (i = f.styles) != null ? i : {}, - p.floaterStyles, - )), - (f.offset += - (a = (o = e.spotlightPadding) != null ? o : c.spotlightPadding) != - null - ? a - : 0), - c.placementBeacon && - f.wrapperOptions && - (f.wrapperOptions.placement = c.placementBeacon), - u && - f.options.preventOverflow && - (f.options.preventOverflow.boundariesElement = "window"), - { - ...c, - locale: Ct.default.all([ - Jr, - (s = e.locale) != null ? s : {}, - c.locale || {}, - ]), - floaterProps: f, - styles: Qr(p, "floaterStyles"), - } - ); - } - function Xr(e, t = !1) { - return M.plainObject(e) - ? e.target - ? !0 - : (je({ - title: "validateStep", - data: "target is missing from the step", - warn: !0, - debug: t, - }), - !1) - : (je({ - title: "validateStep", - data: "step must be an object", - warn: !0, - debug: t, - }), - !1); - } - function pr(e, t = !1) { - return M.array(e) - ? e.every((n) => Xr(n, t)) - : (je({ - title: "validateSteps", - data: "steps must be an array", - warn: !0, - debug: t, - }), - !1); - } - function is(e) { - return new os(e); - } - function as({ styles: e }) { - return V("div", { - key: "JoyrideSpotlight", - className: "react-joyride__spotlight", - "data-test-id": "spotlight", - style: e, - }); - } - function fs({ styles: e, ...t }) { - let { color: n, height: r, width: i, ...o } = e; - return E.createElement( - "button", - { style: o, type: "button", ...t }, - E.createElement( - "svg", - { - height: typeof r == "number" ? `${r}px` : r, - preserveAspectRatio: "xMidYMid", - version: "1.1", - viewBox: "0 0 18 18", - width: typeof i == "number" ? `${i}px` : i, - xmlns: "http://www.w3.org/2000/svg", - }, - E.createElement( - "g", - null, - E.createElement("path", { - d: "M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z", - fill: n, - }), - ), - ), - ); - } - function hs(e) { - let { - backProps: t, - closeProps: n, - continuous: r, - index: i, - isLastStep: o, - primaryProps: a, - size: s, - skipProps: l, - step: c, - tooltipProps: p, - } = e, - { - content: u, - hideBackButton: f, - hideCloseButton: b, - hideFooter: m, - locale: T, - showProgress: F, - showSkipButton: I, - styles: _, - title: v, - } = c, - { back: P, close: R, last: K, next: B, skip: te } = T, - Q = { primary: R }; - return ( - r && - ((Q.primary = o ? K : B), - F && - (Q.primary = V("span", null, Q.primary, " (", i + 1, "/", s, ")"))), - Q.primary && - (Q.primary = V( - "button", - { - "data-test-id": "button-primary", - style: _.buttonNext, - type: "button", - ...a, - }, - Q.primary, - )), - I && - !o && - (Q.skip = V( - "button", - { - "aria-live": "off", - "data-test-id": "button-skip", - style: _.buttonSkip, - type: "button", - ...l, - }, - te, - )), - !f && - i > 0 && - (Q.back = V( - "button", - { - "data-test-id": "button-back", - style: _.buttonBack, - type: "button", - ...t, - }, - P, - )), - (Q.close = - !b && - V(ds, { - "data-test-id": "button-close", - styles: _.buttonClose, - ...n, - })), - V( - "div", - { - key: "JoyrideTooltip", - "aria-label": Ne(v) || Ne(u), - className: "react-joyride__tooltip", - style: _.tooltip, - ...p, - }, - V( - "div", - { style: _.tooltipContainer }, - v && V("h1", { "aria-label": Ne(v), style: _.tooltipTitle }, v), - V("div", { style: _.tooltipContent }, u), - ), - !m && - V( - "div", - { style: _.tooltipFooter }, - V("div", { style: _.tooltipFooterSpacer }, Q.skip), - Q.back, - Q.primary, - ), - Q.close, - ) - ); - } - function _s({ step: e, steps: t, onClose: n, onComplete: r }) { - let [i, o] = ue(null), - a = xn(); - return ( - ce(() => { - let s; - return ( - o((l) => { - let c = t.findIndex(({ key: p }) => p === e); - return c === -1 - ? null - : c === l - ? l - : ((s = setTimeout(o, 500, c)), null); - }), - () => clearTimeout(s) - ); - }, [e, t]), - i === null - ? null - : E.createElement(bs, { - continuous: !0, - steps: t, - stepIndex: i, - spotlightPadding: 0, - disableCloseOnEsc: !0, - disableOverlayClose: !0, - disableScrolling: !0, - callback: (s) => { - s.action === $.CLOSE && n(), - s.action === $.NEXT && s.index === s.size - 1 && r(); - }, - floaterProps: { - disableAnimation: !0, - styles: { - arrow: { length: 20, spread: 2 }, - floater: { - filter: - a.base === "light" - ? "drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1))" - : "drop-shadow(#fff5 0px 0px 0.5px) drop-shadow(#fff5 0px 0px 0.5px)", - }, - }, - }, - tooltipComponent: Rs, - styles: { - overlay: { - mixBlendMode: "unset", - backgroundColor: - t[i]?.target === "body" ? "rgba(27, 28, 29, 0.2)" : "none", - }, - spotlight: { - backgroundColor: "none", - border: `solid 2px ${a.color.secondary}`, - boxShadow: "0px 0px 0px 9999px rgba(27, 28, 29, 0.2)", - }, - tooltip: { - width: 280, - color: a.color.lightest, - background: a.color.secondary, - }, - options: { - zIndex: 9998, - primaryColor: a.color.secondary, - arrowColor: a.color.secondary, - }, - }, - }) - ); - } - function Gs({ api: e }) { - let [t, n] = ue(!0), - [r, i] = ue(!1), - [o, a] = ue("1:Intro"), - [s, l] = ue(), - [c, p] = ue(), - [u, f] = ue(), - [b, m] = ue(), - T = ze( - (B) => { - try { - let { id: te, refId: Q } = e.getCurrentStoryData() || {}; - (te !== B || Q !== void 0) && e.selectStory(B); - } catch {} - }, - [e], - ), - F = ze(() => { - let B = new URL(window.location.href), - te = decodeURIComponent(B.searchParams.get("path")); - (B.search = `?path=${te}&onboarding=false`), - history.replaceState({}, "", B.href), - e.setQueryParams({ onboarding: "false" }), - n(!1); - }, [e, n]), - I = ze(() => { - e.emit(Dn, { step: "6:FinishedOnboarding", type: "telemetry" }), - T("configure-your-project--docs"), - F(); - }, [e, T, F]); - if ( - (ce(() => { - e.setQueryParams({ onboarding: "true" }), - T("example-button--primary"), - e.togglePanel(!0), - e.togglePanelPosition("bottom"), - e.setSelectedPanel("addon-controls"); - }, [e, T]), - ce(() => { - let B = new MutationObserver(() => { - l(document.getElementById("control-primary")), - p(document.getElementById("save-from-controls")), - f(document.getElementById("create-new-story-form")); - }); - return ( - B.observe(document.body, { childList: !0, subtree: !0 }), - () => B.disconnect() - ); - }, []), - ce(() => { - a((B) => - ["1:Intro", "5:StoryCreated", "6:FinishedOnboarding"].includes(B) - ? B - : u - ? "4:CreateStory" - : c - ? "3:SaveFromControls" - : s - ? "2:Controls" - : "1:Intro", - ); - }, [u, s, c]), - ce( - () => - e.on(wn, ({ payload: B, success: te }) => { - !te || - !B?.newStoryName || - (m(B), - i(!0), - a("5:StoryCreated"), - setTimeout(() => e.clearNotification("save-story-success"))); - }), - [e], - ), - ce(() => e.emit(Dn, { step: o, type: "telemetry" }), [e, o]), - !t) - ) - return null; - let _ = b?.sourceFileContent, - v = _?.lastIndexOf(`export const ${b?.newStoryExportName}`), - P = _?.slice(v).trim(), - R = _?.slice(0, v).split(` -`).length, - K = [ - { - key: "2:Controls", - target: "#control-primary", - title: "Interactive story playground", - content: E.createElement( - E.Fragment, - null, - "See how a story renders with different data and state without touching code. Try it out by toggling this button.", - E.createElement(Ln, { - targetSelector: "#control-primary", - pulsating: !0, - }), - ), - offset: 20, - placement: "right", - disableBeacon: !0, - disableOverlay: !0, - spotlightClicks: !0, - onNextButtonClick: () => { - document.querySelector("#control-primary").click(); - }, - }, - { - key: "3:SaveFromControls", - target: 'button[aria-label="Create new story with these settings"]', - title: "Save your changes as a new story", - content: E.createElement( - E.Fragment, - null, - "Great! Storybook stories represent the key states of each of your components. After modifying a story, you can save your changes from here or reset it.", - E.createElement(Ln, { - targetSelector: - "button[aria-label='Create new story with these settings']", - }), - ), - offset: 6, - placement: "top", - disableBeacon: !0, - disableOverlay: !0, - spotlightClicks: !0, - onNextButtonClick: () => { - document - .querySelector( - 'button[aria-label="Create new story with these settings"]', - ) - .click(); - }, - styles: { tooltip: { width: 400 } }, - }, - { - key: "5:StoryCreated", - target: '#storybook-explorer-tree [data-selected="true"]', - title: "You just added your first story!", - content: E.createElement( - E.Fragment, - null, - "Well done! You just created your first story from the Storybook manager. This automatically added a few lines of code in", - " ", - E.createElement(Ws, null, b?.sourceFileName), - ".", - P && - E.createElement( - Yt, - { theme: qt(_n.dark) }, - E.createElement( - Us, - null, - E.createElement( - Pn, - { - language: "jsx", - showLineNumbers: !0, - startingLineNumber: R, - }, - P, - ), - ), - ), - ), - offset: 12, - placement: "right", - disableBeacon: !0, - disableOverlay: !0, - styles: { tooltip: { width: 400 } }, - }, - ]; - return E.createElement( - Yt, - { theme: Hs }, - r && - E.createElement(ei, { - numberOfPieces: 800, - recycle: !1, - tweenDuration: 2e4, - onConfettiComplete: (B) => { - B?.reset(), i(!1); - }, - }), - o === "1:Intro" - ? E.createElement(Bs, { onDismiss: () => a("2:Controls") }) - : E.createElement(_s, { - step: o, - steps: K, - onClose: F, - onComplete: I, - }), - ); - } - var hr, - Wo, - yr, - Uo, - mr, - Ho, - Go, - he, - zo, - Be, - Yo, - qo, - rn, - $o, - gr, - Vo, - br, - vr, - Ko, - Qo, - Jo, - Xo, - Zo, - Dn, - ri, - oi, - Fn, - Bn, - ii, - ui, - pi, - hi, - M, - bi, - wr, - Ct, - Pt, - C, - ht, - vi, - wi, - Si, - Yn, - qn, - Ci, - Pi, - Ke, - de, - Ui, - Dr, - Vt, - Kt, - ea, - ta, - Mt, - Qn, - en, - na, - ra, - oa, - D, - sa, - la, - Jn, - Xn, - ca, - tn, - wa, - Sa, - Ta, - q, - ut, - Hr, - Gr, - Na, - qr, - $r, - ka, - ja, - La, - fn, - Da, - Fa, - Ba, - L, - $, - ve, - W, - Y, - pt, - Xa, - Jr, - Za, - es, - ts, - ft, - ur, - Zr, - fr, - os, - ss, - ls, - cs, - us, - ps, - ds, - ys, - ms, - gs, - eo, - bs, - vs, - Es, - Os, - ws, - Ss, - Ts, - Is, - Cs, - Ps, - Rs, - xs, - to, - As, - Ns, - ks, - Ms, - js, - Ls, - Ds, - Fs, - dr, - Bs, - Ws, - Us, - Hs, - ro = ye(() => { - J(); - X(); - Z(); - Ye(); - Ye(); - Rn(); - zt(); - An(); - Tt(); - Tt(); - hr = po(Nn()); - jn(); - (Wo = Object.create), - (yr = Object.defineProperty), - (Uo = Object.getOwnPropertyDescriptor), - (mr = Object.getOwnPropertyNames), - (Ho = Object.getPrototypeOf), - (Go = Object.prototype.hasOwnProperty), - (he = (e, t) => - function () { - return ( - t || (0, e[mr(e)[0]])((t = { exports: {} }).exports, t), - t.exports - ); - }), - (zo = (e, t, n, r) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let i of mr(t)) - !Go.call(e, i) && - i !== n && - yr(e, i, { - get: () => t[i], - enumerable: !(r = Uo(t, i)) || r.enumerable, - }); - return e; - }), - (Be = (e, t, n) => ( - (n = e != null ? Wo(Ho(e)) : {}), - zo( - t || !e || !e.__esModule - ? yr(n, "default", { value: e, enumerable: !0 }) - : n, - e, - ) - )), - (Yo = he({ - "../../node_modules/scroll/index.js"(e, t) { - var n = new Error("Element already at target scroll position"), - r = new Error("Scroll cancelled"), - i = Math.min, - o = Date.now; - t.exports = { left: a("scrollLeft"), top: a("scrollTop") }; - function a(c) { - return function (p, u, f, b) { - (f = f || {}), - typeof f == "function" && ((b = f), (f = {})), - typeof b != "function" && (b = l); - var m = o(), - T = p[c], - F = f.ease || s, - I = isNaN(f.duration) ? 350 : +f.duration, - _ = !1; - return T === u ? b(n, p[c]) : requestAnimationFrame(P), v; - function v() { - _ = !0; - } - function P(R) { - if (_) return b(r, p[c]); - var K = o(), - B = i(1, (K - m) / I), - te = F(B); - (p[c] = te * (u - T) + T), - B < 1 - ? requestAnimationFrame(P) - : requestAnimationFrame(function () { - b(null, p[c]); - }); - } - }; - } - function s(c) { - return 0.5 * (1 - Math.cos(Math.PI * c)); - } - function l() {} - }, - })), - (qo = he({ - "../../node_modules/scrollparent/scrollparent.js"(e, t) { - (function (n, r) { - typeof define == "function" && define.amd - ? define([], r) - : typeof t == "object" && t.exports - ? (t.exports = r()) - : (n.Scrollparent = r()); - })(e, function () { - function n(i) { - var o = getComputedStyle(i, null).getPropertyValue( - "overflow", - ); - return o.indexOf("scroll") > -1 || o.indexOf("auto") > -1; - } - function r(i) { - if (i instanceof HTMLElement || i instanceof SVGElement) { - for (var o = i.parentNode; o.parentNode; ) { - if (n(o)) return o; - o = o.parentNode; - } - return ( - document.scrollingElement || document.documentElement - ); - } - } - return r; - }); - }, - })), - (rn = he({ - "../../node_modules/deepmerge/dist/cjs.js"(e, t) { - var n = function (v) { - return r(v) && !i(v); - }; - function r(v) { - return !!v && typeof v == "object"; - } - function i(v) { - var P = Object.prototype.toString.call(v); - return P === "[object RegExp]" || P === "[object Date]" || s(v); - } - var o = typeof Symbol == "function" && Symbol.for, - a = o ? Symbol.for("react.element") : 60103; - function s(v) { - return v.$$typeof === a; - } - function l(v) { - return Array.isArray(v) ? [] : {}; - } - function c(v, P) { - return P.clone !== !1 && P.isMergeableObject(v) - ? I(l(v), v, P) - : v; - } - function p(v, P, R) { - return v.concat(P).map(function (K) { - return c(K, R); - }); - } - function u(v, P) { - if (!P.customMerge) return I; - var R = P.customMerge(v); - return typeof R == "function" ? R : I; - } - function f(v) { - return Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(v).filter(function (P) { - return Object.propertyIsEnumerable.call(v, P); - }) - : []; - } - function b(v) { - return Object.keys(v).concat(f(v)); - } - function m(v, P) { - try { - return P in v; - } catch { - return !1; - } - } - function T(v, P) { - return ( - m(v, P) && - !( - Object.hasOwnProperty.call(v, P) && - Object.propertyIsEnumerable.call(v, P) - ) - ); - } - function F(v, P, R) { - var K = {}; - return ( - R.isMergeableObject(v) && - b(v).forEach(function (B) { - K[B] = c(v[B], R); - }), - b(P).forEach(function (B) { - T(v, B) || - (m(v, B) && R.isMergeableObject(P[B]) - ? (K[B] = u(B, R)(v[B], P[B], R)) - : (K[B] = c(P[B], R))); - }), - K - ); - } - function I(v, P, R) { - (R = R || {}), - (R.arrayMerge = R.arrayMerge || p), - (R.isMergeableObject = R.isMergeableObject || n), - (R.cloneUnlessOtherwiseSpecified = c); - var K = Array.isArray(P), - B = Array.isArray(v), - te = K === B; - return te ? (K ? R.arrayMerge(v, P, R) : F(v, P, R)) : c(P, R); - } - I.all = function (v, P) { - if (!Array.isArray(v)) - throw new Error("first argument should be an array"); - return v.reduce(function (R, K) { - return I(R, K, P); - }, {}); - }; - var _ = I; - t.exports = _; - }, - })), - ($o = he({ - "../../node_modules/react-is/cjs/react-is.development.js"(e) { - (function () { - var t = typeof Symbol == "function" && Symbol.for, - n = t ? Symbol.for("react.element") : 60103, - r = t ? Symbol.for("react.portal") : 60106, - i = t ? Symbol.for("react.fragment") : 60107, - o = t ? Symbol.for("react.strict_mode") : 60108, - a = t ? Symbol.for("react.profiler") : 60114, - s = t ? Symbol.for("react.provider") : 60109, - l = t ? Symbol.for("react.context") : 60110, - c = t ? Symbol.for("react.async_mode") : 60111, - p = t ? Symbol.for("react.concurrent_mode") : 60111, - u = t ? Symbol.for("react.forward_ref") : 60112, - f = t ? Symbol.for("react.suspense") : 60113, - b = t ? Symbol.for("react.suspense_list") : 60120, - m = t ? Symbol.for("react.memo") : 60115, - T = t ? Symbol.for("react.lazy") : 60116, - F = t ? Symbol.for("react.block") : 60121, - I = t ? Symbol.for("react.fundamental") : 60117, - _ = t ? Symbol.for("react.responder") : 60118, - v = t ? Symbol.for("react.scope") : 60119; - function P(O) { - return ( - typeof O == "string" || - typeof O == "function" || - O === i || - O === p || - O === a || - O === o || - O === f || - O === b || - (typeof O == "object" && - O !== null && - (O.$$typeof === T || - O.$$typeof === m || - O.$$typeof === s || - O.$$typeof === l || - O.$$typeof === u || - O.$$typeof === I || - O.$$typeof === _ || - O.$$typeof === v || - O.$$typeof === F)) - ); - } - function R(O) { - if (typeof O == "object" && O !== null) { - var U = O.$$typeof; - switch (U) { - case n: - var z = O.type; - switch (z) { - case c: - case p: - case i: - case a: - case o: - case f: - return z; - default: - var ne = z && z.$$typeof; - switch (ne) { - case l: - case u: - case T: - case m: - case s: - return ne; - default: - return U; - } - } - case r: - return U; - } - } - } - var K = c, - B = p, - te = l, - Q = s, - se = n, - Ze = u, - Ue = i, - Re = T, - et = m, - He = r, - Ce = a, - tt = o, - pe = f, - fe = !1; - function Le(O) { - return ( - fe || - ((fe = !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.", - )), - we(O) || R(O) === c - ); - } - function we(O) { - return R(O) === p; - } - function S(O) { - return R(O) === l; - } - function k(O) { - return R(O) === s; - } - function H(O) { - return typeof O == "object" && O !== null && O.$$typeof === n; - } - function G(O) { - return R(O) === u; - } - function d(O) { - return R(O) === i; - } - function h(O) { - return R(O) === T; - } - function g(O) { - return R(O) === m; - } - function y(O) { - return R(O) === r; - } - function N(O) { - return R(O) === a; - } - function j(O) { - return R(O) === o; - } - function w(O) { - return R(O) === f; - } - (e.AsyncMode = K), - (e.ConcurrentMode = B), - (e.ContextConsumer = te), - (e.ContextProvider = Q), - (e.Element = se), - (e.ForwardRef = Ze), - (e.Fragment = Ue), - (e.Lazy = Re), - (e.Memo = et), - (e.Portal = He), - (e.Profiler = Ce), - (e.StrictMode = tt), - (e.Suspense = pe), - (e.isAsyncMode = Le), - (e.isConcurrentMode = we), - (e.isContextConsumer = S), - (e.isContextProvider = k), - (e.isElement = H), - (e.isForwardRef = G), - (e.isFragment = d), - (e.isLazy = h), - (e.isMemo = g), - (e.isPortal = y), - (e.isProfiler = N), - (e.isStrictMode = j), - (e.isSuspense = w), - (e.isValidElementType = P), - (e.typeOf = R); - })(); - }, - })), - (gr = he({ - "../../node_modules/react-is/index.js"(e, t) { - t.exports = $o(); - }, - })), - (Vo = he({ - "../../node_modules/object-assign/index.js"(e, t) { - var n = Object.getOwnPropertySymbols, - r = Object.prototype.hasOwnProperty, - i = Object.prototype.propertyIsEnumerable; - function o(s) { - if (s == null) - throw new TypeError( - "Object.assign cannot be called with null or undefined", - ); - return Object(s); - } - function a() { - try { - if (!Object.assign) return !1; - var s = new String("abc"); - if (((s[5] = "de"), Object.getOwnPropertyNames(s)[0] === "5")) - return !1; - for (var l = {}, c = 0; c < 10; c++) - l["_" + String.fromCharCode(c)] = c; - var p = Object.getOwnPropertyNames(l).map(function (f) { - return l[f]; - }); - if (p.join("") !== "0123456789") return !1; - var u = {}; - return ( - "abcdefghijklmnopqrst".split("").forEach(function (f) { - u[f] = f; - }), - Object.keys(Object.assign({}, u)).join("") === - "abcdefghijklmnopqrst" - ); - } catch { - return !1; - } - } - t.exports = a() - ? Object.assign - : function (s, l) { - for (var c, p = o(s), u, f = 1; f < arguments.length; f++) { - c = Object(arguments[f]); - for (var b in c) r.call(c, b) && (p[b] = c[b]); - if (n) { - u = n(c); - for (var m = 0; m < u.length; m++) - i.call(c, u[m]) && (p[u[m]] = c[u[m]]); - } - } - return p; - }; - }, - })), - (br = he({ - "../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(e, t) { - var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - t.exports = n; - }, - })), - (vr = he({ - "../../node_modules/prop-types/lib/has.js"(e, t) { - t.exports = Function.call.bind(Object.prototype.hasOwnProperty); - }, - })), - (Ko = he({ - "../../node_modules/prop-types/checkPropTypes.js"(e, t) { - var n = function () {}; - (r = br()), - (i = {}), - (o = vr()), - (n = function (s) { - var l = "Warning: " + s; - typeof console < "u" && console.error(l); - try { - throw new Error(l); - } catch {} - }); - var r, i, o; - function a(s, l, c, p, u) { - for (var f in s) - if (o(s, f)) { - var b; - try { - if (typeof s[f] != "function") { - var m = Error( - (p || "React class") + - ": " + - c + - " type `" + - f + - "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + - typeof s[f] + - "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", - ); - throw ((m.name = "Invariant Violation"), m); - } - b = s[f](l, f, p, c, null, r); - } catch (F) { - b = F; - } - if ( - (b && - !(b instanceof Error) && - n( - (p || "React class") + - ": type specification of " + - c + - " `" + - f + - "` is invalid; the type checker function must return `null` or an `Error` but returned a " + - typeof b + - ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", - ), - b instanceof Error && !(b.message in i)) - ) { - i[b.message] = !0; - var T = u ? u() : ""; - n("Failed " + c + " type: " + b.message + (T ?? "")); - } - } - } - (a.resetWarningCache = function () { - i = {}; - }), - (t.exports = a); - }, - })), - (Qo = he({ - "../../node_modules/prop-types/factoryWithTypeCheckers.js"(e, t) { - var n = gr(), - r = Vo(), - i = br(), - o = vr(), - a = Ko(), - s = function () {}; - s = function (c) { - var p = "Warning: " + c; - typeof console < "u" && console.error(p); - try { - throw new Error(p); - } catch {} - }; - function l() { - return null; - } - t.exports = function (c, p) { - var u = typeof Symbol == "function" && Symbol.iterator, - f = "@@iterator"; - function b(S) { - var k = S && ((u && S[u]) || S[f]); - if (typeof k == "function") return k; - } - var m = "<>", - T = { - array: v("array"), - bigint: v("bigint"), - bool: v("boolean"), - func: v("function"), - number: v("number"), - object: v("object"), - string: v("string"), - symbol: v("symbol"), - any: P(), - arrayOf: R, - element: K(), - elementType: B(), - instanceOf: te, - node: Ue(), - objectOf: se, - oneOf: Q, - oneOfType: Ze, - shape: et, - exact: He, - }; - function F(S, k) { - return S === k - ? S !== 0 || 1 / S === 1 / k - : S !== S && k !== k; - } - function I(S, k) { - (this.message = S), - (this.data = k && typeof k == "object" ? k : {}), - (this.stack = ""); - } - I.prototype = Error.prototype; - function _(S) { - var k = {}, - H = 0; - function G(h, g, y, N, j, w, O) { - if (((N = N || m), (w = w || y), O !== i)) { - if (p) { - var U = new Error( - "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types", - ); - throw ((U.name = "Invariant Violation"), U); - } else if (typeof console < "u") { - var z = N + ":" + y; - !k[z] && - H < 3 && - (s( - "You are manually calling a React.PropTypes validation function for the `" + - w + - "` prop on `" + - N + - "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.", - ), - (k[z] = !0), - H++); - } - } - return g[y] == null - ? h - ? g[y] === null - ? new I( - "The " + - j + - " `" + - w + - "` is marked as required " + - ("in `" + N + "`, but its value is `null`."), - ) - : new I( - "The " + - j + - " `" + - w + - "` is marked as required in " + - ("`" + N + "`, but its value is `undefined`."), - ) - : null - : S(g, y, N, j, w); - } - var d = G.bind(null, !1); - return (d.isRequired = G.bind(null, !0)), d; - } - function v(S) { - function k(H, G, d, h, g, y) { - var N = H[G], - j = pe(N); - if (j !== S) { - var w = fe(N); - return new I( - "Invalid " + - h + - " `" + - g + - "` of type " + - ("`" + w + "` supplied to `" + d + "`, expected ") + - ("`" + S + "`."), - { expectedType: S }, - ); - } - return null; - } - return _(k); - } - function P() { - return _(l); - } - function R(S) { - function k(H, G, d, h, g) { - if (typeof S != "function") - return new I( - "Property `" + - g + - "` of component `" + - d + - "` has invalid PropType notation inside arrayOf.", - ); - var y = H[G]; - if (!Array.isArray(y)) { - var N = pe(y); - return new I( - "Invalid " + - h + - " `" + - g + - "` of type " + - ("`" + - N + - "` supplied to `" + - d + - "`, expected an array."), - ); - } - for (var j = 0; j < y.length; j++) { - var w = S(y, j, d, h, g + "[" + j + "]", i); - if (w instanceof Error) return w; - } - return null; - } - return _(k); - } - function K() { - function S(k, H, G, d, h) { - var g = k[H]; - if (!c(g)) { - var y = pe(g); - return new I( - "Invalid " + - d + - " `" + - h + - "` of type " + - ("`" + - y + - "` supplied to `" + - G + - "`, expected a single ReactElement."), - ); - } - return null; - } - return _(S); - } - function B() { - function S(k, H, G, d, h) { - var g = k[H]; - if (!n.isValidElementType(g)) { - var y = pe(g); - return new I( - "Invalid " + - d + - " `" + - h + - "` of type " + - ("`" + - y + - "` supplied to `" + - G + - "`, expected a single ReactElement type."), - ); - } - return null; - } - return _(S); - } - function te(S) { - function k(H, G, d, h, g) { - if (!(H[G] instanceof S)) { - var y = S.name || m, - N = we(H[G]); - return new I( - "Invalid " + - h + - " `" + - g + - "` of type " + - ("`" + N + "` supplied to `" + d + "`, expected ") + - ("instance of `" + y + "`."), - ); - } - return null; - } - return _(k); - } - function Q(S) { - if (!Array.isArray(S)) - return ( - arguments.length > 1 - ? s( - "Invalid arguments supplied to oneOf, expected an array, got " + - arguments.length + - " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).", - ) - : s( - "Invalid argument supplied to oneOf, expected an array.", - ), - l - ); - function k(H, G, d, h, g) { - for (var y = H[G], N = 0; N < S.length; N++) - if (F(y, S[N])) return null; - var j = JSON.stringify(S, function (w, O) { - var U = fe(O); - return U === "symbol" ? String(O) : O; - }); - return new I( - "Invalid " + - h + - " `" + - g + - "` of value `" + - String(y) + - "` " + - ("supplied to `" + d + "`, expected one of " + j + "."), - ); - } - return _(k); - } - function se(S) { - function k(H, G, d, h, g) { - if (typeof S != "function") - return new I( - "Property `" + - g + - "` of component `" + - d + - "` has invalid PropType notation inside objectOf.", - ); - var y = H[G], - N = pe(y); - if (N !== "object") - return new I( - "Invalid " + - h + - " `" + - g + - "` of type " + - ("`" + - N + - "` supplied to `" + - d + - "`, expected an object."), - ); - for (var j in y) - if (o(y, j)) { - var w = S(y, j, d, h, g + "." + j, i); - if (w instanceof Error) return w; - } - return null; - } - return _(k); - } - function Ze(S) { - if (!Array.isArray(S)) - return ( - s( - "Invalid argument supplied to oneOfType, expected an instance of array.", - ), - l - ); - for (var k = 0; k < S.length; k++) { - var H = S[k]; - if (typeof H != "function") - return ( - s( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + - Le(H) + - " at index " + - k + - ".", - ), - l - ); - } - function G(d, h, g, y, N) { - for (var j = [], w = 0; w < S.length; w++) { - var O = S[w], - U = O(d, h, g, y, N, i); - if (U == null) return null; - U.data && - o(U.data, "expectedType") && - j.push(U.data.expectedType); - } - var z = - j.length > 0 - ? ", expected one of type [" + j.join(", ") + "]" - : ""; - return new I( - "Invalid " + - y + - " `" + - N + - "` supplied to " + - ("`" + g + "`" + z + "."), - ); - } - return _(G); - } - function Ue() { - function S(k, H, G, d, h) { - return Ce(k[H]) - ? null - : new I( - "Invalid " + - d + - " `" + - h + - "` supplied to " + - ("`" + G + "`, expected a ReactNode."), - ); - } - return _(S); - } - function Re(S, k, H, G, d) { - return new I( - (S || "React class") + - ": " + - k + - " type `" + - H + - "." + - G + - "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + - d + - "`.", - ); - } - function et(S) { - function k(H, G, d, h, g) { - var y = H[G], - N = pe(y); - if (N !== "object") - return new I( - "Invalid " + - h + - " `" + - g + - "` of type `" + - N + - "` " + - ("supplied to `" + d + "`, expected `object`."), - ); - for (var j in S) { - var w = S[j]; - if (typeof w != "function") return Re(d, h, g, j, fe(w)); - var O = w(y, j, d, h, g + "." + j, i); - if (O) return O; - } - return null; - } - return _(k); - } - function He(S) { - function k(H, G, d, h, g) { - var y = H[G], - N = pe(y); - if (N !== "object") - return new I( - "Invalid " + - h + - " `" + - g + - "` of type `" + - N + - "` " + - ("supplied to `" + d + "`, expected `object`."), - ); - var j = r({}, H[G], S); - for (var w in j) { - var O = S[w]; - if (o(S, w) && typeof O != "function") - return Re(d, h, g, w, fe(O)); - if (!O) - return new I( - "Invalid " + - h + - " `" + - g + - "` key `" + - w + - "` supplied to `" + - d + - "`.\nBad object: " + - JSON.stringify(H[G], null, " ") + - ` -Valid keys: ` + - JSON.stringify(Object.keys(S), null, " "), - ); - var U = O(y, w, d, h, g + "." + w, i); - if (U) return U; - } - return null; - } - return _(k); - } - function Ce(S) { - switch (typeof S) { - case "number": - case "string": - case "undefined": - return !0; - case "boolean": - return !S; - case "object": - if (Array.isArray(S)) return S.every(Ce); - if (S === null || c(S)) return !0; - var k = b(S); - if (k) { - var H = k.call(S), - G; - if (k !== S.entries) { - for (; !(G = H.next()).done; ) - if (!Ce(G.value)) return !1; - } else - for (; !(G = H.next()).done; ) { - var d = G.value; - if (d && !Ce(d[1])) return !1; - } - } else return !1; - return !0; - default: - return !1; - } - } - function tt(S, k) { - return S === "symbol" - ? !0 - : k - ? k["@@toStringTag"] === "Symbol" || - (typeof Symbol == "function" && k instanceof Symbol) - : !1; - } - function pe(S) { - var k = typeof S; - return Array.isArray(S) - ? "array" - : S instanceof RegExp - ? "object" - : tt(k, S) - ? "symbol" - : k; - } - function fe(S) { - if (typeof S > "u" || S === null) return "" + S; - var k = pe(S); - if (k === "object") { - if (S instanceof Date) return "date"; - if (S instanceof RegExp) return "regexp"; - } - return k; - } - function Le(S) { - var k = fe(S); - switch (k) { - case "array": - case "object": - return "an " + k; - case "boolean": - case "date": - case "regexp": - return "a " + k; - default: - return k; - } - } - function we(S) { - return !S.constructor || !S.constructor.name - ? m - : S.constructor.name; - } - return ( - (T.checkPropTypes = a), - (T.resetWarningCache = a.resetWarningCache), - (T.PropTypes = T), - T - ); - }; - }, - })), - (Jo = he({ - "../../node_modules/prop-types/index.js"(e, t) { - (n = gr()), (r = !0), (t.exports = Qo()(n.isElement, r)); - var n, r; - }, - })), - (Xo = he({ - "../../node_modules/react-innertext/index.js"(e, t) { - var n = function (o) { - return Object.prototype.hasOwnProperty.call(o, "props"); - }, - r = function (o, a) { - return o + i(a); - }, - i = function (o) { - return o === null || typeof o == "boolean" || typeof o > "u" - ? "" - : typeof o == "number" - ? o.toString() - : typeof o == "string" - ? o - : Array.isArray(o) - ? o.reduce(r, "") - : n(o) && - Object.prototype.hasOwnProperty.call( - o.props, - "children", - ) - ? i(o.props.children) - : ""; - }; - (i.default = i), (t.exports = i); - }, - })), - (Zo = re.div(({ width: e, height: t, left: n, top: r }) => ({ - width: `${e}px`, - height: `${t}px`, - left: `${n}px`, - top: `${r}px`, - position: "relative", - overflow: "hidden", - }))); - Dn = "STORYBOOK_ADDON_ONBOARDING_CHANNEL"; - (ri = Er("function")), - (oi = (e) => e === null), - (Fn = (e) => - Object.prototype.toString.call(e).slice(8, -1) === "RegExp"), - (Bn = (e) => !ii(e) && !oi(e) && (ri(e) || typeof e == "object")), - (ii = Er("undefined")); - (ui = [ - "Array", - "ArrayBuffer", - "AsyncFunction", - "AsyncGenerator", - "AsyncGeneratorFunction", - "Date", - "Error", - "Function", - "Generator", - "GeneratorFunction", - "HTMLElement", - "Map", - "Object", - "Promise", - "RegExp", - "Set", - "WeakMap", - "WeakSet", - ]), - (pi = [ - "bigint", - "boolean", - "null", - "number", - "string", - "symbol", - "undefined", - ]); - hi = ["innerHTML", "ownerDocument", "style", "attributes", "nodeValue"]; - x.array = Array.isArray; - x.arrayOf = (e, t) => - !x.array(e) && !x.function(t) ? !1 : e.every((n) => t(n)); - x.asyncGeneratorFunction = (e) => kt(e) === "AsyncGeneratorFunction"; - x.asyncFunction = Ee("AsyncFunction"); - x.bigint = Qe("bigint"); - x.boolean = (e) => e === !0 || e === !1; - x.date = Ee("Date"); - x.defined = (e) => !x.undefined(e); - x.domElement = (e) => - x.object(e) && - !x.plainObject(e) && - e.nodeType === 1 && - x.string(e.nodeName) && - hi.every((t) => t in e); - x.empty = (e) => - (x.string(e) && e.length === 0) || - (x.array(e) && e.length === 0) || - (x.object(e) && - !x.map(e) && - !x.set(e) && - Object.keys(e).length === 0) || - (x.set(e) && e.size === 0) || - (x.map(e) && e.size === 0); - x.error = Ee("Error"); - x.function = Qe("function"); - x.generator = (e) => - x.iterable(e) && x.function(e.next) && x.function(e.throw); - x.generatorFunction = Ee("GeneratorFunction"); - x.instanceOf = (e, t) => - !e || !t ? !1 : Object.getPrototypeOf(e) === t.prototype; - x.iterable = (e) => - !x.nullOrUndefined(e) && x.function(e[Symbol.iterator]); - x.map = Ee("Map"); - x.nan = (e) => Number.isNaN(e); - x.null = (e) => e === null; - x.nullOrUndefined = (e) => x.null(e) || x.undefined(e); - x.number = (e) => Qe("number")(e) && !x.nan(e); - x.numericString = (e) => - x.string(e) && e.length > 0 && !Number.isNaN(Number(e)); - x.object = (e) => - !x.nullOrUndefined(e) && (x.function(e) || typeof e == "object"); - x.oneOf = (e, t) => (x.array(e) ? e.indexOf(t) > -1 : !1); - x.plainFunction = Ee("Function"); - x.plainObject = (e) => { - if (kt(e) !== "Object") return !1; - let t = Object.getPrototypeOf(e); - return t === null || t === Object.getPrototypeOf({}); - }; - x.primitive = (e) => x.null(e) || di(typeof e); - x.promise = Ee("Promise"); - x.propertyOf = (e, t, n) => { - if (!x.object(e) || !t) return !1; - let r = e[t]; - return x.function(n) ? n(r) : x.defined(r); - }; - x.regexp = Ee("RegExp"); - x.set = Ee("Set"); - x.string = Qe("string"); - x.symbol = Qe("symbol"); - x.undefined = Qe("undefined"); - x.weakMap = Ee("WeakMap"); - x.weakSet = Ee("WeakSet"); - M = x; - (bi = Be(Yo(), 1)), - (wr = Be(qo(), 1)), - (Ct = Be(rn(), 1)), - (Pt = Be(rn(), 1)), - (C = Be(Jo())), - (ht = - typeof window < "u" && - typeof document < "u" && - typeof navigator < "u"), - (vi = (function () { - for ( - var e = ["Edge", "Trident", "Firefox"], t = 0; - t < e.length; - t += 1 - ) - if (ht && navigator.userAgent.indexOf(e[t]) >= 0) return 1; - return 0; - })()); - (wi = ht && window.Promise), (Si = wi ? Ei : Oi); - (Yn = ht && !!(window.MSInputMethodContext && document.documentMode)), - (qn = ht && /MSIE 10/.test(navigator.userAgent)); - (Ci = function (e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function"); - }), - (Pi = (function () { - function e(t, n) { - for (var r = 0; r < n.length; r++) { - var i = n[r]; - (i.enumerable = i.enumerable || !1), - (i.configurable = !0), - "value" in i && (i.writable = !0), - Object.defineProperty(t, i.key, i); - } - } - return function (t, n, r) { - return n && e(t.prototype, n), r && e(t, r), t; - }; - })()), - (Ke = function (e, t, n) { - return ( - t in e - ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (e[t] = n), - e - ); - }), - (de = - Object.assign || - function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var r in n) - Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); - } - return e; - }); - Ui = ht && /Firefox/i.test(navigator.userAgent); - (Dr = [ - "auto-start", - "auto", - "auto-end", - "top-start", - "top", - "top-end", - "right-start", - "right", - "right-end", - "bottom-end", - "bottom", - "bottom-start", - "left-end", - "left", - "left-start", - ]), - (Vt = Dr.slice(3)); - Kt = { - FLIP: "flip", - CLOCKWISE: "clockwise", - COUNTERCLOCKWISE: "counterclockwise", - }; - (ea = { - shift: { order: 100, enabled: !0, fn: Ji }, - offset: { order: 200, enabled: !0, fn: Ki, offset: 0 }, - preventOverflow: { - order: 300, - enabled: !0, - fn: Qi, - priority: ["left", "right", "top", "bottom"], - padding: 5, - boundariesElement: "scrollParent", - }, - keepTogether: { order: 400, enabled: !0, fn: qi }, - arrow: { order: 500, enabled: !0, fn: Gi, element: "[x-arrow]" }, - flip: { - order: 600, - enabled: !0, - fn: Yi, - behavior: "flip", - padding: 5, - boundariesElement: "viewport", - flipVariations: !1, - flipVariationsByContent: !1, - }, - inner: { order: 700, enabled: !1, fn: Zi }, - hide: { order: 800, enabled: !0, fn: Xi }, - computeStyle: { - order: 850, - enabled: !0, - fn: Hi, - gpuAcceleration: !0, - x: "bottom", - y: "right", - }, - applyStyle: { - order: 900, - enabled: !0, - fn: Fi, - onLoad: Bi, - gpuAcceleration: void 0, - }, - }), - (ta = { - placement: "bottom", - positionFixed: !1, - eventsEnabled: !0, - removeOnDestroy: !1, - onCreate: function () {}, - onUpdate: function () {}, - modifiers: ea, - }), - (Mt = (function () { - function e(t, n) { - var r = this, - i = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : {}; - Ci(this, e), - (this.scheduleUpdate = function () { - return requestAnimationFrame(r.update); - }), - (this.update = Si(this.update.bind(this))), - (this.options = de({}, e.Defaults, i)), - (this.state = { - isDestroyed: !1, - isCreated: !1, - scrollParents: [], - }), - (this.reference = t && t.jquery ? t[0] : t), - (this.popper = n && n.jquery ? n[0] : n), - (this.options.modifiers = {}), - Object.keys(de({}, e.Defaults.modifiers, i.modifiers)).forEach( - function (a) { - r.options.modifiers[a] = de( - {}, - e.Defaults.modifiers[a] || {}, - i.modifiers ? i.modifiers[a] : {}, - ); - }, - ), - (this.modifiers = Object.keys(this.options.modifiers) - .map(function (a) { - return de({ name: a }, r.options.modifiers[a]); - }) - .sort(function (a, s) { - return a.order - s.order; - })), - this.modifiers.forEach(function (a) { - a.enabled && - Sr(a.onLoad) && - a.onLoad(r.reference, r.popper, r.options, a, r.state); - }), - this.update(); - var o = this.options.eventsEnabled; - o && this.enableEventListeners(), (this.state.eventsEnabled = o); - } - return ( - Pi(e, [ - { - key: "update", - value: function () { - return Ai.call(this); - }, - }, - { - key: "destroy", - value: function () { - return Ni.call(this); - }, - }, - { - key: "enableEventListeners", - value: function () { - return Mi.call(this); - }, - }, - { - key: "disableEventListeners", - value: function () { - return Li.call(this); - }, - }, - ]), - e - ); - })()); - Mt.Utils = window.PopperUtils; - Mt.placements = Dr; - Mt.Defaults = ta; - (Qn = Mt), - (en = Be(rn())), - (na = [ - "innerHTML", - "ownerDocument", - "style", - "attributes", - "nodeValue", - ]), - (ra = [ - "Array", - "ArrayBuffer", - "AsyncFunction", - "AsyncGenerator", - "AsyncGeneratorFunction", - "Date", - "Error", - "Function", - "Generator", - "GeneratorFunction", - "HTMLElement", - "Map", - "Object", - "Promise", - "RegExp", - "Set", - "WeakMap", - "WeakSet", - ]), - (oa = [ - "bigint", - "boolean", - "null", - "number", - "string", - "symbol", - "undefined", - ]); - A.array = Array.isArray; - A.arrayOf = function (e, t) { - return !A.array(e) && !A.function(t) - ? !1 - : e.every(function (n) { - return t(n); - }); - }; - A.asyncGeneratorFunction = function (e) { - return jt(e) === "AsyncGeneratorFunction"; - }; - A.asyncFunction = Oe("AsyncFunction"); - A.bigint = Xe("bigint"); - A.boolean = function (e) { - return e === !0 || e === !1; - }; - A.date = Oe("Date"); - A.defined = function (e) { - return !A.undefined(e); - }; - A.domElement = function (e) { - return ( - A.object(e) && - !A.plainObject(e) && - e.nodeType === 1 && - A.string(e.nodeName) && - na.every(function (t) { - return t in e; - }) - ); - }; - A.empty = function (e) { - return ( - (A.string(e) && e.length === 0) || - (A.array(e) && e.length === 0) || - (A.object(e) && - !A.map(e) && - !A.set(e) && - Object.keys(e).length === 0) || - (A.set(e) && e.size === 0) || - (A.map(e) && e.size === 0) - ); - }; - A.error = Oe("Error"); - A.function = Xe("function"); - A.generator = function (e) { - return A.iterable(e) && A.function(e.next) && A.function(e.throw); - }; - A.generatorFunction = Oe("GeneratorFunction"); - A.instanceOf = function (e, t) { - return !e || !t ? !1 : Object.getPrototypeOf(e) === t.prototype; - }; - A.iterable = function (e) { - return !A.nullOrUndefined(e) && A.function(e[Symbol.iterator]); - }; - A.map = Oe("Map"); - A.nan = function (e) { - return Number.isNaN(e); - }; - A.null = function (e) { - return e === null; - }; - A.nullOrUndefined = function (e) { - return A.null(e) || A.undefined(e); - }; - A.number = function (e) { - return Xe("number")(e) && !A.nan(e); - }; - A.numericString = function (e) { - return A.string(e) && e.length > 0 && !Number.isNaN(Number(e)); - }; - A.object = function (e) { - return ( - !A.nullOrUndefined(e) && (A.function(e) || typeof e == "object") - ); - }; - A.oneOf = function (e, t) { - return A.array(e) ? e.indexOf(t) > -1 : !1; - }; - A.plainFunction = Oe("Function"); - A.plainObject = function (e) { - if (jt(e) !== "Object") return !1; - var t = Object.getPrototypeOf(e); - return t === null || t === Object.getPrototypeOf({}); - }; - A.primitive = function (e) { - return A.null(e) || aa(typeof e); - }; - A.promise = Oe("Promise"); - A.propertyOf = function (e, t, n) { - if (!A.object(e) || !t) return !1; - var r = e[t]; - return A.function(n) ? n(r) : A.defined(r); - }; - A.regexp = Oe("RegExp"); - A.set = Oe("Set"); - A.string = Xe("string"); - A.symbol = Xe("symbol"); - A.undefined = Xe("undefined"); - A.weakMap = Oe("WeakMap"); - A.weakSet = Oe("WeakSet"); - D = A; - (sa = Fr("function")), - (la = function (e) { - return e === null; - }), - (Jn = function (e) { - return Object.prototype.toString.call(e).slice(8, -1) === "RegExp"; - }), - (Xn = function (e) { - return !ca(e) && !la(e) && (sa(e) || typeof e == "object"); - }), - (ca = Fr("undefined")), - (tn = function (e) { - var t = typeof Symbol == "function" && Symbol.iterator, - n = t && e[t], - r = 0; - if (n) return n.call(e); - if (e && typeof e.length == "number") - return { - next: function () { - return ( - e && r >= e.length && (e = void 0), - { value: e && e[r++], done: !e } - ); - }, - }; - throw new TypeError( - t ? "Object is not iterable." : "Symbol.iterator is not defined.", - ); - }); - (wa = { flip: { padding: 20 }, preventOverflow: { padding: 10 } }), - (Sa = - "The typeValidator argument must be a function with the signature function(props, propName, componentName)."), - (Ta = - "The error message is optional, but must be a string if provided."); - (q = { - INIT: "init", - IDLE: "idle", - OPENING: "opening", - OPEN: "open", - CLOSING: "closing", - ERROR: "error", - }), - (ut = De.createPortal !== void 0); - Hr = (function (e) { - vt(n, e); - var t = Et(n); - function n() { - return gt(this, n), t.apply(this, arguments); - } - return ( - bt(n, [ - { - key: "componentDidMount", - value: function () { - Se() && - (this.node || this.appendNode(), ut || this.renderPortal()); - }, - }, - { - key: "componentDidUpdate", - value: function () { - Se() && (ut || this.renderPortal()); - }, - }, - { - key: "componentWillUnmount", - value: function () { - !Se() || - !this.node || - (ut || De.unmountComponentAtNode(this.node), - this.node && - this.node.parentNode === document.body && - (document.body.removeChild(this.node), - (this.node = void 0))); - }, - }, - { - key: "appendNode", - value: function () { - var r = this.props, - i = r.id, - o = r.zIndex; - this.node || - ((this.node = document.createElement("div")), - i && (this.node.id = i), - o && (this.node.style.zIndex = o), - document.body.appendChild(this.node)); - }, - }, - { - key: "renderPortal", - value: function () { - if (!Se()) return null; - var r = this.props, - i = r.children, - o = r.setRef; - if ((this.node || this.appendNode(), ut)) - return De.createPortal(i, this.node); - var a = De.unstable_renderSubtreeIntoContainer( - this, - i.length > 1 ? E.createElement("div", null, i) : i[0], - this.node, - ); - return o(a), null; - }, - }, - { - key: "renderReact16", - value: function () { - var r = this.props, - i = r.hasChildren, - o = r.placement, - a = r.target; - return i - ? this.renderPortal() - : a || o === "center" - ? this.renderPortal() - : null; - }, - }, - { - key: "render", - value: function () { - return ut ? this.renderReact16() : null; - }, - }, - ]), - n - ); - })(E.Component); - oe(Hr, "propTypes", { - children: C.default.oneOfType([C.default.element, C.default.array]), - hasChildren: C.default.bool, - id: C.default.oneOfType([C.default.string, C.default.number]), - placement: C.default.string, - setRef: C.default.func.isRequired, - target: C.default.oneOfType([C.default.object, C.default.string]), - zIndex: C.default.number, - }); - Gr = (function (e) { - vt(n, e); - var t = Et(n); - function n() { - return gt(this, n), t.apply(this, arguments); - } - return ( - bt(n, [ - { - key: "parentStyle", - get: function () { - var r = this.props, - i = r.placement, - o = r.styles, - a = o.arrow.length, - s = { - pointerEvents: "none", - position: "absolute", - width: "100%", - }; - return ( - i.startsWith("top") - ? ((s.bottom = 0), - (s.left = 0), - (s.right = 0), - (s.height = a)) - : i.startsWith("bottom") - ? ((s.left = 0), - (s.right = 0), - (s.top = 0), - (s.height = a)) - : i.startsWith("left") - ? ((s.right = 0), (s.top = 0), (s.bottom = 0)) - : i.startsWith("right") && - ((s.left = 0), (s.top = 0)), - s - ); - }, - }, - { - key: "render", - value: function () { - var r = this.props, - i = r.placement, - o = r.setArrowRef, - a = r.styles, - s = a.arrow, - l = s.color, - c = s.display, - p = s.length, - u = s.margin, - f = s.position, - b = s.spread, - m = { display: c, position: f }, - T, - F = b, - I = p; - return ( - i.startsWith("top") - ? ((T = "0,0 " - .concat(F / 2, ",") - .concat(I, " ") - .concat(F, ",0")), - (m.bottom = 0), - (m.marginLeft = u), - (m.marginRight = u)) - : i.startsWith("bottom") - ? ((T = "" - .concat(F, ",") - .concat(I, " ") - .concat(F / 2, ",0 0,") - .concat(I)), - (m.top = 0), - (m.marginLeft = u), - (m.marginRight = u)) - : i.startsWith("left") - ? ((I = b), - (F = p), - (T = "0,0 " - .concat(F, ",") - .concat(I / 2, " 0,") - .concat(I)), - (m.right = 0), - (m.marginTop = u), - (m.marginBottom = u)) - : i.startsWith("right") && - ((I = b), - (F = p), - (T = "" - .concat(F, ",") - .concat(I, " ") - .concat(F, ",0 0,") - .concat(I / 2)), - (m.left = 0), - (m.marginTop = u), - (m.marginBottom = u)), - E.createElement( - "div", - { - className: "__floater__arrow", - style: this.parentStyle, - }, - E.createElement( - "span", - { ref: o, style: m }, - E.createElement( - "svg", - { - width: F, - height: I, - version: "1.1", - xmlns: "http://www.w3.org/2000/svg", - }, - E.createElement("polygon", { points: T, fill: l }), - ), - ), - ) - ); - }, - }, - ]), - n - ); - })(E.Component); - oe(Gr, "propTypes", { - placement: C.default.string.isRequired, - setArrowRef: C.default.func.isRequired, - styles: C.default.object.isRequired, - }); - Na = ["color", "height", "width"]; - zr.propTypes = { - handleClick: C.default.func.isRequired, - styles: C.default.object.isRequired, - }; - Yr.propTypes = { - content: C.default.node.isRequired, - footer: C.default.node, - handleClick: C.default.func.isRequired, - open: C.default.bool, - positionWrapper: C.default.bool.isRequired, - showCloseButton: C.default.bool.isRequired, - styles: C.default.object.isRequired, - title: C.default.node, - }; - qr = (function (e) { - vt(n, e); - var t = Et(n); - function n() { - return gt(this, n), t.apply(this, arguments); - } - return ( - bt(n, [ - { - key: "style", - get: function () { - var r = this.props, - i = r.disableAnimation, - o = r.component, - a = r.placement, - s = r.hideArrow, - l = r.status, - c = r.styles, - p = c.arrow.length, - u = c.floater, - f = c.floaterCentered, - b = c.floaterClosing, - m = c.floaterOpening, - T = c.floaterWithAnimation, - F = c.floaterWithComponent, - I = {}; - return ( - s || - (a.startsWith("top") - ? (I.padding = "0 0 ".concat(p, "px")) - : a.startsWith("bottom") - ? (I.padding = "".concat(p, "px 0 0")) - : a.startsWith("left") - ? (I.padding = "0 ".concat(p, "px 0 0")) - : a.startsWith("right") && - (I.padding = "0 0 0 ".concat(p, "px"))), - [q.OPENING, q.OPEN].indexOf(l) !== -1 && - (I = ee(ee({}, I), m)), - l === q.CLOSING && (I = ee(ee({}, I), b)), - l === q.OPEN && !i && (I = ee(ee({}, I), T)), - a === "center" && (I = ee(ee({}, I), f)), - o && (I = ee(ee({}, I), F)), - ee(ee({}, u), I) - ); - }, - }, - { - key: "render", - value: function () { - var r = this.props, - i = r.component, - o = r.handleClick, - a = r.hideArrow, - s = r.setFloaterRef, - l = r.status, - c = {}, - p = ["__floater"]; - return ( - i - ? E.isValidElement(i) - ? (c.content = E.cloneElement(i, { closeFn: o })) - : (c.content = i({ closeFn: o })) - : (c.content = E.createElement(Yr, this.props)), - l === q.OPEN && p.push("__floater__open"), - a || (c.arrow = E.createElement(Gr, this.props)), - E.createElement( - "div", - { ref: s, className: p.join(" "), style: this.style }, - E.createElement( - "div", - { className: "__floater__body" }, - c.content, - c.arrow, - ), - ) - ); - }, - }, - ]), - n - ); - })(E.Component); - oe(qr, "propTypes", { - component: C.default.oneOfType([C.default.func, C.default.element]), - content: C.default.node, - disableAnimation: C.default.bool.isRequired, - footer: C.default.node, - handleClick: C.default.func.isRequired, - hideArrow: C.default.bool.isRequired, - open: C.default.bool, - placement: C.default.string.isRequired, - positionWrapper: C.default.bool.isRequired, - setArrowRef: C.default.func.isRequired, - setFloaterRef: C.default.func.isRequired, - showCloseButton: C.default.bool, - status: C.default.string.isRequired, - styles: C.default.object.isRequired, - title: C.default.node, - }); - $r = (function (e) { - vt(n, e); - var t = Et(n); - function n() { - return gt(this, n), t.apply(this, arguments); - } - return ( - bt(n, [ - { - key: "render", - value: function () { - var r = this.props, - i = r.children, - o = r.handleClick, - a = r.handleMouseEnter, - s = r.handleMouseLeave, - l = r.setChildRef, - c = r.setWrapperRef, - p = r.style, - u = r.styles, - f; - if (i) - if (E.Children.count(i) === 1) - if (!E.isValidElement(i)) - f = E.createElement("span", null, i); - else { - var b = D.function(i.type) ? "innerRef" : "ref"; - f = E.cloneElement(E.Children.only(i), oe({}, b, l)); - } - else f = i; - return f - ? E.createElement( - "span", - { - ref: c, - style: ee(ee({}, u), p), - onClick: o, - onMouseEnter: a, - onMouseLeave: s, - }, - f, - ) - : null; - }, - }, - ]), - n - ); - })(E.Component); - oe($r, "propTypes", { - children: C.default.node, - handleClick: C.default.func.isRequired, - handleMouseEnter: C.default.func.isRequired, - handleMouseLeave: C.default.func.isRequired, - setChildRef: C.default.func.isRequired, - setWrapperRef: C.default.func.isRequired, - style: C.default.object, - styles: C.default.object.isRequired, - }); - ka = { zIndex: 100 }; - (ja = ["arrow", "flip", "offset"]), - (La = ["position", "top", "right", "bottom", "left"]), - (fn = (function (e) { - vt(n, e); - var t = Et(n); - function n(r) { - var i; - return ( - gt(this, n), - (i = t.call(this, r)), - oe(Pe(i), "setArrowRef", function (o) { - i.arrowRef = o; - }), - oe(Pe(i), "setChildRef", function (o) { - i.childRef = o; - }), - oe(Pe(i), "setFloaterRef", function (o) { - i.floaterRef = o; - }), - oe(Pe(i), "setWrapperRef", function (o) { - i.wrapperRef = o; - }), - oe(Pe(i), "handleTransitionEnd", function () { - var o = i.state.status, - a = i.props.callback; - i.wrapperPopper && i.wrapperPopper.instance.update(), - i.setState( - { status: o === q.OPENING ? q.OPEN : q.IDLE }, - function () { - var s = i.state.status; - a(s === q.OPEN ? "open" : "close", i.props); - }, - ); - }), - oe(Pe(i), "handleClick", function () { - var o = i.props, - a = o.event, - s = o.open; - if (!D.boolean(s)) { - var l = i.state, - c = l.positionWrapper, - p = l.status; - (i.event === "click" || (i.event === "hover" && c)) && - (Rt({ - title: "click", - data: [ - { - event: a, - status: p === q.OPEN ? "closing" : "opening", - }, - ], - debug: i.debug, - }), - i.toggle()); - } - }), - oe(Pe(i), "handleMouseEnter", function () { - var o = i.props, - a = o.event, - s = o.open; - if (!(D.boolean(s) || Qt())) { - var l = i.state.status; - i.event === "hover" && - l === q.IDLE && - (Rt({ - title: "mouseEnter", - data: [{ key: "originalEvent", value: a }], - debug: i.debug, - }), - clearTimeout(i.eventDelayTimeout), - i.toggle()); - } - }), - oe(Pe(i), "handleMouseLeave", function () { - var o = i.props, - a = o.event, - s = o.eventDelay, - l = o.open; - if (!(D.boolean(l) || Qt())) { - var c = i.state, - p = c.status, - u = c.positionWrapper; - i.event === "hover" && - (Rt({ - title: "mouseLeave", - data: [{ key: "originalEvent", value: a }], - debug: i.debug, - }), - s - ? [q.OPENING, q.OPEN].indexOf(p) !== -1 && - !u && - !i.eventDelayTimeout && - (i.eventDelayTimeout = setTimeout(function () { - delete i.eventDelayTimeout, i.toggle(); - }, s * 1e3)) - : i.toggle(q.IDLE)); - } - }), - (i.state = { - currentPlacement: r.placement, - needsUpdate: !1, - positionWrapper: r.wrapperOptions.position && !!r.target, - status: q.INIT, - statusWrapper: q.INIT, - }), - (i._isMounted = !1), - (i.hasMounted = !1), - Se() && - window.addEventListener("load", function () { - i.popper && i.popper.instance.update(), - i.wrapperPopper && i.wrapperPopper.instance.update(); - }), - i - ); - } - return ( - bt(n, [ - { - key: "componentDidMount", - value: function () { - if (Se()) { - var r = this.state.positionWrapper, - i = this.props, - o = i.children, - a = i.open, - s = i.target; - (this._isMounted = !0), - Rt({ - title: "init", - data: { - hasChildren: !!o, - hasTarget: !!s, - isControlled: D.boolean(a), - positionWrapper: r, - target: this.target, - floater: this.floaterRef, - }, - debug: this.debug, - }), - this.hasMounted || - (this.initPopper(), (this.hasMounted = !0)), - !o && s && D.boolean(a); - } - }, - }, - { - key: "componentDidUpdate", - value: function (r, i) { - if (Se()) { - var o = this.props, - a = o.autoOpen, - s = o.open, - l = o.target, - c = o.wrapperOptions, - p = ga(i, this.state), - u = p.changedFrom, - f = p.changed; - if (r.open !== s) { - var b; - D.boolean(s) && (b = s ? q.OPENING : q.CLOSING), - this.toggle(b); - } - (r.wrapperOptions.position !== c.position || - r.target !== l) && - this.changeWrapperPosition(this.props), - f("status", q.IDLE) && s - ? this.toggle(q.OPEN) - : u("status", q.INIT, q.IDLE) && - a && - this.toggle(q.OPEN), - this.popper && - f("status", q.OPENING) && - this.popper.instance.update(), - this.floaterRef && - (f("status", q.OPENING) || f("status", q.CLOSING)) && - Aa( - this.floaterRef, - "transitionend", - this.handleTransitionEnd, - ), - f("needsUpdate", !0) && this.rebuildPopper(); - } - }, - }, - { - key: "componentWillUnmount", - value: function () { - Se() && - ((this._isMounted = !1), - this.popper && this.popper.instance.destroy(), - this.wrapperPopper && - this.wrapperPopper.instance.destroy()); - }, - }, - { - key: "initPopper", - value: function () { - var r = this, - i = - arguments.length > 0 && arguments[0] !== void 0 - ? arguments[0] - : this.target, - o = this.state.positionWrapper, - a = this.props, - s = a.disableFlip, - l = a.getPopper, - c = a.hideArrow, - p = a.offset, - u = a.placement, - f = a.wrapperOptions, - b = - u === "top" || u === "bottom" - ? "flip" - : [ - "right", - "bottom-end", - "top-end", - "left", - "top-start", - "bottom-start", - ]; - if (u === "center") this.setState({ status: q.IDLE }); - else if (i && this.floaterRef) { - var m = this.options, - T = m.arrow, - F = m.flip, - I = m.offset, - _ = Wr(m, ja); - new Qn(i, this.floaterRef, { - placement: u, - modifiers: ee( - { - arrow: ee( - { enabled: !c, element: this.arrowRef }, - T, - ), - flip: ee({ enabled: !s, behavior: b }, F), - offset: ee({ offset: "0, ".concat(p, "px") }, I), - }, - _, - ), - onCreate: function (P) { - var R; - if ( - ((r.popper = P), - !( - (R = r.floaterRef) !== null && - R !== void 0 && - R.isConnected - )) - ) { - r.setState({ needsUpdate: !0 }); - return; - } - l(P, "floater"), - r._isMounted && - r.setState({ - currentPlacement: P.placement, - status: q.IDLE, - }), - u !== P.placement && - setTimeout(function () { - P.instance.update(); - }, 1); - }, - onUpdate: function (P) { - r.popper = P; - var R = r.state.currentPlacement; - r._isMounted && - P.placement !== R && - r.setState({ currentPlacement: P.placement }); - }, - }); - } - if (o) { - var v = D.undefined(f.offset) ? 0 : f.offset; - new Qn(this.target, this.wrapperRef, { - placement: f.placement || u, - modifiers: { - arrow: { enabled: !1 }, - offset: { offset: "0, ".concat(v, "px") }, - flip: { enabled: !1 }, - }, - onCreate: function (P) { - (r.wrapperPopper = P), - r._isMounted && - r.setState({ statusWrapper: q.IDLE }), - l(P, "wrapper"), - u !== P.placement && - setTimeout(function () { - P.instance.update(); - }, 1); - }, - }); - } - }, - }, - { - key: "rebuildPopper", - value: function () { - var r = this; - this.floaterRefInterval = setInterval(function () { - var i; - (i = r.floaterRef) !== null && - i !== void 0 && - i.isConnected && - (clearInterval(r.floaterRefInterval), - r.setState({ needsUpdate: !1 }), - r.initPopper()); - }, 50); - }, - }, - { - key: "changeWrapperPosition", - value: function (r) { - var i = r.target, - o = r.wrapperOptions; - this.setState({ positionWrapper: o.position && !!i }); - }, - }, - { - key: "toggle", - value: function (r) { - var i = this.state.status, - o = i === q.OPEN ? q.CLOSING : q.OPENING; - D.undefined(r) || (o = r), this.setState({ status: o }); - }, - }, - { - key: "debug", - get: function () { - var r = this.props.debug; - return ( - r || - (Se() && - "ReactFloaterDebug" in window && - !!window.ReactFloaterDebug) - ); - }, - }, - { - key: "event", - get: function () { - var r = this.props, - i = r.disableHoverToClick, - o = r.event; - return o === "hover" && Qt() && !i ? "click" : o; - }, - }, - { - key: "options", - get: function () { - var r = this.props.options; - return (0, en.default)(wa, r || {}); - }, - }, - { - key: "styles", - get: function () { - var r = this, - i = this.state, - o = i.status, - a = i.positionWrapper, - s = i.statusWrapper, - l = this.props.styles, - c = (0, en.default)(Ma(l), l); - if (a) { - var p; - [q.IDLE].indexOf(o) === -1 || [q.IDLE].indexOf(s) === -1 - ? (p = c.wrapperPosition) - : (p = this.wrapperPopper.styles), - (c.wrapper = ee(ee({}, c.wrapper), p)); - } - if (this.target) { - var u = window.getComputedStyle(this.target); - this.wrapperStyles - ? (c.wrapper = ee( - ee({}, c.wrapper), - this.wrapperStyles, - )) - : ["relative", "static"].indexOf(u.position) === -1 && - ((this.wrapperStyles = {}), - a || - (La.forEach(function (f) { - r.wrapperStyles[f] = u[f]; - }), - (c.wrapper = ee( - ee({}, c.wrapper), - this.wrapperStyles, - )), - (this.target.style.position = "relative"), - (this.target.style.top = "auto"), - (this.target.style.right = "auto"), - (this.target.style.bottom = "auto"), - (this.target.style.left = "auto"))); - } - return c; - }, - }, - { - key: "target", - get: function () { - if (!Se()) return null; - var r = this.props.target; - return r - ? D.domElement(r) - ? r - : document.querySelector(r) - : this.childRef || this.wrapperRef; - }, - }, - { - key: "render", - value: function () { - var r = this.state, - i = r.currentPlacement, - o = r.positionWrapper, - a = r.status, - s = this.props, - l = s.children, - c = s.component, - p = s.content, - u = s.disableAnimation, - f = s.footer, - b = s.hideArrow, - m = s.id, - T = s.open, - F = s.showCloseButton, - I = s.style, - _ = s.target, - v = s.title, - P = E.createElement( - $r, - { - handleClick: this.handleClick, - handleMouseEnter: this.handleMouseEnter, - handleMouseLeave: this.handleMouseLeave, - setChildRef: this.setChildRef, - setWrapperRef: this.setWrapperRef, - style: I, - styles: this.styles.wrapper, - }, - l, - ), - R = {}; - return ( - o ? (R.wrapperInPortal = P) : (R.wrapperAsChildren = P), - E.createElement( - "span", - null, - E.createElement( - Hr, - { - hasChildren: !!l, - id: m, - placement: i, - setRef: this.setFloaterRef, - target: _, - zIndex: this.styles.options.zIndex, - }, - E.createElement(qr, { - component: c, - content: p, - disableAnimation: u, - footer: f, - handleClick: this.handleClick, - hideArrow: b || i === "center", - open: T, - placement: i, - positionWrapper: o, - setArrowRef: this.setArrowRef, - setFloaterRef: this.setFloaterRef, - showCloseButton: F, - status: a, - styles: this.styles, - title: v, - }), - R.wrapperInPortal, - ), - R.wrapperAsChildren, - ) - ); - }, - }, - ]), - n - ); - })(E.Component)); - oe(fn, "propTypes", { - autoOpen: C.default.bool, - callback: C.default.func, - children: C.default.node, - component: ar( - C.default.oneOfType([C.default.func, C.default.element]), - function (e) { - return !e.content; - }, - ), - content: ar(C.default.node, function (e) { - return !e.component; - }), - debug: C.default.bool, - disableAnimation: C.default.bool, - disableFlip: C.default.bool, - disableHoverToClick: C.default.bool, - event: C.default.oneOf(["hover", "click"]), - eventDelay: C.default.number, - footer: C.default.node, - getPopper: C.default.func, - hideArrow: C.default.bool, - id: C.default.oneOfType([C.default.string, C.default.number]), - offset: C.default.number, - open: C.default.bool, - options: C.default.object, - placement: C.default.oneOf([ - "top", - "top-start", - "top-end", - "bottom", - "bottom-start", - "bottom-end", - "left", - "left-start", - "left-end", - "right", - "right-start", - "right-end", - "auto", - "center", - ]), - showCloseButton: C.default.bool, - style: C.default.object, - styles: C.default.object, - target: C.default.oneOfType([C.default.object, C.default.string]), - title: C.default.node, - wrapperOptions: C.default.shape({ - offset: C.default.number, - placement: C.default.oneOf([ - "top", - "top-start", - "top-end", - "bottom", - "bottom-start", - "bottom-end", - "left", - "left-start", - "left-end", - "right", - "right-start", - "right-end", - "auto", - ]), - position: C.default.bool, - }), - }); - oe(fn, "defaultProps", { - autoOpen: !1, - callback: sr, - debug: !1, - disableAnimation: !1, - disableFlip: !1, - disableHoverToClick: !1, - event: "click", - eventDelay: 0.4, - getPopper: sr, - hideArrow: !1, - offset: 15, - placement: "bottom", - showCloseButton: !1, - styles: {}, - target: null, - wrapperOptions: { position: !1 }, - }); - (Da = Be(Xo(), 1)), - (Fa = Object.defineProperty), - (Ba = (e, t, n) => - t in e - ? Fa(e, t, { - enumerable: !0, - configurable: !0, - writable: !0, - value: n, - }) - : (e[t] = n)), - (L = (e, t, n) => (Ba(e, typeof t != "symbol" ? t + "" : t, n), n)), - ($ = { - INIT: "init", - START: "start", - STOP: "stop", - RESET: "reset", - PREV: "prev", - NEXT: "next", - GO: "go", - CLOSE: "close", - SKIP: "skip", - UPDATE: "update", - }), - (ve = { - TOUR_START: "tour:start", - STEP_BEFORE: "step:before", - BEACON: "beacon", - TOOLTIP: "tooltip", - STEP_AFTER: "step:after", - TOUR_END: "tour:end", - TOUR_STATUS: "tour:status", - TARGET_NOT_FOUND: "error:target_not_found", - ERROR: "error", - }), - (W = { - INIT: "init", - READY: "ready", - BEACON: "beacon", - TOOLTIP: "tooltip", - COMPLETE: "complete", - ERROR: "error", - }), - (Y = { - IDLE: "idle", - READY: "ready", - WAITING: "waiting", - RUNNING: "running", - PAUSED: "paused", - SKIPPED: "skipped", - FINISHED: "finished", - ERROR: "error", - }); - pt = it !== void 0; - (Xa = { - options: { preventOverflow: { boundariesElement: "scrollParent" } }, - wrapperOptions: { offset: -18, position: !0 }, - }), - (Jr = { - back: "Back", - close: "Close", - last: "Last", - next: "Next", - open: "Open the dialog", - skip: "Skip", - }), - (Za = { - event: "click", - placement: "bottom", - offset: 10, - disableBeacon: !1, - disableCloseOnEsc: !1, - disableOverlay: !1, - disableOverlayClose: !1, - disableScrollParentFix: !1, - disableScrolling: !1, - hideBackButton: !1, - hideCloseButton: !1, - hideFooter: !1, - isFixed: !1, - locale: Jr, - showProgress: !1, - showSkipButton: !1, - spotlightClicks: !1, - spotlightPadding: 10, - }), - (es = { - continuous: !1, - debug: !1, - disableCloseOnEsc: !1, - disableOverlay: !1, - disableOverlayClose: !1, - disableScrolling: !1, - disableScrollParentFix: !1, - getHelpers: void 0, - hideBackButton: !1, - run: !0, - scrollOffset: 20, - scrollDuration: 300, - scrollToFirstStep: !1, - showSkipButton: !1, - showProgress: !1, - spotlightClicks: !1, - spotlightPadding: 10, - steps: [], - }), - (ts = { - arrowColor: "#fff", - backgroundColor: "#fff", - beaconSize: 36, - overlayColor: "rgba(0, 0, 0, 0.5)", - primaryColor: "#f04", - spotlightShadow: "0 0 15px rgba(0, 0, 0, 0.5)", - textColor: "#333", - width: 380, - zIndex: 100, - }), - (ft = { - backgroundColor: "transparent", - border: 0, - borderRadius: 0, - color: "#555", - cursor: "pointer", - fontSize: 16, - lineHeight: 1, - padding: 8, - WebkitAppearance: "none", - }), - (ur = { borderRadius: 4, position: "absolute" }); - (Zr = { - action: "init", - controlled: !1, - index: 0, - lifecycle: W.INIT, - origin: null, - size: 0, - status: Y.IDLE, - }), - (fr = Ka(Qr(Zr, "controlled", "size"))), - (os = class { - constructor(e) { - L(this, "beaconPopper"), - L(this, "tooltipPopper"), - L(this, "data", new Map()), - L(this, "listener"), - L(this, "store", new Map()), - L(this, "addListener", (i) => { - this.listener = i; - }), - L(this, "setSteps", (i) => { - let { size: o, status: a } = this.getState(), - s = { size: i.length, status: a }; - this.data.set("steps", i), - a === Y.WAITING && !o && i.length && (s.status = Y.RUNNING), - this.setState(s); - }), - L(this, "getPopper", (i) => - i === "beacon" ? this.beaconPopper : this.tooltipPopper, - ), - L(this, "setPopper", (i, o) => { - i === "beacon" - ? (this.beaconPopper = o) - : (this.tooltipPopper = o); - }), - L(this, "cleanupPoppers", () => { - (this.beaconPopper = null), (this.tooltipPopper = null); - }), - L(this, "close", (i = null) => { - let { index: o, status: a } = this.getState(); - a === Y.RUNNING && - this.setState({ - ...this.getNextState({ - action: $.CLOSE, - index: o + 1, - origin: i, - }), - }); - }), - L(this, "go", (i) => { - let { controlled: o, status: a } = this.getState(); - if (o || a !== Y.RUNNING) return; - let s = this.getSteps()[i]; - this.setState({ - ...this.getNextState({ action: $.GO, index: i }), - status: s ? a : Y.FINISHED, - }); - }), - L(this, "info", () => this.getState()), - L(this, "next", () => { - let { index: i, status: o } = this.getState(); - o === Y.RUNNING && - this.setState( - this.getNextState({ action: $.NEXT, index: i + 1 }), - ); - }), - L(this, "open", () => { - let { status: i } = this.getState(); - i === Y.RUNNING && - this.setState({ - ...this.getNextState({ - action: $.UPDATE, - lifecycle: W.TOOLTIP, - }), - }); - }), - L(this, "prev", () => { - let { index: i, status: o } = this.getState(); - o === Y.RUNNING && - this.setState({ - ...this.getNextState({ action: $.PREV, index: i - 1 }), - }); - }), - L(this, "reset", (i = !1) => { - let { controlled: o } = this.getState(); - o || - this.setState({ - ...this.getNextState({ action: $.RESET, index: 0 }), - status: i ? Y.RUNNING : Y.READY, - }); - }), - L(this, "skip", () => { - let { status: i } = this.getState(); - i === Y.RUNNING && - this.setState({ - action: $.SKIP, - lifecycle: W.INIT, - status: Y.SKIPPED, - }); - }), - L(this, "start", (i) => { - let { index: o, size: a } = this.getState(); - this.setState({ - ...this.getNextState( - { action: $.START, index: M.number(i) ? i : o }, - !0, - ), - status: a ? Y.RUNNING : Y.WAITING, - }); - }), - L(this, "stop", (i = !1) => { - let { index: o, status: a } = this.getState(); - [Y.FINISHED, Y.SKIPPED].includes(a) || - this.setState({ - ...this.getNextState({ - action: $.STOP, - index: o + (i ? 1 : 0), - }), - status: Y.PAUSED, - }); - }), - L(this, "update", (i) => { - var o, a; - if (!$a(i, fr)) - throw new Error( - `State is not valid. Valid keys: ${fr.join(", ")}`, - ); - this.setState({ - ...this.getNextState( - { - ...this.getState(), - ...i, - action: (o = i.action) != null ? o : $.UPDATE, - origin: (a = i.origin) != null ? a : null, - }, - !0, - ), - }); - }); - let { continuous: t = !1, stepIndex: n, steps: r = [] } = e ?? {}; - this.setState( - { - action: $.INIT, - controlled: M.number(n), - continuous: t, - index: M.number(n) ? n : 0, - lifecycle: W.INIT, - origin: null, - status: r.length ? Y.READY : Y.IDLE, - }, - !0, - ), - (this.beaconPopper = null), - (this.tooltipPopper = null), - (this.listener = null), - this.setSteps(r); - } - getState() { - return this.store.size - ? { - action: this.store.get("action") || "", - controlled: this.store.get("controlled") || !1, - index: parseInt(this.store.get("index"), 10), - lifecycle: this.store.get("lifecycle") || "", - origin: this.store.get("origin") || null, - size: this.store.get("size") || 0, - status: this.store.get("status") || "", - } - : { ...Zr }; - } - getNextState(e, t = !1) { - var n, r, i, o, a; - let { - action: s, - controlled: l, - index: c, - size: p, - status: u, - } = this.getState(), - f = M.number(e.index) ? e.index : c, - b = l && !t ? c : Math.min(Math.max(f, 0), p); - return { - action: (n = e.action) != null ? n : s, - controlled: l, - index: b, - lifecycle: (r = e.lifecycle) != null ? r : W.INIT, - origin: (i = e.origin) != null ? i : null, - size: (o = e.size) != null ? o : p, - status: b === p ? Y.FINISHED : (a = e.status) != null ? a : u, - }; - } - getSteps() { - let e = this.data.get("steps"); - return Array.isArray(e) ? e : []; - } - hasUpdatedState(e) { - let t = JSON.stringify(e), - n = JSON.stringify(this.getState()); - return t !== n; - } - setState(e, t = !1) { - let n = this.getState(), - { - action: r, - index: i, - lifecycle: o, - origin: a = null, - size: s, - status: l, - } = { ...n, ...e }; - this.store.set("action", r), - this.store.set("index", i), - this.store.set("lifecycle", o), - this.store.set("origin", a), - this.store.set("size", s), - this.store.set("status", l), - t && - (this.store.set("controlled", e.controlled), - this.store.set("continuous", e.continuous)), - this.listener && - this.hasUpdatedState(n) && - this.listener(this.getState()); - } - getHelpers() { - return { - close: this.close, - go: this.go, - info: this.info, - next: this.next, - open: this.open, - prev: this.prev, - reset: this.reset, - skip: this.skip, - }; - } - }); - (ss = as), - (ls = class extends xe { - constructor() { - super(...arguments), - L(this, "isActive", !1), - L(this, "resizeTimeout"), - L(this, "scrollTimeout"), - L(this, "scrollParent"), - L(this, "state", { - isScrolling: !1, - mouseOverSpotlight: !1, - showSpotlight: !0, - }), - L(this, "hideSpotlight", () => { - let { - continuous: e, - disableOverlay: t, - lifecycle: n, - } = this.props, - r = [W.BEACON, W.COMPLETE, W.ERROR]; - return t || (e ? r.includes(n) : n !== W.TOOLTIP); - }), - L(this, "handleMouseMove", (e) => { - let { mouseOverSpotlight: t } = this.state, - { - height: n, - left: r, - position: i, - top: o, - width: a, - } = this.spotlightStyles, - s = i === "fixed" ? e.clientY : e.pageY, - l = i === "fixed" ? e.clientX : e.pageX, - c = s >= o && s <= o + n, - p = l >= r && l <= r + a && c; - p !== t && this.updateState({ mouseOverSpotlight: p }); - }), - L(this, "handleScroll", () => { - let { target: e } = this.props, - t = ke(e); - if (this.scrollParent !== document) { - let { isScrolling: n } = this.state; - n || - this.updateState({ isScrolling: !0, showSpotlight: !1 }), - clearTimeout(this.scrollTimeout), - (this.scrollTimeout = window.setTimeout(() => { - this.updateState({ - isScrolling: !1, - showSpotlight: !0, - }); - }, 50)); - } else dt(t, "sticky") && this.updateState({}); - }), - L(this, "handleResize", () => { - clearTimeout(this.resizeTimeout), - (this.resizeTimeout = window.setTimeout(() => { - this.isActive && this.forceUpdate(); - }, 100)); - }); - } - componentDidMount() { - let { - debug: e, - disableScrolling: t, - disableScrollParentFix: n = !1, - target: r, - } = this.props, - i = ke(r); - (this.scrollParent = Lt(i ?? document.body, n, !0)), - (this.isActive = !0), - !t && - Ot(i, !0) && - je({ - title: - "step has a custom scroll parent and can cause trouble with scrolling", - data: [{ key: "parent", value: this.scrollParent }], - debug: e, - }), - window.addEventListener("resize", this.handleResize); - } - componentDidUpdate(e) { - var t; - let { lifecycle: n, spotlightClicks: r } = this.props, - { changed: i } = _t(e, this.props); - i("lifecycle", W.TOOLTIP) && - ((t = this.scrollParent) == null || - t.addEventListener("scroll", this.handleScroll, { - passive: !0, - }), - setTimeout(() => { - let { isScrolling: o } = this.state; - o || this.updateState({ showSpotlight: !0 }); - }, 100)), - (i("spotlightClicks") || - i("disableOverlay") || - i("lifecycle")) && - (r && n === W.TOOLTIP - ? window.addEventListener( - "mousemove", - this.handleMouseMove, - !1, - ) - : n !== W.TOOLTIP && - window.removeEventListener( - "mousemove", - this.handleMouseMove, - )); - } - componentWillUnmount() { - var e; - (this.isActive = !1), - window.removeEventListener("mousemove", this.handleMouseMove), - window.removeEventListener("resize", this.handleResize), - clearTimeout(this.resizeTimeout), - clearTimeout(this.scrollTimeout), - (e = this.scrollParent) == null || - e.removeEventListener("scroll", this.handleScroll); - } - get overlayStyles() { - let { mouseOverSpotlight: e } = this.state, - { - disableOverlayClose: t, - placement: n, - styles: r, - } = this.props, - i = r.overlay; - return ( - cr() && - (i = - n === "center" ? r.overlayLegacyCenter : r.overlayLegacy), - { - cursor: t ? "default" : "pointer", - height: Wa(), - pointerEvents: e ? "none" : "auto", - ...i, - } - ); - } - get spotlightStyles() { - var e, t, n; - let { showSpotlight: r } = this.state, - { - disableScrollParentFix: i = !1, - spotlightClicks: o, - spotlightPadding: a = 0, - styles: s, - target: l, - } = this.props, - c = ke(l), - p = Vr(c), - u = dt(c), - f = za(c, a, i); - return { - ...(cr() ? s.spotlightLegacy : s.spotlight), - height: Math.round(((e = p?.height) != null ? e : 0) + a * 2), - left: Math.round(((t = p?.left) != null ? t : 0) - a), - opacity: r ? 1 : 0, - pointerEvents: o ? "none" : "auto", - position: u ? "fixed" : "absolute", - top: f, - transition: "opacity 0.2s", - width: Math.round(((n = p?.width) != null ? n : 0) + a * 2), - }; - } - updateState(e) { - this.isActive && this.setState((t) => ({ ...t, ...e })); - } - render() { - let { showSpotlight: e } = this.state, - { onClickOverlay: t, placement: n } = this.props, - { - hideSpotlight: r, - overlayStyles: i, - spotlightStyles: o, - } = this; - if (r()) return null; - let a = n !== "center" && e && V(ss, { styles: o }); - if (Kr() === "safari") { - let { mixBlendMode: s, zIndex: l, ...c } = i; - (a = V("div", { style: { ...c } }, a)), - delete i.backgroundColor; - } - return V( - "div", - { - className: "react-joyride__overlay", - "data-test-id": "overlay", - onClick: t, - role: "presentation", - style: i, - }, - a, - ); - } - }), - (cs = class extends xe { - constructor() { - super(...arguments), L(this, "node", null); - } - componentDidMount() { - let { id: e } = this.props; - Ae() && - ((this.node = document.createElement("div")), - (this.node.id = e), - document.body.appendChild(this.node), - pt || this.renderReact15()); - } - componentDidUpdate() { - Ae() && (pt || this.renderReact15()); - } - componentWillUnmount() { - !Ae() || - !this.node || - (pt || En(this.node), - this.node.parentNode === document.body && - (document.body.removeChild(this.node), (this.node = null))); - } - renderReact15() { - if (!Ae()) return; - let { children: e } = this.props; - this.node && On(this, e, this.node); - } - renderReact16() { - if (!Ae() || !pt) return null; - let { children: e } = this.props; - return this.node ? it(e, this.node) : null; - } - render() { - return pt ? this.renderReact16() : null; - } - }), - (us = class { - constructor(e, t) { - if ( - (L(this, "element"), - L(this, "options"), - L(this, "canBeTabbed", (n) => { - let { tabIndex: r } = n; - return r === null || r < 0 ? !1 : this.canHaveFocus(n); - }), - L(this, "canHaveFocus", (n) => { - let r = /input|select|textarea|button|object/, - i = n.nodeName.toLowerCase(); - return ( - ((r.test(i) && !n.getAttribute("disabled")) || - (i === "a" && !!n.getAttribute("href"))) && - this.isVisible(n) - ); - }), - L(this, "findValidTabElements", () => - [].slice - .call(this.element.querySelectorAll("*"), 0) - .filter(this.canBeTabbed), - ), - L(this, "handleKeyDown", (n) => { - let { code: r = "Tab" } = this.options; - n.code === r && this.interceptTab(n); - }), - L(this, "interceptTab", (n) => { - n.preventDefault(); - let r = this.findValidTabElements(), - { shiftKey: i } = n; - if (!r.length) return; - let o = document.activeElement - ? r.indexOf(document.activeElement) - : 0; - o === -1 || (!i && o + 1 === r.length) - ? (o = 0) - : i && o === 0 - ? (o = r.length - 1) - : (o += i ? -1 : 1), - r[o].focus(); - }), - L(this, "isHidden", (n) => { - let r = n.offsetWidth <= 0 && n.offsetHeight <= 0, - i = window.getComputedStyle(n); - return r && !n.innerHTML - ? !0 - : (r && i.getPropertyValue("overflow") !== "visible") || - i.getPropertyValue("display") === "none"; - }), - L(this, "isVisible", (n) => { - let r = n; - for (; r; ) - if (r instanceof HTMLElement) { - if (r === document.body) break; - if (this.isHidden(r)) return !1; - r = r.parentNode; - } - return !0; - }), - L(this, "removeScope", () => { - window.removeEventListener("keydown", this.handleKeyDown); - }), - L(this, "checkFocus", (n) => { - document.activeElement !== n && - (n.focus(), - window.requestAnimationFrame(() => this.checkFocus(n))); - }), - L(this, "setFocus", () => { - let { selector: n } = this.options; - if (!n) return; - let r = this.element.querySelector(n); - r && window.requestAnimationFrame(() => this.checkFocus(r)); - }), - !(e instanceof HTMLElement)) - ) - throw new TypeError( - "Invalid parameter: element must be an HTMLElement", - ); - (this.element = e), - (this.options = t), - window.addEventListener("keydown", this.handleKeyDown, !1), - this.setFocus(); - } - }), - (ps = class extends xe { - constructor(e) { - if ( - (super(e), - L(this, "beacon", null), - L(this, "setBeaconRef", (r) => { - this.beacon = r; - }), - e.beaconComponent) - ) - return; - let t = document.head || document.getElementsByTagName("head")[0], - n = document.createElement("style"); - (n.id = "joyride-beacon-animation"), - e.nonce && n.setAttribute("nonce", e.nonce), - n.appendChild( - document.createTextNode(` - @keyframes joyride-beacon-inner { - 20% { - opacity: 0.9; - } - - 90% { - opacity: 0.7; - } - } - - @keyframes joyride-beacon-outer { - 0% { - transform: scale(1); - } - - 45% { - opacity: 0.7; - transform: scale(0.75); - } - - 100% { - opacity: 0.9; - transform: scale(1); - } - } - `), - ), - t.appendChild(n); - } - componentDidMount() { - let { shouldFocus: e } = this.props; - M.domElement(this.beacon) || - console.warn("beacon is not a valid DOM element"), - setTimeout(() => { - M.domElement(this.beacon) && e && this.beacon.focus(); - }, 0); - } - componentWillUnmount() { - let e = document.getElementById("joyride-beacon-animation"); - e?.parentNode && e.parentNode.removeChild(e); - } - render() { - let { - beaconComponent: e, - continuous: t, - index: n, - isLastStep: r, - locale: i, - onClickOrHover: o, - size: a, - step: s, - styles: l, - } = this.props, - c = M.string(i.open) ? i.open : (0, Da.default)(i.open), - p = { - "aria-label": c, - onClick: o, - onMouseEnter: o, - ref: this.setBeaconRef, - title: c, - }, - u; - return ( - e - ? (u = V(e, { - continuous: t, - index: n, - isLastStep: r, - size: a, - step: s, - ...p, - })) - : (u = V( - "button", - { - key: "JoyrideBeacon", - className: "react-joyride__beacon", - "data-test-id": "button-beacon", - style: l.beacon, - type: "button", - ...p, - }, - V("span", { style: l.beaconInner }), - V("span", { style: l.beaconOuter }), - )), - u - ); - } - }); - ds = fs; - (ys = hs), - (ms = class extends xe { - constructor() { - super(...arguments), - L(this, "handleClickBack", (e) => { - e.preventDefault(); - let { helpers: t } = this.props; - t.prev(); - }), - L(this, "handleClickClose", (e) => { - e.preventDefault(); - let { helpers: t } = this.props; - t.close("button_close"); - }), - L(this, "handleClickPrimary", (e) => { - e.preventDefault(); - let { continuous: t, helpers: n } = this.props; - if (!t) { - n.close("button_primary"); - return; - } - n.next(); - }), - L(this, "handleClickSkip", (e) => { - e.preventDefault(); - let { helpers: t } = this.props; - t.skip(); - }), - L(this, "getElementsProps", () => { - let { - continuous: e, - isLastStep: t, - setTooltipRef: n, - step: r, - } = this.props, - i = Ne(r.locale.back), - o = Ne(r.locale.close), - a = Ne(r.locale.last), - s = Ne(r.locale.next), - l = Ne(r.locale.skip), - c = e ? s : o; - return ( - t && (c = a), - { - backProps: { - "aria-label": i, - "data-action": "back", - onClick: this.handleClickBack, - role: "button", - title: i, - }, - closeProps: { - "aria-label": o, - "data-action": "close", - onClick: this.handleClickClose, - role: "button", - title: o, - }, - primaryProps: { - "aria-label": c, - "data-action": "primary", - onClick: this.handleClickPrimary, - role: "button", - title: c, - }, - skipProps: { - "aria-label": l, - "data-action": "skip", - onClick: this.handleClickSkip, - role: "button", - title: l, - }, - tooltipProps: { - "aria-modal": !0, - ref: n, - role: "alertdialog", - }, - } - ); - }); - } - render() { - let { - continuous: e, - index: t, - isLastStep: n, - setTooltipRef: r, - size: i, - step: o, - } = this.props, - { beaconComponent: a, tooltipComponent: s, ...l } = o, - c; - if (s) { - let p = { - ...this.getElementsProps(), - continuous: e, - index: t, - isLastStep: n, - size: i, - step: l, - setTooltipRef: r, - }; - c = V(s, { ...p }); - } else - c = V(ys, { - ...this.getElementsProps(), - continuous: e, - index: t, - isLastStep: n, - size: i, - step: o, - }); - return c; - } - }), - (gs = class extends xe { - constructor() { - super(...arguments), - L(this, "scope", null), - L(this, "tooltip", null), - L(this, "handleClickHoverBeacon", (e) => { - let { step: t, store: n } = this.props; - (e.type === "mouseenter" && t.event !== "hover") || - n.update({ lifecycle: W.TOOLTIP }); - }), - L(this, "setTooltipRef", (e) => { - this.tooltip = e; - }), - L(this, "setPopper", (e, t) => { - var n; - let { - action: r, - lifecycle: i, - step: o, - store: a, - } = this.props; - t === "wrapper" - ? a.setPopper("beacon", e) - : a.setPopper("tooltip", e), - a.getPopper("beacon") && - a.getPopper("tooltip") && - i === W.INIT && - a.update({ action: r, lifecycle: W.READY }), - (n = o.floaterProps) != null && - n.getPopper && - o.floaterProps.getPopper(e, t); - }), - L(this, "renderTooltip", (e) => { - let { - continuous: t, - helpers: n, - index: r, - size: i, - step: o, - } = this.props; - return V(ms, { - continuous: t, - helpers: n, - index: r, - isLastStep: r + 1 === i, - setTooltipRef: this.setTooltipRef, - size: i, - step: o, - ...e, - }); - }); - } - componentDidMount() { - let { debug: e, index: t } = this.props; - je({ - title: `step:${t}`, - data: [{ key: "props", value: this.props }], - debug: e, - }); - } - componentDidUpdate(e) { - var t; - let { - action: n, - callback: r, - continuous: i, - controlled: o, - debug: a, - helpers: s, - index: l, - lifecycle: c, - status: p, - step: u, - store: f, - } = this.props, - { changed: b, changedFrom: m } = _t(e, this.props), - T = s.info(), - F = i && n !== $.CLOSE && (l > 0 || n === $.PREV), - I = b("action") || b("index") || b("lifecycle") || b("status"), - _ = m("lifecycle", [W.TOOLTIP, W.INIT], W.INIT), - v = b("action", [$.NEXT, $.PREV, $.SKIP, $.CLOSE]), - P = o && l === e.index; - if ( - (v && - (_ || P) && - r({ - ...T, - index: e.index, - lifecycle: W.COMPLETE, - step: e.step, - type: ve.STEP_AFTER, - }), - u.placement === "center" && - p === Y.RUNNING && - b("index") && - n !== $.START && - c === W.INIT && - f.update({ lifecycle: W.READY }), - I) - ) { - let R = ke(u.target), - K = !!R; - K && Ga(R) - ? (m("status", Y.READY, Y.RUNNING) || - m("lifecycle", W.INIT, W.READY)) && - r({ ...T, step: u, type: ve.STEP_BEFORE }) - : (console.warn( - K ? "Target not visible" : "Target not mounted", - u, - ), - r({ ...T, type: ve.TARGET_NOT_FOUND, step: u }), - o || f.update({ index: l + (n === $.PREV ? -1 : 1) })); - } - m("lifecycle", W.INIT, W.READY) && - f.update({ lifecycle: lr(u) || F ? W.TOOLTIP : W.BEACON }), - b("index") && - je({ - title: `step:${c}`, - data: [{ key: "props", value: this.props }], - debug: a, - }), - b("lifecycle", W.BEACON) && - r({ ...T, step: u, type: ve.BEACON }), - b("lifecycle", W.TOOLTIP) && - (r({ ...T, step: u, type: ve.TOOLTIP }), - this.tooltip && - ((this.scope = new us(this.tooltip, { - selector: "[data-action=primary]", - })), - this.scope.setFocus())), - m("lifecycle", [W.TOOLTIP, W.INIT], W.INIT) && - ((t = this.scope) == null || t.removeScope(), - f.cleanupPoppers()); - } - componentWillUnmount() { - var e; - (e = this.scope) == null || e.removeScope(); - } - get open() { - let { lifecycle: e, step: t } = this.props; - return lr(t) || e === W.TOOLTIP; - } - render() { - let { - continuous: e, - debug: t, - index: n, - nonce: r, - shouldScroll: i, - size: o, - step: a, - } = this.props, - s = ke(a.target); - return !Xr(a) || !M.domElement(s) - ? null - : V( - "div", - { - key: `JoyrideStep-${n}`, - className: "react-joyride__step", - }, - V( - fn, - { - ...a.floaterProps, - component: this.renderTooltip, - debug: t, - getPopper: this.setPopper, - id: `react-joyride-step-${n}`, - open: this.open, - placement: a.placement, - target: a.target, - }, - V(ps, { - beaconComponent: a.beaconComponent, - continuous: e, - index: n, - isLastStep: n + 1 === o, - locale: a.locale, - nonce: r, - onClickOrHover: this.handleClickHoverBeacon, - shouldFocus: i, - size: o, - step: a, - styles: a.styles, - }), - ), - ); - } - }), - (eo = class extends xe { - constructor(e) { - super(e), - L(this, "helpers"), - L(this, "store"), - L(this, "callback", (a) => { - let { callback: s } = this.props; - M.function(s) && s(a); - }), - L(this, "handleKeyboard", (a) => { - let { index: s, lifecycle: l } = this.state, - { steps: c } = this.props, - p = c[s]; - l === W.TOOLTIP && - a.code === "Escape" && - p && - !p.disableCloseOnEsc && - this.store.close("keyboard"); - }), - L(this, "handleClickOverlay", () => { - let { index: a } = this.state, - { steps: s } = this.props; - qe(this.props, s[a]).disableOverlayClose || - this.helpers.close("overlay"); - }), - L(this, "syncState", (a) => { - this.setState(a); - }); - let { debug: t, getHelpers: n, run: r, stepIndex: i } = e; - (this.store = is({ ...e, controlled: r && M.number(i) })), - (this.helpers = this.store.getHelpers()); - let { addListener: o } = this.store; - je({ - title: "init", - data: [ - { key: "props", value: this.props }, - { key: "state", value: this.state }, - ], - debug: t, - }), - o(this.syncState), - n && n(this.helpers), - (this.state = this.store.getState()); - } - componentDidMount() { - if (!Ae()) return; - let { - debug: e, - disableCloseOnEsc: t, - run: n, - steps: r, - } = this.props, - { start: i } = this.store; - pr(r, e) && n && i(), - t || - document.body.addEventListener( - "keydown", - this.handleKeyboard, - { passive: !0 }, - ); - } - componentDidUpdate(e, t) { - if (!Ae()) return; - let { - action: n, - controlled: r, - index: i, - lifecycle: o, - status: a, - } = this.state, - { debug: s, run: l, stepIndex: c, steps: p } = this.props, - { stepIndex: u, steps: f } = e, - { - reset: b, - setSteps: m, - start: T, - stop: F, - update: I, - } = this.store, - { changed: _ } = _t(e, this.props), - { changed: v, changedFrom: P } = _t(t, this.state), - R = qe(this.props, p[i]), - K = !ae(f, p), - B = M.number(c) && _("stepIndex"), - te = ke(R.target); - if ( - (K && - (pr(p, s) ? m(p) : console.warn("Steps are not valid", p)), - _("run") && (l ? T(c) : F()), - B) - ) { - let se = M.number(u) && u < c ? $.NEXT : $.PREV; - n === $.STOP && (se = $.START), - [Y.FINISHED, Y.SKIPPED].includes(a) || - I({ - action: n === $.CLOSE ? $.CLOSE : se, - index: c, - lifecycle: W.INIT, - }); - } - !r && - a === Y.RUNNING && - i === 0 && - !te && - (this.store.update({ index: i + 1 }), - this.callback({ - ...this.state, - type: ve.TARGET_NOT_FOUND, - step: R, - })); - let Q = { ...this.state, index: i, step: R }; - if ( - v("action", [$.NEXT, $.PREV, $.SKIP, $.CLOSE]) && - v("status", Y.PAUSED) - ) { - let se = qe(this.props, p[t.index]); - this.callback({ - ...Q, - index: t.index, - lifecycle: W.COMPLETE, - step: se, - type: ve.STEP_AFTER, - }); - } - if (v("status", [Y.FINISHED, Y.SKIPPED])) { - let se = qe(this.props, p[t.index]); - r || - this.callback({ - ...Q, - index: t.index, - lifecycle: W.COMPLETE, - step: se, - type: ve.STEP_AFTER, - }), - this.callback({ - ...Q, - type: ve.TOUR_END, - step: se, - index: t.index, - }), - b(); - } else - P("status", [Y.IDLE, Y.READY], Y.RUNNING) - ? this.callback({ ...Q, type: ve.TOUR_START }) - : (v("status") || v("action", $.RESET)) && - this.callback({ ...Q, type: ve.TOUR_STATUS }); - this.scrollToStep(t), - R.placement === "center" && - a === Y.RUNNING && - o === W.INIT && - this.store.update({ lifecycle: W.READY }); - } - componentWillUnmount() { - let { disableCloseOnEsc: e } = this.props; - e || - document.body.removeEventListener( - "keydown", - this.handleKeyboard, - ); - } - scrollToStep(e) { - let { index: t, lifecycle: n, status: r } = this.state, - { - debug: i, - disableScrollParentFix: o = !1, - scrollDuration: a, - scrollOffset: s = 20, - scrollToFirstStep: l = !1, - steps: c, - } = this.props, - p = qe(this.props, c[t]), - u = ke(p.target), - f = Ja({ - isFirstStep: t === 0, - lifecycle: n, - previousLifecycle: e.lifecycle, - scrollToFirstStep: l, - step: p, - target: u, - }); - if (r === Y.RUNNING && f) { - let b = Ot(u, o), - m = Lt(u, o), - T = Math.floor(Ya(u, s, o)) || 0; - je({ - title: "scrollToStep", - data: [ - { key: "index", value: t }, - { key: "lifecycle", value: n }, - { key: "status", value: r }, - ], - debug: i, - }); - let F = this.store.getPopper("beacon"), - I = this.store.getPopper("tooltip"); - if (n === W.BEACON && F) { - let { offsets: _, placement: v } = F; - !["bottom"].includes(v) && - !b && - (T = Math.floor(_.popper.top - s)); - } else if (n === W.TOOLTIP && I) { - let { flipped: _, offsets: v, placement: P } = I; - ["top", "right", "left"].includes(P) && !_ && !b - ? (T = Math.floor(v.popper.top - s)) - : (T -= p.spotlightPadding); - } - (T = T >= 0 ? T : 0), - r === Y.RUNNING && - qa(T, { element: m, duration: a }).then(() => { - setTimeout(() => { - var _; - (_ = this.store.getPopper("tooltip")) == null || - _.instance.update(); - }, 10); - }); - } - } - render() { - if (!Ae()) return null; - let { index: e, lifecycle: t, status: n } = this.state, - { - continuous: r = !1, - debug: i = !1, - nonce: o, - scrollToFirstStep: a = !1, - steps: s, - } = this.props, - l = n === Y.RUNNING, - c = {}; - if (l && s[e]) { - let p = qe(this.props, s[e]); - (c.step = V(gs, { - ...this.state, - callback: this.callback, - continuous: r, - debug: i, - helpers: this.helpers, - nonce: o, - shouldScroll: !p.disableScrolling && (e !== 0 || a), - step: p, - store: this.store, - })), - (c.overlay = V( - cs, - { id: "react-joyride-portal" }, - V(ls, { - ...p, - continuous: r, - debug: i, - lifecycle: t, - onClickOverlay: this.handleClickOverlay, - }), - )); - } - return V( - "div", - { className: "react-joyride" }, - c.step, - c.overlay, - ); - } - }); - L(eo, "defaultProps", es); - (bs = eo), - (vs = re.button` - all: unset; - box-sizing: border-box; - border: 0; - border-radius: 0.25rem; - cursor: pointer; - display: inline-flex; - align-items: center; - justify-content: center; - padding: 0 0.75rem; - background: ${({ theme: e, variant: t }) => (t === "primary" ? e.color.secondary : t === "secondary" ? e.color.lighter : t === "outline" ? "transparent" : t === "white" ? e.color.lightest : e.color.secondary)}; - color: ${({ theme: e, variant: t }) => (t === "primary" ? e.color.lightest : t === "secondary" || t === "outline" ? e.darkest : t === "white" ? e.color.secondary : e.color.lightest)}; - box-shadow: ${({ variant: e }) => (e === "secondary" || e === "outline" ? "#D9E8F2 0 0 0 1px inset" : "none")}; - height: 32px; - font-size: 0.8125rem; - font-weight: 700; - font-family: ${({ theme: e }) => e.typography.fonts.base}; - transition: background-color, box-shadow, color, opacity; - transition-duration: 0.16s; - transition-timing-function: ease-in-out; - text-decoration: none; - - &:hover { - background-color: ${({ theme: e, variant: t }) => (t === "primary" ? "#0b94eb" : t === "secondary" ? "#eef4f9" : t === "outline" ? "transparent" : t === "white" ? e.color.lightest : "#0b94eb")}; - color: ${({ theme: e, variant: t }) => (t === "primary" ? e.color.lightest : t === "secondary" || t === "outline" ? e.darkest : t === "white" ? e.color.darkest : e.color.lightest)}; - } - - &:focus { - box-shadow: ${({ variant: e }) => (e === "primary" ? "inset 0 0 0 1px rgba(0, 0, 0, 0.2)" : e === "secondary" || e === "outline" ? "inset 0 0 0 1px #0b94eb" : e === "white" ? "none" : "inset 0 0 0 2px rgba(0, 0, 0, 0.1)")}; - } -`), - (Es = Ut(function ( - { children: e, onClick: t, variant: n = "primary", ...r }, - i, - ) { - return E.createElement( - vs, - { ref: i, onClick: t, variant: n, ...r }, - e, - ); - })), - (Os = re.div` - padding: 15px; - border-radius: 5px; -`), - (ws = re.div` - display: flex; - flex-direction: column; - align-items: flex-start; -`), - (Ss = re.div` - display: flex; - align-items: center; - align-self: stretch; - justify-content: space-between; - margin: -5px -5px 5px 0; -`), - (Ts = re.div` - line-height: 18px; - font-weight: 700; - font-size: 14px; - margin: 5px 5px 5px 0; -`), - (Is = re.p` - font-size: 14px; - line-height: 18px; - text-align: start; - text-wrap: balance; - margin: 0; - margin-top: 5px; -`), - (Cs = re.div` - display: flex; - align-items: center; - justify-content: space-between; - margin-top: 15px; -`), - (Ps = re.span` - font-size: 13px; -`), - (Rs = ({ - index: e, - size: t, - step: n, - closeProps: r, - primaryProps: i, - tooltipProps: o, - }) => ( - ce(() => { - let a = document.createElement("style"); - return ( - (a.id = "#sb-onboarding-arrow-style"), - (a.innerHTML = ` - .__floater__arrow { container-type: size; } - .__floater__arrow span { background: ${It.secondary}; } - .__floater__arrow span::before, .__floater__arrow span::after { - content: ''; - display: block; - width: 2px; - height: 2px; - background: ${It.secondary}; - box-shadow: 0 0 0 2px ${It.secondary}; - border-radius: 3px; - flex: 0 0 2px; - } - @container (min-height: 1px) { - .__floater__arrow span { flex-direction: column; } - } - `), - document.head.appendChild(a), - () => { - let s = document.querySelector("#sb-onboarding-arrow-style"); - s && s.remove(); - } - ); - }, []), - E.createElement( - Os, - { ...o, style: n.styles?.tooltip }, - E.createElement( - ws, - null, - E.createElement( - Ss, - null, - n.title && E.createElement(Ts, null, n.title), - E.createElement( - Cn, - { ...r, onClick: r.onClick, variant: "solid" }, - E.createElement(Mn, null), - ), - ), - E.createElement(Is, null, n.content), - ), - E.createElement( - Cs, - { id: "buttonNext" }, - E.createElement(Ps, null, e + 1, " of ", t), - !n.hideNextButton && - E.createElement( - Es, - { - ...i, - onClick: n.onNextButtonClick || i.onClick, - variant: "white", - }, - e + 1 === t ? "Done" : "Next", - ), - ), - ) - )); - (xs = at({ from: { opacity: 0 }, to: { opacity: 1 } })), - (to = at({ - from: { transform: "translate(0, 20px)", opacity: 0 }, - to: { transform: "translate(0, 0)", opacity: 1 }, - })), - (As = at({ - from: { opacity: 0, transform: "scale(0.8)" }, - to: { opacity: 1, transform: "scale(1)" }, - })), - (Ns = at({ - "0%": { transform: "rotate(0deg)" }, - "100%": { transform: "rotate(360deg)" }, - })), - (ks = re.div(({ visible: e }) => ({ - position: "fixed", - top: 0, - left: 0, - right: 0, - bottom: 0, - display: "flex", - opacity: e ? 1 : 0, - alignItems: "center", - justifyContent: "center", - zIndex: 1e3, - transition: "opacity 1s 0.5s", - }))), - (Ms = re.div({ - position: "absolute", - top: 0, - left: 0, - right: 0, - bottom: 0, - animation: `${xs} 2s`, - background: ` - radial-gradient(90% 90%, #ff4785 0%, #db5698 30%, #1ea7fdcc 100%), - radial-gradient(circle, #ff4785 0%, transparent 80%), - radial-gradient(circle at 30% 40%, #fc521f99 0%, #fc521f66 20%, transparent 40%), - radial-gradient(circle at 75% 75%, #fc521f99 0%, #fc521f77 18%, transparent 30%)`, - "&::before": { - opacity: 0.5, - background: ` - radial-gradient(circle at 30% 40%, #fc521f99 0%, #fc521f66 10%, transparent 20%), - radial-gradient(circle at 75% 75%, #fc521f99 0%, #fc521f77 8%, transparent 20%)`, - content: '""', - position: "absolute", - top: "-50vw", - left: "-50vh", - transform: "translate(-50%, -50%)", - width: "calc(100vw + 100vh)", - height: "calc(100vw + 100vh)", - animation: `${Ns} 12s linear infinite`, - }, - })), - (js = re.div(({ visible: e }) => ({ - position: "absolute", - top: "50%", - left: "50%", - transform: "translate(-50%, -50%)", - color: "white", - textAlign: "center", - width: "90vw", - minWidth: 290, - maxWidth: 410, - opacity: e ? 1 : 0, - transition: "opacity 0.5s", - h1: { - fontSize: 45, - fontWeight: "bold", - animation: `${to} 1.5s 1s backwards`, - }, - }))), - (Ls = re.div({ - display: "flex", - marginTop: 40, - div: { - display: "flex", - flexBasis: "33.33%", - flexDirection: "column", - alignItems: "center", - animation: `${to} 1s backwards`, - "&:nth-child(1)": { animationDelay: "2s" }, - "&:nth-child(2)": { animationDelay: "2.5s" }, - "&:nth-child(3)": { animationDelay: "3s" }, - }, - svg: { marginBottom: 10 }, - })), - (Ds = re.button({ - display: "inline-flex", - position: "relative", - alignItems: "center", - justifyContent: "center", - marginTop: 40, - width: 48, - height: 48, - padding: 0, - borderRadius: "50%", - border: 0, - outline: "none", - background: "rgba(255, 255, 255, 0.3)", - cursor: "pointer", - transition: "background 0.2s", - animation: `${As} 1.5s 4s backwards`, - "&:hover, &:focus": { background: "rgba(255, 255, 255, 0.4)" }, - })), - (Fs = re(kn)({ width: 30, color: "white" })), - (dr = re.svg(({ progress: e }) => ({ - position: "absolute", - top: -1, - left: -1, - width: "50px!important", - height: "50px!important", - transform: "rotate(-90deg)", - color: "white", - circle: { - r: "24", - cx: "25", - cy: "25", - fill: "transparent", - stroke: e ? "currentColor" : "transparent", - strokeWidth: "1", - strokeLinecap: "round", - strokeDasharray: Math.PI * 48, - }, - }))), - (Bs = ({ onDismiss: e, duration: t = 6e3 }) => { - let [n, r] = ue(-4e5 / t), - [i, o] = ue(!0), - a = n >= 100, - s = ze(() => { - o(!1); - let l = setTimeout(e, 1500); - return () => clearTimeout(l); - }, [e]); - return ( - ce(() => { - if (!t) return; - let l = 1e3 / 50, - c = 100 / (t / l), - p = setInterval(() => r((u) => u + c), l); - return () => clearInterval(p); - }, [t]), - ce(() => { - a && s(); - }, [a, s]), - E.createElement( - ks, - { visible: i }, - E.createElement(Ms, null), - E.createElement( - js, - { visible: i }, - E.createElement( - "h1", - null, - "Meet your new frontend workshop", - ), - E.createElement( - Ls, - null, - E.createElement( - "div", - null, - E.createElement( - "svg", - { - xmlns: "http://www.w3.org/2000/svg", - width: "33", - height: "32", - }, - E.createElement("path", { - d: "M4.06 0H32.5v28.44h-3.56V32H.5V3.56h3.56V0Zm21.33 7.11H4.06v21.33h21.33V7.11Z", - fill: "currentColor", - }), - ), - "Development", - ), - E.createElement( - "div", - null, - E.createElement( - "svg", - { - xmlns: "http://www.w3.org/2000/svg", - width: "32", - height: "32", - }, - E.createElement("path", { - d: "M15.95 32c-1.85 0-3.1-1.55-3.1-3.54 0-1.1.45-2.78 1.35-5.03.9-2.3 1.35-4.51 1.35-6.81a22.21 22.21 0 0 0-5.1 3.67c-2.5 2.47-4.95 4.9-7.55 4.9-1.6 0-2.9-1.1-2.9-2.43 0-1.46 1.35-2.91 4.3-3.62 1.45-.36 3.1-.75 4.95-1.06 1.8-.31 3.8-1.02 5.9-2.08a23.77 23.77 0 0 0-6.1-2.12C5.3 13.18 2.3 12.6 1 11.28.35 10.6 0 9.9 0 9.14 0 7.82 1.2 6.8 2.95 6.8c2.65 0 5.75 3.1 7.95 5.3 1.1 1.1 2.65 2.21 4.65 3.27v-.57c0-1.77-.15-3.23-.55-4.3-.8-2.11-2.05-5.43-2.05-6.97 0-2.04 1.3-3.54 3.1-3.54 1.75 0 3.1 1.41 3.1 3.54 0 1.06-.45 2.78-1.35 5.12-.9 2.35-1.35 4.6-1.35 6.72 2.85-1.59 2.5-1.41 4.95-3.5 2.35-2.29 4-3.7 4.9-4.23.95-.58 1.9-.84 2.9-.84 1.6 0 2.8.97 2.8 2.34 0 1.5-1.25 2.78-4.15 3.62-1.4.4-3.05.75-4.9 1.1-1.9.36-3.9 1.07-6.1 2.13a23.3 23.3 0 0 0 5.95 2.08c3.65.7 6.75 1.32 8.15 2.6.7.67 1.05 1.33 1.05 2.08 0 1.33-1.2 2.43-2.95 2.43-2.95 0-6.75-4.15-8.2-5.61-.7-.7-2.2-1.72-4.4-2.96v.57c0 1.9.45 4.03 1.3 6.32.85 2.3 1.3 3.94 1.3 4.95 0 2.08-1.35 3.54-3.1 3.54Z", - fill: "currentColor", - }), - ), - "Testing", - ), - E.createElement( - "div", - null, - E.createElement( - "svg", - { - xmlns: "http://www.w3.org/2000/svg", - width: "33", - height: "32", - }, - E.createElement("path", { - d: "M.5 16a16 16 0 1 1 32 0 16 16 0 0 1-32 0Zm16 12.44A12.44 12.44 0 0 1 4.3 13.53a8 8 0 1 0 9.73-9.73 12.44 12.44 0 1 1 2.47 24.64ZM12.06 16a4.44 4.44 0 1 1 0-8.89 4.44 4.44 0 0 1 0 8.89Z", - fill: "currentColor", - fillRule: "evenodd", - }), - ), - "Documentation", - ), - ), - E.createElement( - Ds, - { onClick: s }, - E.createElement(Fs, null), - E.createElement( - dr, - { xmlns: "http://www.w3.org/2000/svg" }, - E.createElement("circle", null), - ), - E.createElement( - dr, - { xmlns: "http://www.w3.org/2000/svg", progress: !0 }, - E.createElement("circle", { - strokeDashoffset: - Math.PI * - 48 * - (1 - Math.max(0, Math.min(n, 100)) / 100), - }), - ), - ), - ), - ) - ); - }), - (Ws = re.span(({ theme: e }) => ({ - display: "inline-flex", - borderRadius: 3, - padding: "0 5px", - marginBottom: -2, - opacity: 0.8, - fontFamily: e.typography.fonts.mono, - fontSize: 11, - border: e.base === "dark" ? e.color.darkest : e.color.lightest, - color: e.base === "dark" ? e.color.lightest : e.color.darkest, - backgroundColor: e.base === "dark" ? "black" : e.color.light, - boxSizing: "border-box", - lineHeight: "17px", - }))), - (Us = re.div(({ theme: e }) => ({ - background: e.background.content, - borderRadius: 3, - marginTop: 15, - padding: 10, - fontSize: e.typography.size.s1, - ".linenumber": { opacity: 0.5 }, - }))), - (Hs = qt()); - }); - J(); - X(); - Z(); - J(); - X(); - Z(); - Ye(); - Tt(); - zt(); - J(); - X(); - Z(); - var _c = __STORYBOOK_API__, - { - ActiveTabs: xc, - Consumer: Ac, - ManagerContext: Nc, - Provider: kc, - RequestResponseError: Mc, - addons: In, - combineParameters: jc, - controlOrMetaKey: Lc, - controlOrMetaSymbol: Dc, - eventMatchesShortcut: Fc, - eventToShortcut: Bc, - experimental_requestResponse: Wc, - isMacLike: Uc, - isShortcutTaken: Hc, - keyToSymbol: Gc, - merge: zc, - mockChannel: Yc, - optionOrAltSymbol: qc, - shortcutMatchesShortcut: $c, - shortcutToHumanString: Vc, - types: Kc, - useAddonState: Qc, - useArgTypes: Jc, - useArgs: Xc, - useChannel: Zc, - useGlobalTypes: eu, - useGlobals: tu, - useParameter: nu, - useSharedState: ru, - useStoryPrepared: ou, - useStorybookApi: iu, - useStorybookState: au, - } = __STORYBOOK_API__; - var zs = Gt(() => Promise.resolve().then(() => (ro(), no))); - In.register("@storybook/addon-onboarding", async (e) => { - let t = e.getUrlState(), - n = t.path === "/onboarding" || t.queryParams.onboarding === "true"; - e.once(Sn, () => { - if ( - !( - e.getData("example-button--primary") || - document.getElementById("example-button--primary") - ) - ) { - console.warn( - "[@storybook/addon-onboarding] It seems like you have finished the onboarding experience in Storybook! Therefore this addon is not necessary anymore and will not be loaded. You are free to remove it from your project. More info: https://github.com/storybookjs/storybook/tree/next/code/addons/onboarding#uninstalling", - ); - return; - } - if (!n || window.innerWidth < 730) return; - e.togglePanel(!0), - e.togglePanelPosition("bottom"), - e.setSelectedPanel("addon-controls"); - let r = document.createElement("div"); - (r.id = "storybook-addon-onboarding"), - document.body.appendChild(r), - De.render( - E.createElement( - Wt, - { fallback: E.createElement("div", null) }, - E.createElement(zs, { api: e }), - ), - r, - ); - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/docs/public/stories/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js deleted file mode 100644 index 717cf789..00000000 --- a/docs/public/stories/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +++ /dev/null @@ -1,74 +0,0 @@ -try { - (() => { - var T = __STORYBOOK_API__, - { - ActiveTabs: _, - Consumer: O, - ManagerContext: f, - Provider: A, - RequestResponseError: v, - addons: n, - combineParameters: P, - controlOrMetaKey: k, - controlOrMetaSymbol: x, - eventMatchesShortcut: M, - eventToShortcut: R, - experimental_requestResponse: w, - isMacLike: C, - isShortcutTaken: G, - keyToSymbol: I, - merge: K, - mockChannel: q, - optionOrAltSymbol: B, - shortcutMatchesShortcut: F, - shortcutToHumanString: Y, - types: j, - useAddonState: E, - useArgTypes: H, - useArgs: L, - useChannel: N, - useGlobalTypes: z, - useGlobals: D, - useParameter: J, - useSharedState: Q, - useStoryPrepared: U, - useStorybookApi: V, - useStorybookState: W, - } = __STORYBOOK_API__; - var c = (() => { - let e; - return ( - typeof window < "u" - ? (e = window) - : typeof globalThis < "u" - ? (e = globalThis) - : typeof window < "u" - ? (e = window) - : typeof self < "u" - ? (e = self) - : (e = {}), - e - ); - })(), - S = "tag-filters", - d = "static-filter"; - n.register(S, (e) => { - let u = Object.entries(c.TAGS_OPTIONS ?? {}).reduce((t, r) => { - let [o, i] = r; - return i.excludeFromSidebar && (t[o] = !0), t; - }, {}); - e.experimental_setFilter(d, (t) => { - let r = t.tags ?? []; - return ( - (r.includes("dev") || t.type === "docs") && - r.filter((o) => u[o]).length === 0 - ); - }); - }); - })(); -} catch (e) { - console.error( - "[Storybook] One of your manager-entries failed: " + import.meta.url, - e, - ); -} diff --git a/docs/public/stories/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt b/docs/public/stories/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/public/stories/sb-common-assets/favicon.svg b/docs/public/stories/sb-common-assets/favicon.svg deleted file mode 100644 index 571f90fe..00000000 --- a/docs/public/stories/sb-common-assets/favicon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/public/stories/sb-common-assets/nunito-sans-bold-italic.woff2 b/docs/public/stories/sb-common-assets/nunito-sans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Cw(m)KuFy8+wwSE zF9Ru0M}5B~bFuF9KSZCETo=Y~9y~604WzqYur#d}Ax~mFAu)p<&AAAgj+{_ZjWdsH zi?GMx2GER%#JA^)BOu%b!Tp&$n127F$Kh%YSc(p%rM)6Ii*RoUCV&CVsK1vy4Rj81 zfYy=y+bz_fRFWr0JZl=~hk6jp8(_j}7kcC?2s>HZM>2w6WU^rVvz>VPul1?!2U+)v zuod&L$Yy;0d+FUJ{nuCimdVyeB9O^bx5le4KZfJ&cxtiVmX(5xath}^px((mqGSGy z@xi}^FOtS^#EZU7_m|=73b7_sSYwF>n}QPnzSV_^A!t(jCKQ<+* zk5B7w9~QK`ptgki5!|C%$~-8rXvk9Iqz5$@@4|UKQPd$xDO6Ey5{{32kBVicQc#4F zr4NOJvH*{f?*GJpwG{eXzkFLZl>L1&qSNjKjZUBeEu@0+?J(T{F``HUMswnKXtZ~ V?*A;^mHU5)!*1%;=ZwHT^Z<_iv?Txl diff --git a/docs/public/stories/sb-common-assets/nunito-sans-bold.woff2 b/docs/public/stories/sb-common-assets/nunito-sans-bold.woff2 deleted file mode 100644 index 19fcc944a152862670ea6adaa1cf3fd4926474fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 47144 zcmZU(V~j9N&@DK&ZQHhO+qP}nwr$(C?U`q6oBQ7V_Q&0OPbytWr8`xrAC=TO?Jh6I z1ON!|A37)i5dU*PR3ZQX?Zf{Q`(N?@Kd?f`u!CY8a56c-3;rZ3%NiDK*J@#XJugm)wJh-6Ja*T+?2&YdWu95FW5kWxK~}3kM8!c zIXYE;fpghaIR&^Iv3OcTK6cr{0G-(j(bQl6{s(O)gw|}`l4k4}L=vd@Q5vnU54T>R zs>Q_ES*pQB7+X}ktU;ZNGbuq`X}D3vcix&bF2bw3EM1`=1u%2yHtrMIaIPX_4T#>n z(KWaY>p0yKwFILND7H(Oh0EU8se>@QCsX>mF`6Ch943tEX4BU!mSR|PEDod)W`Zv| zSAfwSCG2t|*&S#!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docs/public/stories/sb-common-assets/nunito-sans-italic.woff2 deleted file mode 100644 index 827096daec30f761f6b910650db2c80183227c3b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 49620 zcmY&-V~j3L(Cpf_ZQHhO+d6C8w$9pm*0yciwt05AlNj)_xFC#x(rBQ9$e?rJkfC5gZ}dXT z$Y7JOfPgtb$UqBuz=*&jv><2X;es@DiGY(~N}U64bThz2B|vt}g#PhZ_O*$V^9x78@YZ)uE*HKIWd{31qT*b|)N3rp&l{s!wv3Zr2=N0*?X$48l@)P3oJ`Ge z-|}*W+_?@@Pvcp1iwB9giBHUev!ts+N~#vMb5_p>AbH3-nNWokk61b5k|oIJroy)= zS%e4Be6eHW({jtHtltS9RZV|D^gdqF4%2XTL(f2UVaMb0M^x?aaEZ*&Rbd@(-d6i& zjx~S0k90NuKHXDa=Z?W*2U&xTjqdU4=%=DRqSP@jPEKS<5psHbcCXbP!YvVgRw$6q zdU`TLAO*WWF4vVXdRfVDa#8m+zX_mqKdQd#OB}T*Wq0YrPdrLUn3iw7wLLJ~sGHBG zg&YlRlZcm*CIsov%k;`R084Lj_#tvF8bY(^n3khoAXXQ*_x*^B8?k0SeB_?V?J6B! ziEN0_4ue61Jv3J&au+cP9E5!*FZ?5I|5*z95-lxynBS-B#*XtfHIKG?yMN6kRX3=i zTXsRE6&r7Xm;PY{v6^5hh}ET(aMq($Z0t?H`M&X&vCY8y8ot32W=YjBSV1dHbS;Gz z!HSn^``y@)4I~Q{VpP|cji3>)iZi)b=h5gT;jq&pn7b1tL{vsbT0jt{Ga6e2 z5*9~B5I&hlO6WYL={UO87aRJs_N+`^T0n)>1T5~u+GczVW*X4W zfpNpJ8gTNe|K2vxnyRLfvZgm@$2hFxKI>+}Jud8>SWl+*{I;P4@s?H*KHtw{T5G2* z01Y~inGfnM!RYlFwHbiMxxr1%&lEPq<959YETk64?>IN>x1VT&lq@U`qU2=~wtrY$ zRPRfIChS!tiFOm)e9$XRcphEh4p2qG#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I(k~z+N>2uDZCeBMTe1(stN zE0HOx+TARK^P;r5rXPJ9_fvu8a2?5twFtBJ7QJh=&Vk=8{z>@r+D|AiAm4vL{JfK& zcPl+}o$B1oFMQ*&j3xWA^H+j+Edt{sQzz|emRaIKGm`S#+^g2O)5>jzxRS1^<0=Fv zho6`G)1`O+;CsIIRHiJd6c|pgemuYV@RQtKqFW#RHfn#Qj@O(XA+D{a+8uJ){-;ul_(c; z+qOWQU^m9xX?vcEn!zVQAS783f;S}#@}d{Kxr;x|nKxnsiCZ<( z$AW5NP4FjH4`)(l`h&Wa>FI1V@ZXRl(jWOnUmI$aUlH=!F2MSkJ_Kp)Xg;0P9F!cS zAB~PEN2uQI2!@uT#XH4Vd~_$2O6Cv`1Zi+MOXq#dFLQ-l5yw13A| M&VP%l567&w0SV=I=Kufz diff --git a/docs/public/stories/sb-common-assets/nunito-sans-regular.woff2 b/docs/public/stories/sb-common-assets/nunito-sans-regular.woff2 deleted file mode 100644 index c527ba49cf63b3e9462f2a8f6e7f650ee28d1950..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 47072 zcmY(pL#!|iuQj@D>)Ez#+qP}nwr$(CZQHhO<9~0?EfeSc6@Ik}$!DnP(0#vmiUlU*_MqID{#sEGO$#+5l+7#1hpT1|==8e9HP;$&r zl?O~ZC6(Ju?H4=-)#p5oP@De#4|*BYgRE|3X+F1)$l`*NRfeD-37QiAnHV0*jFKW3 zs7!9EN=LhlZjNuY#hXRMsvm^}Rubj;i7!#0G(Gx)RM317XzYqpq^-GsFwMjdu+)!C zbtZ+wtz3I}r4bSNiiH#}*ZWMF&4Q9&(GfTyee=V*YR5ML9xti>5)sSJ8_H#&BcaKV z6^$wPf!NNK^@^wtjH@!b&k3l?vbM4nkGa`BUlhMFF%9C1CYP#+-p6n5tqq4x?Q8a^ zRVKx=)z@LWadnxBUIpp3=BgrxcX^75F&%y@`i8HxkGg|^BEUW z1(;*lJhwoKfq`e~d4QKJeS0MUML;Fkn5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MW>_Sfyfz zDI)Z;E&*5fcl-y;Kmv3OPgcr^VmJJWDuec@b8jDUa;qIgYoYiQx}RIAWvWMTv#el< z!eh&^Q(-&{SF~ZQCas!UGloz}yN~0wtfi+zRzj-S^Joi!0#?1xzot(nikm@`rk>C; zl@nC#eeD>r`uI5FT_kprMVa-jShGy^!Y$6&|C{z(^ZqczHD9l`ANzI24SyZKqd~NB zsrxym6nRHidb5`anV~UICT2oL800@$#5$v3&@z=XvKS~Q=7j7J)t^h?uf#sJvQkX@ z&a=lYIq2|nS8^dLw|OBm+UFav=S_Abxa-NsxqDiDgdd)Z;sy2siIUzT-e?2oE;HNN z%d?y8^UKD{3 ( - (r[o] = { - type: "esm", - varName: e[o], - namedExports: t[o], - defaultExport: !0, - }), - r - ), - {}, -); -export { S as globalsModuleInfoMap }; diff --git a/docs/public/stories/sb-manager/globals-runtime.js b/docs/public/stories/sb-manager/globals-runtime.js deleted file mode 100644 index df7dd086..00000000 --- a/docs/public/stories/sb-manager/globals-runtime.js +++ /dev/null @@ -1,59464 +0,0 @@ -var LM = Object.create; -var cd = Object.defineProperty; -var NM = Object.getOwnPropertyDescriptor; -var MM = Object.getOwnPropertyNames; -var BM = Object.getPrototypeOf, - $M = Object.prototype.hasOwnProperty; -var a = (e, t) => cd(e, "name", { value: t, configurable: !0 }), - uc = /* @__PURE__ */ ((e) => - typeof require < "u" - ? require - : typeof Proxy < "u" - ? new Proxy(e, { - get: (t, r) => (typeof require < "u" ? require : t)[r], - }) - : e)(function (e) { - if (typeof require < "u") return require.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); - }); -var T = (e, t) => () => (e && (t = e((e = 0))), t); -var F = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), - he = (e, t) => { - for (var r in t) cd(e, r, { get: t[r], enumerable: !0 }); - }, - zM = (e, t, r, n) => { - if ((t && typeof t == "object") || typeof t == "function") - for (let o of MM(t)) - !$M.call(e, o) && - o !== r && - cd(e, o, { - get: () => t[o], - enumerable: !(n = NM(t, o)) || n.enumerable, - }); - return e; - }; -var I = (e, t, r) => ( - (r = e != null ? LM(BM(e)) : {}), - zM( - // If the importer is in node compatibility mode or this is not an ESM - // file that has been converted to a CommonJS file using a Babel- - // compatible transform (i.e. "__esModule" has not been set), then set - // "default" to the CommonJS "module.exports" for node compatibility. - t || !e || !e.__esModule - ? cd(r, "default", { value: e, enumerable: !0 }) - : r, - e, - ) -); - -// ../node_modules/@storybook/global/dist/index.mjs -var H, - We = T(() => { - H = (() => { - let e; - return ( - typeof window < "u" - ? (e = window) - : typeof globalThis < "u" - ? (e = globalThis) - : typeof global < "u" - ? (e = global) - : typeof self < "u" - ? (e = self) - : (e = {}), - e - ); - })(); - }); - -// ../node_modules/react/cjs/react.production.min.js -var Ub = F((se) => { - "use strict"; - var mc = Symbol.for("react.element"), - mB = Symbol.for("react.portal"), - gB = Symbol.for("react.fragment"), - vB = Symbol.for( - "react.strict_mo\ -de", - ), - yB = Symbol.for("react.profiler"), - wB = Symbol.for("react.provider"), - bB = Symbol.for("react.context"), - SB = Symbol.for( - "react.forward\ -_ref", - ), - EB = Symbol.for("react.suspense"), - xB = Symbol.for("react.memo"), - CB = Symbol.for("react.lazy"), - Ob = Symbol.iterator; - function DB(e) { - return e === null || typeof e != "object" - ? null - : ((e = (Ob && e[Ob]) || e["@@iterator"]), - typeof e == "function" ? e : null); - } - a(DB, "A"); - var Mb = { - isMounted: /* @__PURE__ */ a(function () { - return !1; - }, "isMounted"), - enqueueForceUpdate: /* @__PURE__ */ a( - function () {}, - "enqueueForceUpdate", - ), - enqueueReplaceState: /* @__PURE__ */ a( - function () {}, - "enqueueReplaceState", - ), - enqueueSetState: /* @__PURE__ */ a(function () {}, "enqueueSetState"), - }, - Bb = Object.assign, - $b = {}; - function ms(e, t, r) { - (this.props = e), - (this.context = t), - (this.refs = $b), - (this.updater = r || Mb); - } - a(ms, "E"); - ms.prototype.isReactComponent = {}; - ms.prototype.setState = function (e, t) { - if (typeof e != "object" && typeof e != "function" && e != null) - throw Error( - "setState(...): takes an object of state variables to updat\ -e or a function which returns an object of state variables.", - ); - this.updater.enqueueSetState(this, e, t, "setState"); - }; - ms.prototype.forceUpdate = function (e) { - this.updater.enqueueForceUpdate(this, e, "forceUpdate"); - }; - function zb() {} - a(zb, "F"); - zb.prototype = ms.prototype; - function c2(e, t, r) { - (this.props = e), - (this.context = t), - (this.refs = $b), - (this.updater = r || Mb); - } - a(c2, "G"); - var p2 = (c2.prototype = new zb()); - p2.constructor = c2; - Bb(p2, ms.prototype); - p2.isPureReactComponent = !0; - var Lb = Array.isArray, - Hb = Object.prototype.hasOwnProperty, - f2 = { current: null }, - jb = { key: !0, ref: !0, __self: !0, __source: !0 }; - function Vb(e, t, r) { - var n, - o = {}, - i = null, - s = null; - if (t != null) - for (n in (t.ref !== void 0 && (s = t.ref), - t.key !== void 0 && (i = "" + t.key), - t)) - Hb.call(t, n) && !jb.hasOwnProperty(n) && (o[n] = t[n]); - var l = arguments.length - 2; - if (l === 1) o.children = r; - else if (1 < l) { - for (var u = Array(l), c = 0; c < l; c++) u[c] = arguments[c + 2]; - o.children = u; - } - if (e && e.defaultProps) - for (n in ((l = e.defaultProps), l)) o[n] === void 0 && (o[n] = l[n]); - return { - $$typeof: mc, - type: e, - key: i, - ref: s, - props: o, - _owner: f2.current, - }; - } - a(Vb, "M"); - function RB(e, t) { - return { - $$typeof: mc, - type: e.type, - key: t, - ref: e.ref, - props: e.props, - _owner: e._owner, - }; - } - a(RB, "N"); - function d2(e) { - return typeof e == "object" && e !== null && e.$$typeof === mc; - } - a(d2, "O"); - function AB(e) { - var t = { "=": "=0", ":": "=2" }; - return ( - "$" + - e.replace(/[=:]/g, function (r) { - return t[r]; - }) - ); - } - a(AB, "escape"); - var Nb = /\/+/g; - function u2(e, t) { - return typeof e == "object" && e !== null && e.key != null - ? AB("" + e.key) - : t.toString(36); - } - a(u2, "Q"); - function dd(e, t, r, n, o) { - var i = typeof e; - (i === "undefined" || i === "boolean") && (e = null); - var s = !1; - if (e === null) s = !0; - else - switch (i) { - case "string": - case "number": - s = !0; - break; - case "object": - switch (e.$$typeof) { - case mc: - case mB: - s = !0; - } - } - if (s) - return ( - (s = e), - (o = o(s)), - (e = n === "" ? "." + u2(s, 0) : n), - Lb(o) - ? ((r = ""), - e != null && (r = e.replace(Nb, "$&/") + "/"), - dd(o, t, r, "", function (c) { - return c; - })) - : o != null && - (d2(o) && - (o = RB( - o, - r + - (!o.key || (s && s.key === o.key) - ? "" - : ("" + o.key).replace(Nb, "$&/") + "/") + - e, - )), - t.push(o)), - 1 - ); - if (((s = 0), (n = n === "" ? "." : n + ":"), Lb(e))) - for (var l = 0; l < e.length; l++) { - i = e[l]; - var u = n + u2(i, l); - s += dd(i, t, r, u, o); - } - else if (((u = DB(e)), typeof u == "function")) - for (e = u.call(e), l = 0; !(i = e.next()).done; ) - (i = i.value), (u = n + u2(i, l++)), (s += dd(i, t, r, u, o)); - else if (i === "object") - throw ( - ((t = String(e)), - Error( - "Objects are not valid as a React child (found: " + - (t === "[object Object]" - ? "obje\ -ct with keys {" + - Object.keys(e).join(", ") + - "}" - : t) + - "). If you meant to render a collection of children, use an array instead.", - )) - ); - return s; - } - a(dd, "R"); - function fd(e, t, r) { - if (e == null) return e; - var n = [], - o = 0; - return ( - dd(e, n, "", "", function (i) { - return t.call(r, i, o++); - }), - n - ); - } - a(fd, "S"); - function _B(e) { - if (e._status === -1) { - var t = e._result; - (t = t()), - t.then( - function (r) { - (e._status === 0 || e._status === -1) && - ((e._status = 1), (e._result = r)); - }, - function (r) { - (e._status === 0 || e._status === -1) && - ((e._status = 2), (e._result = r)); - }, - ), - e._status === -1 && ((e._status = 0), (e._result = t)); - } - if (e._status === 1) return e._result.default; - throw e._result; - } - a(_B, "T"); - var Bt = { current: null }, - hd = { transition: null }, - TB = { - ReactCurrentDispatcher: Bt, - ReactCurrentBatchConfig: hd, - ReactCurrentOwner: f2, - }; - se.Children = { - map: fd, - forEach: /* @__PURE__ */ a(function (e, t, r) { - fd( - e, - function () { - t.apply(this, arguments); - }, - r, - ); - }, "forEach"), - count: /* @__PURE__ */ a(function (e) { - var t = 0; - return ( - fd(e, function () { - t++; - }), - t - ); - }, "count"), - toArray: /* @__PURE__ */ a(function (e) { - return ( - fd(e, function (t) { - return t; - }) || [] - ); - }, "toArray"), - only: /* @__PURE__ */ a(function (e) { - if (!d2(e)) - throw Error( - "React.Children.only expected to receive a single React element child.", - ); - return e; - }, "only"), - }; - se.Component = ms; - se.Fragment = gB; - se.Profiler = yB; - se.PureComponent = c2; - se.StrictMode = vB; - se.Suspense = EB; - se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = TB; - se.cloneElement = function (e, t, r) { - if (e == null) - throw Error( - "React.cloneElement(...): The argument must be a React element, but you passed " + - e + - ".", - ); - var n = Bb({}, e.props), - o = e.key, - i = e.ref, - s = e._owner; - if (t != null) { - if ( - (t.ref !== void 0 && ((i = t.ref), (s = f2.current)), - t.key !== void 0 && (o = "" + t.key), - e.type && e.type.defaultProps) - ) - var l = e.type.defaultProps; - for (u in t) - Hb.call(t, u) && - !jb.hasOwnProperty(u) && - (n[u] = t[u] === void 0 && l !== void 0 ? l[u] : t[u]); - } - var u = arguments.length - 2; - if (u === 1) n.children = r; - else if (1 < u) { - l = Array(u); - for (var c = 0; c < u; c++) l[c] = arguments[c + 2]; - n.children = l; - } - return { $$typeof: mc, type: e.type, key: o, ref: i, props: n, _owner: s }; - }; - se.createContext = function (e) { - return ( - (e = { - $$typeof: bB, - _currentValue: e, - _currentValue2: e, - _threadCount: 0, - Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null, - }), - (e.Provider = { $$typeof: wB, _context: e }), - (e.Consumer = e) - ); - }; - se.createElement = Vb; - se.createFactory = function (e) { - var t = Vb.bind(null, e); - return (t.type = e), t; - }; - se.createRef = function () { - return { current: null }; - }; - se.forwardRef = function (e) { - return { $$typeof: SB, render: e }; - }; - se.isValidElement = d2; - se.lazy = function (e) { - return { $$typeof: CB, _payload: { _status: -1, _result: e }, _init: _B }; - }; - se.memo = function (e, t) { - return { $$typeof: xB, type: e, compare: t === void 0 ? null : t }; - }; - se.startTransition = function (e) { - var t = hd.transition; - hd.transition = {}; - try { - e(); - } finally { - hd.transition = t; - } - }; - se.unstable_act = function () { - throw Error("act(...) is not supported in production builds of React."); - }; - se.useCallback = function (e, t) { - return Bt.current.useCallback(e, t); - }; - se.useContext = function (e) { - return Bt.current.useContext(e); - }; - se.useDebugValue = function () {}; - se.useDeferredValue = function (e) { - return Bt.current.useDeferredValue(e); - }; - se.useEffect = function (e, t) { - return Bt.current.useEffect(e, t); - }; - se.useId = function () { - return Bt.current.useId(); - }; - se.useImperativeHandle = function (e, t, r) { - return Bt.current.useImperativeHandle(e, t, r); - }; - se.useInsertionEffect = function (e, t) { - return Bt.current.useInsertionEffect(e, t); - }; - se.useLayoutEffect = function (e, t) { - return Bt.current.useLayoutEffect(e, t); - }; - se.useMemo = function (e, t) { - return Bt.current.useMemo(e, t); - }; - se.useReducer = function (e, t, r) { - return Bt.current.useReducer(e, t, r); - }; - se.useRef = function (e) { - return Bt.current.useRef(e); - }; - se.useState = function (e) { - return Bt.current.useState(e); - }; - se.useSyncExternalStore = function (e, t, r) { - return Bt.current.useSyncExternalStore(e, t, r); - }; - se.useTransition = function () { - return Bt.current.useTransition(); - }; - se.version = "18.2.0"; -}); - -// ../node_modules/react/index.js -var O = F(($0e, Wb) => { - "use strict"; - Wb.exports = Ub(); -}); - -// ../node_modules/scheduler/cjs/scheduler.production.min.js -var tS = F((Ee) => { - "use strict"; - function v2(e, t) { - var r = e.length; - e.push(t); - e: for (; 0 < r; ) { - var n = (r - 1) >>> 1, - o = e[n]; - if (0 < md(o, t)) (e[n] = t), (e[r] = o), (r = n); - else break e; - } - } - a(v2, "f"); - function an(e) { - return e.length === 0 ? null : e[0]; - } - a(an, "h"); - function vd(e) { - if (e.length === 0) return null; - var t = e[0], - r = e.pop(); - if (r !== t) { - e[0] = r; - e: for (var n = 0, o = e.length, i = o >>> 1; n < i; ) { - var s = 2 * (n + 1) - 1, - l = e[s], - u = s + 1, - c = e[u]; - if (0 > md(l, r)) - u < o && 0 > md(c, l) - ? ((e[n] = c), (e[u] = r), (n = u)) - : ((e[n] = l), (e[s] = r), (n = s)); - else if (u < o && 0 > md(c, r)) (e[n] = c), (e[u] = r), (n = u); - else break e; - } - } - return t; - } - a(vd, "k"); - function md(e, t) { - var r = e.sortIndex - t.sortIndex; - return r !== 0 ? r : e.id - t.id; - } - a(md, "g"); - typeof performance == "object" && typeof performance.now == "function" - ? ((qb = performance), - (Ee.unstable_now = function () { - return qb.now(); - })) - : ((h2 = Date), - (Gb = h2.now()), - (Ee.unstable_now = function () { - return h2.now() - Gb; - })); - var qb, - h2, - Gb, - On = [], - Ko = [], - kB = 1, - Fr = null, - _t = 3, - yd = !1, - ei = !1, - vc = !1, - Xb = typeof setTimeout == "function" ? setTimeout : null, - Qb = typeof clearTimeout == "function" ? clearTimeout : null, - Yb = typeof setImmediate < "u" ? setImmediate : null; - typeof navigator < "u" && - navigator.scheduling !== void 0 && - navigator.scheduling.isInputPending !== void 0 && - navigator.scheduling.isInputPending.bind(navigator.scheduling); - function y2(e) { - for (var t = an(Ko); t !== null; ) { - if (t.callback === null) vd(Ko); - else if (t.startTime <= e) - vd(Ko), (t.sortIndex = t.expirationTime), v2(On, t); - else break; - t = an(Ko); - } - } - a(y2, "G"); - function w2(e) { - if (((vc = !1), y2(e), !ei)) - if (an(On) !== null) (ei = !0), S2(b2); - else { - var t = an(Ko); - t !== null && E2(w2, t.startTime - e); - } - } - a(w2, "H"); - function b2(e, t) { - (ei = !1), vc && ((vc = !1), Qb(yc), (yc = -1)), (yd = !0); - var r = _t; - try { - for ( - y2(t), Fr = an(On); - Fr !== null && (!(Fr.expirationTime > t) || (e && !eS())); - - ) { - var n = Fr.callback; - if (typeof n == "function") { - (Fr.callback = null), (_t = Fr.priorityLevel); - var o = n(Fr.expirationTime <= t); - (t = Ee.unstable_now()), - typeof o == "function" - ? (Fr.callback = o) - : Fr === an(On) && vd(On), - y2(t); - } else vd(On); - Fr = an(On); - } - if (Fr !== null) var i = !0; - else { - var s = an(Ko); - s !== null && E2(w2, s.startTime - t), (i = !1); - } - return i; - } finally { - (Fr = null), (_t = r), (yd = !1); - } - } - a(b2, "J"); - var wd = !1, - gd = null, - yc = -1, - Jb = 5, - Zb = -1; - function eS() { - return !(Ee.unstable_now() - Zb < Jb); - } - a(eS, "M"); - function m2() { - if (gd !== null) { - var e = Ee.unstable_now(); - Zb = e; - var t = !0; - try { - t = gd(!0, e); - } finally { - t ? gc() : ((wd = !1), (gd = null)); - } - } else wd = !1; - } - a(m2, "R"); - var gc; - typeof Yb == "function" - ? (gc = /* @__PURE__ */ a(function () { - Yb(m2); - }, "S")) - : typeof MessageChannel < "u" - ? ((g2 = new MessageChannel()), - (Kb = g2.port2), - (g2.port1.onmessage = m2), - (gc = /* @__PURE__ */ a(function () { - Kb.postMessage(null); - }, "S"))) - : (gc = /* @__PURE__ */ a(function () { - Xb(m2, 0); - }, "S")); - var g2, Kb; - function S2(e) { - (gd = e), wd || ((wd = !0), gc()); - } - a(S2, "I"); - function E2(e, t) { - yc = Xb(function () { - e(Ee.unstable_now()); - }, t); - } - a(E2, "K"); - Ee.unstable_IdlePriority = 5; - Ee.unstable_ImmediatePriority = 1; - Ee.unstable_LowPriority = 4; - Ee.unstable_NormalPriority = 3; - Ee.unstable_Profiling = null; - Ee.unstable_UserBlockingPriority = 2; - Ee.unstable_cancelCallback = function (e) { - e.callback = null; - }; - Ee.unstable_continueExecution = function () { - ei || yd || ((ei = !0), S2(b2)); - }; - Ee.unstable_forceFrameRate = function (e) { - 0 > e || 125 < e - ? console.error( - "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not \ -supported", - ) - : (Jb = 0 < e ? Math.floor(1e3 / e) : 5); - }; - Ee.unstable_getCurrentPriorityLevel = function () { - return _t; - }; - Ee.unstable_getFirstCallbackNode = function () { - return an(On); - }; - Ee.unstable_next = function (e) { - switch (_t) { - case 1: - case 2: - case 3: - var t = 3; - break; - default: - t = _t; - } - var r = _t; - _t = t; - try { - return e(); - } finally { - _t = r; - } - }; - Ee.unstable_pauseExecution = function () {}; - Ee.unstable_requestPaint = function () {}; - Ee.unstable_runWithPriority = function (e, t) { - switch (e) { - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - e = 3; - } - var r = _t; - _t = e; - try { - return t(); - } finally { - _t = r; - } - }; - Ee.unstable_scheduleCallback = function (e, t, r) { - var n = Ee.unstable_now(); - switch ( - (typeof r == "object" && r !== null - ? ((r = r.delay), (r = typeof r == "number" && 0 < r ? n + r : n)) - : (r = n), - e) - ) { - case 1: - var o = -1; - break; - case 2: - o = 250; - break; - case 5: - o = 1073741823; - break; - case 4: - o = 1e4; - break; - default: - o = 5e3; - } - return ( - (o = r + o), - (e = { - id: kB++, - callback: t, - priorityLevel: e, - startTime: r, - expirationTime: o, - sortIndex: -1, - }), - r > n - ? ((e.sortIndex = r), - v2(Ko, e), - an(On) === null && - e === an(Ko) && - (vc ? (Qb(yc), (yc = -1)) : (vc = !0), E2(w2, r - n))) - : ((e.sortIndex = o), v2(On, e), ei || yd || ((ei = !0), S2(b2))), - e - ); - }; - Ee.unstable_shouldYield = eS; - Ee.unstable_wrapCallback = function (e) { - var t = _t; - return function () { - var r = _t; - _t = t; - try { - return e.apply(this, arguments); - } finally { - _t = r; - } - }; - }; -}); - -// ../node_modules/scheduler/index.js -var nS = F((j0e, rS) => { - "use strict"; - rS.exports = tS(); -}); - -// ../node_modules/react-dom/cjs/react-dom.production.min.js -var ux = F((Er) => { - "use strict"; - var cE = O(), - br = nS(); - function M(e) { - for ( - var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, - r = 1; - r < arguments.length; - r++ - ) - t += "&args[]=" + encodeURIComponent(arguments[r]); - return ( - "Minified React error #" + - e + - "; visit " + - t + - " for the full message or use the non-minified dev environment for full errors an\ -d additional helpful warnings." - ); - } - a(M, "p"); - var pE = /* @__PURE__ */ new Set(), - zc = {}; - function di(e, t) { - Ns(e, t), Ns(e + "Capture", t); - } - a(di, "fa"); - function Ns(e, t) { - for (zc[e] = t, e = 0; e < t.length; e++) pE.add(t[e]); - } - a(Ns, "ha"); - var go = !( - typeof window > "u" || - typeof window.document > "u" || - typeof window.document.createElement > "u" - ), - W2 = Object.prototype.hasOwnProperty, - IB = - /^[: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]*$/, - oS = {}, - aS = {}; - function PB(e) { - return W2.call(aS, e) - ? !0 - : W2.call(oS, e) - ? !1 - : IB.test(e) - ? (aS[e] = !0) - : ((oS[e] = !0), !1); - } - a(PB, "oa"); - function FB(e, t, r, n) { - if (r !== null && r.type === 0) return !1; - switch (typeof t) { - case "function": - case "symbol": - return !0; - case "boolean": - return n - ? !1 - : r !== null - ? !r.acceptsBooleans - : ((e = e.toLowerCase().slice(0, 5)), - e !== "data-" && e !== "aria-"); - default: - return !1; - } - } - a(FB, "pa"); - function OB(e, t, r, n) { - if (t === null || typeof t > "u" || FB(e, t, r, n)) return !0; - if (n) return !1; - if (r !== null) - switch (r.type) { - case 3: - return !t; - case 4: - return t === !1; - case 5: - return isNaN(t); - case 6: - return isNaN(t) || 1 > t; - } - return !1; - } - a(OB, "qa"); - function Ht(e, t, r, n, o, i, s) { - (this.acceptsBooleans = t === 2 || t === 3 || t === 4), - (this.attributeName = n), - (this.attributeNamespace = o), - (this.mustUseProperty = r), - (this.propertyName = e), - (this.type = t), - (this.sanitizeURL = i), - (this.removeEmptyString = s); - } - a(Ht, "v"); - var St = {}; - "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style" - .split(" ") - .forEach(function (e) { - St[e] = new Ht(e, 0, !1, e, null, !1, !1); - }); - [ - ["acceptCharset", "accept-charset"], - ["className", "class"], - ["htmlFor", "for"], - ["httpEquiv", "http-equiv"], - ].forEach(function (e) { - var t = e[0]; - St[t] = new Ht(t, 1, !1, e[1], null, !1, !1); - }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (e) { - St[e] = new Ht(e, 2, !1, e.toLowerCase(), null, !1, !1); - }); - [ - "autoReverse", - "externalResourcesRequired", - "focusable", - "preserveAlpha", - ].forEach(function (e) { - St[e] = new Ht(e, 2, !1, e, null, !1, !1); - }); - "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hid\ -den loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope" - .split(" ") - .forEach(function (e) { - St[e] = new Ht(e, 3, !1, e.toLowerCase(), null, !1, !1); - }); - ["checked", "multiple", "muted", "selected"].forEach(function (e) { - St[e] = new Ht(e, 3, !0, e, null, !1, !1); - }); - ["capture", "download"].forEach(function (e) { - St[e] = new Ht(e, 4, !1, e, null, !1, !1); - }); - ["cols", "rows", "size", "span"].forEach(function (e) { - St[e] = new Ht(e, 6, !1, e, null, !1, !1); - }); - ["rowSpan", "start"].forEach(function (e) { - St[e] = new Ht(e, 5, !1, e.toLowerCase(), null, !1, !1); - }); - var M5 = /[\-:]([a-z])/g; - function B5(e) { - return e[1].toUpperCase(); - } - a(B5, "sa"); - "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filter\ -s color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size f\ -ont-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-ad\ -v-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness pai\ -nt-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness str\ -oke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration tex\ -t-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematic\ -al vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height" - .split(" ") - .forEach(function (e) { - var t = e.replace(M5, B5); - St[t] = new Ht(t, 1, !1, e, null, !1, !1); - }); - "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type" - .split(" ") - .forEach(function (e) { - var t = e.replace(M5, B5); - St[t] = new Ht(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); - }); - ["xml:base", "xml:lang", "xml:space"].forEach(function (e) { - var t = e.replace(M5, B5); - St[t] = new Ht(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); - }); - ["tabIndex", "crossOrigin"].forEach(function (e) { - St[e] = new Ht(e, 1, !1, e.toLowerCase(), null, !1, !1); - }); - St.xlinkHref = new Ht( - "xlinkHref", - 1, - !1, - "xlink:href", - "http://www.w3.org/1999/xlink", - !0, - !1, - ); - ["src", "href", "action", "formAction"].forEach(function (e) { - St[e] = new Ht(e, 1, !1, e.toLowerCase(), null, !0, !0); - }); - function $5(e, t, r, n) { - var o = St.hasOwnProperty(t) ? St[t] : null; - (o !== null - ? o.type !== 0 - : n || - !(2 < t.length) || - (t[0] !== "o" && t[0] !== "O") || - (t[1] !== "n" && t[1] !== "N")) && - (OB(t, r, o, n) && (r = null), - n || o === null - ? PB(t) && - (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) - : o.mustUseProperty - ? (e[o.propertyName] = r === null ? (o.type === 3 ? !1 : "") : r) - : ((t = o.attributeName), - (n = o.attributeNamespace), - r === null - ? e.removeAttribute(t) - : ((o = o.type), - (r = o === 3 || (o === 4 && r === !0) ? "" : "" + r), - n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r)))); - } - a($5, "ta"); - var bo = cE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, - bd = Symbol.for("react.element"), - ys = Symbol.for("react.portal"), - ws = Symbol.for("react.fragment"), - z5 = Symbol.for("react.strict_mode"), - q2 = Symbol.for("react.profiler"), - fE = Symbol.for("react.provider"), - dE = Symbol.for("react.context"), - H5 = Symbol.for("react.forward_ref"), - G2 = Symbol.for("react.suspense"), - Y2 = Symbol.for("react.suspense_list"), - j5 = Symbol.for("react.memo"), - Qo = Symbol.for("react.lazy"); - Symbol.for("react.scope"); - Symbol.for("react.debug_trace_mode"); - var hE = Symbol.for("react.offscreen"); - Symbol.for("react.legacy_hidden"); - Symbol.for("react.cache"); - Symbol.for("react.tracing_marker"); - var iS = Symbol.iterator; - function wc(e) { - return e === null || typeof e != "object" - ? null - : ((e = (iS && e[iS]) || e["@@iterator"]), - typeof e == "function" ? e : null); - } - a(wc, "Ka"); - var Ne = Object.assign, - x2; - function Ac(e) { - if (x2 === void 0) - try { - throw Error(); - } catch (r) { - var t = r.stack.trim().match(/\n( *(at )?)/); - x2 = (t && t[1]) || ""; - } - return ( - ` -` + - x2 + - e - ); - } - a(Ac, "Ma"); - var C2 = !1; - function D2(e, t) { - if (!e || C2) return ""; - C2 = !0; - var r = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - try { - if (t) - if ( - ((t = /* @__PURE__ */ a(function () { - throw Error(); - }, "b")), - Object.defineProperty(t.prototype, "props", { - set: /* @__PURE__ */ a(function () { - throw Error(); - }, "set"), - }), - typeof Reflect == "object" && Reflect.construct) - ) { - try { - Reflect.construct(t, []); - } catch (c) { - var n = c; - } - Reflect.construct(e, [], t); - } else { - try { - t.call(); - } catch (c) { - n = c; - } - e.call(t.prototype); - } - else { - try { - throw Error(); - } catch (c) { - n = c; - } - e(); - } - } catch (c) { - if (c && n && typeof c.stack == "string") { - for ( - var o = c.stack.split(` -`), - i = n.stack.split(` -`), - s = o.length - 1, - l = i.length - 1; - 1 <= s && 0 <= l && o[s] !== i[l]; - - ) - l--; - for (; 1 <= s && 0 <= l; s--, l--) - if (o[s] !== i[l]) { - if (s !== 1 || l !== 1) - do - if ((s--, l--, 0 > l || o[s] !== i[l])) { - var u = - ` -` + o[s].replace(" at new ", " at "); - return ( - e.displayName && - u.includes("") && - (u = u.replace("", e.displayName)), - u - ); - } - while (1 <= s && 0 <= l); - break; - } - } - } finally { - (C2 = !1), (Error.prepareStackTrace = r); - } - return (e = e ? e.displayName || e.name : "") ? Ac(e) : ""; - } - a(D2, "Oa"); - function LB(e) { - switch (e.tag) { - case 5: - return Ac(e.type); - case 16: - return Ac("Lazy"); - case 13: - return Ac("Suspense"); - case 19: - return Ac("SuspenseList"); - case 0: - case 2: - case 15: - return (e = D2(e.type, !1)), e; - case 11: - return (e = D2(e.type.render, !1)), e; - case 1: - return (e = D2(e.type, !0)), e; - default: - return ""; - } - } - a(LB, "Pa"); - function K2(e) { - if (e == null) return null; - if (typeof e == "function") return e.displayName || e.name || null; - if (typeof e == "string") return e; - switch (e) { - case ws: - return "Fragment"; - case ys: - return "Portal"; - case q2: - return "Profiler"; - case z5: - return "StrictMode"; - case G2: - return "Suspense"; - case Y2: - return "SuspenseList"; - } - if (typeof e == "object") - switch (e.$$typeof) { - case dE: - return (e.displayName || "Context") + ".Consumer"; - case fE: - return (e._context.displayName || "Context") + ".Provider"; - case H5: - var t = e.render; - return ( - (e = e.displayName), - e || - ((e = t.displayName || t.name || ""), - (e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef")), - e - ); - case j5: - return ( - (t = e.displayName || null), t !== null ? t : K2(e.type) || "Memo" - ); - case Qo: - (t = e._payload), (e = e._init); - try { - return K2(e(t)); - } catch {} - } - return null; - } - a(K2, "Qa"); - function NB(e) { - var t = e.type; - switch (e.tag) { - case 24: - return "Cache"; - case 9: - return (t.displayName || "Context") + ".Consumer"; - case 10: - return (t._context.displayName || "Context") + ".Provider"; - case 18: - return "DehydratedFragment"; - case 11: - return ( - (e = t.render), - (e = e.displayName || e.name || ""), - t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef") - ); - case 7: - return "Fragment"; - case 5: - return t; - case 4: - return "Portal"; - case 3: - return "Root"; - case 6: - return "Text"; - case 16: - return K2(t); - case 8: - return t === z5 ? "StrictMode" : "Mode"; - case 22: - return "Offscreen"; - case 12: - return "Profiler"; - case 21: - return "Scope"; - case 13: - return "Suspense"; - case 19: - return "SuspenseList"; - case 25: - return "TracingMarker"; - case 1: - case 0: - case 17: - case 2: - case 14: - case 15: - if (typeof t == "function") return t.displayName || t.name || null; - if (typeof t == "string") return t; - } - return null; - } - a(NB, "Ra"); - function pa(e) { - switch (typeof e) { - case "boolean": - case "number": - case "string": - case "undefined": - return e; - case "object": - return e; - default: - return ""; - } - } - a(pa, "Sa"); - function mE(e) { - var t = e.type; - return ( - (e = e.nodeName) && - e.toLowerCase() === "input" && - (t === "checkbox" || t === "radio") - ); - } - a(mE, "Ta"); - function MB(e) { - var t = mE(e) ? "checked" : "value", - r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), - n = "" + e[t]; - if ( - !e.hasOwnProperty(t) && - typeof r < "u" && - typeof r.get == "function" && - typeof r.set == "function" - ) { - var o = r.get, - i = r.set; - return ( - Object.defineProperty(e, t, { - configurable: !0, - get: /* @__PURE__ */ a(function () { - return o.call(this); - }, "get"), - set: /* @__PURE__ */ a(function (s) { - (n = "" + s), i.call(this, s); - }, "set"), - }), - Object.defineProperty(e, t, { enumerable: r.enumerable }), - { - getValue: /* @__PURE__ */ a(function () { - return n; - }, "getValue"), - setValue: /* @__PURE__ */ a(function (s) { - n = "" + s; - }, "setValue"), - stopTracking: /* @__PURE__ */ a(function () { - (e._valueTracker = null), delete e[t]; - }, "stopTracking"), - } - ); - } - } - a(MB, "Ua"); - function Sd(e) { - e._valueTracker || (e._valueTracker = MB(e)); - } - a(Sd, "Va"); - function gE(e) { - if (!e) return !1; - var t = e._valueTracker; - if (!t) return !0; - var r = t.getValue(), - n = ""; - return ( - e && (n = mE(e) ? (e.checked ? "true" : "false") : e.value), - (e = n), - e !== r ? (t.setValue(e), !0) : !1 - ); - } - a(gE, "Wa"); - function Kd(e) { - if ( - ((e = e || (typeof document < "u" ? document : void 0)), typeof e > "u") - ) - return null; - try { - return e.activeElement || e.body; - } catch { - return e.body; - } - } - a(Kd, "Xa"); - function X2(e, t) { - var r = t.checked; - return Ne({}, t, { - defaultChecked: void 0, - defaultValue: void 0, - value: void 0, - checked: r ?? e._wrapperState.initialChecked, - }); - } - a(X2, "Ya"); - function sS(e, t) { - var r = t.defaultValue == null ? "" : t.defaultValue, - n = t.checked != null ? t.checked : t.defaultChecked; - (r = pa(t.value != null ? t.value : r)), - (e._wrapperState = { - initialChecked: n, - initialValue: r, - controlled: - t.type === "checkbox" || t.type === "radio" - ? t.checked != null - : t.value != null, - }); - } - a(sS, "Za"); - function vE(e, t) { - (t = t.checked), t != null && $5(e, "checked", t, !1); - } - a(vE, "ab"); - function Q2(e, t) { - vE(e, t); - var r = pa(t.value), - n = t.type; - if (r != null) - n === "number" - ? ((r === 0 && e.value === "") || e.value != r) && (e.value = "" + r) - : e.value !== "" + r && (e.value = "" + r); - else if (n === "submit" || n === "reset") { - e.removeAttribute("value"); - return; - } - t.hasOwnProperty("value") - ? J2(e, t.type, r) - : t.hasOwnProperty("defaultValue") && J2(e, t.type, pa(t.defaultValue)), - t.checked == null && - t.defaultChecked != null && - (e.defaultChecked = !!t.defaultChecked); - } - a(Q2, "bb"); - function lS(e, t, r) { - if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { - var n = t.type; - if ( - !( - (n !== "submit" && n !== "reset") || - (t.value !== void 0 && t.value !== null) - ) - ) - return; - (t = "" + e._wrapperState.initialValue), - r || t === e.value || (e.value = t), - (e.defaultValue = t); - } - (r = e.name), - r !== "" && (e.name = ""), - (e.defaultChecked = !!e._wrapperState.initialChecked), - r !== "" && (e.name = r); - } - a(lS, "db"); - function J2(e, t, r) { - (t !== "number" || Kd(e.ownerDocument) !== e) && - (r == null - ? (e.defaultValue = "" + e._wrapperState.initialValue) - : e.defaultValue !== "" + r && (e.defaultValue = "" + r)); - } - a(J2, "cb"); - var _c = Array.isArray; - function ks(e, t, r, n) { - if (((e = e.options), t)) { - t = {}; - for (var o = 0; o < r.length; o++) t["$" + r[o]] = !0; - for (r = 0; r < e.length; r++) - (o = t.hasOwnProperty("$" + e[r].value)), - e[r].selected !== o && (e[r].selected = o), - o && n && (e[r].defaultSelected = !0); - } else { - for (r = "" + pa(r), t = null, o = 0; o < e.length; o++) { - if (e[o].value === r) { - (e[o].selected = !0), n && (e[o].defaultSelected = !0); - return; - } - t !== null || e[o].disabled || (t = e[o]); - } - t !== null && (t.selected = !0); - } - } - a(ks, "fb"); - function Z2(e, t) { - if (t.dangerouslySetInnerHTML != null) throw Error(M(91)); - return Ne({}, t, { - value: void 0, - defaultValue: void 0, - children: "" + e._wrapperState.initialValue, - }); - } - a(Z2, "gb"); - function uS(e, t) { - var r = t.value; - if (r == null) { - if (((r = t.children), (t = t.defaultValue), r != null)) { - if (t != null) throw Error(M(92)); - if (_c(r)) { - if (1 < r.length) throw Error(M(93)); - r = r[0]; - } - t = r; - } - t == null && (t = ""), (r = t); - } - e._wrapperState = { initialValue: pa(r) }; - } - a(uS, "hb"); - function yE(e, t) { - var r = pa(t.value), - n = pa(t.defaultValue); - r != null && - ((r = "" + r), - r !== e.value && (e.value = r), - t.defaultValue == null && e.defaultValue !== r && (e.defaultValue = r)), - n != null && (e.defaultValue = "" + n); - } - a(yE, "ib"); - function cS(e) { - var t = e.textContent; - t === e._wrapperState.initialValue && - t !== "" && - t !== null && - (e.value = t); - } - a(cS, "jb"); - function wE(e) { - switch (e) { - case "svg": - return "http://www.w3.org/2000/svg"; - case "math": - return "http://www.w3.org/1998/Math/MathML"; - default: - return "http://www.w3.org/1999/xhtml"; - } - } - a(wE, "kb"); - function e5(e, t) { - return e == null || e === "http://www.w3.org/1999/xhtml" - ? wE(t) - : e === "http://www.w3.org/2000/svg" && t === "foreignObject" - ? "http:/\ -/www.w3.org/1999/xhtml" - : e; - } - a(e5, "lb"); - var Ed, - bE = (function (e) { - return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction - ? function (t, r, n, o) { - MSApp.execUnsafeLocalFunction(function () { - return e(t, r, n, o); - }); - } - : e; - })(function (e, t) { - if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) - e.innerHTML = t; - else { - for ( - Ed = Ed || document.createElement("div"), - Ed.innerHTML = "" + t.valueOf().toString() + "", - t = Ed.firstChild; - e.firstChild; - - ) - e.removeChild(e.firstChild); - for (; t.firstChild; ) e.appendChild(t.firstChild); - } - }); - function Hc(e, t) { - if (t) { - var r = e.firstChild; - if (r && r === e.lastChild && r.nodeType === 3) { - r.nodeValue = t; - return; - } - } - e.textContent = t; - } - a(Hc, "ob"); - var Ic = { - 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, - }, - BB = ["Webkit", "ms", "Moz", "O"]; - Object.keys(Ic).forEach(function (e) { - BB.forEach(function (t) { - (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (Ic[t] = Ic[e]); - }); - }); - function SE(e, t, r) { - return t == null || typeof t == "boolean" || t === "" - ? "" - : r || typeof t != "number" || t === 0 || (Ic.hasOwnProperty(e) && Ic[e]) - ? ("" + t).trim() - : t + "px"; - } - a(SE, "rb"); - function EE(e, t) { - e = e.style; - for (var r in t) - if (t.hasOwnProperty(r)) { - var n = r.indexOf("--") === 0, - o = SE(r, t[r], n); - r === "float" && (r = "cssFloat"), n ? e.setProperty(r, o) : (e[r] = o); - } - } - a(EE, "sb"); - var $B = Ne( - { 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 t5(e, t) { - if (t) { - if ($B[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) - throw Error(M(137, e)); - if (t.dangerouslySetInnerHTML != null) { - if (t.children != null) throw Error(M(60)); - if ( - typeof t.dangerouslySetInnerHTML != "object" || - !("__html" in t.dangerouslySetInnerHTML) - ) - throw Error(M(61)); - } - if (t.style != null && typeof t.style != "object") throw Error(M(62)); - } - } - a(t5, "ub"); - function r5(e, t) { - if (e.indexOf("-") === -1) return typeof t.is == "string"; - switch (e) { - case "annotation-xml": - case "color-profile": - case "font-face": - case "font-face-src": - case "font-face-uri": - case "font-face-format": - case "font-face-name": - case "missing-glyph": - return !1; - default: - return !0; - } - } - a(r5, "vb"); - var n5 = null; - function V5(e) { - return ( - (e = e.target || e.srcElement || window), - e.correspondingUseElement && (e = e.correspondingUseElement), - e.nodeType === 3 ? e.parentNode : e - ); - } - a(V5, "xb"); - var o5 = null, - Is = null, - Ps = null; - function pS(e) { - if ((e = ap(e))) { - if (typeof o5 != "function") throw Error(M(280)); - var t = e.stateNode; - t && ((t = x0(t)), o5(e.stateNode, e.type, t)); - } - } - a(pS, "Bb"); - function xE(e) { - Is ? (Ps ? Ps.push(e) : (Ps = [e])) : (Is = e); - } - a(xE, "Eb"); - function CE() { - if (Is) { - var e = Is, - t = Ps; - if (((Ps = Is = null), pS(e), t)) for (e = 0; e < t.length; e++) pS(t[e]); - } - } - a(CE, "Fb"); - function DE(e, t) { - return e(t); - } - a(DE, "Gb"); - function RE() {} - a(RE, "Hb"); - var R2 = !1; - function AE(e, t, r) { - if (R2) return e(t, r); - R2 = !0; - try { - return DE(e, t, r); - } finally { - (R2 = !1), (Is !== null || Ps !== null) && (RE(), CE()); - } - } - a(AE, "Jb"); - function jc(e, t) { - var r = e.stateNode; - if (r === null) return null; - var n = x0(r); - if (n === null) return null; - r = n[t]; - e: switch (t) { - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - case "onMouseEnter": - (n = !n.disabled) || - ((e = e.type), - (n = !( - e === "button" || - e === "input" || - e === "select" || - e === "textarea" - ))), - (e = !n); - break e; - default: - e = !1; - } - if (e) return null; - if (r && typeof r != "function") throw Error(M(231, t, typeof r)); - return r; - } - a(jc, "Kb"); - var a5 = !1; - if (go) - try { - (gs = {}), - Object.defineProperty(gs, "passive", { - get: /* @__PURE__ */ a(function () { - a5 = !0; - }, "get"), - }), - window.addEventListener("test", gs, gs), - window.removeEventListener("test", gs, gs); - } catch { - a5 = !1; - } - var gs; - function zB(e, t, r, n, o, i, s, l, u) { - var c = Array.prototype.slice.call(arguments, 3); - try { - t.apply(r, c); - } catch (p) { - this.onError(p); - } - } - a(zB, "Nb"); - var Pc = !1, - Xd = null, - Qd = !1, - i5 = null, - HB = { - onError: /* @__PURE__ */ a(function (e) { - (Pc = !0), (Xd = e); - }, "onError"), - }; - function jB(e, t, r, n, o, i, s, l, u) { - (Pc = !1), (Xd = null), zB.apply(HB, arguments); - } - a(jB, "Tb"); - function VB(e, t, r, n, o, i, s, l, u) { - if ((jB.apply(this, arguments), Pc)) { - if (Pc) { - var c = Xd; - (Pc = !1), (Xd = null); - } else throw Error(M(198)); - Qd || ((Qd = !0), (i5 = c)); - } - } - a(VB, "Ub"); - function hi(e) { - var t = e, - r = e; - if (e.alternate) for (; t.return; ) t = t.return; - else { - e = t; - do (t = e), t.flags & 4098 && (r = t.return), (e = t.return); - while (e); - } - return t.tag === 3 ? r : null; - } - a(hi, "Vb"); - function _E(e) { - if (e.tag === 13) { - var t = e.memoizedState; - if ( - (t === null && ((e = e.alternate), e !== null && (t = e.memoizedState)), - t !== null) - ) - return t.dehydrated; - } - return null; - } - a(_E, "Wb"); - function fS(e) { - if (hi(e) !== e) throw Error(M(188)); - } - a(fS, "Xb"); - function UB(e) { - var t = e.alternate; - if (!t) { - if (((t = hi(e)), t === null)) throw Error(M(188)); - return t !== e ? null : e; - } - for (var r = e, n = t; ; ) { - var o = r.return; - if (o === null) break; - var i = o.alternate; - if (i === null) { - if (((n = o.return), n !== null)) { - r = n; - continue; - } - break; - } - if (o.child === i.child) { - for (i = o.child; i; ) { - if (i === r) return fS(o), e; - if (i === n) return fS(o), t; - i = i.sibling; - } - throw Error(M(188)); - } - if (r.return !== n.return) (r = o), (n = i); - else { - for (var s = !1, l = o.child; l; ) { - if (l === r) { - (s = !0), (r = o), (n = i); - break; - } - if (l === n) { - (s = !0), (n = o), (r = i); - break; - } - l = l.sibling; - } - if (!s) { - for (l = i.child; l; ) { - if (l === r) { - (s = !0), (r = i), (n = o); - break; - } - if (l === n) { - (s = !0), (n = i), (r = o); - break; - } - l = l.sibling; - } - if (!s) throw Error(M(189)); - } - } - if (r.alternate !== n) throw Error(M(190)); - } - if (r.tag !== 3) throw Error(M(188)); - return r.stateNode.current === r ? e : t; - } - a(UB, "Yb"); - function TE(e) { - return (e = UB(e)), e !== null ? kE(e) : null; - } - a(TE, "Zb"); - function kE(e) { - if (e.tag === 5 || e.tag === 6) return e; - for (e = e.child; e !== null; ) { - var t = kE(e); - if (t !== null) return t; - e = e.sibling; - } - return null; - } - a(kE, "$b"); - var IE = br.unstable_scheduleCallback, - dS = br.unstable_cancelCallback, - WB = br.unstable_shouldYield, - qB = br.unstable_requestPaint, - qe = br.unstable_now, - GB = br.unstable_getCurrentPriorityLevel, - U5 = br.unstable_ImmediatePriority, - PE = br.unstable_UserBlockingPriority, - Jd = br.unstable_NormalPriority, - YB = br.unstable_LowPriority, - FE = br.unstable_IdlePriority, - w0 = null, - Bn = null; - function KB(e) { - if (Bn && typeof Bn.onCommitFiberRoot == "function") - try { - Bn.onCommitFiberRoot(w0, e, void 0, (e.current.flags & 128) === 128); - } catch {} - } - a(KB, "mc"); - var pn = Math.clz32 ? Math.clz32 : JB, - XB = Math.log, - QB = Math.LN2; - function JB(e) { - return (e >>>= 0), e === 0 ? 32 : (31 - ((XB(e) / QB) | 0)) | 0; - } - a(JB, "nc"); - var xd = 64, - Cd = 4194304; - function Tc(e) { - switch (e & -e) { - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return e & 4194240; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return e & 130023424; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 1073741824; - default: - return e; - } - } - a(Tc, "tc"); - function Zd(e, t) { - var r = e.pendingLanes; - if (r === 0) return 0; - var n = 0, - o = e.suspendedLanes, - i = e.pingedLanes, - s = r & 268435455; - if (s !== 0) { - var l = s & ~o; - l !== 0 ? (n = Tc(l)) : ((i &= s), i !== 0 && (n = Tc(i))); - } else (s = r & ~o), s !== 0 ? (n = Tc(s)) : i !== 0 && (n = Tc(i)); - if (n === 0) return 0; - if ( - t !== 0 && - t !== n && - !(t & o) && - ((o = n & -n), (i = t & -t), o >= i || (o === 16 && (i & 4194240) !== 0)) - ) - return t; - if ((n & 4 && (n |= r & 16), (t = e.entangledLanes), t !== 0)) - for (e = e.entanglements, t &= n; 0 < t; ) - (r = 31 - pn(t)), (o = 1 << r), (n |= e[r]), (t &= ~o); - return n; - } - a(Zd, "uc"); - function ZB(e, t) { - switch (e) { - case 1: - case 2: - case 4: - return t + 250; - case 8: - case 16: - case 32: - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return t + 5e3; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return -1; - case 134217728: - case 268435456: - case 536870912: - case 1073741824: - return -1; - default: - return -1; - } - } - a(ZB, "vc"); - function e$(e, t) { - for ( - var r = e.suspendedLanes, - n = e.pingedLanes, - o = e.expirationTimes, - i = e.pendingLanes; - 0 < i; - - ) { - var s = 31 - pn(i), - l = 1 << s, - u = o[s]; - u === -1 - ? (!(l & r) || l & n) && (o[s] = ZB(l, t)) - : u <= t && (e.expiredLanes |= l), - (i &= ~l); - } - } - a(e$, "wc"); - function s5(e) { - return ( - (e = e.pendingLanes & -1073741825), - e !== 0 ? e : e & 1073741824 ? 1073741824 : 0 - ); - } - a(s5, "xc"); - function OE() { - var e = xd; - return (xd <<= 1), !(xd & 4194240) && (xd = 64), e; - } - a(OE, "yc"); - function A2(e) { - for (var t = [], r = 0; 31 > r; r++) t.push(e); - return t; - } - a(A2, "zc"); - function np(e, t, r) { - (e.pendingLanes |= t), - t !== 536870912 && ((e.suspendedLanes = 0), (e.pingedLanes = 0)), - (e = e.eventTimes), - (t = 31 - pn(t)), - (e[t] = r); - } - a(np, "Ac"); - function t$(e, t) { - var r = e.pendingLanes & ~t; - (e.pendingLanes = t), - (e.suspendedLanes = 0), - (e.pingedLanes = 0), - (e.expiredLanes &= t), - (e.mutableReadLanes &= t), - (e.entangledLanes &= t), - (t = e.entanglements); - var n = e.eventTimes; - for (e = e.expirationTimes; 0 < r; ) { - var o = 31 - pn(r), - i = 1 << o; - (t[o] = 0), (n[o] = -1), (e[o] = -1), (r &= ~i); - } - } - a(t$, "Bc"); - function W5(e, t) { - var r = (e.entangledLanes |= t); - for (e = e.entanglements; r; ) { - var n = 31 - pn(r), - o = 1 << n; - (o & t) | (e[n] & t) && (e[n] |= t), (r &= ~o); - } - } - a(W5, "Cc"); - var me = 0; - function LE(e) { - return ( - (e &= -e), 1 < e ? (4 < e ? (e & 268435455 ? 16 : 536870912) : 4) : 1 - ); - } - a(LE, "Dc"); - var NE, - q5, - ME, - BE, - $E, - l5 = !1, - Dd = [], - na = null, - oa = null, - aa = null, - Vc = /* @__PURE__ */ new Map(), - Uc = /* @__PURE__ */ new Map(), - Zo = [], - r$ = - "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart d\ -rop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split( - " ", - ); - function hS(e, t) { - switch (e) { - case "focusin": - case "focusout": - na = null; - break; - case "dragenter": - case "dragleave": - oa = null; - break; - case "mouseover": - case "mouseout": - aa = null; - break; - case "pointerover": - case "pointerout": - Vc.delete(t.pointerId); - break; - case "gotpointercapture": - case "lostpointercapture": - Uc.delete(t.pointerId); - } - } - a(hS, "Sc"); - function bc(e, t, r, n, o, i) { - return e === null || e.nativeEvent !== i - ? ((e = { - blockedOn: t, - domEventName: r, - eventSystemFlags: n, - nativeEvent: i, - targetContainers: [o], - }), - t !== null && ((t = ap(t)), t !== null && q5(t)), - e) - : ((e.eventSystemFlags |= n), - (t = e.targetContainers), - o !== null && t.indexOf(o) === -1 && t.push(o), - e); - } - a(bc, "Tc"); - function n$(e, t, r, n, o) { - switch (t) { - case "focusin": - return (na = bc(na, e, t, r, n, o)), !0; - case "dragenter": - return (oa = bc(oa, e, t, r, n, o)), !0; - case "mouseover": - return (aa = bc(aa, e, t, r, n, o)), !0; - case "pointerover": - var i = o.pointerId; - return Vc.set(i, bc(Vc.get(i) || null, e, t, r, n, o)), !0; - case "gotpointercapture": - return ( - (i = o.pointerId), Uc.set(i, bc(Uc.get(i) || null, e, t, r, n, o)), !0 - ); - } - return !1; - } - a(n$, "Uc"); - function zE(e) { - var t = ni(e.target); - if (t !== null) { - var r = hi(t); - if (r !== null) { - if (((t = r.tag), t === 13)) { - if (((t = _E(r)), t !== null)) { - (e.blockedOn = t), - $E(e.priority, function () { - ME(r); - }); - return; - } - } else if (t === 3 && r.stateNode.current.memoizedState.isDehydrated) { - e.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null; - return; - } - } - } - e.blockedOn = null; - } - a(zE, "Vc"); - function $d(e) { - if (e.blockedOn !== null) return !1; - for (var t = e.targetContainers; 0 < t.length; ) { - var r = u5(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); - if (r === null) { - r = e.nativeEvent; - var n = new r.constructor(r.type, r); - (n5 = n), r.target.dispatchEvent(n), (n5 = null); - } else return (t = ap(r)), t !== null && q5(t), (e.blockedOn = r), !1; - t.shift(); - } - return !0; - } - a($d, "Xc"); - function mS(e, t, r) { - $d(e) && r.delete(t); - } - a(mS, "Zc"); - function o$() { - (l5 = !1), - na !== null && $d(na) && (na = null), - oa !== null && $d(oa) && (oa = null), - aa !== null && $d(aa) && (aa = null), - Vc.forEach(mS), - Uc.forEach(mS); - } - a(o$, "$c"); - function Sc(e, t) { - e.blockedOn === t && - ((e.blockedOn = null), - l5 || - ((l5 = !0), - br.unstable_scheduleCallback(br.unstable_NormalPriority, o$))); - } - a(Sc, "ad"); - function Wc(e) { - function t(o) { - return Sc(o, e); - } - if ((a(t, "b"), 0 < Dd.length)) { - Sc(Dd[0], e); - for (var r = 1; r < Dd.length; r++) { - var n = Dd[r]; - n.blockedOn === e && (n.blockedOn = null); - } - } - for ( - na !== null && Sc(na, e), - oa !== null && Sc(oa, e), - aa !== null && Sc(aa, e), - Vc.forEach(t), - Uc.forEach(t), - r = 0; - r < Zo.length; - r++ - ) - (n = Zo[r]), n.blockedOn === e && (n.blockedOn = null); - for (; 0 < Zo.length && ((r = Zo[0]), r.blockedOn === null); ) - zE(r), r.blockedOn === null && Zo.shift(); - } - a(Wc, "bd"); - var Fs = bo.ReactCurrentBatchConfig, - e0 = !0; - function a$(e, t, r, n) { - var o = me, - i = Fs.transition; - Fs.transition = null; - try { - (me = 1), G5(e, t, r, n); - } finally { - (me = o), (Fs.transition = i); - } - } - a(a$, "ed"); - function i$(e, t, r, n) { - var o = me, - i = Fs.transition; - Fs.transition = null; - try { - (me = 4), G5(e, t, r, n); - } finally { - (me = o), (Fs.transition = i); - } - } - a(i$, "gd"); - function G5(e, t, r, n) { - if (e0) { - var o = u5(e, t, r, n); - if (o === null) O2(e, t, n, t0, r), hS(e, n); - else if (n$(o, e, t, r, n)) n.stopPropagation(); - else if ((hS(e, n), t & 4 && -1 < r$.indexOf(e))) { - for (; o !== null; ) { - var i = ap(o); - if ( - (i !== null && NE(i), - (i = u5(e, t, r, n)), - i === null && O2(e, t, n, t0, r), - i === o) - ) - break; - o = i; - } - o !== null && n.stopPropagation(); - } else O2(e, t, n, null, r); - } - } - a(G5, "fd"); - var t0 = null; - function u5(e, t, r, n) { - if (((t0 = null), (e = V5(n)), (e = ni(e)), e !== null)) - if (((t = hi(e)), t === null)) e = null; - else if (((r = t.tag), r === 13)) { - if (((e = _E(t)), e !== null)) return e; - e = null; - } else if (r === 3) { - if (t.stateNode.current.memoizedState.isDehydrated) - return t.tag === 3 ? t.stateNode.containerInfo : null; - e = null; - } else t !== e && (e = null); - return (t0 = e), null; - } - a(u5, "Yc"); - function HE(e) { - switch (e) { - case "cancel": - case "click": - case "close": - case "contextmenu": - case "copy": - case "cut": - case "auxclick": - case "dblclick": - case "dragend": - case "dragstart": - case "drop": - case "focusin": - case "focusout": - case "input": - case "invalid": - case "keydown": - case "keypress": - case "keyup": - case "mousedown": - case "mouseup": - case "paste": - case "pause": - case "play": - case "pointercancel": - case "pointerdown": - case "pointerup": - case "ratechange": - case "reset": - case "resize": - case "seeked": - case "submit": - case "touchcancel": - case "touchend": - case "touchstart": - case "volumechange": - case "change": - case "selectionchange": - case "textInput": - case "compositionstart": - case "compositionend": - case "compositionupdate": - case "beforeblur": - case "afterblur": - case "beforeinput": - case "blur": - case "fullscreenchange": - case "focus": - case "hashchange": - case "popstate": - case "select": - case "selectstart": - return 1; - case "drag": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "mousemove": - case "mouseout": - case "mouseover": - case "pointermove": - case "pointerout": - case "pointerover": - case "scroll": - case "toggle": - case "touchmove": - case "wheel": - case "mouseenter": - case "mouseleave": - case "pointerenter": - case "pointerleave": - return 4; - case "message": - switch (GB()) { - case U5: - return 1; - case PE: - return 4; - case Jd: - case YB: - return 16; - case FE: - return 536870912; - default: - return 16; - } - default: - return 16; - } - } - a(HE, "jd"); - var ta = null, - Y5 = null, - zd = null; - function jE() { - if (zd) return zd; - var e, - t = Y5, - r = t.length, - n, - o = "value" in ta ? ta.value : ta.textContent, - i = o.length; - for (e = 0; e < r && t[e] === o[e]; e++); - var s = r - e; - for (n = 1; n <= s && t[r - n] === o[i - n]; n++); - return (zd = o.slice(e, 1 < n ? 1 - n : void 0)); - } - a(jE, "nd"); - function Hd(e) { - var t = e.keyCode; - return ( - "charCode" in e - ? ((e = e.charCode), e === 0 && t === 13 && (e = 13)) - : (e = t), - e === 10 && (e = 13), - 32 <= e || e === 13 ? e : 0 - ); - } - a(Hd, "od"); - function Rd() { - return !0; - } - a(Rd, "pd"); - function gS() { - return !1; - } - a(gS, "qd"); - function Sr(e) { - function t(r, n, o, i, s) { - (this._reactName = r), - (this._targetInst = o), - (this.type = n), - (this.nativeEvent = i), - (this.target = s), - (this.currentTarget = null); - for (var l in e) - e.hasOwnProperty(l) && ((r = e[l]), (this[l] = r ? r(i) : i[l])); - return ( - (this.isDefaultPrevented = ( - i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1 - ) - ? Rd - : gS), - (this.isPropagationStopped = gS), - this - ); - } - return ( - a(t, "b"), - Ne(t.prototype, { - preventDefault: /* @__PURE__ */ a(function () { - this.defaultPrevented = !0; - var r = this.nativeEvent; - r && - (r.preventDefault - ? r.preventDefault() - : typeof r.returnValue != "unknown" && (r.returnValue = !1), - (this.isDefaultPrevented = Rd)); - }, "preventDefault"), - stopPropagation: /* @__PURE__ */ a(function () { - var r = this.nativeEvent; - r && - (r.stopPropagation - ? r.stopPropagation() - : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), - (this.isPropagationStopped = Rd)); - }, "stopPropagation"), - persist: /* @__PURE__ */ a(function () {}, "persist"), - isPersistent: Rd, - }), - t - ); - } - a(Sr, "rd"); - var Vs = { - eventPhase: 0, - bubbles: 0, - cancelable: 0, - timeStamp: /* @__PURE__ */ a(function (e) { - return e.timeStamp || Date.now(); - }, "timeStamp"), - defaultPrevented: 0, - isTrusted: 0, - }, - K5 = Sr(Vs), - op = Ne({}, Vs, { view: 0, detail: 0 }), - s$ = Sr(op), - _2, - T2, - Ec, - b0 = Ne({}, op, { - screenX: 0, - screenY: 0, - clientX: 0, - clientY: 0, - pageX: 0, - pageY: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - getModifierState: X5, - button: 0, - buttons: 0, - relatedTarget: /* @__PURE__ */ a(function (e) { - return e.relatedTarget === void 0 - ? e.fromElement === e.srcElement - ? e.toElement - : e.fromElement - : e.relatedTarget; - }, "relatedTarget"), - movementX: /* @__PURE__ */ a(function (e) { - return "movementX" in e - ? e.movementX - : (e !== Ec && - (Ec && e.type === "mousemove" - ? ((_2 = e.screenX - Ec.screenX), (T2 = e.screenY - Ec.screenY)) - : (T2 = _2 = 0), - (Ec = e)), - _2); - }, "movementX"), - movementY: /* @__PURE__ */ a(function (e) { - return "movementY" in e ? e.movementY : T2; - }, "movementY"), - }), - vS = Sr(b0), - l$ = Ne({}, b0, { dataTransfer: 0 }), - u$ = Sr(l$), - c$ = Ne({}, op, { relatedTarget: 0 }), - k2 = Sr(c$), - p$ = Ne({}, Vs, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), - f$ = Sr(p$), - d$ = Ne({}, Vs, { - clipboardData: /* @__PURE__ */ a(function (e) { - return "clipboardData" in e ? e.clipboardData : window.clipboardData; - }, "clipboardData"), - }), - h$ = Sr(d$), - m$ = Ne({}, Vs, { data: 0 }), - yS = Sr(m$), - g$ = { - Esc: "Escape", - Spacebar: " ", - Left: "ArrowLeft", - Up: "ArrowUp", - Right: "ArrowRight", - Down: "ArrowDown", - Del: "Delete", - Win: "OS", - Menu: "ContextMenu", - Apps: "ContextMenu", - Scroll: "ScrollLock", - MozPrintableKey: "Unidentified", - }, - v$ = { - 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", - }, - y$ = { - Alt: "altKey", - Control: "ctrlKey", - Meta: "metaKey", - Shift: "shiftKey", - }; - function w$(e) { - var t = this.nativeEvent; - return t.getModifierState - ? t.getModifierState(e) - : (e = y$[e]) - ? !!t[e] - : !1; - } - a(w$, "Pd"); - function X5() { - return w$; - } - a(X5, "zd"); - var b$ = Ne({}, op, { - key: /* @__PURE__ */ a(function (e) { - if (e.key) { - var t = g$[e.key] || e.key; - if (t !== "Unidentified") return t; - } - return e.type === "keypress" - ? ((e = Hd(e)), e === 13 ? "Enter" : String.fromCharCode(e)) - : e.type === "keydown" || e.type === "keyup" - ? v$[e.keyCode] || "Unidentified" - : ""; - }, "key"), - code: 0, - location: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - repeat: 0, - locale: 0, - getModifierState: X5, - charCode: /* @__PURE__ */ a(function (e) { - return e.type === "keypress" ? Hd(e) : 0; - }, "charCode"), - keyCode: /* @__PURE__ */ a(function (e) { - return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; - }, "keyCode"), - which: /* @__PURE__ */ a(function (e) { - return e.type === "keypress" - ? Hd(e) - : e.type === "keydown" || e.type === "keyup" - ? e.keyCode - : 0; - }, "which"), - }), - S$ = Sr(b$), - E$ = Ne({}, b0, { - pointerId: 0, - width: 0, - height: 0, - pressure: 0, - tangentialPressure: 0, - tiltX: 0, - tiltY: 0, - twist: 0, - pointerType: 0, - isPrimary: 0, - }), - wS = Sr(E$), - x$ = Ne({}, op, { - touches: 0, - targetTouches: 0, - changedTouches: 0, - altKey: 0, - metaKey: 0, - ctrlKey: 0, - shiftKey: 0, - getModifierState: X5, - }), - C$ = Sr(x$), - D$ = Ne({}, Vs, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), - R$ = Sr(D$), - A$ = Ne({}, b0, { - deltaX: /* @__PURE__ */ a(function (e) { - return "deltaX" in e - ? e.deltaX - : "wheelDeltaX" in e - ? -e.wheelDeltaX - : 0; - }, "deltaX"), - deltaY: /* @__PURE__ */ a(function (e) { - return "deltaY" in e - ? e.deltaY - : "wheelDeltaY" in e - ? -e.wheelDeltaY - : "wheelDelta" in e - ? -e.wheelDelta - : 0; - }, "deltaY"), - deltaZ: 0, - deltaMode: 0, - }), - _$ = Sr(A$), - T$ = [9, 13, 27, 32], - Q5 = go && "CompositionEvent" in window, - Fc = null; - go && "documentMode" in document && (Fc = document.documentMode); - var k$ = go && "TextEvent" in window && !Fc, - VE = go && (!Q5 || (Fc && 8 < Fc && 11 >= Fc)), - bS = " ", - SS = !1; - function UE(e, t) { - switch (e) { - case "keyup": - return T$.indexOf(t.keyCode) !== -1; - case "keydown": - return t.keyCode !== 229; - case "keypress": - case "mousedown": - case "focusout": - return !0; - default: - return !1; - } - } - a(UE, "ge"); - function WE(e) { - return (e = e.detail), typeof e == "object" && "data" in e ? e.data : null; - } - a(WE, "he"); - var bs = !1; - function I$(e, t) { - switch (e) { - case "compositionend": - return WE(t); - case "keypress": - return t.which !== 32 ? null : ((SS = !0), bS); - case "textInput": - return (e = t.data), e === bS && SS ? null : e; - default: - return null; - } - } - a(I$, "je"); - function P$(e, t) { - if (bs) - return e === "compositionend" || (!Q5 && UE(e, t)) - ? ((e = jE()), (zd = Y5 = ta = null), (bs = !1), e) - : null; - switch (e) { - case "paste": - return null; - case "keypress": - if (!(t.ctrlKey || t.altKey || t.metaKey) || (t.ctrlKey && t.altKey)) { - if (t.char && 1 < t.char.length) return t.char; - if (t.which) return String.fromCharCode(t.which); - } - return null; - case "compositionend": - return VE && t.locale !== "ko" ? null : t.data; - default: - return null; - } - } - a(P$, "ke"); - var F$ = { - 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 ES(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return t === "input" ? !!F$[e.type] : t === "textarea"; - } - a(ES, "me"); - function qE(e, t, r, n) { - xE(n), - (t = r0(t, "onChange")), - 0 < t.length && - ((r = new K5("onChange", "change", null, r, n)), - e.push({ event: r, listeners: t })); - } - a(qE, "ne"); - var Oc = null, - qc = null; - function O$(e) { - n7(e, 0); - } - a(O$, "re"); - function S0(e) { - var t = xs(e); - if (gE(t)) return e; - } - a(S0, "te"); - function L$(e, t) { - if (e === "change") return t; - } - a(L$, "ve"); - var GE = !1; - go && - (go - ? ((_d = "oninput" in document), - _d || - ((I2 = document.createElement("div")), - I2.setAttribute("oninput", "return;"), - (_d = typeof I2.oninput == "function")), - (Ad = _d)) - : (Ad = !1), - (GE = Ad && (!document.documentMode || 9 < document.documentMode))); - var Ad, _d, I2; - function xS() { - Oc && (Oc.detachEvent("onpropertychange", YE), (qc = Oc = null)); - } - a(xS, "Ae"); - function YE(e) { - if (e.propertyName === "value" && S0(qc)) { - var t = []; - qE(t, qc, e, V5(e)), AE(O$, t); - } - } - a(YE, "Be"); - function N$(e, t, r) { - e === "focusin" - ? (xS(), (Oc = t), (qc = r), Oc.attachEvent("onpropertychange", YE)) - : e === "focusout" && xS(); - } - a(N$, "Ce"); - function M$(e) { - if (e === "selectionchange" || e === "keyup" || e === "keydown") - return S0(qc); - } - a(M$, "De"); - function B$(e, t) { - if (e === "click") return S0(t); - } - a(B$, "Ee"); - function $$(e, t) { - if (e === "input" || e === "change") return S0(t); - } - a($$, "Fe"); - function z$(e, t) { - return (e === t && (e !== 0 || 1 / e === 1 / t)) || (e !== e && t !== t); - } - a(z$, "Ge"); - var dn = typeof Object.is == "function" ? Object.is : z$; - function Gc(e, t) { - if (dn(e, t)) return !0; - if ( - typeof e != "object" || - e === null || - typeof t != "object" || - t === null - ) - return !1; - var r = Object.keys(e), - n = Object.keys(t); - if (r.length !== n.length) return !1; - for (n = 0; n < r.length; n++) { - var o = r[n]; - if (!W2.call(t, o) || !dn(e[o], t[o])) return !1; - } - return !0; - } - a(Gc, "Ie"); - function CS(e) { - for (; e && e.firstChild; ) e = e.firstChild; - return e; - } - a(CS, "Je"); - function DS(e, t) { - var r = CS(e); - e = 0; - for (var n; r; ) { - if (r.nodeType === 3) { - if (((n = e + r.textContent.length), e <= t && n >= t)) - return { node: r, offset: t - e }; - e = n; - } - e: { - for (; r; ) { - if (r.nextSibling) { - r = r.nextSibling; - break e; - } - r = r.parentNode; - } - r = void 0; - } - r = CS(r); - } - } - a(DS, "Ke"); - function KE(e, t) { - return e && t - ? e === t - ? !0 - : e && e.nodeType === 3 - ? !1 - : t && t.nodeType === 3 - ? KE(e, t.parentNode) - : "contains" in e - ? e.contains(t) - : e.compareDocumentPosition - ? !!(e.compareDocumentPosition(t) & 16) - : !1 - : !1; - } - a(KE, "Le"); - function XE() { - for (var e = window, t = Kd(); t instanceof e.HTMLIFrameElement; ) { - try { - var r = typeof t.contentWindow.location.href == "string"; - } catch { - r = !1; - } - if (r) e = t.contentWindow; - else break; - t = Kd(e.document); - } - return t; - } - a(XE, "Me"); - function J5(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return ( - t && - ((t === "input" && - (e.type === "text" || - e.type === "search" || - e.type === "tel" || - e.type === "url" || - e.type === "password")) || - t === "textarea" || - e.contentEditable === "true") - ); - } - a(J5, "Ne"); - function H$(e) { - var t = XE(), - r = e.focusedElem, - n = e.selectionRange; - if ( - t !== r && - r && - r.ownerDocument && - KE(r.ownerDocument.documentElement, r) - ) { - if (n !== null && J5(r)) { - if ( - ((t = n.start), - (e = n.end), - e === void 0 && (e = t), - "selectionStart" in r) - ) - (r.selectionStart = t), - (r.selectionEnd = Math.min(e, r.value.length)); - else if ( - ((e = ((t = r.ownerDocument || document) && t.defaultView) || window), - e.getSelection) - ) { - e = e.getSelection(); - var o = r.textContent.length, - i = Math.min(n.start, o); - (n = n.end === void 0 ? i : Math.min(n.end, o)), - !e.extend && i > n && ((o = n), (n = i), (i = o)), - (o = DS(r, i)); - var s = DS(r, n); - o && - s && - (e.rangeCount !== 1 || - e.anchorNode !== o.node || - e.anchorOffset !== o.offset || - e.focusNode !== s.node || - e.focusOffset !== s.offset) && - ((t = t.createRange()), - t.setStart(o.node, o.offset), - e.removeAllRanges(), - i > n - ? (e.addRange(t), e.extend(s.node, s.offset)) - : (t.setEnd(s.node, s.offset), e.addRange(t))); - } - } - for (t = [], e = r; (e = e.parentNode); ) - e.nodeType === 1 && - t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); - for (typeof r.focus == "function" && r.focus(), r = 0; r < t.length; r++) - (e = t[r]), - (e.element.scrollLeft = e.left), - (e.element.scrollTop = e.top); - } - } - a(H$, "Oe"); - var j$ = go && "documentMode" in document && 11 >= document.documentMode, - Ss = null, - c5 = null, - Lc = null, - p5 = !1; - function RS(e, t, r) { - var n = - r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument; - p5 || - Ss == null || - Ss !== Kd(n) || - ((n = Ss), - "selectionStart" in n && J5(n) - ? (n = { start: n.selectionStart, end: n.selectionEnd }) - : ((n = ( - (n.ownerDocument && n.ownerDocument.defaultView) || - window - ).getSelection()), - (n = { - anchorNode: n.anchorNode, - anchorOffset: n.anchorOffset, - focusNode: n.focusNode, - focusOffset: n.focusOffset, - })), - (Lc && Gc(Lc, n)) || - ((Lc = n), - (n = r0(c5, "onSelect")), - 0 < n.length && - ((t = new K5( - "\ -onSelect", - "select", - null, - t, - r, - )), - e.push({ event: t, listeners: n }), - (t.target = Ss)))); - } - a(RS, "Ue"); - function Td(e, t) { - var r = {}; - return ( - (r[e.toLowerCase()] = t.toLowerCase()), - (r["Webkit" + e] = "webkit" + t), - (r["Moz" + e] = "moz" + t), - r - ); - } - a(Td, "Ve"); - var Es = { - animationend: Td("Animation", "AnimationEnd"), - animationiteration: Td("Animation", "AnimationIteration"), - animationstart: Td( - "A\ -nimation", - "AnimationStart", - ), - transitionend: Td("Transition", "TransitionEnd"), - }, - P2 = {}, - QE = {}; - go && - ((QE = document.createElement("div").style), - "AnimationEvent" in window || - (delete Es.animationend.animation, - delete Es.animationiteration.animation, - delete Es.animationstart.animation), - "TransitionEvent" in window || delete Es.transitionend.transition); - function E0(e) { - if (P2[e]) return P2[e]; - if (!Es[e]) return e; - var t = Es[e], - r; - for (r in t) if (t.hasOwnProperty(r) && r in QE) return (P2[e] = t[r]); - return e; - } - a(E0, "Ze"); - var JE = E0("animationend"), - ZE = E0("animationiteration"), - e7 = E0("animationstart"), - t7 = E0("transitionend"), - r7 = /* @__PURE__ */ new Map(), - AS = - "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dra\ -gStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetada\ -ta loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMov\ -e pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd to\ -uchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); - function da(e, t) { - r7.set(e, t), di(t, [e]); - } - a(da, "ff"); - for (kd = 0; kd < AS.length; kd++) - (Id = AS[kd]), - (_S = Id.toLowerCase()), - (TS = Id[0].toUpperCase() + Id.slice(1)), - da(_S, "on" + TS); - var Id, _S, TS, kd; - da(JE, "onAnimationEnd"); - da(ZE, "onAnimationIteration"); - da(e7, "onAnimationStart"); - da("dblclick", "onDoubleClick"); - da("focusin", "onFocus"); - da("focusout", "onBlur"); - da(t7, "onTransitionEnd"); - Ns("onMouseEnter", ["mouseout", "mouseover"]); - Ns("onMouseLeave", ["mouseout", "mouseover"]); - Ns("onPointerEnter", ["pointerout", "pointerover"]); - Ns("onPointerLeave", ["pointerout", "pointerover"]); - di( - "onChange", - "change click focusin focusout input keydown keyup selectionchange".split( - " ", - ), - ); - di( - "onSelect", - "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split( - " ", - ), - ); - di("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); - di( - "onCompositionEnd", - "compositionend focusout keydown keypress keyup mousedown".split(" "), - ); - di( - "onCompositionStart", - "compositionstart focusout keydown keypress keyup mousedown".split(" "), - ); - di( - "onCompositionUpdate", - "compositionupdate focusout keydown keypress keyup mousedown".split(" "), - ); - var kc = - "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( - " ", - ), - V$ = new Set( - "cancel close invalid l\ -oad scroll toggle" - .split(" ") - .concat(kc), - ); - function kS(e, t, r) { - var n = e.type || "unknown-event"; - (e.currentTarget = r), VB(n, t, void 0, e), (e.currentTarget = null); - } - a(kS, "nf"); - function n7(e, t) { - t = (t & 4) !== 0; - for (var r = 0; r < e.length; r++) { - var n = e[r], - o = n.event; - n = n.listeners; - e: { - var i = void 0; - if (t) - for (var s = n.length - 1; 0 <= s; s--) { - var l = n[s], - u = l.instance, - c = l.currentTarget; - if (((l = l.listener), u !== i && o.isPropagationStopped())) - break e; - kS(o, l, c), (i = u); - } - else - for (s = 0; s < n.length; s++) { - if ( - ((l = n[s]), - (u = l.instance), - (c = l.currentTarget), - (l = l.listener), - u !== i && o.isPropagationStopped()) - ) - break e; - kS(o, l, c), (i = u); - } - } - } - if (Qd) throw ((e = i5), (Qd = !1), (i5 = null), e); - } - a(n7, "se"); - function Ce(e, t) { - var r = t[g5]; - r === void 0 && (r = t[g5] = /* @__PURE__ */ new Set()); - var n = e + "__bubble"; - r.has(n) || (o7(t, e, 2, !1), r.add(n)); - } - a(Ce, "D"); - function F2(e, t, r) { - var n = 0; - t && (n |= 4), o7(r, e, n, t); - } - a(F2, "qf"); - var Pd = "_reactListening" + Math.random().toString(36).slice(2); - function Yc(e) { - if (!e[Pd]) { - (e[Pd] = !0), - pE.forEach(function (r) { - r !== "selectionchange" && (V$.has(r) || F2(r, !1, e), F2(r, !0, e)); - }); - var t = e.nodeType === 9 ? e : e.ownerDocument; - t === null || t[Pd] || ((t[Pd] = !0), F2("selectionchange", !1, t)); - } - } - a(Yc, "sf"); - function o7(e, t, r, n) { - switch (HE(t)) { - case 1: - var o = a$; - break; - case 4: - o = i$; - break; - default: - o = G5; - } - (r = o.bind(null, t, r, e)), - (o = void 0), - !a5 || - (t !== "touchstart" && t !== "touchmove" && t !== "wheel") || - (o = !0), - n - ? o !== void 0 - ? e.addEventListener(t, r, { capture: !0, passive: o }) - : e.addEventListener(t, r, !0) - : o !== void 0 - ? e.addEventListener(t, r, { passive: o }) - : e.addEventListener(t, r, !1); - } - a(o7, "pf"); - function O2(e, t, r, n, o) { - var i = n; - if (!(t & 1) && !(t & 2) && n !== null) - e: for (;;) { - if (n === null) return; - var s = n.tag; - if (s === 3 || s === 4) { - var l = n.stateNode.containerInfo; - if (l === o || (l.nodeType === 8 && l.parentNode === o)) break; - if (s === 4) - for (s = n.return; s !== null; ) { - var u = s.tag; - if ( - (u === 3 || u === 4) && - ((u = s.stateNode.containerInfo), - u === o || (u.nodeType === 8 && u.parentNode === o)) - ) - return; - s = s.return; - } - for (; l !== null; ) { - if (((s = ni(l)), s === null)) return; - if (((u = s.tag), u === 5 || u === 6)) { - n = i = s; - continue e; - } - l = l.parentNode; - } - } - n = n.return; - } - AE(function () { - var c = i, - p = V5(r), - h = []; - e: { - var m = r7.get(e); - if (m !== void 0) { - var g = K5, - S = e; - switch (e) { - case "keypress": - if (Hd(r) === 0) break e; - case "keydown": - case "keyup": - g = S$; - break; - case "focusin": - (S = "focus"), (g = k2); - break; - case "focusout": - (S = "blur"), (g = k2); - break; - case "beforeblur": - case "afterblur": - g = k2; - break; - case "click": - if (r.button === 2) break e; - case "auxclick": - case "dblclick": - case "mousedown": - case "mousemove": - case "mouseup": - case "mouseout": - case "mouseover": - case "contextmenu": - g = vS; - break; - case "drag": - case "dragend": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "dragstart": - case "drop": - g = u$; - break; - case "touchcancel": - case "touchend": - case "touchmove": - case "touchstart": - g = C$; - break; - case JE: - case ZE: - case e7: - g = f$; - break; - case t7: - g = R$; - break; - case "scroll": - g = s$; - break; - case "wheel": - g = _$; - break; - case "copy": - case "cut": - case "paste": - g = h$; - break; - case "gotpointercapture": - case "lostpointercapture": - case "pointercancel": - case "pointerdown": - case "pointermove": - case "pointerout": - case "pointerover": - case "pointerup": - g = wS; - } - var v = (t & 4) !== 0, - b = !v && e === "scroll", - w = v ? (m !== null ? m + "Capture" : null) : m; - v = []; - for (var y = c, E; y !== null; ) { - E = y; - var x = E.stateNode; - if ( - (E.tag === 5 && - x !== null && - ((E = x), - w !== null && - ((x = jc(y, w)), x != null && v.push(Kc(y, x, E)))), - b) - ) - break; - y = y.return; - } - 0 < v.length && - ((m = new g(m, S, null, r, p)), h.push({ event: m, listeners: v })); - } - } - if (!(t & 7)) { - e: { - if ( - ((m = e === "mouseover" || e === "pointerover"), - (g = e === "mouseout" || e === "pointerout"), - m && - r !== n5 && - (S = r.relatedTarget || r.fromElement) && - (ni(S) || S[vo])) - ) - break e; - if ( - (g || m) && - ((m = - p.window === p - ? p - : (m = p.ownerDocument) - ? m.defaultView || m.parentWindow - : window), - g - ? ((S = r.relatedTarget || r.toElement), - (g = c), - (S = S ? ni(S) : null), - S !== null && - ((b = hi(S)), S !== b || (S.tag !== 5 && S.tag !== 6)) && - (S = null)) - : ((g = null), (S = c)), - g !== S) - ) { - if ( - ((v = vS), - (x = "onMouseLeave"), - (w = "onMouseEnter"), - (y = "mouse"), - (e === "pointerout" || e === "pointerover") && - ((v = wS), - (x = - "on\ -PointerLeave"), - (w = "onPointerEnter"), - (y = "pointer")), - (b = g == null ? m : xs(g)), - (E = S == null ? m : xs(S)), - (m = new v(x, y + "leave", g, r, p)), - (m.target = b), - (m.relatedTarget = E), - (x = null), - ni(p) === c && - ((v = new v(w, y + "enter", S, r, p)), - (v.target = E), - (v.relatedTarget = b), - (x = v)), - (b = x), - g && S) - ) - t: { - for (v = g, w = S, y = 0, E = v; E; E = vs(E)) y++; - for (E = 0, x = w; x; x = vs(x)) E++; - for (; 0 < y - E; ) (v = vs(v)), y--; - for (; 0 < E - y; ) (w = vs(w)), E--; - for (; y--; ) { - if (v === w || (w !== null && v === w.alternate)) break t; - (v = vs(v)), (w = vs(w)); - } - v = null; - } - else v = null; - g !== null && IS(h, m, g, v, !1), - S !== null && b !== null && IS(h, b, S, v, !0); - } - } - e: { - if ( - ((m = c ? xs(c) : window), - (g = m.nodeName && m.nodeName.toLowerCase()), - g === "select" || (g === "input" && m.type === "file")) - ) - var C = L$; - else if (ES(m)) - if (GE) C = $$; - else { - C = M$; - var D = N$; - } - else - (g = m.nodeName) && - g.toLowerCase() === "input" && - (m.type === "checkbox" || m.type === "radio") && - (C = B$); - if (C && (C = C(e, c))) { - qE(h, C, r, p); - break e; - } - D && D(e, m, c), - e === "focusout" && - (D = m._wrapperState) && - D.controlled && - m.type === "number" && - J2(m, "number", m.value); - } - switch (((D = c ? xs(c) : window), e)) { - case "focusin": - (ES(D) || D.contentEditable === "true") && - ((Ss = D), (c5 = c), (Lc = null)); - break; - case "focusout": - Lc = c5 = Ss = null; - break; - case "mousedown": - p5 = !0; - break; - case "contextmenu": - case "mouseup": - case "dragend": - (p5 = !1), RS(h, r, p); - break; - case "selectionchange": - if (j$) break; - case "keydown": - case "keyup": - RS(h, r, p); - } - var R; - if (Q5) - e: { - switch (e) { - case "compositionstart": - var A = "onCompositionStart"; - break e; - case "compositionend": - A = "onCompositionEnd"; - break e; - case "compositionupdate": - A = "onCompositionUpdate"; - break e; - } - A = void 0; - } - else - bs - ? UE(e, r) && (A = "onCompositionEnd") - : e === "keydown" && - r.keyCode === 229 && - (A = "onCompositionStart"); - A && - (VE && - r.locale !== "ko" && - (bs || A !== "onCompositionStart" - ? A === "onCompositionEnd" && bs && (R = jE()) - : ((ta = p), - (Y5 = - "v\ -alue" in ta - ? ta.value - : ta.textContent), - (bs = !0))), - (D = r0(c, A)), - 0 < D.length && - ((A = new yS(A, e, null, r, p)), - h.push({ event: A, listeners: D }), - R ? (A.data = R) : ((R = WE(r)), R !== null && (A.data = R)))), - (R = k$ ? I$(e, r) : P$(e, r)) && - ((c = r0(c, "onBeforeInput")), - 0 < c.length && - ((p = new yS("onBeforeInput", "beforeinput", null, r, p)), - h.push({ event: p, listeners: c }), - (p.data = R))); - } - n7(h, t); - }); - } - a(O2, "hd"); - function Kc(e, t, r) { - return { instance: e, listener: t, currentTarget: r }; - } - a(Kc, "tf"); - function r0(e, t) { - for (var r = t + "Capture", n = []; e !== null; ) { - var o = e, - i = o.stateNode; - o.tag === 5 && - i !== null && - ((o = i), - (i = jc(e, r)), - i != null && n.unshift(Kc(e, i, o)), - (i = jc(e, t)), - i != null && n.push(Kc(e, i, o))), - (e = e.return); - } - return n; - } - a(r0, "oe"); - function vs(e) { - if (e === null) return null; - do e = e.return; - while (e && e.tag !== 5); - return e || null; - } - a(vs, "vf"); - function IS(e, t, r, n, o) { - for (var i = t._reactName, s = []; r !== null && r !== n; ) { - var l = r, - u = l.alternate, - c = l.stateNode; - if (u !== null && u === n) break; - l.tag === 5 && - c !== null && - ((l = c), - o - ? ((u = jc(r, i)), u != null && s.unshift(Kc(r, u, l))) - : o || ((u = jc(r, i)), u != null && s.push(Kc(r, u, l)))), - (r = r.return); - } - s.length !== 0 && e.push({ event: t, listeners: s }); - } - a(IS, "wf"); - var U$ = /\r\n?/g, - W$ = /\u0000|\uFFFD/g; - function PS(e) { - return (typeof e == "string" ? e : "" + e) - .replace( - U$, - ` -`, - ) - .replace(W$, ""); - } - a(PS, "zf"); - function Fd(e, t, r) { - if (((t = PS(t)), PS(e) !== t && r)) throw Error(M(425)); - } - a(Fd, "Af"); - function n0() {} - a(n0, "Bf"); - var f5 = null, - d5 = null; - function h5(e, t) { - return ( - e === "textarea" || - e === "noscript" || - typeof t.children == "string" || - typeof t.children == "number" || - (typeof t.dangerouslySetInnerHTML == "object" && - t.dangerouslySetInnerHTML !== null && - t.dangerouslySetInnerHTML.__html != null) - ); - } - a(h5, "Ef"); - var m5 = typeof setTimeout == "function" ? setTimeout : void 0, - q$ = typeof clearTimeout == "function" ? clearTimeout : void 0, - FS = typeof Promise == "function" ? Promise : void 0, - G$ = - typeof queueMicrotask == "function" - ? queueMicrotask - : typeof FS < "u" - ? function (e) { - return FS.resolve(null).then(e).catch(Y$); - } - : m5; - function Y$(e) { - setTimeout(function () { - throw e; - }); - } - a(Y$, "If"); - function L2(e, t) { - var r = t, - n = 0; - do { - var o = r.nextSibling; - if ((e.removeChild(r), o && o.nodeType === 8)) - if (((r = o.data), r === "/$")) { - if (n === 0) { - e.removeChild(o), Wc(t); - return; - } - n--; - } else (r !== "$" && r !== "$?" && r !== "$!") || n++; - r = o; - } while (r); - Wc(t); - } - a(L2, "Kf"); - function ia(e) { - for (; e != null; e = e.nextSibling) { - var t = e.nodeType; - if (t === 1 || t === 3) break; - if (t === 8) { - if (((t = e.data), t === "$" || t === "$!" || t === "$?")) break; - if (t === "/$") return null; - } - } - return e; - } - a(ia, "Lf"); - function OS(e) { - e = e.previousSibling; - for (var t = 0; e; ) { - if (e.nodeType === 8) { - var r = e.data; - if (r === "$" || r === "$!" || r === "$?") { - if (t === 0) return e; - t--; - } else r === "/$" && t++; - } - e = e.previousSibling; - } - return null; - } - a(OS, "Mf"); - var Us = Math.random().toString(36).slice(2), - Mn = "__reactFiber$" + Us, - Xc = "__reactProps$" + Us, - vo = "__reactContainer$" + Us, - g5 = - "_\ -_reactEvents$" + Us, - K$ = "__reactListeners$" + Us, - X$ = "__reactHandles$" + Us; - function ni(e) { - var t = e[Mn]; - if (t) return t; - for (var r = e.parentNode; r; ) { - if ((t = r[vo] || r[Mn])) { - if ( - ((r = t.alternate), - t.child !== null || (r !== null && r.child !== null)) - ) - for (e = OS(e); e !== null; ) { - if ((r = e[Mn])) return r; - e = OS(e); - } - return t; - } - (e = r), (r = e.parentNode); - } - return null; - } - a(ni, "Wc"); - function ap(e) { - return ( - (e = e[Mn] || e[vo]), - !e || (e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3) - ? null - : e - ); - } - a(ap, "Cb"); - function xs(e) { - if (e.tag === 5 || e.tag === 6) return e.stateNode; - throw Error(M(33)); - } - a(xs, "ue"); - function x0(e) { - return e[Xc] || null; - } - a(x0, "Db"); - var v5 = [], - Cs = -1; - function ha(e) { - return { current: e }; - } - a(ha, "Uf"); - function De(e) { - 0 > Cs || ((e.current = v5[Cs]), (v5[Cs] = null), Cs--); - } - a(De, "E"); - function xe(e, t) { - Cs++, (v5[Cs] = e.current), (e.current = t); - } - a(xe, "G"); - var fa = {}, - Pt = ha(fa), - or = ha(!1), - li = fa; - function Ms(e, t) { - var r = e.type.contextTypes; - if (!r) return fa; - var n = e.stateNode; - if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) - return n.__reactInternalMemoizedMaskedChildContext; - var o = {}, - i; - for (i in r) o[i] = t[i]; - return ( - n && - ((e = e.stateNode), - (e.__reactInternalMemoizedUnmaskedChildContext = t), - (e.__reactInternalMemoizedMaskedChildContext = o)), - o - ); - } - a(Ms, "Yf"); - function ar(e) { - return (e = e.childContextTypes), e != null; - } - a(ar, "Zf"); - function o0() { - De(or), De(Pt); - } - a(o0, "$f"); - function LS(e, t, r) { - if (Pt.current !== fa) throw Error(M(168)); - xe(Pt, t), xe(or, r); - } - a(LS, "ag"); - function a7(e, t, r) { - var n = e.stateNode; - if (((t = t.childContextTypes), typeof n.getChildContext != "function")) - return r; - n = n.getChildContext(); - for (var o in n) if (!(o in t)) throw Error(M(108, NB(e) || "Unknown", o)); - return Ne({}, r, n); - } - a(a7, "bg"); - function a0(e) { - return ( - (e = - ((e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext) || - fa), - (li = Pt.current), - xe(Pt, e), - xe(or, or.current), - !0 - ); - } - a(a0, "cg"); - function NS(e, t, r) { - var n = e.stateNode; - if (!n) throw Error(M(169)); - r - ? ((e = a7(e, t, li)), - (n.__reactInternalMemoizedMergedChildContext = e), - De(or), - De(Pt), - xe(Pt, e)) - : De(or), - xe(or, r); - } - a(NS, "dg"); - var po = null, - C0 = !1, - N2 = !1; - function i7(e) { - po === null ? (po = [e]) : po.push(e); - } - a(i7, "hg"); - function Q$(e) { - (C0 = !0), i7(e); - } - a(Q$, "ig"); - function ma() { - if (!N2 && po !== null) { - N2 = !0; - var e = 0, - t = me; - try { - var r = po; - for (me = 1; e < r.length; e++) { - var n = r[e]; - do n = n(!0); - while (n !== null); - } - (po = null), (C0 = !1); - } catch (o) { - throw (po !== null && (po = po.slice(e + 1)), IE(U5, ma), o); - } finally { - (me = t), (N2 = !1); - } - } - return null; - } - a(ma, "jg"); - var Ds = [], - Rs = 0, - i0 = null, - s0 = 0, - Or = [], - Lr = 0, - ui = null, - fo = 1, - ho = ""; - function ti(e, t) { - (Ds[Rs++] = s0), (Ds[Rs++] = i0), (i0 = e), (s0 = t); - } - a(ti, "tg"); - function s7(e, t, r) { - (Or[Lr++] = fo), (Or[Lr++] = ho), (Or[Lr++] = ui), (ui = e); - var n = fo; - e = ho; - var o = 32 - pn(n) - 1; - (n &= ~(1 << o)), (r += 1); - var i = 32 - pn(t) + o; - if (30 < i) { - var s = o - (o % 5); - (i = (n & ((1 << s) - 1)).toString(32)), - (n >>= s), - (o -= s), - (fo = (1 << (32 - pn(t) + o)) | (r << o) | n), - (ho = i + e); - } else (fo = (1 << i) | (r << o) | n), (ho = e); - } - a(s7, "ug"); - function Z5(e) { - e.return !== null && (ti(e, 1), s7(e, 1, 0)); - } - a(Z5, "vg"); - function ev(e) { - for (; e === i0; ) - (i0 = Ds[--Rs]), (Ds[Rs] = null), (s0 = Ds[--Rs]), (Ds[Rs] = null); - for (; e === ui; ) - (ui = Or[--Lr]), - (Or[Lr] = null), - (ho = Or[--Lr]), - (Or[Lr] = null), - (fo = Or[--Lr]), - (Or[Lr] = null); - } - a(ev, "wg"); - var wr = null, - yr = null, - Te = !1, - cn = null; - function l7(e, t) { - var r = Nr(5, null, null, 0); - (r.elementType = "DELETED"), - (r.stateNode = t), - (r.return = e), - (t = e.deletions), - t === null ? ((e.deletions = [r]), (e.flags |= 16)) : t.push(r); - } - a(l7, "Ag"); - function MS(e, t) { - switch (e.tag) { - case 5: - var r = e.type; - return ( - (t = - t.nodeType !== 1 || r.toLowerCase() !== t.nodeName.toLowerCase() - ? null - : t), - t !== null - ? ((e.stateNode = t), (wr = e), (yr = ia(t.firstChild)), !0) - : !1 - ); - case 6: - return ( - (t = e.pendingProps === "" || t.nodeType !== 3 ? null : t), - t !== null ? ((e.stateNode = t), (wr = e), (yr = null), !0) : !1 - ); - case 13: - return ( - (t = t.nodeType !== 8 ? null : t), - t !== null - ? ((r = ui !== null ? { id: fo, overflow: ho } : null), - (e.memoizedState = { - dehydrated: t, - treeContext: r, - retryLane: 1073741824, - }), - (r = Nr(18, null, null, 0)), - (r.stateNode = t), - (r.return = e), - (e.child = r), - (wr = e), - (yr = null), - !0) - : !1 - ); - default: - return !1; - } - } - a(MS, "Cg"); - function y5(e) { - return (e.mode & 1) !== 0 && (e.flags & 128) === 0; - } - a(y5, "Dg"); - function w5(e) { - if (Te) { - var t = yr; - if (t) { - var r = t; - if (!MS(e, t)) { - if (y5(e)) throw Error(M(418)); - t = ia(r.nextSibling); - var n = wr; - t && MS(e, t) - ? l7(n, r) - : ((e.flags = (e.flags & -4097) | 2), (Te = !1), (wr = e)); - } - } else { - if (y5(e)) throw Error(M(418)); - (e.flags = (e.flags & -4097) | 2), (Te = !1), (wr = e); - } - } - } - a(w5, "Eg"); - function BS(e) { - for ( - e = e.return; - e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; - - ) - e = e.return; - wr = e; - } - a(BS, "Fg"); - function Od(e) { - if (e !== wr) return !1; - if (!Te) return BS(e), (Te = !0), !1; - var t; - if ( - ((t = e.tag !== 3) && - !(t = e.tag !== 5) && - ((t = e.type), - (t = t !== "head" && t !== "body" && !h5(e.type, e.memoizedProps))), - t && (t = yr)) - ) { - if (y5(e)) throw (u7(), Error(M(418))); - for (; t; ) l7(e, t), (t = ia(t.nextSibling)); - } - if ((BS(e), e.tag === 13)) { - if (((e = e.memoizedState), (e = e !== null ? e.dehydrated : null), !e)) - throw Error(M(317)); - e: { - for (e = e.nextSibling, t = 0; e; ) { - if (e.nodeType === 8) { - var r = e.data; - if (r === "/$") { - if (t === 0) { - yr = ia(e.nextSibling); - break e; - } - t--; - } else (r !== "$" && r !== "$!" && r !== "$?") || t++; - } - e = e.nextSibling; - } - yr = null; - } - } else yr = wr ? ia(e.stateNode.nextSibling) : null; - return !0; - } - a(Od, "Gg"); - function u7() { - for (var e = yr; e; ) e = ia(e.nextSibling); - } - a(u7, "Hg"); - function Bs() { - (yr = wr = null), (Te = !1); - } - a(Bs, "Ig"); - function tv(e) { - cn === null ? (cn = [e]) : cn.push(e); - } - a(tv, "Jg"); - var J$ = bo.ReactCurrentBatchConfig; - function ln(e, t) { - if (e && e.defaultProps) { - (t = Ne({}, t)), (e = e.defaultProps); - for (var r in e) t[r] === void 0 && (t[r] = e[r]); - return t; - } - return t; - } - a(ln, "Lg"); - var l0 = ha(null), - u0 = null, - As = null, - rv = null; - function nv() { - rv = As = u0 = null; - } - a(nv, "Qg"); - function ov(e) { - var t = l0.current; - De(l0), (e._currentValue = t); - } - a(ov, "Rg"); - function b5(e, t, r) { - for (; e !== null; ) { - var n = e.alternate; - if ( - ((e.childLanes & t) !== t - ? ((e.childLanes |= t), n !== null && (n.childLanes |= t)) - : n !== null && (n.childLanes & t) !== t && (n.childLanes |= t), - e === r) - ) - break; - e = e.return; - } - } - a(b5, "Sg"); - function Os(e, t) { - (u0 = e), - (rv = As = null), - (e = e.dependencies), - e !== null && - e.firstContext !== null && - (e.lanes & t && (nr = !0), (e.firstContext = null)); - } - a(Os, "Tg"); - function Br(e) { - var t = e._currentValue; - if (rv !== e) - if (((e = { context: e, memoizedValue: t, next: null }), As === null)) { - if (u0 === null) throw Error(M(308)); - (As = e), (u0.dependencies = { lanes: 0, firstContext: e }); - } else As = As.next = e; - return t; - } - a(Br, "Vg"); - var oi = null; - function av(e) { - oi === null ? (oi = [e]) : oi.push(e); - } - a(av, "Xg"); - function c7(e, t, r, n) { - var o = t.interleaved; - return ( - o === null ? ((r.next = r), av(t)) : ((r.next = o.next), (o.next = r)), - (t.interleaved = r), - yo(e, n) - ); - } - a(c7, "Yg"); - function yo(e, t) { - e.lanes |= t; - var r = e.alternate; - for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) - (e.childLanes |= t), - (r = e.alternate), - r !== null && (r.childLanes |= t), - (r = e), - (e = e.return); - return r.tag === 3 ? r.stateNode : null; - } - a(yo, "Zg"); - var Jo = !1; - function iv(e) { - e.updateQueue = { - baseState: e.memoizedState, - firstBaseUpdate: null, - lastBaseUpdate: null, - shared: { pending: null, interleaved: null, lanes: 0 }, - effects: null, - }; - } - a(iv, "ah"); - function p7(e, t) { - (e = e.updateQueue), - t.updateQueue === e && - (t.updateQueue = { - baseState: e.baseState, - firstBaseUpdate: e.firstBaseUpdate, - lastBaseUpdate: e.lastBaseUpdate, - shared: e.shared, - effects: e.effects, - }); - } - a(p7, "bh"); - function mo(e, t) { - return { - eventTime: e, - lane: t, - tag: 0, - payload: null, - callback: null, - next: null, - }; - } - a(mo, "ch"); - function sa(e, t, r) { - var n = e.updateQueue; - if (n === null) return null; - if (((n = n.shared), ce & 2)) { - var o = n.pending; - return ( - o === null ? (t.next = t) : ((t.next = o.next), (o.next = t)), - (n.pending = t), - yo(e, r) - ); - } - return ( - (o = n.interleaved), - o === null ? ((t.next = t), av(n)) : ((t.next = o.next), (o.next = t)), - (n.interleaved = t), - yo(e, r) - ); - } - a(sa, "dh"); - function jd(e, t, r) { - if ( - ((t = t.updateQueue), t !== null && ((t = t.shared), (r & 4194240) !== 0)) - ) { - var n = t.lanes; - (n &= e.pendingLanes), (r |= n), (t.lanes = r), W5(e, r); - } - } - a(jd, "eh"); - function $S(e, t) { - var r = e.updateQueue, - n = e.alternate; - if (n !== null && ((n = n.updateQueue), r === n)) { - var o = null, - i = null; - if (((r = r.firstBaseUpdate), r !== null)) { - do { - var s = { - eventTime: r.eventTime, - lane: r.lane, - tag: r.tag, - payload: r.payload, - callback: r.callback, - next: null, - }; - i === null ? (o = i = s) : (i = i.next = s), (r = r.next); - } while (r !== null); - i === null ? (o = i = t) : (i = i.next = t); - } else o = i = t; - (r = { - baseState: n.baseState, - firstBaseUpdate: o, - lastBaseUpdate: i, - shared: n.shared, - effects: n.effects, - }), - (e.updateQueue = r); - return; - } - (e = r.lastBaseUpdate), - e === null ? (r.firstBaseUpdate = t) : (e.next = t), - (r.lastBaseUpdate = t); - } - a($S, "fh"); - function c0(e, t, r, n) { - var o = e.updateQueue; - Jo = !1; - var i = o.firstBaseUpdate, - s = o.lastBaseUpdate, - l = o.shared.pending; - if (l !== null) { - o.shared.pending = null; - var u = l, - c = u.next; - (u.next = null), s === null ? (i = c) : (s.next = c), (s = u); - var p = e.alternate; - p !== null && - ((p = p.updateQueue), - (l = p.lastBaseUpdate), - l !== s && - (l === null ? (p.firstBaseUpdate = c) : (l.next = c), - (p.lastBaseUpdate = u))); - } - if (i !== null) { - var h = o.baseState; - (s = 0), (p = c = u = null), (l = i); - do { - var m = l.lane, - g = l.eventTime; - if ((n & m) === m) { - p !== null && - (p = p.next = - { - eventTime: g, - lane: 0, - tag: l.tag, - payload: l.payload, - callback: l.callback, - next: null, - }); - e: { - var S = e, - v = l; - switch (((m = t), (g = r), v.tag)) { - case 1: - if (((S = v.payload), typeof S == "function")) { - h = S.call(g, h, m); - break e; - } - h = S; - break e; - case 3: - S.flags = (S.flags & -65537) | 128; - case 0: - if ( - ((S = v.payload), - (m = typeof S == "function" ? S.call(g, h, m) : S), - m == null) - ) - break e; - h = Ne({}, h, m); - break e; - case 2: - Jo = !0; - } - } - l.callback !== null && - l.lane !== 0 && - ((e.flags |= 64), - (m = o.effects), - m === null ? (o.effects = [l]) : m.push(l)); - } else - (g = { - eventTime: g, - lane: m, - tag: l.tag, - payload: l.payload, - callback: l.callback, - next: null, - }), - p === null ? ((c = p = g), (u = h)) : (p = p.next = g), - (s |= m); - if (((l = l.next), l === null)) { - if (((l = o.shared.pending), l === null)) break; - (m = l), - (l = m.next), - (m.next = null), - (o.lastBaseUpdate = m), - (o.shared.pending = null); - } - } while (!0); - if ( - (p === null && (u = h), - (o.baseState = u), - (o.firstBaseUpdate = c), - (o.lastBaseUpdate = p), - (t = o.shared.interleaved), - t !== null) - ) { - o = t; - do (s |= o.lane), (o = o.next); - while (o !== t); - } else i === null && (o.shared.lanes = 0); - (pi |= s), (e.lanes = s), (e.memoizedState = h); - } - } - a(c0, "gh"); - function zS(e, t, r) { - if (((e = t.effects), (t.effects = null), e !== null)) - for (t = 0; t < e.length; t++) { - var n = e[t], - o = n.callback; - if (o !== null) { - if (((n.callback = null), (n = r), typeof o != "function")) - throw Error(M(191, o)); - o.call(n); - } - } - } - a(zS, "ih"); - var f7 = new cE.Component().refs; - function S5(e, t, r, n) { - (t = e.memoizedState), - (r = r(n, t)), - (r = r == null ? t : Ne({}, t, r)), - (e.memoizedState = r), - e.lanes === 0 && (e.updateQueue.baseState = r); - } - a(S5, "kh"); - var D0 = { - isMounted: /* @__PURE__ */ a(function (e) { - return (e = e._reactInternals) ? hi(e) === e : !1; - }, "isMounted"), - enqueueSetState: /* @__PURE__ */ a(function (e, t, r) { - e = e._reactInternals; - var n = zt(), - o = ua(e), - i = mo(n, o); - (i.payload = t), - r != null && (i.callback = r), - (t = sa(e, i, o)), - t !== null && (fn(t, e, o, n), jd(t, e, o)); - }, "enqueueSetState"), - enqueueReplaceState: /* @__PURE__ */ a(function (e, t, r) { - e = e._reactInternals; - var n = zt(), - o = ua(e), - i = mo(n, o); - (i.tag = 1), - (i.payload = t), - r != null && (i.callback = r), - (t = sa(e, i, o)), - t !== null && (fn(t, e, o, n), jd(t, e, o)); - }, "enqueueReplaceState"), - enqueueForceUpdate: /* @__PURE__ */ a(function (e, t) { - e = e._reactInternals; - var r = zt(), - n = ua(e), - o = mo(r, n); - (o.tag = 2), - t != null && (o.callback = t), - (t = sa(e, o, n)), - t !== null && (fn(t, e, n, r), jd(t, e, n)); - }, "enqueueForceUpdate"), - }; - function HS(e, t, r, n, o, i, s) { - return ( - (e = e.stateNode), - typeof e.shouldComponentUpdate == "function" - ? e.shouldComponentUpdate(n, i, s) - : t.prototype && t.prototype.isPureReactComponent - ? !Gc(r, n) || !Gc(o, i) - : !0 - ); - } - a(HS, "oh"); - function d7(e, t, r) { - var n = !1, - o = fa, - i = t.contextType; - return ( - typeof i == "object" && i !== null - ? (i = Br(i)) - : ((o = ar(t) ? li : Pt.current), - (n = t.contextTypes), - (i = (n = n != null) ? Ms(e, o) : fa)), - (t = new t(r, i)), - (e.memoizedState = - t.state !== null && t.state !== void 0 ? t.state : null), - (t.updater = D0), - (e.stateNode = t), - (t._reactInternals = e), - n && - ((e = e.stateNode), - (e.__reactInternalMemoizedUnmaskedChildContext = o), - (e.__reactInternalMemoizedMaskedChildContext = i)), - t - ); - } - a(d7, "ph"); - function jS(e, t, r, n) { - (e = t.state), - typeof t.componentWillReceiveProps == "function" && - t.componentWillReceiveProps(r, n), - typeof t.UNSAFE_componentWillReceiveProps == "function" && - t.UNSAFE_componentWillReceiveProps(r, n), - t.state !== e && D0.enqueueReplaceState(t, t.state, null); - } - a(jS, "qh"); - function E5(e, t, r, n) { - var o = e.stateNode; - (o.props = r), (o.state = e.memoizedState), (o.refs = f7), iv(e); - var i = t.contextType; - typeof i == "object" && i !== null - ? (o.context = Br(i)) - : ((i = ar(t) ? li : Pt.current), (o.context = Ms(e, i))), - (o.state = e.memoizedState), - (i = t.getDerivedStateFromProps), - typeof i == "function" && (S5(e, t, i, r), (o.state = e.memoizedState)), - typeof t.getDerivedStateFromProps == "function" || - typeof o.getSnapshotBeforeUpdate == "function" || - (typeof o.UNSAFE_componentWillMount != "function" && - typeof o.componentWillMount != "function") || - ((t = o.state), - typeof o.componentWillMount == "function" && o.componentWillMount(), - typeof o.UNSAFE_componentWillMount == - "\ -function" && o.UNSAFE_componentWillMount(), - t !== o.state && D0.enqueueReplaceState(o, o.state, null), - c0(e, r, o, n), - (o.state = e.memoizedState)), - typeof o.componentDidMount == "function" && (e.flags |= 4194308); - } - a(E5, "rh"); - function xc(e, t, r) { - if ( - ((e = r.ref), - e !== null && typeof e != "function" && typeof e != "object") - ) { - if (r._owner) { - if (((r = r._owner), r)) { - if (r.tag !== 1) throw Error(M(309)); - var n = r.stateNode; - } - if (!n) throw Error(M(147, e)); - var o = n, - i = "" + e; - return t !== null && - t.ref !== null && - typeof t.ref == "function" && - t.ref._stringRef === i - ? t.ref - : ((t = /* @__PURE__ */ a(function (s) { - var l = o.refs; - l === f7 && (l = o.refs = {}), - s === null ? delete l[i] : (l[i] = s); - }, "b")), - (t._stringRef = i), - t); - } - if (typeof e != "string") throw Error(M(284)); - if (!r._owner) throw Error(M(290, e)); - } - return e; - } - a(xc, "sh"); - function Ld(e, t) { - throw ( - ((e = Object.prototype.toString.call(t)), - Error( - M( - 31, - e === "[object Object]" - ? "object with keys {" + Object.keys(t).join(", ") + "}" - : e, - ), - )) - ); - } - a(Ld, "th"); - function VS(e) { - var t = e._init; - return t(e._payload); - } - a(VS, "uh"); - function h7(e) { - function t(w, y) { - if (e) { - var E = w.deletions; - E === null ? ((w.deletions = [y]), (w.flags |= 16)) : E.push(y); - } - } - a(t, "b"); - function r(w, y) { - if (!e) return null; - for (; y !== null; ) t(w, y), (y = y.sibling); - return null; - } - a(r, "c"); - function n(w, y) { - for (w = /* @__PURE__ */ new Map(); y !== null; ) - y.key !== null ? w.set(y.key, y) : w.set(y.index, y), (y = y.sibling); - return w; - } - a(n, "d"); - function o(w, y) { - return (w = ca(w, y)), (w.index = 0), (w.sibling = null), w; - } - a(o, "e"); - function i(w, y, E) { - return ( - (w.index = E), - e - ? ((E = w.alternate), - E !== null - ? ((E = E.index), E < y ? ((w.flags |= 2), y) : E) - : ((w.flags |= 2), y)) - : ((w.flags |= 1048576), y) - ); - } - a(i, "f"); - function s(w) { - return e && w.alternate === null && (w.flags |= 2), w; - } - a(s, "g"); - function l(w, y, E, x) { - return y === null || y.tag !== 6 - ? ((y = V2(E, w.mode, x)), (y.return = w), y) - : ((y = o(y, E)), (y.return = w), y); - } - a(l, "h"); - function u(w, y, E, x) { - var C = E.type; - return C === ws - ? p(w, y, E.props.children, x, E.key) - : y !== null && - (y.elementType === C || - (typeof C == "object" && - C !== null && - C.$$typeof === Qo && - VS(C) === y.type)) - ? ((x = o(y, E.props)), (x.ref = xc(w, y, E)), (x.return = w), x) - : ((x = Yd(E.type, E.key, E.props, null, w.mode, x)), - (x.ref = xc(w, y, E)), - (x.return = w), - x); - } - a(u, "k"); - function c(w, y, E, x) { - return y === null || - y.tag !== 4 || - y.stateNode.containerInfo !== E.containerInfo || - y.stateNode.implementation !== E.implementation - ? ((y = U2(E, w.mode, x)), (y.return = w), y) - : ((y = o(y, E.children || [])), (y.return = w), y); - } - a(c, "l"); - function p(w, y, E, x, C) { - return y === null || y.tag !== 7 - ? ((y = si(E, w.mode, x, C)), (y.return = w), y) - : ((y = o(y, E)), (y.return = w), y); - } - a(p, "m"); - function h(w, y, E) { - if ((typeof y == "string" && y !== "") || typeof y == "number") - return (y = V2("" + y, w.mode, E)), (y.return = w), y; - if (typeof y == "object" && y !== null) { - switch (y.$$typeof) { - case bd: - return ( - (E = Yd(y.type, y.key, y.props, null, w.mode, E)), - (E.ref = xc(w, null, y)), - (E.return = w), - E - ); - case ys: - return (y = U2(y, w.mode, E)), (y.return = w), y; - case Qo: - var x = y._init; - return h(w, x(y._payload), E); - } - if (_c(y) || wc(y)) - return (y = si(y, w.mode, E, null)), (y.return = w), y; - Ld(w, y); - } - return null; - } - a(h, "q"); - function m(w, y, E, x) { - var C = y !== null ? y.key : null; - if ((typeof E == "string" && E !== "") || typeof E == "number") - return C !== null ? null : l(w, y, "" + E, x); - if (typeof E == "object" && E !== null) { - switch (E.$$typeof) { - case bd: - return E.key === C ? u(w, y, E, x) : null; - case ys: - return E.key === C ? c(w, y, E, x) : null; - case Qo: - return (C = E._init), m(w, y, C(E._payload), x); - } - if (_c(E) || wc(E)) return C !== null ? null : p(w, y, E, x, null); - Ld(w, E); - } - return null; - } - a(m, "r"); - function g(w, y, E, x, C) { - if ((typeof x == "string" && x !== "") || typeof x == "number") - return (w = w.get(E) || null), l(y, w, "" + x, C); - if (typeof x == "object" && x !== null) { - switch (x.$$typeof) { - case bd: - return ( - (w = w.get(x.key === null ? E : x.key) || null), u(y, w, x, C) - ); - case ys: - return ( - (w = w.get(x.key === null ? E : x.key) || null), c(y, w, x, C) - ); - case Qo: - var D = x._init; - return g(w, y, E, D(x._payload), C); - } - if (_c(x) || wc(x)) return (w = w.get(E) || null), p(y, w, x, C, null); - Ld(y, x); - } - return null; - } - a(g, "y"); - function S(w, y, E, x) { - for ( - var C = null, D = null, R = y, A = (y = 0), _ = null; - R !== null && A < E.length; - A++ - ) { - R.index > A ? ((_ = R), (R = null)) : (_ = R.sibling); - var P = m(w, R, E[A], x); - if (P === null) { - R === null && (R = _); - break; - } - e && R && P.alternate === null && t(w, R), - (y = i(P, y, A)), - D === null ? (C = P) : (D.sibling = P), - (D = P), - (R = _); - } - if (A === E.length) return r(w, R), Te && ti(w, A), C; - if (R === null) { - for (; A < E.length; A++) - (R = h(w, E[A], x)), - R !== null && - ((y = i(R, y, A)), - D === null ? (C = R) : (D.sibling = R), - (D = R)); - return Te && ti(w, A), C; - } - for (R = n(w, R); A < E.length; A++) - (_ = g(R, w, A, E[A], x)), - _ !== null && - (e && _.alternate !== null && R.delete(_.key === null ? A : _.key), - (y = i(_, y, A)), - D === null ? (C = _) : (D.sibling = _), - (D = _)); - return ( - e && - R.forEach(function (B) { - return t(w, B); - }), - Te && ti(w, A), - C - ); - } - a(S, "n"); - function v(w, y, E, x) { - var C = wc(E); - if (typeof C != "function") throw Error(M(150)); - if (((E = C.call(E)), E == null)) throw Error(M(151)); - for ( - var D = (C = null), R = y, A = (y = 0), _ = null, P = E.next(); - R !== null && !P.done; - A++, P = E.next() - ) { - R.index > A ? ((_ = R), (R = null)) : (_ = R.sibling); - var B = m(w, R, P.value, x); - if (B === null) { - R === null && (R = _); - break; - } - e && R && B.alternate === null && t(w, R), - (y = i(B, y, A)), - D === null ? (C = B) : (D.sibling = B), - (D = B), - (R = _); - } - if (P.done) return r(w, R), Te && ti(w, A), C; - if (R === null) { - for (; !P.done; A++, P = E.next()) - (P = h(w, P.value, x)), - P !== null && - ((y = i(P, y, A)), - D === null ? (C = P) : (D.sibling = P), - (D = P)); - return Te && ti(w, A), C; - } - for (R = n(w, R); !P.done; A++, P = E.next()) - (P = g(R, w, A, P.value, x)), - P !== null && - (e && P.alternate !== null && R.delete(P.key === null ? A : P.key), - (y = i(P, y, A)), - D === null ? (C = P) : (D.sibling = P), - (D = P)); - return ( - e && - R.forEach(function (z) { - return t(w, z); - }), - Te && ti(w, A), - C - ); - } - a(v, "t"); - function b(w, y, E, x) { - if ( - (typeof E == "object" && - E !== null && - E.type === ws && - E.key === null && - (E = E.props.children), - typeof E == "object" && E !== null) - ) { - switch (E.$$typeof) { - case bd: - e: { - for (var C = E.key, D = y; D !== null; ) { - if (D.key === C) { - if (((C = E.type), C === ws)) { - if (D.tag === 7) { - r(w, D.sibling), - (y = o(D, E.props.children)), - (y.return = w), - (w = y); - break e; - } - } else if ( - D.elementType === C || - (typeof C == "object" && - C !== null && - C.$$typeof === Qo && - VS(C) === D.type) - ) { - r(w, D.sibling), - (y = o(D, E.props)), - (y.ref = xc(w, D, E)), - (y.return = w), - (w = y); - break e; - } - r(w, D); - break; - } else t(w, D); - D = D.sibling; - } - E.type === ws - ? ((y = si(E.props.children, w.mode, x, E.key)), - (y.return = w), - (w = y)) - : ((x = Yd(E.type, E.key, E.props, null, w.mode, x)), - (x.ref = xc(w, y, E)), - (x.return = w), - (w = x)); - } - return s(w); - case ys: - e: { - for (D = E.key; y !== null; ) { - if (y.key === D) - if ( - y.tag === 4 && - y.stateNode.containerInfo === E.containerInfo && - y.stateNode.implementation === E.implementation - ) { - r(w, y.sibling), - (y = o(y, E.children || [])), - (y.return = w), - (w = y); - break e; - } else { - r(w, y); - break; - } - else t(w, y); - y = y.sibling; - } - (y = U2(E, w.mode, x)), (y.return = w), (w = y); - } - return s(w); - case Qo: - return (D = E._init), b(w, y, D(E._payload), x); - } - if (_c(E)) return S(w, y, E, x); - if (wc(E)) return v(w, y, E, x); - Ld(w, E); - } - return (typeof E == "string" && E !== "") || typeof E == "number" - ? ((E = "" + E), - y !== null && y.tag === 6 - ? (r(w, y.sibling), (y = o(y, E)), (y.return = w), (w = y)) - : (r(w, y), (y = V2(E, w.mode, x)), (y.return = w), (w = y)), - s(w)) - : r(w, y); - } - return a(b, "J"), b; - } - a(h7, "vh"); - var $s = h7(!0), - m7 = h7(!1), - ip = {}, - $n = ha(ip), - Qc = ha(ip), - Jc = ha(ip); - function ai(e) { - if (e === ip) throw Error(M(174)); - return e; - } - a(ai, "Hh"); - function sv(e, t) { - switch ((xe(Jc, t), xe(Qc, e), xe($n, ip), (e = t.nodeType), e)) { - case 9: - case 11: - t = (t = t.documentElement) ? t.namespaceURI : e5(null, ""); - break; - default: - (e = e === 8 ? t.parentNode : t), - (t = e.namespaceURI || null), - (e = e.tagName), - (t = e5(t, e)); - } - De($n), xe($n, t); - } - a(sv, "Ih"); - function zs() { - De($n), De(Qc), De(Jc); - } - a(zs, "Jh"); - function g7(e) { - ai(Jc.current); - var t = ai($n.current), - r = e5(t, e.type); - t !== r && (xe(Qc, e), xe($n, r)); - } - a(g7, "Kh"); - function lv(e) { - Qc.current === e && (De($n), De(Qc)); - } - a(lv, "Lh"); - var Oe = ha(0); - function p0(e) { - for (var t = e; t !== null; ) { - if (t.tag === 13) { - var r = t.memoizedState; - if ( - r !== null && - ((r = r.dehydrated), r === null || r.data === "$?" || r.data === "$!") - ) - return t; - } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { - if (t.flags & 128) return t; - } else if (t.child !== null) { - (t.child.return = t), (t = t.child); - continue; - } - if (t === e) break; - for (; t.sibling === null; ) { - if (t.return === null || t.return === e) return null; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } - return null; - } - a(p0, "Mh"); - var M2 = []; - function uv() { - for (var e = 0; e < M2.length; e++) - M2[e]._workInProgressVersionPrimary = null; - M2.length = 0; - } - a(uv, "Oh"); - var Vd = bo.ReactCurrentDispatcher, - B2 = bo.ReactCurrentBatchConfig, - ci = 0, - Le = null, - ot = null, - pt = null, - f0 = !1, - Nc = !1, - Zc = 0, - Z$ = 0; - function Tt() { - throw Error(M(321)); - } - a(Tt, "Q"); - function cv(e, t) { - if (t === null) return !1; - for (var r = 0; r < t.length && r < e.length; r++) - if (!dn(e[r], t[r])) return !1; - return !0; - } - a(cv, "Wh"); - function pv(e, t, r, n, o, i) { - if ( - ((ci = i), - (Le = t), - (t.memoizedState = null), - (t.updateQueue = null), - (t.lanes = 0), - (Vd.current = e === null || e.memoizedState === null ? nz : oz), - (e = r(n, o)), - Nc) - ) { - i = 0; - do { - if (((Nc = !1), (Zc = 0), 25 <= i)) throw Error(M(301)); - (i += 1), - (pt = ot = null), - (t.updateQueue = null), - (Vd.current = az), - (e = r(n, o)); - } while (Nc); - } - if ( - ((Vd.current = d0), - (t = ot !== null && ot.next !== null), - (ci = 0), - (pt = ot = Le = null), - (f0 = !1), - t) - ) - throw Error(M(300)); - return e; - } - a(pv, "Xh"); - function fv() { - var e = Zc !== 0; - return (Zc = 0), e; - } - a(fv, "bi"); - function Nn() { - var e = { - memoizedState: null, - baseState: null, - baseQueue: null, - queue: null, - next: null, - }; - return pt === null ? (Le.memoizedState = pt = e) : (pt = pt.next = e), pt; - } - a(Nn, "ci"); - function $r() { - if (ot === null) { - var e = Le.alternate; - e = e !== null ? e.memoizedState : null; - } else e = ot.next; - var t = pt === null ? Le.memoizedState : pt.next; - if (t !== null) (pt = t), (ot = e); - else { - if (e === null) throw Error(M(310)); - (ot = e), - (e = { - memoizedState: ot.memoizedState, - baseState: ot.baseState, - baseQueue: ot.baseQueue, - queue: ot.queue, - next: null, - }), - pt === null ? (Le.memoizedState = pt = e) : (pt = pt.next = e); - } - return pt; - } - a($r, "di"); - function ep(e, t) { - return typeof t == "function" ? t(e) : t; - } - a(ep, "ei"); - function $2(e) { - var t = $r(), - r = t.queue; - if (r === null) throw Error(M(311)); - r.lastRenderedReducer = e; - var n = ot, - o = n.baseQueue, - i = r.pending; - if (i !== null) { - if (o !== null) { - var s = o.next; - (o.next = i.next), (i.next = s); - } - (n.baseQueue = o = i), (r.pending = null); - } - if (o !== null) { - (i = o.next), (n = n.baseState); - var l = (s = null), - u = null, - c = i; - do { - var p = c.lane; - if ((ci & p) === p) - u !== null && - (u = u.next = - { - lane: 0, - action: c.action, - hasEagerState: c.hasEagerState, - eagerState: c.eagerState, - next: null, - }), - (n = c.hasEagerState ? c.eagerState : e(n, c.action)); - else { - var h = { - lane: p, - action: c.action, - hasEagerState: c.hasEagerState, - eagerState: c.eagerState, - next: null, - }; - u === null ? ((l = u = h), (s = n)) : (u = u.next = h), - (Le.lanes |= p), - (pi |= p); - } - c = c.next; - } while (c !== null && c !== i); - u === null ? (s = n) : (u.next = l), - dn(n, t.memoizedState) || (nr = !0), - (t.memoizedState = n), - (t.baseState = s), - (t.baseQueue = u), - (r.lastRenderedState = n); - } - if (((e = r.interleaved), e !== null)) { - o = e; - do (i = o.lane), (Le.lanes |= i), (pi |= i), (o = o.next); - while (o !== e); - } else o === null && (r.lanes = 0); - return [t.memoizedState, r.dispatch]; - } - a($2, "fi"); - function z2(e) { - var t = $r(), - r = t.queue; - if (r === null) throw Error(M(311)); - r.lastRenderedReducer = e; - var n = r.dispatch, - o = r.pending, - i = t.memoizedState; - if (o !== null) { - r.pending = null; - var s = (o = o.next); - do (i = e(i, s.action)), (s = s.next); - while (s !== o); - dn(i, t.memoizedState) || (nr = !0), - (t.memoizedState = i), - t.baseQueue === null && (t.baseState = i), - (r.lastRenderedState = i); - } - return [i, n]; - } - a(z2, "gi"); - function v7() {} - a(v7, "hi"); - function y7(e, t) { - var r = Le, - n = $r(), - o = t(), - i = !dn(n.memoizedState, o); - if ( - (i && ((n.memoizedState = o), (nr = !0)), - (n = n.queue), - dv(S7.bind(null, r, n, e), [e]), - n.getSnapshot !== t || i || (pt !== null && pt.memoizedState.tag & 1)) - ) { - if ( - ((r.flags |= 2048), - tp(9, b7.bind(null, r, n, o, t), void 0, null), - ft === null) - ) - throw Error(M(349)); - ci & 30 || w7(r, t, o); - } - return o; - } - a(y7, "ii"); - function w7(e, t, r) { - (e.flags |= 16384), - (e = { getSnapshot: t, value: r }), - (t = Le.updateQueue), - t === null - ? ((t = { lastEffect: null, stores: null }), - (Le.updateQueue = t), - (t.stores = [e])) - : ((r = t.stores), r === null ? (t.stores = [e]) : r.push(e)); - } - a(w7, "ni"); - function b7(e, t, r, n) { - (t.value = r), (t.getSnapshot = n), E7(t) && x7(e); - } - a(b7, "mi"); - function S7(e, t, r) { - return r(function () { - E7(t) && x7(e); - }); - } - a(S7, "ki"); - function E7(e) { - var t = e.getSnapshot; - e = e.value; - try { - var r = t(); - return !dn(e, r); - } catch { - return !0; - } - } - a(E7, "oi"); - function x7(e) { - var t = yo(e, 1); - t !== null && fn(t, e, 1, -1); - } - a(x7, "pi"); - function US(e) { - var t = Nn(); - return ( - typeof e == "function" && (e = e()), - (t.memoizedState = t.baseState = e), - (e = { - pending: null, - interleaved: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: ep, - lastRenderedState: e, - }), - (t.queue = e), - (e = e.dispatch = rz.bind(null, Le, e)), - [t.memoizedState, e] - ); - } - a(US, "qi"); - function tp(e, t, r, n) { - return ( - (e = { tag: e, create: t, destroy: r, deps: n, next: null }), - (t = Le.updateQueue), - t === null - ? ((t = { lastEffect: null, stores: null }), - (Le.updateQueue = t), - (t.lastEffect = e.next = e)) - : ((r = t.lastEffect), - r === null - ? (t.lastEffect = e.next = e) - : ((n = r.next), (r.next = e), (e.next = n), (t.lastEffect = e))), - e - ); - } - a(tp, "li"); - function C7() { - return $r().memoizedState; - } - a(C7, "si"); - function Ud(e, t, r, n) { - var o = Nn(); - (Le.flags |= e), - (o.memoizedState = tp(1 | t, r, void 0, n === void 0 ? null : n)); - } - a(Ud, "ti"); - function R0(e, t, r, n) { - var o = $r(); - n = n === void 0 ? null : n; - var i = void 0; - if (ot !== null) { - var s = ot.memoizedState; - if (((i = s.destroy), n !== null && cv(n, s.deps))) { - o.memoizedState = tp(t, r, i, n); - return; - } - } - (Le.flags |= e), (o.memoizedState = tp(1 | t, r, i, n)); - } - a(R0, "ui"); - function WS(e, t) { - return Ud(8390656, 8, e, t); - } - a(WS, "vi"); - function dv(e, t) { - return R0(2048, 8, e, t); - } - a(dv, "ji"); - function D7(e, t) { - return R0(4, 2, e, t); - } - a(D7, "wi"); - function R7(e, t) { - return R0(4, 4, e, t); - } - a(R7, "xi"); - function A7(e, t) { - if (typeof t == "function") - return ( - (e = e()), - t(e), - function () { - t(null); - } - ); - if (t != null) - return ( - (e = e()), - (t.current = e), - function () { - t.current = null; - } - ); - } - a(A7, "yi"); - function _7(e, t, r) { - return ( - (r = r != null ? r.concat([e]) : null), R0(4, 4, A7.bind(null, t, e), r) - ); - } - a(_7, "zi"); - function hv() {} - a(hv, "Ai"); - function T7(e, t) { - var r = $r(); - t = t === void 0 ? null : t; - var n = r.memoizedState; - return n !== null && t !== null && cv(t, n[1]) - ? n[0] - : ((r.memoizedState = [e, t]), e); - } - a(T7, "Bi"); - function k7(e, t) { - var r = $r(); - t = t === void 0 ? null : t; - var n = r.memoizedState; - return n !== null && t !== null && cv(t, n[1]) - ? n[0] - : ((e = e()), (r.memoizedState = [e, t]), e); - } - a(k7, "Ci"); - function I7(e, t, r) { - return ci & 21 - ? (dn(r, t) || - ((r = OE()), (Le.lanes |= r), (pi |= r), (e.baseState = !0)), - t) - : (e.baseState && ((e.baseState = !1), (nr = !0)), (e.memoizedState = r)); - } - a(I7, "Di"); - function ez(e, t) { - var r = me; - (me = r !== 0 && 4 > r ? r : 4), e(!0); - var n = B2.transition; - B2.transition = {}; - try { - e(!1), t(); - } finally { - (me = r), (B2.transition = n); - } - } - a(ez, "Ei"); - function P7() { - return $r().memoizedState; - } - a(P7, "Fi"); - function tz(e, t, r) { - var n = ua(e); - if ( - ((r = { - lane: n, - action: r, - hasEagerState: !1, - eagerState: null, - next: null, - }), - F7(e)) - ) - O7(t, r); - else if (((r = c7(e, t, r, n)), r !== null)) { - var o = zt(); - fn(r, e, n, o), L7(r, t, n); - } - } - a(tz, "Gi"); - function rz(e, t, r) { - var n = ua(e), - o = { - lane: n, - action: r, - hasEagerState: !1, - eagerState: null, - next: null, - }; - if (F7(e)) O7(t, o); - else { - var i = e.alternate; - if ( - e.lanes === 0 && - (i === null || i.lanes === 0) && - ((i = t.lastRenderedReducer), i !== null) - ) - try { - var s = t.lastRenderedState, - l = i(s, r); - if (((o.hasEagerState = !0), (o.eagerState = l), dn(l, s))) { - var u = t.interleaved; - u === null - ? ((o.next = o), av(t)) - : ((o.next = u.next), (u.next = o)), - (t.interleaved = o); - return; - } - } catch { - } finally { - } - (r = c7(e, t, o, n)), - r !== null && ((o = zt()), fn(r, e, n, o), L7(r, t, n)); - } - } - a(rz, "ri"); - function F7(e) { - var t = e.alternate; - return e === Le || (t !== null && t === Le); - } - a(F7, "Hi"); - function O7(e, t) { - Nc = f0 = !0; - var r = e.pending; - r === null ? (t.next = t) : ((t.next = r.next), (r.next = t)), - (e.pending = t); - } - a(O7, "Ii"); - function L7(e, t, r) { - if (r & 4194240) { - var n = t.lanes; - (n &= e.pendingLanes), (r |= n), (t.lanes = r), W5(e, r); - } - } - a(L7, "Ji"); - var d0 = { - readContext: Br, - useCallback: Tt, - useContext: Tt, - useEffect: Tt, - useImperativeHandle: Tt, - useInsertionEffect: Tt, - useLayoutEffect: Tt, - useMemo: Tt, - useReducer: Tt, - useRef: Tt, - useState: Tt, - useDebugValue: Tt, - useDeferredValue: Tt, - useTransition: Tt, - useMutableSource: Tt, - useSyncExternalStore: Tt, - useId: Tt, - unstable_isNewReconciler: !1, - }, - nz = { - readContext: Br, - useCallback: /* @__PURE__ */ a(function (e, t) { - return (Nn().memoizedState = [e, t === void 0 ? null : t]), e; - }, "useCallback"), - useContext: Br, - useEffect: WS, - useImperativeHandle: /* @__PURE__ */ a(function (e, t, r) { - return ( - (r = r != null ? r.concat([e]) : null), - Ud(4194308, 4, A7.bind(null, t, e), r) - ); - }, "useImperativeHandle"), - useLayoutEffect: /* @__PURE__ */ a(function (e, t) { - return Ud(4194308, 4, e, t); - }, "useLayoutEffect"), - useInsertionEffect: /* @__PURE__ */ a(function (e, t) { - return Ud(4, 2, e, t); - }, "useInsertionEffect"), - useMemo: /* @__PURE__ */ a(function (e, t) { - var r = Nn(); - return ( - (t = t === void 0 ? null : t), - (e = e()), - (r.memoizedState = [e, t]), - e - ); - }, "useMemo"), - useReducer: /* @__PURE__ */ a(function (e, t, r) { - var n = Nn(); - return ( - (t = r !== void 0 ? r(t) : t), - (n.memoizedState = n.baseState = t), - (e = { - pending: null, - interleaved: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: e, - lastRenderedState: t, - }), - (n.queue = e), - (e = e.dispatch = tz.bind(null, Le, e)), - [n.memoizedState, e] - ); - }, "useReducer"), - useRef: /* @__PURE__ */ a(function (e) { - var t = Nn(); - return (e = { current: e }), (t.memoizedState = e); - }, "useRef"), - useState: US, - useDebugValue: hv, - useDeferredValue: /* @__PURE__ */ a(function (e) { - return (Nn().memoizedState = e); - }, "useDeferredValue"), - useTransition: /* @__PURE__ */ a(function () { - var e = US(!1), - t = e[0]; - return (e = ez.bind(null, e[1])), (Nn().memoizedState = e), [t, e]; - }, "useTransition"), - useMutableSource: /* @__PURE__ */ a(function () {}, "useMutableSource"), - useSyncExternalStore: /* @__PURE__ */ a(function (e, t, r) { - var n = Le, - o = Nn(); - if (Te) { - if (r === void 0) throw Error(M(407)); - r = r(); - } else { - if (((r = t()), ft === null)) throw Error(M(349)); - ci & 30 || w7(n, t, r); - } - o.memoizedState = r; - var i = { value: r, getSnapshot: t }; - return ( - (o.queue = i), - WS(S7.bind(null, n, i, e), [e]), - (n.flags |= 2048), - tp(9, b7.bind(null, n, i, r, t), void 0, null), - r - ); - }, "useSyncExternalStore"), - useId: /* @__PURE__ */ a(function () { - var e = Nn(), - t = ft.identifierPrefix; - if (Te) { - var r = ho, - n = fo; - (r = (n & ~(1 << (32 - pn(n) - 1))).toString(32) + r), - (t = ":" + t + "R" + r), - (r = Zc++), - 0 < r && (t += "H" + r.toString(32)), - (t += ":"); - } else (r = Z$++), (t = ":" + t + "r" + r.toString(32) + ":"); - return (e.memoizedState = t); - }, "useId"), - unstable_isNewReconciler: !1, - }, - oz = { - readContext: Br, - useCallback: T7, - useContext: Br, - useEffect: dv, - useImperativeHandle: _7, - useInsertionEffect: D7, - useLayoutEffect: R7, - useMemo: k7, - useReducer: $2, - useRef: C7, - useState: /* @__PURE__ */ a(function () { - return $2(ep); - }, "useState"), - useDebugValue: hv, - useDeferredValue: /* @__PURE__ */ a(function (e) { - var t = $r(); - return I7(t, ot.memoizedState, e); - }, "useDeferredValue"), - useTransition: /* @__PURE__ */ a(function () { - var e = $2(ep)[0], - t = $r().memoizedState; - return [e, t]; - }, "useTransition"), - useMutableSource: v7, - useSyncExternalStore: y7, - useId: P7, - unstable_isNewReconciler: !1, - }, - az = { - readContext: Br, - useCallback: T7, - useContext: Br, - useEffect: dv, - useImperativeHandle: _7, - useInsertionEffect: D7, - useLayoutEffect: R7, - useMemo: k7, - useReducer: z2, - useRef: C7, - useState: /* @__PURE__ */ a(function () { - return z2(ep); - }, "useState"), - useDebugValue: hv, - useDeferredValue: /* @__PURE__ */ a(function (e) { - var t = $r(); - return ot === null ? (t.memoizedState = e) : I7(t, ot.memoizedState, e); - }, "useDeferredValue"), - useTransition: /* @__PURE__ */ a(function () { - var e = z2(ep)[0], - t = $r().memoizedState; - return [e, t]; - }, "useTransition"), - useMutableSource: v7, - useSyncExternalStore: y7, - useId: P7, - unstable_isNewReconciler: !1, - }; - function Hs(e, t) { - try { - var r = "", - n = t; - do (r += LB(n)), (n = n.return); - while (n); - var o = r; - } catch (i) { - o = - ` -Error generating stack: ` + - i.message + - ` -` + - i.stack; - } - return { value: e, source: t, stack: o, digest: null }; - } - a(Hs, "Ki"); - function H2(e, t, r) { - return { value: e, source: null, stack: r ?? null, digest: t ?? null }; - } - a(H2, "Li"); - function x5(e, t) { - try { - console.error(t.value); - } catch (r) { - setTimeout(function () { - throw r; - }); - } - } - a(x5, "Mi"); - var iz = typeof WeakMap == "function" ? WeakMap : Map; - function N7(e, t, r) { - (r = mo(-1, r)), (r.tag = 3), (r.payload = { element: null }); - var n = t.value; - return ( - (r.callback = function () { - m0 || ((m0 = !0), (F5 = n)), x5(e, t); - }), - r - ); - } - a(N7, "Oi"); - function M7(e, t, r) { - (r = mo(-1, r)), (r.tag = 3); - var n = e.type.getDerivedStateFromError; - if (typeof n == "function") { - var o = t.value; - (r.payload = function () { - return n(o); - }), - (r.callback = function () { - x5(e, t); - }); - } - var i = e.stateNode; - return ( - i !== null && - typeof i.componentDidCatch == "function" && - (r.callback = function () { - x5(e, t), - typeof n != "function" && - (la === null - ? (la = /* @__PURE__ */ new Set([this])) - : la.add(this)); - var s = t.stack; - this.componentDidCatch(t.value, { - componentStack: s !== null ? s : "", - }); - }), - r - ); - } - a(M7, "Ri"); - function qS(e, t, r) { - var n = e.pingCache; - if (n === null) { - n = e.pingCache = new iz(); - var o = /* @__PURE__ */ new Set(); - n.set(t, o); - } else - (o = n.get(t)), - o === void 0 && ((o = /* @__PURE__ */ new Set()), n.set(t, o)); - o.has(r) || (o.add(r), (e = bz.bind(null, e, t, r)), t.then(e, e)); - } - a(qS, "Ti"); - function GS(e) { - do { - var t; - if ( - ((t = e.tag === 13) && - ((t = e.memoizedState), - (t = t !== null ? t.dehydrated !== null : !0)), - t) - ) - return e; - e = e.return; - } while (e !== null); - return null; - } - a(GS, "Vi"); - function YS(e, t, r, n, o) { - return e.mode & 1 - ? ((e.flags |= 65536), (e.lanes = o), e) - : (e === t - ? (e.flags |= 65536) - : ((e.flags |= 128), - (r.flags |= 131072), - (r.flags &= -52805), - r.tag === 1 && - (r.alternate === null - ? (r.tag = 17) - : ((t = mo(-1, 1)), (t.tag = 2), sa(r, t, 1))), - (r.lanes |= 1)), - e); - } - a(YS, "Wi"); - var sz = bo.ReactCurrentOwner, - nr = !1; - function $t(e, t, r, n) { - t.child = e === null ? m7(t, null, r, n) : $s(t, e.child, r, n); - } - a($t, "Yi"); - function KS(e, t, r, n, o) { - r = r.render; - var i = t.ref; - return ( - Os(t, o), - (n = pv(e, t, r, n, i, o)), - (r = fv()), - e !== null && !nr - ? ((t.updateQueue = e.updateQueue), - (t.flags &= -2053), - (e.lanes &= ~o), - wo(e, t, o)) - : (Te && r && Z5(t), (t.flags |= 1), $t(e, t, n, o), t.child) - ); - } - a(KS, "Zi"); - function XS(e, t, r, n, o) { - if (e === null) { - var i = r.type; - return typeof i == "function" && - !Ev(i) && - i.defaultProps === void 0 && - r.compare === null && - r.defaultProps === void 0 - ? ((t.tag = 15), (t.type = i), B7(e, t, i, n, o)) - : ((e = Yd(r.type, null, n, t, t.mode, o)), - (e.ref = t.ref), - (e.return = t), - (t.child = e)); - } - if (((i = e.child), !(e.lanes & o))) { - var s = i.memoizedProps; - if ( - ((r = r.compare), (r = r !== null ? r : Gc), r(s, n) && e.ref === t.ref) - ) - return wo(e, t, o); - } - return ( - (t.flags |= 1), - (e = ca(i, n)), - (e.ref = t.ref), - (e.return = t), - (t.child = e) - ); - } - a(XS, "aj"); - function B7(e, t, r, n, o) { - if (e !== null) { - var i = e.memoizedProps; - if (Gc(i, n) && e.ref === t.ref) - if (((nr = !1), (t.pendingProps = n = i), (e.lanes & o) !== 0)) - e.flags & 131072 && (nr = !0); - else return (t.lanes = e.lanes), wo(e, t, o); - } - return C5(e, t, r, n, o); - } - a(B7, "cj"); - function $7(e, t, r) { - var n = t.pendingProps, - o = n.children, - i = e !== null ? e.memoizedState : null; - if (n.mode === "hidden") - if (!(t.mode & 1)) - (t.memoizedState = { - baseLanes: 0, - cachePool: null, - transitions: null, - }), - xe(Ts, vr), - (vr |= r); - else { - if (!(r & 1073741824)) - return ( - (e = i !== null ? i.baseLanes | r : r), - (t.lanes = t.childLanes = 1073741824), - (t.memoizedState = { - baseLanes: e, - cachePool: null, - transitions: null, - }), - (t.updateQueue = null), - xe(Ts, vr), - (vr |= e), - null - ); - (t.memoizedState = { - baseLanes: 0, - cachePool: null, - transitions: null, - }), - (n = i !== null ? i.baseLanes : r), - xe(Ts, vr), - (vr |= n); - } - else - i !== null ? ((n = i.baseLanes | r), (t.memoizedState = null)) : (n = r), - xe(Ts, vr), - (vr |= n); - return $t(e, t, o, r), t.child; - } - a($7, "ej"); - function z7(e, t) { - var r = t.ref; - ((e === null && r !== null) || (e !== null && e.ref !== r)) && - ((t.flags |= 512), (t.flags |= 2097152)); - } - a(z7, "hj"); - function C5(e, t, r, n, o) { - var i = ar(r) ? li : Pt.current; - return ( - (i = Ms(t, i)), - Os(t, o), - (r = pv(e, t, r, n, i, o)), - (n = fv()), - e !== null && !nr - ? ((t.updateQueue = e.updateQueue), - (t.flags &= -2053), - (e.lanes &= ~o), - wo(e, t, o)) - : (Te && n && Z5(t), (t.flags |= 1), $t(e, t, r, o), t.child) - ); - } - a(C5, "dj"); - function QS(e, t, r, n, o) { - if (ar(r)) { - var i = !0; - a0(t); - } else i = !1; - if ((Os(t, o), t.stateNode === null)) - Wd(e, t), d7(t, r, n), E5(t, r, n, o), (n = !0); - else if (e === null) { - var s = t.stateNode, - l = t.memoizedProps; - s.props = l; - var u = s.context, - c = r.contextType; - typeof c == "object" && c !== null - ? (c = Br(c)) - : ((c = ar(r) ? li : Pt.current), (c = Ms(t, c))); - var p = r.getDerivedStateFromProps, - h = - typeof p == "function" || - typeof s.getSnapshotBeforeUpdate == "function"; - h || - (typeof s.UNSAFE_componentWillReceiveProps != "function" && - typeof s.componentWillReceiveProps != "function") || - ((l !== n || u !== c) && jS(t, s, n, c)), - (Jo = !1); - var m = t.memoizedState; - (s.state = m), - c0(t, n, s, o), - (u = t.memoizedState), - l !== n || m !== u || or.current || Jo - ? (typeof p == "function" && (S5(t, r, p, n), (u = t.memoizedState)), - (l = Jo || HS(t, r, l, n, m, u, c)) - ? (h || - (typeof s.UNSAFE_componentWillMount != "function" && - typeof s.componentWillMount != "function") || - (typeof s.componentWillMount == "function" && - s.componentWillMount(), - typeof s.UNSAFE_componentWillMount == "function" && - s.UNSAFE_componentWillMount()), - typeof s.componentDidMount == "function" && - (t.flags |= 4194308)) - : (typeof s.componentDidMount == - "fu\ -nction" && (t.flags |= 4194308), - (t.memoizedProps = n), - (t.memoizedState = u)), - (s.props = n), - (s.state = u), - (s.context = c), - (n = l)) - : (typeof s.componentDidMount == "function" && (t.flags |= 4194308), - (n = !1)); - } else { - (s = t.stateNode), - p7(e, t), - (l = t.memoizedProps), - (c = t.type === t.elementType ? l : ln(t.type, l)), - (s.props = c), - (h = t.pendingProps), - (m = s.context), - (u = r.contextType), - typeof u == "object" && u !== null - ? (u = Br(u)) - : ((u = ar(r) ? li : Pt.current), (u = Ms(t, u))); - var g = r.getDerivedStateFromProps; - (p = - typeof g == "function" || - typeof s.getSnapshotBeforeUpdate == "function") || - (typeof s.UNSAFE_componentWillReceiveProps != - "functi\ -on" && - typeof s.componentWillReceiveProps != "function") || - ((l !== h || m !== u) && jS(t, s, n, u)), - (Jo = !1), - (m = t.memoizedState), - (s.state = m), - c0(t, n, s, o); - var S = t.memoizedState; - l !== h || m !== S || or.current || Jo - ? (typeof g == "function" && (S5(t, r, g, n), (S = t.memoizedState)), - (c = Jo || HS(t, r, c, n, m, S, u) || !1) - ? (p || - (typeof s.UNSAFE_componentWillUpdate != "function" && - typeof s.componentWillUpdate != "function") || - (typeof s.componentWillUpdate == "function" && - s.componentWillUpdate(n, S, u), - typeof s.UNSAFE_componentWillUpdate == "function" && - s.UNSAFE_componentWillUpdate(n, S, u)), - typeof s.componentDidUpdate == "function" && (t.flags |= 4), - typeof s.getSnapshotBeforeUpdate == "function" && - (t.flags |= 1024)) - : (typeof s.componentDidUpdate != "function" || - (l === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 4), - typeof s.getSnapshotBeforeUpdate != "function" || - (l === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 1024), - (t.memoizedProps = n), - (t.memoizedState = S)), - (s.props = n), - (s.state = S), - (s.context = u), - (n = c)) - : (typeof s.componentDidUpdate != "function" || - (l === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 4), - typeof s.getSnapshotBeforeUpdate != "function" || - (l === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 1024), - (n = !1)); - } - return D5(e, t, r, n, i, o); - } - a(QS, "ij"); - function D5(e, t, r, n, o, i) { - z7(e, t); - var s = (t.flags & 128) !== 0; - if (!n && !s) return o && NS(t, r, !1), wo(e, t, i); - (n = t.stateNode), (sz.current = t); - var l = - s && typeof r.getDerivedStateFromError != "function" ? null : n.render(); - return ( - (t.flags |= 1), - e !== null && s - ? ((t.child = $s(t, e.child, null, i)), (t.child = $s(t, null, l, i))) - : $t(e, t, l, i), - (t.memoizedState = n.state), - o && NS(t, r, !0), - t.child - ); - } - a(D5, "kj"); - function H7(e) { - var t = e.stateNode; - t.pendingContext - ? LS(e, t.pendingContext, t.pendingContext !== t.context) - : t.context && LS(e, t.context, !1), - sv(e, t.containerInfo); - } - a(H7, "lj"); - function JS(e, t, r, n, o) { - return Bs(), tv(o), (t.flags |= 256), $t(e, t, r, n), t.child; - } - a(JS, "mj"); - var R5 = { dehydrated: null, treeContext: null, retryLane: 0 }; - function A5(e) { - return { baseLanes: e, cachePool: null, transitions: null }; - } - a(A5, "oj"); - function j7(e, t, r) { - var n = t.pendingProps, - o = Oe.current, - i = !1, - s = (t.flags & 128) !== 0, - l; - if ( - ((l = s) || - (l = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), - l - ? ((i = !0), (t.flags &= -129)) - : (e === null || e.memoizedState !== null) && (o |= 1), - xe(Oe, o & 1), - e === null) - ) - return ( - w5(t), - (e = t.memoizedState), - e !== null && ((e = e.dehydrated), e !== null) - ? (t.mode & 1 - ? e.data === "$!" - ? (t.lanes = 8) - : (t.lanes = 1073741824) - : (t.lanes = 1), - null) - : ((s = n.children), - (e = n.fallback), - i - ? ((n = t.mode), - (i = t.child), - (s = { mode: "hidden", children: s }), - !(n & 1) && i !== null - ? ((i.childLanes = 0), (i.pendingProps = s)) - : (i = T0(s, n, 0, null)), - (e = si(e, n, r, null)), - (i.return = t), - (e.return = t), - (i.sibling = e), - (t.child = i), - (t.child.memoizedState = A5(r)), - (t.memoizedState = R5), - e) - : mv(t, s)) - ); - if (((o = e.memoizedState), o !== null && ((l = o.dehydrated), l !== null))) - return lz(e, t, s, n, l, o, r); - if (i) { - (i = n.fallback), (s = t.mode), (o = e.child), (l = o.sibling); - var u = { mode: "hidden", children: n.children }; - return ( - !(s & 1) && t.child !== o - ? ((n = t.child), - (n.childLanes = 0), - (n.pendingProps = u), - (t.deletions = null)) - : ((n = ca(o, u)), (n.subtreeFlags = o.subtreeFlags & 14680064)), - l !== null ? (i = ca(l, i)) : ((i = si(i, s, r, null)), (i.flags |= 2)), - (i.return = t), - (n.return = t), - (n.sibling = i), - (t.child = n), - (n = i), - (i = t.child), - (s = e.child.memoizedState), - (s = - s === null - ? A5(r) - : { - baseLanes: s.baseLanes | r, - cachePool: null, - transitions: s.transitions, - }), - (i.memoizedState = s), - (i.childLanes = e.childLanes & ~r), - (t.memoizedState = R5), - n - ); - } - return ( - (i = e.child), - (e = i.sibling), - (n = ca(i, { mode: "visible", children: n.children })), - !(t.mode & 1) && (n.lanes = r), - (n.return = t), - (n.sibling = null), - e !== null && - ((r = t.deletions), - r === null ? ((t.deletions = [e]), (t.flags |= 16)) : r.push(e)), - (t.child = n), - (t.memoizedState = null), - n - ); - } - a(j7, "pj"); - function mv(e, t) { - return ( - (t = T0({ mode: "visible", children: t }, e.mode, 0, null)), - (t.return = e), - (e.child = t) - ); - } - a(mv, "rj"); - function Nd(e, t, r, n) { - return ( - n !== null && tv(n), - $s(t, e.child, null, r), - (e = mv(t, t.pendingProps.children)), - (e.flags |= 2), - (t.memoizedState = null), - e - ); - } - a(Nd, "tj"); - function lz(e, t, r, n, o, i, s) { - if (r) - return t.flags & 256 - ? ((t.flags &= -257), (n = H2(Error(M(422)))), Nd(e, t, s, n)) - : t.memoizedState !== null - ? ((t.child = e.child), (t.flags |= 128), null) - : ((i = n.fallback), - (o = t.mode), - (n = T0({ mode: "visible", children: n.children }, o, 0, null)), - (i = si(i, o, s, null)), - (i.flags |= 2), - (n.return = t), - (i.return = t), - (n.sibling = i), - (t.child = n), - t.mode & 1 && $s(t, e.child, null, s), - (t.child.memoizedState = A5(s)), - (t.memoizedState = R5), - i); - if (!(t.mode & 1)) return Nd(e, t, s, null); - if (o.data === "$!") { - if (((n = o.nextSibling && o.nextSibling.dataset), n)) var l = n.dgst; - return ( - (n = l), (i = Error(M(419))), (n = H2(i, n, void 0)), Nd(e, t, s, n) - ); - } - if (((l = (s & e.childLanes) !== 0), nr || l)) { - if (((n = ft), n !== null)) { - switch (s & -s) { - case 4: - o = 2; - break; - case 16: - o = 8; - break; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - o = 32; - break; - case 536870912: - o = 268435456; - break; - default: - o = 0; - } - (o = o & (n.suspendedLanes | s) ? 0 : o), - o !== 0 && - o !== i.retryLane && - ((i.retryLane = o), yo(e, o), fn(n, e, o, -1)); - } - return Sv(), (n = H2(Error(M(421)))), Nd(e, t, s, n); - } - return o.data === "$?" - ? ((t.flags |= 128), - (t.child = e.child), - (t = Sz.bind(null, e)), - (o._reactRetry = t), - null) - : ((e = i.treeContext), - (yr = ia(o.nextSibling)), - (wr = t), - (Te = !0), - (cn = null), - e !== null && - ((Or[Lr++] = fo), - (Or[Lr++] = ho), - (Or[Lr++] = ui), - (fo = e.id), - (ho = e.overflow), - (ui = t)), - (t = mv(t, n.children)), - (t.flags |= 4096), - t); - } - a(lz, "sj"); - function ZS(e, t, r) { - e.lanes |= t; - var n = e.alternate; - n !== null && (n.lanes |= t), b5(e.return, t, r); - } - a(ZS, "wj"); - function j2(e, t, r, n, o) { - var i = e.memoizedState; - i === null - ? (e.memoizedState = { - isBackwards: t, - rendering: null, - renderingStartTime: 0, - last: n, - tail: r, - tailMode: o, - }) - : ((i.isBackwards = t), - (i.rendering = null), - (i.renderingStartTime = 0), - (i.last = n), - (i.tail = r), - (i.tailMode = o)); - } - a(j2, "xj"); - function V7(e, t, r) { - var n = t.pendingProps, - o = n.revealOrder, - i = n.tail; - if (($t(e, t, n.children, r), (n = Oe.current), n & 2)) - (n = (n & 1) | 2), (t.flags |= 128); - else { - if (e !== null && e.flags & 128) - e: for (e = t.child; e !== null; ) { - if (e.tag === 13) e.memoizedState !== null && ZS(e, r, t); - else if (e.tag === 19) ZS(e, r, t); - else if (e.child !== null) { - (e.child.return = e), (e = e.child); - continue; - } - if (e === t) break e; - for (; e.sibling === null; ) { - if (e.return === null || e.return === t) break e; - e = e.return; - } - (e.sibling.return = e.return), (e = e.sibling); - } - n &= 1; - } - if ((xe(Oe, n), !(t.mode & 1))) t.memoizedState = null; - else - switch (o) { - case "forwards": - for (r = t.child, o = null; r !== null; ) - (e = r.alternate), - e !== null && p0(e) === null && (o = r), - (r = r.sibling); - (r = o), - r === null - ? ((o = t.child), (t.child = null)) - : ((o = r.sibling), (r.sibling = null)), - j2(t, !1, o, r, i); - break; - case "backwards": - for (r = null, o = t.child, t.child = null; o !== null; ) { - if (((e = o.alternate), e !== null && p0(e) === null)) { - t.child = o; - break; - } - (e = o.sibling), (o.sibling = r), (r = o), (o = e); - } - j2(t, !0, r, null, i); - break; - case "together": - j2(t, !1, null, null, void 0); - break; - default: - t.memoizedState = null; - } - return t.child; - } - a(V7, "yj"); - function Wd(e, t) { - !(t.mode & 1) && - e !== null && - ((e.alternate = null), (t.alternate = null), (t.flags |= 2)); - } - a(Wd, "jj"); - function wo(e, t, r) { - if ( - (e !== null && (t.dependencies = e.dependencies), - (pi |= t.lanes), - !(r & t.childLanes)) - ) - return null; - if (e !== null && t.child !== e.child) throw Error(M(153)); - if (t.child !== null) { - for ( - e = t.child, r = ca(e, e.pendingProps), t.child = r, r.return = t; - e.sibling !== null; - - ) - (e = e.sibling), - (r = r.sibling = ca(e, e.pendingProps)), - (r.return = t); - r.sibling = null; - } - return t.child; - } - a(wo, "$i"); - function uz(e, t, r) { - switch (t.tag) { - case 3: - H7(t), Bs(); - break; - case 5: - g7(t); - break; - case 1: - ar(t.type) && a0(t); - break; - case 4: - sv(t, t.stateNode.containerInfo); - break; - case 10: - var n = t.type._context, - o = t.memoizedProps.value; - xe(l0, n._currentValue), (n._currentValue = o); - break; - case 13: - if (((n = t.memoizedState), n !== null)) - return n.dehydrated !== null - ? (xe(Oe, Oe.current & 1), (t.flags |= 128), null) - : r & t.child.childLanes - ? j7(e, t, r) - : (xe(Oe, Oe.current & 1), - (e = wo(e, t, r)), - e !== null ? e.sibling : null); - xe(Oe, Oe.current & 1); - break; - case 19: - if (((n = (r & t.childLanes) !== 0), e.flags & 128)) { - if (n) return V7(e, t, r); - t.flags |= 128; - } - if ( - ((o = t.memoizedState), - o !== null && - ((o.rendering = null), (o.tail = null), (o.lastEffect = null)), - xe(Oe, Oe.current), - n) - ) - break; - return null; - case 22: - case 23: - return (t.lanes = 0), $7(e, t, r); - } - return wo(e, t, r); - } - a(uz, "zj"); - var U7, _5, W7, q7; - U7 = /* @__PURE__ */ a(function (e, t) { - for (var r = t.child; r !== null; ) { - if (r.tag === 5 || r.tag === 6) e.appendChild(r.stateNode); - else if (r.tag !== 4 && r.child !== null) { - (r.child.return = r), (r = r.child); - continue; - } - if (r === t) break; - for (; r.sibling === null; ) { - if (r.return === null || r.return === t) return; - r = r.return; - } - (r.sibling.return = r.return), (r = r.sibling); - } - }, "Aj"); - _5 = /* @__PURE__ */ a(function () {}, "Bj"); - W7 = /* @__PURE__ */ a(function (e, t, r, n) { - var o = e.memoizedProps; - if (o !== n) { - (e = t.stateNode), ai($n.current); - var i = null; - switch (r) { - case "input": - (o = X2(e, o)), (n = X2(e, n)), (i = []); - break; - case "select": - (o = Ne({}, o, { value: void 0 })), - (n = Ne({}, n, { value: void 0 })), - (i = []); - break; - case "textarea": - (o = Z2(e, o)), (n = Z2(e, n)), (i = []); - break; - default: - typeof o.onClick != "function" && - typeof n.onClick == "function" && - (e.onclick = n0); - } - t5(r, n); - var s; - r = null; - for (c in o) - if (!n.hasOwnProperty(c) && o.hasOwnProperty(c) && o[c] != null) - if (c === "style") { - var l = o[c]; - for (s in l) l.hasOwnProperty(s) && (r || (r = {}), (r[s] = "")); - } else - c !== "dangerouslySetInnerHTML" && - c !== "children" && - c !== "suppressContentEditableWarning" && - c !== - "suppressHydrationWarnin\ -g" && - c !== "autoFocus" && - (zc.hasOwnProperty(c) - ? i || (i = []) - : (i = i || []).push(c, null)); - for (c in n) { - var u = n[c]; - if ( - ((l = o?.[c]), - n.hasOwnProperty(c) && u !== l && (u != null || l != null)) - ) - if (c === "style") - if (l) { - for (s in l) - !l.hasOwnProperty(s) || - (u && u.hasOwnProperty(s)) || - (r || (r = {}), (r[s] = "")); - for (s in u) - u.hasOwnProperty(s) && - l[s] !== u[s] && - (r || (r = {}), (r[s] = u[s])); - } else r || (i || (i = []), i.push(c, r)), (r = u); - else - c === "dangerouslySetInnerHTML" - ? ((u = u ? u.__html : void 0), - (l = l ? l.__html : void 0), - u != null && l !== u && (i = i || []).push(c, u)) - : c === "children" - ? (typeof u != "string" && typeof u != "number") || - (i = i || []).push(c, "" + u) - : c !== - "suppressCont\ -entEditableWarning" && - c !== "suppressHydrationWarning" && - (zc.hasOwnProperty(c) - ? (u != null && c === "onScroll" && Ce("scroll", e), - i || l === u || (i = [])) - : (i = i || []).push(c, u)); - } - r && (i = i || []).push("style", r); - var c = i; - (t.updateQueue = c) && (t.flags |= 4); - } - }, "Cj"); - q7 = /* @__PURE__ */ a(function (e, t, r, n) { - r !== n && (t.flags |= 4); - }, "Dj"); - function Cc(e, t) { - if (!Te) - switch (e.tailMode) { - case "hidden": - t = e.tail; - for (var r = null; t !== null; ) - t.alternate !== null && (r = t), (t = t.sibling); - r === null ? (e.tail = null) : (r.sibling = null); - break; - case "collapsed": - r = e.tail; - for (var n = null; r !== null; ) - r.alternate !== null && (n = r), (r = r.sibling); - n === null - ? t || e.tail === null - ? (e.tail = null) - : (e.tail.sibling = null) - : (n.sibling = null); - } - } - a(Cc, "Ej"); - function kt(e) { - var t = e.alternate !== null && e.alternate.child === e.child, - r = 0, - n = 0; - if (t) - for (var o = e.child; o !== null; ) - (r |= o.lanes | o.childLanes), - (n |= o.subtreeFlags & 14680064), - (n |= o.flags & 14680064), - (o.return = e), - (o = o.sibling); - else - for (o = e.child; o !== null; ) - (r |= o.lanes | o.childLanes), - (n |= o.subtreeFlags), - (n |= o.flags), - (o.return = e), - (o = o.sibling); - return (e.subtreeFlags |= n), (e.childLanes = r), t; - } - a(kt, "S"); - function cz(e, t, r) { - var n = t.pendingProps; - switch ((ev(t), t.tag)) { - case 2: - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return kt(t), null; - case 1: - return ar(t.type) && o0(), kt(t), null; - case 3: - return ( - (n = t.stateNode), - zs(), - De(or), - De(Pt), - uv(), - n.pendingContext && - ((n.context = n.pendingContext), (n.pendingContext = null)), - (e === null || e.child === null) && - (Od(t) - ? (t.flags |= 4) - : e === null || - (e.memoizedState.isDehydrated && !(t.flags & 256)) || - ((t.flags |= 1024), cn !== null && (N5(cn), (cn = null)))), - _5(e, t), - kt(t), - null - ); - case 5: - lv(t); - var o = ai(Jc.current); - if (((r = t.type), e !== null && t.stateNode != null)) - W7(e, t, r, n, o), - e.ref !== t.ref && ((t.flags |= 512), (t.flags |= 2097152)); - else { - if (!n) { - if (t.stateNode === null) throw Error(M(166)); - return kt(t), null; - } - if (((e = ai($n.current)), Od(t))) { - (n = t.stateNode), (r = t.type); - var i = t.memoizedProps; - switch (((n[Mn] = t), (n[Xc] = i), (e = (t.mode & 1) !== 0), r)) { - case "dialog": - Ce("cancel", n), Ce("close", n); - break; - case "iframe": - case "object": - case "embed": - Ce("load", n); - break; - case "video": - case "audio": - for (o = 0; o < kc.length; o++) Ce(kc[o], n); - break; - case "source": - Ce("error", n); - break; - case "img": - case "image": - case "link": - Ce("error", n), Ce("load", n); - break; - case "details": - Ce("toggle", n); - break; - case "input": - sS(n, i), Ce("invalid", n); - break; - case "select": - (n._wrapperState = { wasMultiple: !!i.multiple }), - Ce("invalid", n); - break; - case "textarea": - uS(n, i), Ce("invalid", n); - } - t5(r, i), (o = null); - for (var s in i) - if (i.hasOwnProperty(s)) { - var l = i[s]; - s === "children" - ? typeof l == "string" - ? n.textContent !== l && - (i.suppressHydrationWarning !== !0 && - Fd(n.textContent, l, e), - (o = ["children", l])) - : typeof l == "number" && - n.textContent !== "" + l && - (i.suppressHydrationWarning !== !0 && - Fd(n.textContent, l, e), - (o = ["children", "" + l])) - : zc.hasOwnProperty(s) && - l != null && - s === "onScroll" && - Ce("scroll", n); - } - switch (r) { - case "input": - Sd(n), lS(n, i, !0); - break; - case "textarea": - Sd(n), cS(n); - break; - case "select": - case "option": - break; - default: - typeof i.onClick == "function" && (n.onclick = n0); - } - (n = o), (t.updateQueue = n), n !== null && (t.flags |= 4); - } else { - (s = o.nodeType === 9 ? o : o.ownerDocument), - e === "http://www.w3.org/1999/xhtml" && (e = wE(r)), - e === - "http://www.w3.org/1999/x\ -html" - ? r === "script" - ? ((e = s.createElement("div")), - (e.innerHTML = "